Skip to content

Commit 720a45d

Browse files
author
Yinghai Lu
authored
Minor changes (#1482)
1 parent aa202de commit 720a45d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ cc_library(
3333
"//core/util/logging",
3434
"@tensorrt//:nvinfer",
3535
] + select({
36-
":use_pre_cxx11_abi": ["@libtorch_pre_cxx11_abi//:libtorch", "@libtorch_pre_cxx11_abi//:c10_cuda"],
37-
"//conditions:default": ["@libtorch//:libtorch", "@libtorch//:c10_cuda"],
36+
":use_pre_cxx11_abi": ["@libtorch_pre_cxx11_abi//:libtorch"],
37+
"//conditions:default": ["@libtorch//:libtorch"],
3838
}),
3939
alwayslink = True,
4040
)

tests/cpp/test_serialization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ std::vector<torch_tensorrt::Input> toInputRangesDynamic(std::vector<std::vector<
1515
a.push_back(torch_tensorrt::Input(min_range, opt, max_range));
1616
}
1717

18-
return std::move(a);
18+
return a;
1919
}
2020

2121
TEST_P(CppAPITests, SerializedModuleIsStillCorrect) {

0 commit comments

Comments
 (0)