-
Notifications
You must be signed in to change notification settings - Fork 31.4k
Comparing changes
Open a pull request
base repository: huggingface/transformers
base: ebf9b7c
head repository: huggingface/transformers
compare: 3078ef3
- 15 commits
- 96 files changed
- 13 contributors
Commits on Mar 24, 2025
-
* fix Gemma3 Config * fix config in modular gemm3
Configuration menu - View commit details
-
Copy full SHA for fe4ca2f - Browse repository at this point
Copy the full SHA fe4ca2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48da44b - Browse repository at this point
Copy the full SHA 48da44bView commit details -
[Fix] Add
original_max_position_embeddingsto YARN rope_scaling opt……ional keys (#36877) [fix] Update optional keys in _validate_yarn_parameters to include original_max_position_embeddings
Configuration menu - View commit details
-
Copy full SHA for e28be7a - Browse repository at this point
Copy the full SHA e28be7aView commit details -
tests: fix asyncio.wait() usage for python>=3.11 (#36898)
tests: fix asyncio.wait() usage for python>=3.7 Passing coroutings directly to `asyncio.wait()` is deprecated since python 3.8 and removed starting from python 3.11. Instead, it's required to explicitly wrap coroutine in the task with `asyncio.create_task()` which first appeared in python 3.7. We step into this issue running the following Transformers tests on a system with python 3.11 or later (for example, Ubuntu 24.04 has python 3.12): * `tests/trainer/test_trainer_distributed.py` * `tests/extended/test_trainer_ext.py` The error will be: ``` src/transformers/testing_utils.py:2380: in execute_subprocess_async result = loop.run_until_complete( /usr/lib/python3.12/asyncio/base_events.py:687: in run_until_complete return future.result() src/transformers/testing_utils.py:2368: in _stream_subprocess await asyncio.wait( ... E TypeError: Passing coroutines is forbidden, use tasks explicitly. ``` See: https://docs.python.org/3.10/library/asyncio-task.html#asyncio.wait See: https://docs.python.org/3.10/library/asyncio-task.html#asyncio.wait See: https://docs.python.org/3.7/library/asyncio-task.html#asyncio.create_task Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com> Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>Configuration menu - View commit details
-
Copy full SHA for a41e08a - Browse repository at this point
Copy the full SHA a41e08aView commit details -
[chameleon] fix num image token check (#36918)
* [chameleon] fix num image token check * embed after merging image token * skip this also * mistral require_read_token
Configuration menu - View commit details
-
Copy full SHA for 57f551c - Browse repository at this point
Copy the full SHA 57f551cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e125d9 - Browse repository at this point
Copy the full SHA 9e125d9View commit details -
Use another repo. for Mistral3 processor testing (#36925)
* fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 340500b - Browse repository at this point
Copy the full SHA 340500bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbf924b - Browse repository at this point
Copy the full SHA cbf924bView commit details -
Update
trainer_pt_utils.pydocstrings for consistency (#36912)* Update trainer_pt_utils.py * update docstrings trainer_pt_utils.py for consistency * Update src/transformers/trainer_pt_utils.py --------- Co-authored-by: Matt <Rocketknight1@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a6ecb54 - Browse repository at this point
Copy the full SHA a6ecb54View commit details -
[2/N] Use pyupgrade --py39-plus to improve code (#36857)
Use pyupgrade --py39-plus to improve code
Configuration menu - View commit details
-
Copy full SHA for 00d0772 - Browse repository at this point
Copy the full SHA 00d0772View commit details -
Fix pytorch defomr attn path (#36923)
* Fix pytorch path for DeformableAttention * Apply for GroundingDino
Configuration menu - View commit details
-
Copy full SHA for 2be2984 - Browse repository at this point
Copy the full SHA 2be2984View commit details -
* fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5932606 - Browse repository at this point
Copy the full SHA 5932606View commit details -
Added support for seed in
DataCollatorForWholeWordMask, and also wr……ote tests. Also fixed bugs where the code hardcoded values for mask replacement probability and random replacement probability, instead of using the values passed by the user.
Configuration menu - View commit details
-
Copy full SHA for a8e7283 - Browse repository at this point
Copy the full SHA a8e7283View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5526d0 - Browse repository at this point
Copy the full SHA a5526d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3078ef3 - Browse repository at this point
Copy the full SHA 3078ef3View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff ebf9b7c...3078ef3