transformers
a5fac1c3
- Fix error on importing unavailable torch.distributed (#40038)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
124 days ago
Fix error on importing unavailable torch.distributed (#40038) Currently model_debugging_utils.py would have an unguarded `import torch.distributed.tensor`. This PR ensures that the distributed module is available before including its tensor module.
References
#40038 - Fix error on importing unavailable torch.distributed
Author
m-gallus
Parents
085e0238
Loading