Skip to content

Commit 10cae30

Browse files
committed
refactor: Fix the module for MLF test
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 3c64809 commit 10cae30

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/core/lowering/test_module_fallback_passes.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ TEST(Lowering, NotateModuleForFallbackWorksCorrectly) {
1818
}
1919

2020
std::unordered_set<std::string> mods_to_mark;
21-
mods_to_mark.insert("ModuleFallbackSub");
21+
mods_to_mark.insert("custom_models.ModuleFallbackSub");
22+
2223

2324
torch_tensorrt::core::lowering::passes::NotateModuleForFallback(mod, "", "forward", mods_to_mark);
2425

@@ -58,7 +59,7 @@ TEST(Lowering, MarkNodesForFallbackWorksCorrectly) {
5859
}
5960

6061
std::unordered_set<std::string> mods_to_mark;
61-
mods_to_mark.insert("ModuleFallbackSub");
62+
mods_to_mark.insert("custom_models.ModuleFallbackSub");
6263

6364
torch_tensorrt::core::lowering::passes::NotateModuleForFallback(mod, "", "forward", mods_to_mark);
6465
auto mod_ = torch::jit::freeze_module(mod);

0 commit comments

Comments
 (0)