pytorch
793bd699 - Work around torchdynamo import error with functional collectives (#100901)

Commit
1 year ago
Work around torchdynamo import error with functional collectives (#100901) Summary: Currently there are build configs where the torchdynamo import trips over a strange SystemError related to some module's __dict__.items() returning NULL, while torchdynamo tries to iterate all torch modules and process them for its allowed functions list. While this is hard to repro, we should be able to work around it and then fix it properly. Test Plan: Rely on others to test this, assuming CI passes. Reviewed By: anijain2305 Differential Revision: D45663313 Pull Request resolved: https://github.com/pytorch/pytorch/pull/100901 Approved by: https://github.com/yanboliang, https://github.com/malfet
Author
Committer
Parents
Loading