Repository navigation
Update transformers version from 5.0.0rc1 to 5.11.0 - #24422
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/24422
Note: Links to docs will display an error until the docs builds have been completed. This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
a91eb79 to
58ce574
Compare
For supporting Gemma4-QAT model, it should be used tranformers 5.11.0 version. Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
- Update codes according to transformers version Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
With transformers 5.11.0, StaticLayer.update ignores cache_position and writes K/V at arange(n) + cumulative_length. Setting cumulative_length from cache_position keeps eager results right, but the exported cache writes then index rows with the output of an add. The ggml engine only accepts index_put_ row indices that come from a graph input or an integer arange, so updated codes Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
83b4b1f to
bad9e28
Compare
|
heads up, whisper: the metal job installs the optimum-executorch pin first (transformers 5.0.0rc1), then install_executorch.sh pulls requirements-examples.txt, which now upgrades transformers to 5.11.0. cuda e2e installs them in the other order, so it still ends on 5.0.0rc1 and stays green. likely fix: in metal.yml install optimum-executorch after install_executorch.sh like cuda.yml does, or bump the optimum-executorch pin to one that works with 5.11 |
Thanks @shoumikhin for the information. I put a pr for fixing the issue |
For supporting Gemma4-QAT model, it should be used tranformers 5.11.0 version.
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani @SS-JIA @kimishpatel