Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix collect_env.py with older version of PyTorch (#48076)
Summary: Inspired by #47993, this fixes the import error in `collect_env.py` with older version of PyTorch when `torch.version` does not have `hip` property. Pull Request resolved: #48076 Reviewed By: seemethere, xuzhao9 Differential Revision: D25024352 Pulled By: samestep fbshipit-source-id: 7dff9d2ab80b0bd25f9ca035d8660f38419cdeca
- Loading branch information