Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Repro is generating minifier_launcher.py that fails with: AttributeError: torch._dynamo.config.repro_dir does not exist #1758

@ezyang

Description

@ezyang

🐛 Describe the bug

Traceback (most recent call last):
  File "minifier_launcher.py", line 13, in <module>
    torch._dynamo.config.repro_dir = "/raid/ezyang/pytorch-scratch2/torchdynamo_debug/run_2022_10_24_06_53_17_018120/minifier"
  File "/raid/ezyang/pytorch-scratch2/torch/_dynamo/config.py", line 164, in __setattr__
    raise AttributeError(f"{__name__}.{name} does not exist")
AttributeError: torch._dynamo.config.repro_dir does not exist

full generated minifier script: https://gist.github.com/b1838891ff91c9c64a47fe1aeed0dae0

how I generated the minifier:

TORCHDYNAMO_REPRO_AFTER=dynamo TORCHDYNAMO_DYNAMIC_SHAPES=1 time python benchmarks/dynamo/timm_models.py  --accuracy --backend aot_eager --training --only sebotnet33ts_256

Error logs

No response

Minified repro

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions