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
8 changes: 4 additions & 4 deletions benchmarks/torchbench_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,11 @@ def get_skip_data(self):
its lists of models into sets of models.
"""

benchmarks_dir = self._find_near_file(
("pytorch/benchmarks", "benchmarks/dynamo"))
assert benchmarks_dir is not None, "PyTorch benchmarks folder not found."
benchmarks_dynamo_dir = self._find_near_file(
("pytorch/benchmarks/dynamo", "benchmarks/dynamo"))
assert benchmarks_dynamo_dir is not None, "PyTorch benchmarks folder not found."

skip_file = os.path.join(benchmarks_dir, "dynamo",
skip_file = os.path.join(benchmarks_dynamo_dir,
"torchbench_skip_models.yaml")
with open(skip_file) as f:
data = yaml.safe_load(f)
Expand Down