Allow soft dependencies in the namespace with ImportErrors at use (#7537)
* PoC on RAG * Format class name/obj name * Better name in message * PoC on one TF model * Add PyTorch and TF dummy objects + script * Treat scikit-learn * Bad copy pastes * Typo
This commit is contained in:
1807
src/transformers/utils/dummy_pt_objects.py
Normal file
1807
src/transformers/utils/dummy_pt_objects.py
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user