🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
Fix env.py in cases where torch is not present (#31113)
* Fix env.py in cases where torch is not present * Simplify the fix (and avoid some issues)
M
Matt committed
97a58a5d2c594d9c80000a30890201d4ddb27889
Parent: c886137
Committed by GitHub <[email protected]>
on 5/29/2024, 12:20:36 PM