pytorch
1035e33b - [dynamo] test attaching attributes to an OptimizedModule (#102781)

Commit
1 year ago
[dynamo] test attaching attributes to an OptimizedModule (#102781) Test that the following passes: ```python mod = torch.compile(mod) mod.is_compiled = True assert "is_compiled" in dir(mod) ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/102781 Approved by: https://github.com/yuguo68
Author
Committer
Parents
Loading