Simplify soft dependencies and update the dummy-creation process (#36827)
* Reverse dependency map shouldn't be created when test_all is set * [test_all] Remove dummies * Modular fixes * Update utils/check_repo.py Co-authored-by: Pablo Montalvo <39954772+molbap@users.noreply.github.com> * [test_all] Better docs * [test_all] Update src/transformers/commands/chat.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * [test_all] Remove deprecated AdaptiveEmbeddings from the tests * [test_all] Doc builder * [test_all] is_dummy * [test_all] Import utils * [test_all] Doc building should not require all deps --------- Co-authored-by: Pablo Montalvo <39954772+molbap@users.noreply.github.com> Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com>
This commit is contained in:
@@ -953,7 +953,6 @@ src/transformers/utils/doc.py
|
||||
src/transformers/utils/dummy_detectron2_objects.py
|
||||
src/transformers/utils/dummy_essentia_and_librosa_and_pretty_midi_and_scipy_and_torch_objects.py
|
||||
src/transformers/utils/dummy_flax_objects.py
|
||||
src/transformers/utils/dummy_keras_nlp_objects.py
|
||||
src/transformers/utils/dummy_music_objects.py
|
||||
src/transformers/utils/dummy_pt_objects.py
|
||||
src/transformers/utils/dummy_sentencepiece_and_tokenizers_objects.py
|
||||
|
||||
Reference in New Issue
Block a user