This is an issue tracker for transformers v5.
Known issues
Feel free to report if you find any issue that isn't listed below.
Monkey patch
Errors when running
python3 -m pytest test/transformers/test_monkey_patch.py
See details in #960 (comment)
Convergence test
Errors when running
python3 -m pytest test/convergence/*
Benchmarking
For Contributors
Since we want to keep backward compatibility for transformers>=4.49.0 as well, tests will focus on 1. transformers==4.49.0 (the oldest version) 2. transformers<5.0.0 (last v4 version) 3. transformers>=5.0.0 (the latest version)
Environment setup
uv pip install transformers==4.49.0
uv pip install transformers<5.0.0
uv pip install transformers>=5.0.0
Pull requests
Open pull requests on main branch directly.
It would be great if you can provide relevant tests on three version listed above in your PR description. Thanks for you contribution!
This is an issue tracker for transformers v5.
Known issues
Feel free to report if you find any issue that isn't listed below.
Monkey patch
Errors when running
See details in #960 (comment)
Convergence test
Errors when running
XXXTokenizerFastare deprecated: No module namedtransformers.models.gemma.tokenization_gemma_fastFix/transformers v5 gemma tokenizer #1030outputs.hdiden_states=NoneLlava vision_tower monkey patch generateshidden_states=None#1011hidden_size#1012Benchmarking
Qwen2VLRotaryEmbeddingexpects config argument instead ofint(hidden_dim) Benchmarkbenchmark_qwen2vl_mrope.pyfails with new transformers #1015For Contributors
Since we want to keep backward compatibility for transformers>=4.49.0 as well, tests will focus on 1.
transformers==4.49.0(the oldest version) 2.transformers<5.0.0(last v4 version) 3. transformers>=5.0.0 (the latest version)Environment setup
Pull requests
Open pull requests on main branch directly.
It would be great if you can provide relevant tests on three version listed above in your PR description. Thanks for you contribution!