Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions graph_net_bench/torch/test_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,9 +448,10 @@ def test_multi_models_with_prefix(args):
args.allow_list, get_sample_root(args)
)
py_module_name = os.path.splitext(os.path.basename(__file__))[0]
for rel_model_path in test_samples:
model_path = os.path.join(args.model_path_prefix, rel_model_path)
for model_path in test_samples:
if not os.path.exists(model_path):
print(f"{os.path.exists(model_path)=}")
print(f"{args.model_path_prefix=}")
continue
if not os.path.exists(os.path.join(model_path, "model.py")):
continue
Expand Down