url string | repository_url string | labels_url string | comments_url string | events_url string | html_url string | id int64 | node_id string | number int64 | title string | user dict | labels list | state string | locked bool | assignee dict | assignees list | milestone null | comments list | created_at timestamp[ms] | updated_at timestamp[ms] | closed_at timestamp[ms] | author_association string | type dict | active_lock_reason null | draft bool | pull_request dict | body string | closed_by dict | reactions dict | timeline_url string | performed_via_github_app null | state_reason string | sub_issues_summary dict | issue_dependencies_summary dict | is_pull_request bool | is_closed bool |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/huggingface/transformers/issues/37621 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37621/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37621/comments | https://api.github.com/repos/huggingface/transformers/issues/37621/events | https://github.com/huggingface/transformers/pull/37621 | 3,005,479,069 | PR_kwDOCUB6oc6TJnCS | 37,621 | Fix ValueError when eval_do_concat_batches=False with examples | {
"login": "jeffhataws",
"id": 56947987,
"node_id": "MDQ6VXNlcjU2OTQ3OTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/56947987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffhataws",
"html_url": "https://github.com/jeffhataws",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-18T18:03:10 | 2025-04-22T10:13:26 | 2025-04-22T10:13:25 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37621",
"html_url": "https://github.com/huggingface/transformers/pull/37621",
"diff_url": "https://github.com/huggingface/transformers/pull/37621.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37621.patch",
"merged_at... | https://github.com/huggingface/transformers/issues/37593
# What does this PR do?
Fixes # [37593](https://github.com/huggingface/transformers/issues/37593)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contri... | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37621/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37621/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37620 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37620/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37620/comments | https://api.github.com/repos/huggingface/transformers/issues/37620/events | https://github.com/huggingface/transformers/pull/37620 | 3,005,448,414 | PR_kwDOCUB6oc6TJgES | 37,620 | Fix InternVL attention when using qk_norm (38B and 78B) | {
"login": "yonigozlan",
"id": 74535834,
"node_id": "MDQ6VXNlcjc0NTM1ODM0",
"avatar_url": "https://avatars.githubusercontent.com/u/74535834?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yonigozlan",
"html_url": "https://github.com/yonigozlan",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-18T17:49:26 | 2025-04-19T19:39:09 | 2025-04-19T19:39:08 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37620",
"html_url": "https://github.com/huggingface/transformers/pull/37620",
"diff_url": "https://github.com/huggingface/transformers/pull/37620.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37620.patch",
"merged_at... | Fix an issue with InternVLVision Attention, where qk norm is not applied correctly
Cc @Cyrilvallez | {
"login": "yonigozlan",
"id": 74535834,
"node_id": "MDQ6VXNlcjc0NTM1ODM0",
"avatar_url": "https://avatars.githubusercontent.com/u/74535834?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yonigozlan",
"html_url": "https://github.com/yonigozlan",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37620/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37620/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37619 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37619/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37619/comments | https://api.github.com/repos/huggingface/transformers/issues/37619/events | https://github.com/huggingface/transformers/pull/37619 | 3,005,445,560 | PR_kwDOCUB6oc6TJfcz | 37,619 | Updated model card for mbart and mbart50 | {
"login": "Vishesh-Mistry",
"id": 102403616,
"node_id": "U_kgDOBhqOIA",
"avatar_url": "https://avatars.githubusercontent.com/u/102403616?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Vishesh-Mistry",
"html_url": "https://github.com/Vishesh-Mistry",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-04-18T17:46:51 | 2025-04-22T19:26:47 | 2025-04-22T19:26:47 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37619",
"html_url": "https://github.com/huggingface/transformers/pull/37619",
"diff_url": "https://github.com/huggingface/transformers/pull/37619.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37619.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37619/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37619/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37618 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37618/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37618/comments | https://api.github.com/repos/huggingface/transformers/issues/37618/events | https://github.com/huggingface/transformers/pull/37618 | 3,005,432,200 | PR_kwDOCUB6oc6TJckY | 37,618 | Bump torch from 2.2.0 to 2.6.0 in /examples/flax/vision | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
},
{
"id": 6410... | closed | false | null | [] | null | [] | 2025-04-18T17:37:43 | 2025-05-30T13:04:54 | 2025-05-30T13:04:53 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37618",
"html_url": "https://github.com/huggingface/transformers/pull/37618",
"diff_url": "https://github.com/huggingface/transformers/pull/37618.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37618.patch",
"merged_at... | Bumps [torch](https://github.com/pytorch/pytorch) from 2.2.0 to 2.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pytorch/pytorch/releases">torch's releases</a>.</em></p>
<blockquote>
<h2>PyTorch 2.6.0 Release</h2>
<ul>
<li>Highlights</li>
<li>Tracked Regressions</li>
<li... | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37618/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37618/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37617 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37617/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37617/comments | https://api.github.com/repos/huggingface/transformers/issues/37617/events | https://github.com/huggingface/transformers/pull/37617 | 3,005,218,652 | PR_kwDOCUB6oc6TIuBj | 37,617 | 🚨 rm already deprecated padding max length | {
"login": "itazap",
"id": 31893021,
"node_id": "MDQ6VXNlcjMxODkzMDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/31893021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/itazap",
"html_url": "https://github.com/itazap",
"followers_url": "https://api.github.com/users/itazap/fo... | [] | closed | false | null | [] | null | [] | 2025-04-18T15:50:07 | 2025-05-01T13:21:57 | 2025-05-01T13:21:56 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37617",
"html_url": "https://github.com/huggingface/transformers/pull/37617",
"diff_url": "https://github.com/huggingface/transformers/pull/37617.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37617.patch",
"merged_at... | this seems already deprecated since 2022 and no instances of its use throughout! everything was converted from using ` pad_to_max_length=True` --> `padding=True, max_length=n`
there are plenty of other tests testing the `padding` parameters including `padding=True, max_length=n`, so safe to remove `def test_padding... | {
"login": "itazap",
"id": 31893021,
"node_id": "MDQ6VXNlcjMxODkzMDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/31893021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/itazap",
"html_url": "https://github.com/itazap",
"followers_url": "https://api.github.com/users/itazap/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37617/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37617/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37616 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37616/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37616/comments | https://api.github.com/repos/huggingface/transformers/issues/37616/events | https://github.com/huggingface/transformers/pull/37616 | 3,005,032,159 | PR_kwDOCUB6oc6TIFYu | 37,616 | Fast image processor for VitMatte added and bug in slow version fixed | {
"login": "henrikm11",
"id": 126027334,
"node_id": "U_kgDOB4MGRg",
"avatar_url": "https://avatars.githubusercontent.com/u/126027334?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/henrikm11",
"html_url": "https://github.com/henrikm11",
"followers_url": "https://api.github.com/users/henrik... | [] | closed | false | null | [] | null | [] | 2025-04-18T14:04:30 | 2025-04-28T18:51:51 | 2025-04-28T18:51:51 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37616",
"html_url": "https://github.com/huggingface/transformers/pull/37616",
"diff_url": "https://github.com/huggingface/transformers/pull/37616.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37616.patch",
"merged_at... | -) Added a fast image processor for VitMatte
-) fixed a bug in the slow image processor that processed images incorrectly for input format ChannelDimension.FIRST in which case the trimaps were not added in the correct dimension, this bug was also reflected in the tests through incorrectly shaped trimaps being passed t... | {
"login": "yonigozlan",
"id": 74535834,
"node_id": "MDQ6VXNlcjc0NTM1ODM0",
"avatar_url": "https://avatars.githubusercontent.com/u/74535834?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yonigozlan",
"html_url": "https://github.com/yonigozlan",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37616/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37616/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37615 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37615/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37615/comments | https://api.github.com/repos/huggingface/transformers/issues/37615/events | https://github.com/huggingface/transformers/issues/37615 | 3,004,987,631 | I_kwDOCUB6oc6zHHjv | 37,615 | Getting Warnings When Instantiating Object Detection Models Due to Meta Tensor Initialization | {
"login": "HichTala",
"id": 98521878,
"node_id": "U_kgDOBd9TFg",
"avatar_url": "https://avatars.githubusercontent.com/u/98521878?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HichTala",
"html_url": "https://github.com/HichTala",
"followers_url": "https://api.github.com/users/HichTala/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-18T13:40:57 | 2025-07-14T08:03:28 | 2025-07-14T08:03:28 | CONTRIBUTOR | null | null | null | null | ### System Info
- `transformers` version: 4.51.3
- Platform: Linux-6.11.0-21-generic-x86_64-with-glibc2.39
- Python version: 3.12.4
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distributed_type: NO
- mixed_prec... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37615/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37615/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37614 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37614/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37614/comments | https://api.github.com/repos/huggingface/transformers/issues/37614/events | https://github.com/huggingface/transformers/pull/37614 | 3,004,960,849 | PR_kwDOCUB6oc6TH1jr | 37,614 | [test] update `test_past_key_values_format` | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | null | [] | 2025-04-18T13:26:09 | 2025-04-22T10:07:37 | 2025-04-22T10:07:34 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37614",
"html_url": "https://github.com/huggingface/transformers/pull/37614",
"diff_url": "https://github.com/huggingface/transformers/pull/37614.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37614.patch",
"merged_at... | # What does this PR do?
`tests/models/speecht5/test_modeling_speecht5.py::SpeechT5ForSpeechToTextTest::test_past_key_values_format` was flaky, so a revisit was in order.
This PR rewrites `test_past_key_values_format` so that:
1. It works with `Cache` objects
2. We can pass custom expected cache shapes for advan... | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37614/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37614/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37613 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37613/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37613/comments | https://api.github.com/repos/huggingface/transformers/issues/37613/events | https://github.com/huggingface/transformers/pull/37613 | 3,004,924,946 | PR_kwDOCUB6oc6THton | 37,613 | Fixes #37219 : RecurrentGemma crashes for inputs longer than sliding window length | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | null | [] | 2025-04-18T13:07:31 | 2025-04-22T10:21:16 | 2025-04-22T10:21:16 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37613",
"html_url": "https://github.com/huggingface/transformers/pull/37613",
"diff_url": "https://github.com/huggingface/transformers/pull/37613.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37613.patch",
"merged_at... | ### Fix: Long-context bug in RecurrentGemma generation (#37219)
This PR resolves a shape mismatch error during generation with long prompts in `RecurrentGemma`, caused by the `attention_mask` not being cropped to the model’s sliding attention window.
The model expects a fixed-size attention window (`attention_win... | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37613/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37613/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37612 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37612/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37612/comments | https://api.github.com/repos/huggingface/transformers/issues/37612/events | https://github.com/huggingface/transformers/pull/37612 | 3,004,883,730 | PR_kwDOCUB6oc6THkhD | 37,612 | [causal mask] fix preparation with multi-gpu | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-18T12:46:34 | 2025-04-25T07:34:18 | 2025-04-25T07:34:18 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37612",
"html_url": "https://github.com/huggingface/transformers/pull/37612",
"diff_url": "https://github.com/huggingface/transformers/pull/37612.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37612.patch",
"merged_at... | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/37606
Happens when `cache_position` and `inputs_embeds` are in different devices which doesn't affect LMs. It affects multimodal models only when multimodal encoder size is big and is allocated to the first device, so `embed_tokens` ... | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37612/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37612/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37611 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37611/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37611/comments | https://api.github.com/repos/huggingface/transformers/issues/37611/events | https://github.com/huggingface/transformers/pull/37611 | 3,004,835,401 | PR_kwDOCUB6oc6THZlm | 37,611 | Add FastImageProcessor for InstructBLIPVideo | {
"login": "olccihyeon",
"id": 36918246,
"node_id": "MDQ6VXNlcjM2OTE4MjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/36918246?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/olccihyeon",
"html_url": "https://github.com/olccihyeon",
"followers_url": "https://api.github.com/use... | [] | open | false | null | [] | null | [] | 2025-04-18T12:24:10 | 2025-04-22T19:08:14 | null | NONE | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37611",
"html_url": "https://github.com/huggingface/transformers/pull/37611",
"diff_url": "https://github.com/huggingface/transformers/pull/37611.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37611.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37611/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37611/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37610 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37610/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37610/comments | https://api.github.com/repos/huggingface/transformers/issues/37610/events | https://github.com/huggingface/transformers/pull/37610 | 3,004,731,852 | PR_kwDOCUB6oc6THDTA | 37,610 | ✨ Add EoMT Model || 🚨 Fix Mask2Former loss calculation | {
"login": "yaswanth19",
"id": 82788246,
"node_id": "MDQ6VXNlcjgyNzg4MjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/82788246?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaswanth19",
"html_url": "https://github.com/yaswanth19",
"followers_url": "https://api.github.com/use... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 5769473378,
"node_id": "LA_kwDOCUB6oc8AAAABV-Mt... | closed | false | null | [] | null | [] | 2025-04-18T11:12:54 | 2025-06-27T14:29:06 | 2025-06-27T12:18:18 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37610",
"html_url": "https://github.com/huggingface/transformers/pull/37610",
"diff_url": "https://github.com/huggingface/transformers/pull/37610.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37610.patch",
"merged_at... | # What does this PR do?
Fixes #37171 and continuation of #37392
| {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37610/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37610/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37609 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37609/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37609/comments | https://api.github.com/repos/huggingface/transformers/issues/37609/events | https://github.com/huggingface/transformers/pull/37609 | 3,004,701,410 | PR_kwDOCUB6oc6TG8o4 | 37,609 | [Bugfix] Set default value for output_attentions parameter in Gemma3T… | {
"login": "chenin-wang",
"id": 88609203,
"node_id": "MDQ6VXNlcjg4NjA5MjAz",
"avatar_url": "https://avatars.githubusercontent.com/u/88609203?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chenin-wang",
"html_url": "https://github.com/chenin-wang",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-18T10:51:43 | 2025-04-19T09:07:16 | 2025-04-19T09:03:54 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37609",
"html_url": "https://github.com/huggingface/transformers/pull/37609",
"diff_url": "https://github.com/huggingface/transformers/pull/37609.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37609.patch",
"merged_at... | # What does this PR do?
[Bugfix] Set default value for output_attentions parameter in Gemma3TextModel
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transfor... | {
"login": "chenin-wang",
"id": 88609203,
"node_id": "MDQ6VXNlcjg4NjA5MjAz",
"avatar_url": "https://avatars.githubusercontent.com/u/88609203?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chenin-wang",
"html_url": "https://github.com/chenin-wang",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37609/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37609/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37608 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37608/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37608/comments | https://api.github.com/repos/huggingface/transformers/issues/37608/events | https://github.com/huggingface/transformers/pull/37608 | 3,004,599,979 | PR_kwDOCUB6oc6TGnEA | 37,608 | [don't merge] Check fork 2 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | null | [] | 2025-04-18T09:55:29 | 2025-04-22T16:23:35 | 2025-04-22T16:23:35 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37608",
"html_url": "https://github.com/huggingface/transformers/pull/37608",
"diff_url": "https://github.com/huggingface/transformers/pull/37608.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37608.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37608/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37608/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37607 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37607/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37607/comments | https://api.github.com/repos/huggingface/transformers/issues/37607/events | https://github.com/huggingface/transformers/pull/37607 | 3,004,582,098 | PR_kwDOCUB6oc6TGjLf | 37,607 | Check fork | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | null | [] | 2025-04-18T09:45:57 | 2025-04-18T10:14:58 | 2025-04-18T09:56:07 | COLLABORATOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37607",
"html_url": "https://github.com/huggingface/transformers/pull/37607",
"diff_url": "https://github.com/huggingface/transformers/pull/37607.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37607.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37607/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37607/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37606 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37606/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37606/comments | https://api.github.com/repos/huggingface/transformers/issues/37606/events | https://github.com/huggingface/transformers/issues/37606 | 3,004,541,935 | I_kwDOCUB6oc6zFavv | 37,606 | Qwen 2.5 VL Batch Inference Error: tensors not on the same device | {
"login": "YiqunChen1999",
"id": 47789930,
"node_id": "MDQ6VXNlcjQ3Nzg5OTMw",
"avatar_url": "https://avatars.githubusercontent.com/u/47789930?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YiqunChen1999",
"html_url": "https://github.com/YiqunChen1999",
"followers_url": "https://api.githu... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-18T09:24:05 | 2025-04-25T07:34:19 | 2025-04-25T07:34:19 | NONE | null | null | null | null | ### System Info
```
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.51.3
- Platform: Linux-5.15.0-127-generic-x86_64-with-glibc2.31
- Python version: 3.11.11
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Ac... | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37606/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/huggingface/transformers/issues/37606/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37605 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37605/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37605/comments | https://api.github.com/repos/huggingface/transformers/issues/37605/events | https://github.com/huggingface/transformers/pull/37605 | 3,004,540,180 | PR_kwDOCUB6oc6TGaDF | 37,605 | [do not merge] ci check | {
"login": "qubvel",
"id": 31920396,
"node_id": "MDQ6VXNlcjMxOTIwMzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/31920396?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qubvel",
"html_url": "https://github.com/qubvel",
"followers_url": "https://api.github.com/users/qubvel/fo... | [] | closed | false | null | [] | null | [] | 2025-04-18T09:23:19 | 2025-04-18T10:20:46 | 2025-04-18T10:20:46 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37605",
"html_url": "https://github.com/huggingface/transformers/pull/37605",
"diff_url": "https://github.com/huggingface/transformers/pull/37605.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37605.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "qubvel",
"id": 31920396,
"node_id": "MDQ6VXNlcjMxOTIwMzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/31920396?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qubvel",
"html_url": "https://github.com/qubvel",
"followers_url": "https://api.github.com/users/qubvel/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37605/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37605/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37604 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37604/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37604/comments | https://api.github.com/repos/huggingface/transformers/issues/37604/events | https://github.com/huggingface/transformers/pull/37604 | 3,004,529,783 | PR_kwDOCUB6oc6TGXtC | 37,604 | [kernels] use original forward at compile time | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | null | [] | 2025-04-18T09:18:48 | 2025-04-21T12:23:27 | 2025-04-21T12:22:47 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37604",
"html_url": "https://github.com/huggingface/transformers/pull/37604",
"diff_url": "https://github.com/huggingface/transformers/pull/37604.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37604.patch",
"merged_at... | # What does this PR do?
`kernels` and `torch.compile` are not yet compatible with each other. Although we can skip custom kernels when the package is not installed, adding an error message is also not feasible -- we can't throw exceptions at compile time.
This PR hijacks the `kernels` decorator to add a compile-f... | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37604/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37604/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37603 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37603/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37603/comments | https://api.github.com/repos/huggingface/transformers/issues/37603/events | https://github.com/huggingface/transformers/pull/37603 | 3,004,519,397 | PR_kwDOCUB6oc6TGVWm | 37,603 | [VLMs] fix flash-attention tests | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-18T09:15:21 | 2025-04-27T17:16:52 | 2025-04-24T09:48:11 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37603",
"html_url": "https://github.com/huggingface/transformers/pull/37603",
"diff_url": "https://github.com/huggingface/transformers/pull/37603.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37603.patch",
"merged_at... | # What does this PR do?
FA2 with layer norm upcasted was failing for all VLMs before. The issue lies in VLM config structure which is composite, and modifying base config doesn't update sub-configs (which are also deepcopied in model with `XXX._from_config`)
The solution is to apply recursively config update on m... | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37603/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37603/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37602 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37602/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37602/comments | https://api.github.com/repos/huggingface/transformers/issues/37602/events | https://github.com/huggingface/transformers/pull/37602 | 3,004,409,257 | PR_kwDOCUB6oc6TF8Pb | 37,602 | [chat template] separate jinja logic from tokenizers | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-18T08:36:05 | 2025-05-07T12:18:04 | 2025-05-07T12:18:04 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37602",
"html_url": "https://github.com/huggingface/transformers/pull/37602",
"diff_url": "https://github.com/huggingface/transformers/pull/37602.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37602.patch",
"merged_at... | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/36713
| {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37602/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37602/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37601 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37601/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37601/comments | https://api.github.com/repos/huggingface/transformers/issues/37601/events | https://github.com/huggingface/transformers/pull/37601 | 3,004,391,916 | PR_kwDOCUB6oc6TF4XK | 37,601 | trigger CI | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | null | [] | 2025-04-18T08:28:06 | 2025-04-22T16:23:49 | 2025-04-22T16:23:49 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37601",
"html_url": "https://github.com/huggingface/transformers/pull/37601",
"diff_url": "https://github.com/huggingface/transformers/pull/37601.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37601.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37601/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37601/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37600 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37600/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37600/comments | https://api.github.com/repos/huggingface/transformers/issues/37600/events | https://github.com/huggingface/transformers/pull/37600 | 3,004,277,153 | PR_kwDOCUB6oc6TFez4 | 37,600 | docs: Details for ambigious channel dimension assignment | {
"login": "yaner-here",
"id": 26623948,
"node_id": "MDQ6VXNlcjI2NjIzOTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/26623948?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaner-here",
"html_url": "https://github.com/yaner-here",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-18T07:33:32 | 2025-04-29T15:12:38 | 2025-04-29T15:12:38 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37600",
"html_url": "https://github.com/huggingface/transformers/pull/37600",
"diff_url": "https://github.com/huggingface/transformers/pull/37600.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37600.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37600/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37600/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37599 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37599/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37599/comments | https://api.github.com/repos/huggingface/transformers/issues/37599/events | https://github.com/huggingface/transformers/pull/37599 | 3,004,276,993 | PR_kwDOCUB6oc6TFexr | 37,599 | enable cpu offloading for Bark on xpu | {
"login": "yao-matrix",
"id": 7245027,
"node_id": "MDQ6VXNlcjcyNDUwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7245027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yao-matrix",
"html_url": "https://github.com/yao-matrix",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-04-18T07:33:26 | 2025-04-23T22:34:27 | 2025-04-23T09:37:15 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37599",
"html_url": "https://github.com/huggingface/transformers/pull/37599",
"diff_url": "https://github.com/huggingface/transformers/pull/37599.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37599.patch",
"merged_at... | **command**
pytest -rA tests/models/bark/test_modeling_bark.py::BarkModelIntegrationTests::test_generate_end_to_end_with_offload
**after this PR**
PASSED | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37599/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37599/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37598 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37598/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37598/comments | https://api.github.com/repos/huggingface/transformers/issues/37598/events | https://github.com/huggingface/transformers/pull/37598 | 3,003,899,806 | PR_kwDOCUB6oc6TEKQ8 | 37,598 | Fixing the example in generation strategy doc | {
"login": "jeasinema",
"id": 10633528,
"node_id": "MDQ6VXNlcjEwNjMzNTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/10633528?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeasinema",
"html_url": "https://github.com/jeasinema",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-18T03:57:31 | 2025-04-18T22:23:55 | 2025-04-18T19:50:17 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37598",
"html_url": "https://github.com/huggingface/transformers/pull/37598",
"diff_url": "https://github.com/huggingface/transformers/pull/37598.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37598.patch",
"merged_at... | The prompt text shown in the example does not match what is inside the generated output. As the generated output always include the prompt, the correct prompt should be "Hugging Face is an open-source company".
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if... | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37598/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37598/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37597 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37597/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37597/comments | https://api.github.com/repos/huggingface/transformers/issues/37597/events | https://github.com/huggingface/transformers/pull/37597 | 3,003,681,597 | PR_kwDOCUB6oc6TDbC9 | 37,597 | Fix qwen2_5 get_rope_index tensor device locations | {
"login": "rphmeier",
"id": 10121380,
"node_id": "MDQ6VXNlcjEwMTIxMzgw",
"avatar_url": "https://avatars.githubusercontent.com/u/10121380?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rphmeier",
"html_url": "https://github.com/rphmeier",
"followers_url": "https://api.github.com/users/rph... | [] | closed | false | null | [] | null | [] | 2025-04-18T00:45:57 | 2025-04-24T22:22:53 | 2025-04-24T14:04:38 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37597",
"html_url": "https://github.com/huggingface/transformers/pull/37597",
"diff_url": "https://github.com/huggingface/transformers/pull/37597.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37597.patch",
"merged_at... | # What does this PR do?
This fixes the torch device mismatch errors in the Qwen-2.5 integration when applied to video inputs.
Before, tensors were mixed between the CPU and cuda devices, leading to runtime errors: `RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and ... | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37597/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37597/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37596 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37596/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37596/comments | https://api.github.com/repos/huggingface/transformers/issues/37596/events | https://github.com/huggingface/transformers/pull/37596 | 3,003,522,851 | PR_kwDOCUB6oc6TC49I | 37,596 | Tests for the new Tensor Parallel integration | {
"login": "ailunc",
"id": 131329865,
"node_id": "U_kgDOB9PvSQ",
"avatar_url": "https://avatars.githubusercontent.com/u/131329865?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ailunc",
"html_url": "https://github.com/ailunc",
"followers_url": "https://api.github.com/users/ailunc/follower... | [] | open | false | null | [] | null | [] | 2025-04-17T21:59:49 | 2025-04-18T08:19:47 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37596",
"html_url": "https://github.com/huggingface/transformers/pull/37596",
"diff_url": "https://github.com/huggingface/transformers/pull/37596.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37596.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37596/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37596/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37595 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37595/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37595/comments | https://api.github.com/repos/huggingface/transformers/issues/37595/events | https://github.com/huggingface/transformers/issues/37595 | 3,003,489,945 | I_kwDOCUB6oc6zBZ6Z | 37,595 | Unable to load certain models | {
"login": "zaddy6",
"id": 49834299,
"node_id": "MDQ6VXNlcjQ5ODM0Mjk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49834299?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zaddy6",
"html_url": "https://github.com/zaddy6",
"followers_url": "https://api.github.com/users/zaddy6/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-17T21:36:42 | 2025-06-26T08:03:39 | 2025-06-26T08:03:39 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.51.3
- Platform: Linux-5.15.0-130-generic-x86_64-with-glibc2.35
- Python version: 3.11.11
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Accelerate config: not found
- DeepSpeed version: 0.16.6
- PyTorch version (GPU?): 2.6.0... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37595/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37595/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37594 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37594/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37594/comments | https://api.github.com/repos/huggingface/transformers/issues/37594/events | https://github.com/huggingface/transformers/pull/37594 | 3,003,443,888 | PR_kwDOCUB6oc6TCnim | 37,594 | Update Phi4 converter | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-17T21:06:53 | 2025-04-17T21:32:54 | 2025-04-17T21:08:24 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37594",
"html_url": "https://github.com/huggingface/transformers/pull/37594",
"diff_url": "https://github.com/huggingface/transformers/pull/37594.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37594.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37594/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37594/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37593 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37593/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37593/comments | https://api.github.com/repos/huggingface/transformers/issues/37593/events | https://github.com/huggingface/transformers/issues/37593 | 3,003,334,472 | I_kwDOCUB6oc6zAz9I | 37,593 | When using --eval_do_concat_batches=False with run_glue.py example, I get "ValueError: Predictions and/or references don't match the expected format." | {
"login": "jeffhataws",
"id": 56947987,
"node_id": "MDQ6VXNlcjU2OTQ3OTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/56947987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffhataws",
"html_url": "https://github.com/jeffhataws",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-17T20:00:38 | 2025-04-28T18:06:14 | 2025-04-28T18:06:14 | CONTRIBUTOR | null | null | null | null | ### System Info
Ran on c5.4xlarge CPU instance with Ubuntu22
- `transformers` version: 4.44.0
- Platform: Linux-6.8.0-1024-aws-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Accelerate config: not found
- PyTorch version ... | {
"login": "jeffhataws",
"id": 56947987,
"node_id": "MDQ6VXNlcjU2OTQ3OTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/56947987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffhataws",
"html_url": "https://github.com/jeffhataws",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37593/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37593/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37592 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37592/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37592/comments | https://api.github.com/repos/huggingface/transformers/issues/37592/events | https://github.com/huggingface/transformers/pull/37592 | 3,003,206,742 | PR_kwDOCUB6oc6TBz4M | 37,592 | Restructure torchao quantization examples | {
"login": "jerryzh168",
"id": 4958441,
"node_id": "MDQ6VXNlcjQ5NTg0NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4958441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jerryzh168",
"html_url": "https://github.com/jerryzh168",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-04-17T18:43:07 | 2025-04-22T09:20:35 | 2025-04-22T09:20:34 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37592",
"html_url": "https://github.com/huggingface/transformers/pull/37592",
"diff_url": "https://github.com/huggingface/transformers/pull/37592.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37592.patch",
"merged_at... | Summary:
Mainly structured the examples by hardwares and then listed the recommended quantization methods for each hardware H100 GPU, A100 GPU and CPU
Also added example for push_to_hub
Test Plan:
not required
Reviewers:
Subscribers:
Tasks:
Tags:
| {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37592/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37592/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37591 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37591/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37591/comments | https://api.github.com/repos/huggingface/transformers/issues/37591/events | https://github.com/huggingface/transformers/pull/37591 | 3,003,138,108 | PR_kwDOCUB6oc6TBlGH | 37,591 | Fix some GPU OOM after #37553 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | null | [] | 2025-04-17T18:03:26 | 2025-04-18T08:09:21 | 2025-04-18T08:09:19 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37591",
"html_url": "https://github.com/huggingface/transformers/pull/37591",
"diff_url": "https://github.com/huggingface/transformers/pull/37591.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37591.patch",
"merged_at... | # What does this PR do?
Can't say anything why #37553 gives some tests GPU OOM and the only way I can make those tests to pass is to do some cuda cleanup at some places. | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37591/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37591/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37590 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37590/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37590/comments | https://api.github.com/repos/huggingface/transformers/issues/37590/events | https://github.com/huggingface/transformers/pull/37590 | 3,003,097,955 | PR_kwDOCUB6oc6TBcZr | 37,590 | :rotating_light: :rotating_light: Inherited CausalLM Tests | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | [] | 2025-04-17T17:40:15 | 2025-05-23T17:29:55 | 2025-05-23T17:29:31 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37590",
"html_url": "https://github.com/huggingface/transformers/pull/37590",
"diff_url": "https://github.com/huggingface/transformers/pull/37590.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37590.patch",
"merged_at... | This is an experimental PR to see if we can inherit tests for causal language models, which should reduce the amount of boilerplate model authors need to write by a lot.
Right now it's **very** experimental and will only touch a couple of models! Expect lots of failures for a while.
Update: It was stable and work... | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37590/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37590/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37589 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37589/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37589/comments | https://api.github.com/repos/huggingface/transformers/issues/37589/events | https://github.com/huggingface/transformers/pull/37589 | 3,002,952,337 | PR_kwDOCUB6oc6TA83F | 37,589 | Add config validation and style tweaks | {
"login": "Kirire",
"id": 27903062,
"node_id": "MDQ6VXNlcjI3OTAzMDYy",
"avatar_url": "https://avatars.githubusercontent.com/u/27903062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kirire",
"html_url": "https://github.com/Kirire",
"followers_url": "https://api.github.com/users/Kirire/fo... | [] | closed | false | null | [] | null | [] | 2025-04-17T16:26:20 | 2025-05-14T12:23:13 | 2025-05-14T12:22:11 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37589",
"html_url": "https://github.com/huggingface/transformers/pull/37589",
"diff_url": "https://github.com/huggingface/transformers/pull/37589.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37589.patch",
"merged_at... | **Summary of changes:**
1. **Renamed `input_states` to `hidden_states`** in the `torch_forward` method signature and body, to align with HuggingFace Transformers' naming conventions:
```python
def torch_forward(self, hidden_states: torch.Tensor, ...)
```
This change improves consistency with the rest... | {
"login": "vasqu",
"id": 73884904,
"node_id": "MDQ6VXNlcjczODg0OTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/73884904?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vasqu",
"html_url": "https://github.com/vasqu",
"followers_url": "https://api.github.com/users/vasqu/follow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37589/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37589/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37588 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37588/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37588/comments | https://api.github.com/repos/huggingface/transformers/issues/37588/events | https://github.com/huggingface/transformers/pull/37588 | 3,002,947,081 | PR_kwDOCUB6oc6TA7u8 | 37,588 | Remove unused ConfigTester attributes | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | [] | 2025-04-17T16:23:25 | 2025-04-17T16:51:43 | 2025-04-17T16:26:20 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37588",
"html_url": "https://github.com/huggingface/transformers/pull/37588",
"diff_url": "https://github.com/huggingface/transformers/pull/37588.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37588.patch",
"merged_at... | EDIT: These attributes were definitely used in some cases, my bad! | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37588/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37588/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37587 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37587/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37587/comments | https://api.github.com/repos/huggingface/transformers/issues/37587/events | https://github.com/huggingface/transformers/pull/37587 | 3,002,892,969 | PR_kwDOCUB6oc6TAv_i | 37,587 | Flag SpeechT5 flaky test | {
"login": "molbap",
"id": 39954772,
"node_id": "MDQ6VXNlcjM5OTU0Nzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/39954772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/molbap",
"html_url": "https://github.com/molbap",
"followers_url": "https://api.github.com/users/molbap/fo... | [] | closed | false | null | [] | null | [] | 2025-04-17T15:56:42 | 2025-04-18T09:35:47 | 2025-04-18T09:35:46 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37587",
"html_url": "https://github.com/huggingface/transformers/pull/37587",
"diff_url": "https://github.com/huggingface/transformers/pull/37587.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37587.patch",
"merged_at... | # What does this PR do?
Flags a test as flaky - it's been blocking a few PRs. Not sure what is causing it to fail, cc @eustlb here maybe | {
"login": "molbap",
"id": 39954772,
"node_id": "MDQ6VXNlcjM5OTU0Nzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/39954772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/molbap",
"html_url": "https://github.com/molbap",
"followers_url": "https://api.github.com/users/molbap/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37587/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37587/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37586 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37586/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37586/comments | https://api.github.com/repos/huggingface/transformers/issues/37586/events | https://github.com/huggingface/transformers/issues/37586 | 3,002,862,854 | I_kwDOCUB6oc6y_A0G | 37,586 | Leaving model loaded in memory for an inference server causes CUDNN to crash if left alone for awhile - need help making sense of what's happening | {
"login": "rperdon",
"id": 19974945,
"node_id": "MDQ6VXNlcjE5OTc0OTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/19974945?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rperdon",
"html_url": "https://github.com/rperdon",
"followers_url": "https://api.github.com/users/rperdo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-17T15:43:15 | 2025-04-25T15:22:49 | 2025-04-25T15:20:08 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.51.3
- Platform: Linux-5.15.0-1042-nvidia-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU?):... | {
"login": "rperdon",
"id": 19974945,
"node_id": "MDQ6VXNlcjE5OTc0OTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/19974945?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rperdon",
"html_url": "https://github.com/rperdon",
"followers_url": "https://api.github.com/users/rperdo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37586/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37586/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37585 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37585/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37585/comments | https://api.github.com/repos/huggingface/transformers/issues/37585/events | https://github.com/huggingface/transformers/pull/37585 | 3,002,854,964 | PR_kwDOCUB6oc6TAn9W | 37,585 | chore: update model card for SigLIP | {
"login": "saswatmeher",
"id": 35535056,
"node_id": "MDQ6VXNlcjM1NTM1MDU2",
"avatar_url": "https://avatars.githubusercontent.com/u/35535056?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saswatmeher",
"html_url": "https://github.com/saswatmeher",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-17T15:39:31 | 2025-04-23T09:20:44 | 2025-04-18T20:30:41 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37585",
"html_url": "https://github.com/huggingface/transformers/pull/37585",
"diff_url": "https://github.com/huggingface/transformers/pull/37585.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37585.patch",
"merged_at... | # What does this PR do?
Update the model card for SigLIP to handle #36979
Fixes #36979
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/... | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37585/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37585/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37584 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37584/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37584/comments | https://api.github.com/repos/huggingface/transformers/issues/37584/events | https://github.com/huggingface/transformers/issues/37584 | 3,002,742,647 | I_kwDOCUB6oc6y-jd3 | 37,584 | Error when loading a pretrained model from local file if model has been saved to 2 locations due to config mismatch | {
"login": "sah267",
"id": 6809828,
"node_id": "MDQ6VXNlcjY4MDk4Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6809828?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sah267",
"html_url": "https://github.com/sah267",
"followers_url": "https://api.github.com/users/sah267/foll... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-17T14:55:25 | 2025-05-28T16:41:31 | 2025-05-28T16:41:30 | NONE | null | null | null | null | ### Summary of Issue
After saving a pre-trained model from huggingface to a local folder and then loading it with `from_pretrained`. If you save that same model to another local folder and try to load from the second location, you get an error because the values in the `auto_model["AutoConfig"]` don't match. The model ... | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37584/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37584/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37583 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37583/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37583/comments | https://api.github.com/repos/huggingface/transformers/issues/37583/events | https://github.com/huggingface/transformers/pull/37583 | 3,002,688,486 | PR_kwDOCUB6oc6TAD4c | 37,583 | Refactor phi doc | {
"login": "JihadHammoud02",
"id": 94748033,
"node_id": "U_kgDOBaW9gQ",
"avatar_url": "https://avatars.githubusercontent.com/u/94748033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JihadHammoud02",
"html_url": "https://github.com/JihadHammoud02",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | null | [] | 2025-04-17T14:34:39 | 2025-04-21T17:31:04 | 2025-04-21T17:31:04 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37583",
"html_url": "https://github.com/huggingface/transformers/pull/37583",
"diff_url": "https://github.com/huggingface/transformers/pull/37583.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37583.patch",
"merged_at... | Refactored the phi.md model card to follow the Hugging Face documentation conventions for model docs.
Reorganized the structure for consistency with other model docs (title, model overview, usage, and notes).
Included usage examples for:
pipeline (text generation)
AutoModel (text generation with AutoM... | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37583/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37583/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37582 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37582/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37582/comments | https://api.github.com/repos/huggingface/transformers/issues/37582/events | https://github.com/huggingface/transformers/pull/37582 | 3,002,554,409 | PR_kwDOCUB6oc6S_mjq | 37,582 | Add code examples for creating & fine‑tuning EncoderDecoderModel (fixes #16135) | {
"login": "HarshitaTechWizard",
"id": 173771133,
"node_id": "U_kgDOCluJfQ",
"avatar_url": "https://avatars.githubusercontent.com/u/173771133?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HarshitaTechWizard",
"html_url": "https://github.com/HarshitaTechWizard",
"followers_url": "https://... | [] | open | false | null | [] | null | [] | 2025-04-17T13:45:33 | 2025-04-17T21:34:15 | null | NONE | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37582",
"html_url": "https://github.com/huggingface/transformers/pull/37582",
"diff_url": "https://github.com/huggingface/transformers/pull/37582.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37582.patch",
"merged_at... | This PR implements the first two code‑example requests from Issue #16135:
1. Create & Save an EncoderDecoderModel
- Shows how to load pre‑trained encoder & decoder, then save the combined model.
2. Fine‑Tune an EncoderDecoderModel
- Demonstrates a one‑epoch training loop on a tiny sample dataset.
Both ... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37582/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37582/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37581 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37581/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37581/comments | https://api.github.com/repos/huggingface/transformers/issues/37581/events | https://github.com/huggingface/transformers/pull/37581 | 3,002,546,730 | PR_kwDOCUB6oc6S_k37 | 37,581 | Ensure positive warm-up size | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-17T13:43:18 | 2025-04-17T14:11:56 | 2025-04-17T14:11:54 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37581",
"html_url": "https://github.com/huggingface/transformers/pull/37581",
"diff_url": "https://github.com/huggingface/transformers/pull/37581.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37581.patch",
"merged_at... | # What does this PR do?
cc @qubvel @ydshieh for viz 🤗 | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37581/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37581/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37580 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37580/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37580/comments | https://api.github.com/repos/huggingface/transformers/issues/37580/events | https://github.com/huggingface/transformers/issues/37580 | 3,002,526,390 | I_kwDOCUB6oc6y9uq2 | 37,580 | Reproduce Grounding DINO LVIS Benchmark Results with HF implementation | {
"login": "sfixl",
"id": 200221651,
"node_id": "U_kgDOC-8j0w",
"avatar_url": "https://avatars.githubusercontent.com/u/200221651?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfixl",
"html_url": "https://github.com/sfixl",
"followers_url": "https://api.github.com/users/sfixl/followers",
... | [] | closed | false | null | [] | null | [] | 2025-04-17T13:35:38 | 2025-05-26T08:16:23 | 2025-05-26T08:16:23 | NONE | null | null | null | null | Has anyone had success reproducing the LVIS benchmark results using the HF implementation of Grounding DINO? Can it be due to the HF implementation, or is it 1:1 the same as the official one?
Unfortunately the authors did not publish any details (or code) how they did the benchmark.
My best results for the GroundingD... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37580/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37580/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37579 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37579/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37579/comments | https://api.github.com/repos/huggingface/transformers/issues/37579/events | https://github.com/huggingface/transformers/pull/37579 | 3,002,405,647 | PR_kwDOCUB6oc6S_HDD | 37,579 | [phi4] update conversion | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-17T12:52:25 | 2025-04-17T13:43:04 | 2025-04-17T13:43:04 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37579",
"html_url": "https://github.com/huggingface/transformers/pull/37579",
"diff_url": "https://github.com/huggingface/transformers/pull/37579.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37579.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37579/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37579/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37578 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37578/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37578/comments | https://api.github.com/repos/huggingface/transformers/issues/37578/events | https://github.com/huggingface/transformers/pull/37578 | 3,002,084,273 | PR_kwDOCUB6oc6S-AyP | 37,578 | Fix Quark quantization config | {
"login": "MekkCyber",
"id": 93391238,
"node_id": "U_kgDOBZEJhg",
"avatar_url": "https://avatars.githubusercontent.com/u/93391238?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MekkCyber",
"html_url": "https://github.com/MekkCyber",
"followers_url": "https://api.github.com/users/MekkCybe... | [] | closed | false | null | [] | null | [] | 2025-04-17T10:27:01 | 2025-04-18T05:23:41 | 2025-04-18T05:23:39 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37578",
"html_url": "https://github.com/huggingface/transformers/pull/37578",
"diff_url": "https://github.com/huggingface/transformers/pull/37578.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37578.patch",
"merged_at... | # What does this PR do?
Raises an `ImportException` in the quantization config if quark is not installed, since it's needed there | {
"login": "MekkCyber",
"id": 93391238,
"node_id": "U_kgDOBZEJhg",
"avatar_url": "https://avatars.githubusercontent.com/u/93391238?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MekkCyber",
"html_url": "https://github.com/MekkCyber",
"followers_url": "https://api.github.com/users/MekkCybe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37578/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37578/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37577 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37577/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37577/comments | https://api.github.com/repos/huggingface/transformers/issues/37577/events | https://github.com/huggingface/transformers/pull/37577 | 3,001,967,733 | PR_kwDOCUB6oc6S9nO4 | 37,577 | dont merge trigger CI | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | null | [] | 2025-04-17T09:36:21 | 2025-04-17T14:38:57 | 2025-04-17T14:38:57 | COLLABORATOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37577",
"html_url": "https://github.com/huggingface/transformers/pull/37577",
"diff_url": "https://github.com/huggingface/transformers/pull/37577.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37577.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37577/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37577/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37576 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37576/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37576/comments | https://api.github.com/repos/huggingface/transformers/issues/37576/events | https://github.com/huggingface/transformers/pull/37576 | 3,001,957,513 | PR_kwDOCUB6oc6S9k-6 | 37,576 | [VLMs] support attention backends | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-17T09:32:22 | 2025-05-15T09:13:32 | 2025-05-08T16:18:54 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37576",
"html_url": "https://github.com/huggingface/transformers/pull/37576",
"diff_url": "https://github.com/huggingface/transformers/pull/37576.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37576.patch",
"merged_at... | # What does this PR do?
As per title, another step closer to vLLM + transformers
What was done:
- Support attention API for VLM related models if not yet done
- Pass `kwargs` so vLLM can forward its attention instances
- Replace all loss computations to `self.loss_fn` (see https://github.com/huggingface/transf... | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37576/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37576/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37575 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37575/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37575/comments | https://api.github.com/repos/huggingface/transformers/issues/37575/events | https://github.com/huggingface/transformers/pull/37575 | 3,001,897,725 | PR_kwDOCUB6oc6S9YA9 | 37,575 | [Bugfix] Fix flash-attention func param mismatch and softmax_scale default value mistake on Ascend NPU | {
"login": "FightingZhen",
"id": 26176607,
"node_id": "MDQ6VXNlcjI2MTc2NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/26176607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FightingZhen",
"html_url": "https://github.com/FightingZhen",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-04-17T09:07:23 | 2025-08-14T01:52:43 | 2025-04-18T09:34:17 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37575",
"html_url": "https://github.com/huggingface/transformers/pull/37575",
"diff_url": "https://github.com/huggingface/transformers/pull/37575.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37575.patch",
"merged_at... | # What does this PR do?
After we support using Flash Attention on Ascend NPU[(PR)](https://github.com/huggingface/transformers/pull/36696), we found 2 bugs in the implementation of Flash Attention on Ascend NPU. This PR is committed for solving both.
**Bugfix1:**
We found that there exists a kind of situation in ... | {
"login": "MekkCyber",
"id": 93391238,
"node_id": "U_kgDOBZEJhg",
"avatar_url": "https://avatars.githubusercontent.com/u/93391238?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MekkCyber",
"html_url": "https://github.com/MekkCyber",
"followers_url": "https://api.github.com/users/MekkCybe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37575/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37575/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37574 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37574/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37574/comments | https://api.github.com/repos/huggingface/transformers/issues/37574/events | https://github.com/huggingface/transformers/issues/37574 | 3,001,861,522 | I_kwDOCUB6oc6y7MWS | 37,574 | Wrong KV cache update for sliding-window attention (SWA) layers when total sequence length reaches window size | {
"login": "plienhar",
"id": 118842459,
"node_id": "U_kgDOBxVkWw",
"avatar_url": "https://avatars.githubusercontent.com/u/118842459?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/plienhar",
"html_url": "https://github.com/plienhar",
"followers_url": "https://api.github.com/users/plienhar/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | [
{
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": ... | null | [] | 2025-04-17T08:52:07 | 2025-05-20T10:46:14 | 2025-05-20T10:46:14 | NONE | null | null | null | null | ### System Info
```text
- `transformers` version: 4.51.2
- Platform: Linux-6.8.0-1021-aws-x86_64-with-glibc2.35
- Python version: 3.12.8
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.5.2
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU... | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37574/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37574/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37573 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37573/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37573/comments | https://api.github.com/repos/huggingface/transformers/issues/37573/events | https://github.com/huggingface/transformers/pull/37573 | 3,001,641,309 | PR_kwDOCUB6oc6S8gUu | 37,573 | 🚨[VLMs] use only `xxx_token_id` for multimodal tokens | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-17T07:09:38 | 2025-04-29T10:09:03 | 2025-04-18T15:03:40 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37573",
"html_url": "https://github.com/huggingface/transformers/pull/37573",
"diff_url": "https://github.com/huggingface/transformers/pull/37573.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37573.patch",
"merged_at... | # What does this PR do?
As per title, attempt to standardize config naming when it comes to special tokens. We currently use `x_index` an `x_id`. Even though majority of models use `x_index`, I decided that `x_id` aligns more with text models where we have `pad_token_id` etc.
This is one of the steps to make vLLM... | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37573/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/37573/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37572 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37572/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37572/comments | https://api.github.com/repos/huggingface/transformers/issues/37572/events | https://github.com/huggingface/transformers/pull/37572 | 3,001,578,324 | PR_kwDOCUB6oc6S8Sk6 | 37,572 | fix 2 encoder_decoder issues on XPU | {
"login": "yao-matrix",
"id": 7245027,
"node_id": "MDQ6VXNlcjcyNDUwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7245027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yao-matrix",
"html_url": "https://github.com/yao-matrix",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-04-17T06:39:45 | 2025-04-20T22:50:09 | 2025-04-18T15:49:24 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37572",
"html_url": "https://github.com/huggingface/transformers/pull/37572",
"diff_url": "https://github.com/huggingface/transformers/pull/37572.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37572.patch",
"merged_at... | PASSED pytest -rA tests/models/encoder_decoder/test_modeling_encoder_decoder.py -k test_roberta2roberta_summarization
PASSED pytest -rA tests/models/encoder_decoder/test_modeling_encoder_decoder.py -k test_bert2gpt2_summarization | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37572/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37572/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37571 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37571/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37571/comments | https://api.github.com/repos/huggingface/transformers/issues/37571/events | https://github.com/huggingface/transformers/pull/37571 | 3,001,520,792 | PR_kwDOCUB6oc6S8GAb | 37,571 | enable 6 modeling cases on XPU | {
"login": "yao-matrix",
"id": 7245027,
"node_id": "MDQ6VXNlcjcyNDUwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7245027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yao-matrix",
"html_url": "https://github.com/yao-matrix",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-04-17T06:08:50 | 2025-04-20T22:48:49 | 2025-04-18T10:28:08 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37571",
"html_url": "https://github.com/huggingface/transformers/pull/37571",
"diff_url": "https://github.com/huggingface/transformers/pull/37571.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37571.patch",
"merged_at... | **4 PASSED**
PASSED tests/models/mpt/test_modeling_mpt.py::MptIntegrationTests::test_model_logits
PASSED tests/models/nemotron/test_modeling_nemotron.py::NemotronIntegrationTest::test_nemotron_8b_generation_eager
PASSED tests/models/bamba/test_modeling_bamba.py::BambaModelIntegrationTest::test_simple_batched_generat... | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37571/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37571/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37570 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37570/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37570/comments | https://api.github.com/repos/huggingface/transformers/issues/37570/events | https://github.com/huggingface/transformers/issues/37570 | 3,001,363,608 | I_kwDOCUB6oc6y5SyY | 37,570 | How to streaming output audio of Qwen2.5-omni-7b | {
"login": "qinxuye",
"id": 357506,
"node_id": "MDQ6VXNlcjM1NzUwNg==",
"avatar_url": "https://avatars.githubusercontent.com/u/357506?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qinxuye",
"html_url": "https://github.com/qinxuye",
"followers_url": "https://api.github.com/users/qinxuye/fo... | [] | closed | false | null | [] | null | [] | 2025-04-17T04:16:35 | 2025-07-30T08:03:44 | 2025-07-30T08:03:44 | NONE | null | null | null | null | All the examples of qwen2.5-omni-7b did not show how to streaming output audio, with passing streamer, I am able to get streaming text, but how can I get the streaming audio output? | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37570/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37570/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37569 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37569/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37569/comments | https://api.github.com/repos/huggingface/transformers/issues/37569/events | https://github.com/huggingface/transformers/pull/37569 | 3,001,283,691 | PR_kwDOCUB6oc6S7TVS | 37,569 | enable 6 granite cases on xpu | {
"login": "yao-matrix",
"id": 7245027,
"node_id": "MDQ6VXNlcjcyNDUwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7245027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yao-matrix",
"html_url": "https://github.com/yao-matrix",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-04-17T03:20:07 | 2025-04-22T22:57:15 | 2025-04-22T15:55:02 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37569",
"html_url": "https://github.com/huggingface/transformers/pull/37569",
"diff_url": "https://github.com/huggingface/transformers/pull/37569.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37569.patch",
"merged_at... | **cases**
tests/models/granitemoe/test_modeling_granitemoe.py::GraniteMoeIntegrationTest::test_model_3b_generation
tests/models/granitemoeshared/test_modeling_granitemoeshared.py::GraniteMoeSharedIntegrationTest::test_model_3b_generation
tests/models/granite/test_modeling_granite.py::GraniteIntegrationTest::test_m... | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37569/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37569/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37568 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37568/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37568/comments | https://api.github.com/repos/huggingface/transformers/issues/37568/events | https://github.com/huggingface/transformers/pull/37568 | 3,001,147,744 | PR_kwDOCUB6oc6S63Kc | 37,568 | Gaudi: Add the bf16 support for hpu | {
"login": "yuanwu2017",
"id": 34643241,
"node_id": "MDQ6VXNlcjM0NjQzMjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/34643241?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuanwu2017",
"html_url": "https://github.com/yuanwu2017",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-17T01:34:53 | 2025-04-18T06:25:31 | 2025-04-18T06:00:27 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37568",
"html_url": "https://github.com/huggingface/transformers/pull/37568",
"diff_url": "https://github.com/huggingface/transformers/pull/37568.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37568.patch",
"merged_at... | # What does this PR do?
Add the bf16 support for hpu, otherwise the following error will occur.
```
[2025-04-17 01:25:52,600] [INFO] [real_accelerator.py:219:get_accelerator] Setting ds_accelerator to hpu (auto detect) ... | {
"login": "IlyasMoutawwakil",
"id": 57442720,
"node_id": "MDQ6VXNlcjU3NDQyNzIw",
"avatar_url": "https://avatars.githubusercontent.com/u/57442720?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IlyasMoutawwakil",
"html_url": "https://github.com/IlyasMoutawwakil",
"followers_url": "https://... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37568/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37568/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37567 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37567/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37567/comments | https://api.github.com/repos/huggingface/transformers/issues/37567/events | https://github.com/huggingface/transformers/pull/37567 | 3,001,134,038 | PR_kwDOCUB6oc6S60Wv | 37,567 | docs: fix typo | {
"login": "tonyksong",
"id": 38965603,
"node_id": "MDQ6VXNlcjM4OTY1NjAz",
"avatar_url": "https://avatars.githubusercontent.com/u/38965603?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tonyksong",
"html_url": "https://github.com/tonyksong",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-17T01:26:29 | 2025-04-17T13:54:44 | 2025-04-17T13:54:44 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37567",
"html_url": "https://github.com/huggingface/transformers/pull/37567",
"diff_url": "https://github.com/huggingface/transformers/pull/37567.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37567.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37567/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37567/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37566 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37566/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37566/comments | https://api.github.com/repos/huggingface/transformers/issues/37566/events | https://github.com/huggingface/transformers/issues/37566 | 3,001,118,229 | I_kwDOCUB6oc6y4W4V | 37,566 | clip gradient not working | {
"login": "jiangix-paper",
"id": 62198809,
"node_id": "MDQ6VXNlcjYyMTk4ODA5",
"avatar_url": "https://avatars.githubusercontent.com/u/62198809?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiangix-paper",
"html_url": "https://github.com/jiangix-paper",
"followers_url": "https://api.githu... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-17T01:13:18 | 2025-05-25T08:02:31 | 2025-05-25T08:02:31 | NONE | null | null | null | null | ### System Info
trl 0.16.0
deepspeed 0.15.4
accelerate 0.34.0
pytorch 2.5.1
transformers 0.49.0
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37566/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37566/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37565 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37565/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37565/comments | https://api.github.com/repos/huggingface/transformers/issues/37565/events | https://github.com/huggingface/transformers/pull/37565 | 3,001,029,519 | PR_kwDOCUB6oc6S6eEP | 37,565 | Tests for the new Tensor Parallel integration | {
"login": "ailunc",
"id": 131329865,
"node_id": "U_kgDOB9PvSQ",
"avatar_url": "https://avatars.githubusercontent.com/u/131329865?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ailunc",
"html_url": "https://github.com/ailunc",
"followers_url": "https://api.github.com/users/ailunc/follower... | [] | closed | false | null | [] | null | [] | 2025-04-16T23:58:57 | 2025-04-17T21:57:43 | 2025-04-17T21:57:43 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37565",
"html_url": "https://github.com/huggingface/transformers/pull/37565",
"diff_url": "https://github.com/huggingface/transformers/pull/37565.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37565.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "ailunc",
"id": 131329865,
"node_id": "U_kgDOB9PvSQ",
"avatar_url": "https://avatars.githubusercontent.com/u/131329865?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ailunc",
"html_url": "https://github.com/ailunc",
"followers_url": "https://api.github.com/users/ailunc/follower... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37565/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37565/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37564 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37564/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37564/comments | https://api.github.com/repos/huggingface/transformers/issues/37564/events | https://github.com/huggingface/transformers/pull/37564 | 3,001,000,334 | PR_kwDOCUB6oc6S6Xs1 | 37,564 | enable 6 gemma2 cases on XPU | {
"login": "yao-matrix",
"id": 7245027,
"node_id": "MDQ6VXNlcjcyNDUwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7245027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yao-matrix",
"html_url": "https://github.com/yao-matrix",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-04-16T23:34:52 | 2025-04-20T22:46:36 | 2025-04-18T10:10:34 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37564",
"html_url": "https://github.com/huggingface/transformers/pull/37564",
"diff_url": "https://github.com/huggingface/transformers/pull/37564.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37564.patch",
"merged_at... | **2 pass**
PASSED tests/models/gemma2/test_modeling_gemma2.py::Gemma2IntegrationTest::test_export_static_cache
PASSED tests/models/gemma2/test_modeling_gemma2.py::Gemma2IntegrationTest::test_generation_beyond_sliding_window_3_eager
**1 should skip: XPU doesn't support flash-attention-2 package as of now**
SKIPPPE... | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37564/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37564/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37563 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37563/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37563/comments | https://api.github.com/repos/huggingface/transformers/issues/37563/events | https://github.com/huggingface/transformers/pull/37563 | 3,000,747,700 | PR_kwDOCUB6oc6S5gcx | 37,563 | All models can be initialized on meta device | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-16T21:07:40 | 2025-04-16T21:45:53 | 2025-04-16T21:26:45 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37563",
"html_url": "https://github.com/huggingface/transformers/pull/37563",
"diff_url": "https://github.com/huggingface/transformers/pull/37563.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37563.patch",
"merged_at... | # What does this PR do?
Some old models could not be initialized on meta device because they used dynamic `.item()` or `.tolist()` in the `__init__`, which does not work with meta initialization as the underlying tensor will be on meta. | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37563/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37563/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37562 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37562/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37562/comments | https://api.github.com/repos/huggingface/transformers/issues/37562/events | https://github.com/huggingface/transformers/pull/37562 | 3,000,629,455 | PR_kwDOCUB6oc6S5HSE | 37,562 | Small fix on context manager detection | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-16T20:06:30 | 2025-04-17T13:39:46 | 2025-04-17T13:39:44 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37562",
"html_url": "https://github.com/huggingface/transformers/pull/37562",
"diff_url": "https://github.com/huggingface/transformers/pull/37562.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37562.patch",
"merged_at... | # What does this PR do?
Following feedback in https://github.com/huggingface/transformers/pull/37216!
cc @SunMarc
In the meantime, I switched the test to ensure we _can_ load on meta so that it works for 3rd party libs until we remove it (because it was not the case before https://github.com/huggingface/transforme... | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37562/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37562/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37561 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37561/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37561/comments | https://api.github.com/repos/huggingface/transformers/issues/37561/events | https://github.com/huggingface/transformers/pull/37561 | 3,000,441,751 | PR_kwDOCUB6oc6S4fc6 | 37,561 | Nougat Fast Image Processor | {
"login": "Player256",
"id": 92082372,
"node_id": "U_kgDOBX0QxA",
"avatar_url": "https://avatars.githubusercontent.com/u/92082372?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Player256",
"html_url": "https://github.com/Player256",
"followers_url": "https://api.github.com/users/Player25... | [] | closed | false | null | [] | null | [] | 2025-04-16T18:39:48 | 2025-04-27T07:27:26 | 2025-04-27T07:25:14 | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37561",
"html_url": "https://github.com/huggingface/transformers/pull/37561",
"diff_url": "https://github.com/huggingface/transformers/pull/37561.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37561.patch",
"merged_at... | # What does this PR do?
- Working on this mega issue #36978. This PR aims to add a Fast Processor for Nougat Series of Models
| {
"login": "Player256",
"id": 92082372,
"node_id": "U_kgDOBX0QxA",
"avatar_url": "https://avatars.githubusercontent.com/u/92082372?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Player256",
"html_url": "https://github.com/Player256",
"followers_url": "https://api.github.com/users/Player25... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37561/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37561/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37560 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37560/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37560/comments | https://api.github.com/repos/huggingface/transformers/issues/37560/events | https://github.com/huggingface/transformers/pull/37560 | 3,000,369,940 | PR_kwDOCUB6oc6S4P7C | 37,560 | Enable granite speech 3.3 tests | {
"login": "alex-jw-brooks",
"id": 10740300,
"node_id": "MDQ6VXNlcjEwNzQwMzAw",
"avatar_url": "https://avatars.githubusercontent.com/u/10740300?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alex-jw-brooks",
"html_url": "https://github.com/alex-jw-brooks",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | null | [] | 2025-04-16T18:05:28 | 2025-05-06T15:56:18 | 2025-05-06T15:56:18 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37560",
"html_url": "https://github.com/huggingface/transformers/pull/37560",
"diff_url": "https://github.com/huggingface/transformers/pull/37560.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37560.patch",
"merged_at... | Turns on the tests for granite speech now that the 3.3 model is up! Integration tests guard with peft, since they will fail if the lora isn't applied.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor gu... | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37560/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37560/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37559 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37559/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37559/comments | https://api.github.com/repos/huggingface/transformers/issues/37559/events | https://github.com/huggingface/transformers/pull/37559 | 3,000,260,469 | PR_kwDOCUB6oc6S34SE | 37,559 | Fix qwen2audio wanr -> warn | {
"login": "alex-jw-brooks",
"id": 10740300,
"node_id": "MDQ6VXNlcjEwNzQwMzAw",
"avatar_url": "https://avatars.githubusercontent.com/u/10740300?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alex-jw-brooks",
"html_url": "https://github.com/alex-jw-brooks",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | null | [] | 2025-04-16T17:14:33 | 2025-04-17T13:34:59 | 2025-04-17T13:34:59 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37559",
"html_url": "https://github.com/huggingface/transformers/pull/37559",
"diff_url": "https://github.com/huggingface/transformers/pull/37559.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37559.patch",
"merged_at... | # What does this PR do?
Fixes a typo for `warnings.wanr` -. `warnings.warn` in the qwen2 audio processor. Should not really be reachable because of the deprecation decorator, but maybe still nice to fix anyway!
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other chec... | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37559/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37559/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37558 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37558/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37558/comments | https://api.github.com/repos/huggingface/transformers/issues/37558/events | https://github.com/huggingface/transformers/pull/37558 | 3,000,247,156 | PR_kwDOCUB6oc6S31Yr | 37,558 | [TimesFM] use the main revison instead of revision for integration test | {
"login": "kashif",
"id": 8100,
"node_id": "MDQ6VXNlcjgxMDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kashif",
"html_url": "https://github.com/kashif",
"followers_url": "https://api.github.com/users/kashif/followers",
... | [] | closed | false | null | [] | null | [] | 2025-04-16T17:08:19 | 2025-04-17T09:26:03 | 2025-04-17T09:26:03 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37558",
"html_url": "https://github.com/huggingface/transformers/pull/37558",
"diff_url": "https://github.com/huggingface/transformers/pull/37558.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37558.patch",
"merged_at... | # What does this PR do?
use the main revisoin for integration test
<!-- Remove if not applicable -->
Fixes # (issue)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.c... | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37558/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37558/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37557 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37557/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37557/comments | https://api.github.com/repos/huggingface/transformers/issues/37557/events | https://github.com/huggingface/transformers/issues/37557 | 3,000,185,338 | I_kwDOCUB6oc6y0zH6 | 37,557 | Missing tests for the new Tensor Parallel integration | {
"login": "molbap",
"id": 39954772,
"node_id": "MDQ6VXNlcjM5OTU0Nzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/39954772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/molbap",
"html_url": "https://github.com/molbap",
"followers_url": "https://api.github.com/users/molbap/fo... | [
{
"id": 1834088753,
"node_id": "MDU6TGFiZWwxODM0MDg4NzUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Tests",
"name": "Tests",
"color": "a6fcca",
"default": false,
"description": "Related to tests"
},
{
"id": 2760822153,
"node_id": "MDU6TGFiZWwyNzYwO... | closed | false | null | [] | null | [] | 2025-04-16T16:38:00 | 2025-05-25T08:02:32 | 2025-05-25T08:02:32 | CONTRIBUTOR | null | null | null | null | With Llama4 and a couple new models relying more and more on the TP integrations we have, we need to add tests using `torchrun` that:
- test basic TP functionalities (is a colwise split done correctly)
- serve as _functional_ documentation (how is a colwise split done in practice)
Down to write a draft of these sooni... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37557/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37557/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37556 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37556/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37556/comments | https://api.github.com/repos/huggingface/transformers/issues/37556/events | https://github.com/huggingface/transformers/issues/37556 | 3,000,149,670 | I_kwDOCUB6oc6y0qam | 37,556 | AutoConfig.from_pretrained on Llama4 models only returns the inner text_config | {
"login": "cg123",
"id": 397199,
"node_id": "MDQ6VXNlcjM5NzE5OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/397199?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cg123",
"html_url": "https://github.com/cg123",
"followers_url": "https://api.github.com/users/cg123/followers"... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-16T16:24:15 | 2025-05-19T13:44:03 | 2025-05-19T13:44:03 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.51.3
- Platform: Linux-6.8.0-40-generic-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.3.0
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU?): 2... | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37556/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/37556/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37555 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37555/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37555/comments | https://api.github.com/repos/huggingface/transformers/issues/37555/events | https://github.com/huggingface/transformers/issues/37555 | 3,000,132,627 | I_kwDOCUB6oc6y0mQT | 37,555 | KeyError: 'general.name' | {
"login": "nitinmukesh",
"id": 2102186,
"node_id": "MDQ6VXNlcjIxMDIxODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2102186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nitinmukesh",
"html_url": "https://github.com/nitinmukesh",
"followers_url": "https://api.github.com/us... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-16T16:17:21 | 2025-05-17T08:04:33 | 2025-05-17T08:04:33 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.51.3
- Platform: Windows-10-10.0.26100-SP0
- Python version: 3.11.9
- Huggingface_hub version: 0.30.1
- Safetensors version: 0.5.3
- Accelerate version: 1.7.0.dev0
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU?): 2.6.0+cu124 (Tru... | {
"login": "nitinmukesh",
"id": 2102186,
"node_id": "MDQ6VXNlcjIxMDIxODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2102186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nitinmukesh",
"html_url": "https://github.com/nitinmukesh",
"followers_url": "https://api.github.com/us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37555/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37555/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37554 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37554/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37554/comments | https://api.github.com/repos/huggingface/transformers/issues/37554/events | https://github.com/huggingface/transformers/issues/37554 | 3,000,123,358 | I_kwDOCUB6oc6y0j_e | 37,554 | Possible reshape error in Mamba2Mixer causing inference issue | {
"login": "Kirire",
"id": 27903062,
"node_id": "MDQ6VXNlcjI3OTAzMDYy",
"avatar_url": "https://avatars.githubusercontent.com/u/27903062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kirire",
"html_url": "https://github.com/Kirire",
"followers_url": "https://api.github.com/users/Kirire/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-16T16:13:38 | 2025-05-17T08:33:42 | 2025-05-17T08:33:41 | CONTRIBUTOR | null | null | null | null | ### System Info
Hello,
I'm encountering a dimension mismatch error when running inference with the `Mamba2ForCausalLM` class. The error originates from line 579 of the `Mamba2Mixer` class on the `main` branch:
```python
D_residual = self.D[..., None] * pad_tensor_by_size(hidden_states, pad_size)
```
Could it be th... | {
"login": "vasqu",
"id": 73884904,
"node_id": "MDQ6VXNlcjczODg0OTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/73884904?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vasqu",
"html_url": "https://github.com/vasqu",
"followers_url": "https://api.github.com/users/vasqu/follow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37554/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37554/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37553 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37553/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37553/comments | https://api.github.com/repos/huggingface/transformers/issues/37553/events | https://github.com/huggingface/transformers/pull/37553 | 2,999,904,608 | PR_kwDOCUB6oc6S2qc8 | 37,553 | update `test_can_load_with_global_device_set` with a hack | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | null | [] | 2025-04-16T14:50:48 | 2025-04-16T17:48:32 | 2025-04-16T17:48:30 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37553",
"html_url": "https://github.com/huggingface/transformers/pull/37553",
"diff_url": "https://github.com/huggingface/transformers/pull/37553.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37553.patch",
"merged_at... | # What does this PR do?
`torch.set_default_device` has some unexpected impacts on other tests even if we try to restore the origin value by calling it at the end of the test. See #37551 for one example that is fixed there.
This PR uses `torch._GLOBAL_DEVICE_CONTEXT` to do something more close to the internal mech... | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37553/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37553/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37552 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37552/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37552/comments | https://api.github.com/repos/huggingface/transformers/issues/37552/events | https://github.com/huggingface/transformers/pull/37552 | 2,999,792,663 | PR_kwDOCUB6oc6S2SJz | 37,552 | Fix TimesFm doc issue | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-16T14:12:23 | 2025-04-16T14:46:06 | 2025-04-16T14:28:42 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37552",
"html_url": "https://github.com/huggingface/transformers/pull/37552",
"diff_url": "https://github.com/huggingface/transformers/pull/37552.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37552.patch",
"merged_at... | # What does this PR do?
| {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37552/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37552/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37551 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37551/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37551/comments | https://api.github.com/repos/huggingface/transformers/issues/37551/events | https://github.com/huggingface/transformers/pull/37551 | 2,999,655,707 | PR_kwDOCUB6oc6S10ei | 37,551 | Fix device issue for tapas (with `as_tensor`) | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | null | [] | 2025-04-16T13:25:11 | 2025-04-16T14:02:56 | 2025-04-16T14:02:53 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37551",
"html_url": "https://github.com/huggingface/transformers/pull/37551",
"diff_url": "https://github.com/huggingface/transformers/pull/37551.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37551.patch",
"merged_at... | # What does this PR do?
#37216 added a new test `test_can_load_with_global_device_set` which, at the end of the test, we restore the default device by calling
> torch.set_default_device(default_device)
However, it has unexpected impact on `as_tensor`. By calling `torch.set_default_device`, `as_tensor(T)` has `... | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37551/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37551/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37550 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37550/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37550/comments | https://api.github.com/repos/huggingface/transformers/issues/37550/events | https://github.com/huggingface/transformers/pull/37550 | 2,999,172,962 | PR_kwDOCUB6oc6S0LNs | 37,550 | More appropriate cuda warmup in resource-constrained hardware | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-16T10:19:20 | 2025-04-16T14:07:27 | 2025-04-16T11:40:02 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37550",
"html_url": "https://github.com/huggingface/transformers/pull/37550",
"diff_url": "https://github.com/huggingface/transformers/pull/37550.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37550.patch",
"merged_at... | # What does this PR do?
As per the title. See https://github.com/huggingface/transformers/issues/37436 for the edge-case issue
| {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37550/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37550/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37549 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37549/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37549/comments | https://api.github.com/repos/huggingface/transformers/issues/37549/events | https://github.com/huggingface/transformers/pull/37549 | 2,998,994,057 | PR_kwDOCUB6oc6SzkPV | 37,549 | Fix the fsdp config cannot work issue. | {
"login": "yuanwu2017",
"id": 34643241,
"node_id": "MDQ6VXNlcjM0NjQzMjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/34643241?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuanwu2017",
"html_url": "https://github.com/yuanwu2017",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-16T09:11:34 | 2025-04-28T08:44:51 | 2025-04-28T08:44:51 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37549",
"html_url": "https://github.com/huggingface/transformers/pull/37549",
"diff_url": "https://github.com/huggingface/transformers/pull/37549.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37549.patch",
"merged_at... | # What does this PR do?
The fsdp config generated by accelerate config is all fsdp prefixed. If passed in as parameters, these parameters will not work. But passing in in the fsdp_config.json method, these parameters can work. This patch makes them behave consistently and can work.
<!--
Congratulations! You've m... | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37549/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37549/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37548 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37548/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37548/comments | https://api.github.com/repos/huggingface/transformers/issues/37548/events | https://github.com/huggingface/transformers/pull/37548 | 2,998,716,883 | PR_kwDOCUB6oc6SyoCw | 37,548 | enable 6 rt_detr_v2 cases on xpu | {
"login": "yao-matrix",
"id": 7245027,
"node_id": "MDQ6VXNlcjcyNDUwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7245027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yao-matrix",
"html_url": "https://github.com/yao-matrix",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-04-16T07:22:54 | 2025-04-17T08:16:50 | 2025-04-16T09:23:56 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37548",
"html_url": "https://github.com/huggingface/transformers/pull/37548",
"diff_url": "https://github.com/huggingface/transformers/pull/37548.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37548.patch",
"merged_at... | below 6 cases PASSED
tests/models/rt_detr_v2/test_modeling_rt_detr_v2.py::RTDetrV2ModelTest::test_inference_equivalence_for_static_and_dynamic_anchors_0_float32
tests/models/rt_detr_v2/test_modeling_rt_detr_v2.py::RTDetrV2ModelTest::test_inference_equivalence_for_static_and_dynamic_anchors_1_float16
tests/models/r... | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37548/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37548/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37547 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37547/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37547/comments | https://api.github.com/repos/huggingface/transformers/issues/37547/events | https://github.com/huggingface/transformers/pull/37547 | 2,998,632,801 | PR_kwDOCUB6oc6SyV4e | 37,547 | add fromjson to jinja environments | {
"login": "yhg0112",
"id": 5001738,
"node_id": "MDQ6VXNlcjUwMDE3Mzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5001738?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yhg0112",
"html_url": "https://github.com/yhg0112",
"followers_url": "https://api.github.com/users/yhg0112/... | [] | closed | false | null | [] | null | [] | 2025-04-16T06:46:27 | 2025-04-22T13:24:59 | 2025-04-22T13:24:58 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37547",
"html_url": "https://github.com/huggingface/transformers/pull/37547",
"diff_url": "https://github.com/huggingface/transformers/pull/37547.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37547.patch",
"merged_at... | # What does this PR do?
Adds a `fromjson` filter to the Jinja environments in `chat_template_util`.
This is particularly useful for handling tool use data that is stored as JSON strings.
## Who can review?
@Rocketknight1
| {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37547/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37547/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37546 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37546/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37546/comments | https://api.github.com/repos/huggingface/transformers/issues/37546/events | https://github.com/huggingface/transformers/pull/37546 | 2,998,631,367 | PR_kwDOCUB6oc6SyVjj | 37,546 | enable 3 mpt test cases on XPU | {
"login": "yao-matrix",
"id": 7245027,
"node_id": "MDQ6VXNlcjcyNDUwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7245027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yao-matrix",
"html_url": "https://github.com/yao-matrix",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-04-16T06:46:01 | 2025-04-16T22:39:58 | 2025-04-16T09:23:06 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37546",
"html_url": "https://github.com/huggingface/transformers/pull/37546",
"diff_url": "https://github.com/huggingface/transformers/pull/37546.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37546.patch",
"merged_at... | PASSED tests/models/mpt/test_modeling_mpt.py::MptIntegrationTests::test_generation
PASSED tests/models/mpt/test_modeling_mpt.py::MptIntegrationTests::test_generation_8k
FAILED tests/models/mpt/test_modeling_mpt.py::MptIntegrationTests::test_generation_batched
FAILED case is our bnb integration issue, will submit s... | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37546/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37546/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37545 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37545/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37545/comments | https://api.github.com/repos/huggingface/transformers/issues/37545/events | https://github.com/huggingface/transformers/issues/37545 | 2,998,063,825 | I_kwDOCUB6oc6ystLR | 37,545 | Expected all tensors to be on the same device, but found at least two devices | {
"login": "ootsuka-repos",
"id": 94523049,
"node_id": "U_kgDOBaJOqQ",
"avatar_url": "https://avatars.githubusercontent.com/u/94523049?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ootsuka-repos",
"html_url": "https://github.com/ootsuka-repos",
"followers_url": "https://api.github.com/us... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-16T01:27:23 | 2025-07-21T08:04:28 | 2025-07-21T08:04:28 | NONE | null | null | null | null | ### System Info
TRLのSFTrainerが動かない。
RTX8000*2 4090D*2 num4 gpu
pip install transformers==4.51.3 NG
pip install transformers==4.49.0 OK
torch2.5.1+cuda12.4
-error text-
Expected all tensors to be on the same device, but found at least two devices, cuda:3 and cuda:0!
File "C:\Users\admin\Desktop\llm_sft\train\SFT.... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37545/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37545/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37544 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37544/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37544/comments | https://api.github.com/repos/huggingface/transformers/issues/37544/events | https://github.com/huggingface/transformers/pull/37544 | 2,997,735,019 | PR_kwDOCUB6oc6SvTrH | 37,544 | Fix `pad` image transform for batched inputs | {
"login": "sebasv",
"id": 10614357,
"node_id": "MDQ6VXNlcjEwNjE0MzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/10614357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sebasv",
"html_url": "https://github.com/sebasv",
"followers_url": "https://api.github.com/users/sebasv/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
},
{
"id": 5769473378,
"node_id": "LA_kwDOCUB6oc8AAAABV-MtYg",
"url... | closed | false | null | [] | null | [] | 2025-04-15T22:00:08 | 2025-05-08T09:51:42 | 2025-05-08T09:51:15 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37544",
"html_url": "https://github.com/huggingface/transformers/pull/37544",
"diff_url": "https://github.com/huggingface/transformers/pull/37544.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37544.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "qubvel",
"id": 31920396,
"node_id": "MDQ6VXNlcjMxOTIwMzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/31920396?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qubvel",
"html_url": "https://github.com/qubvel",
"followers_url": "https://api.github.com/users/qubvel/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37544/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37544/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37543 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37543/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37543/comments | https://api.github.com/repos/huggingface/transformers/issues/37543/events | https://github.com/huggingface/transformers/pull/37543 | 2,997,588,626 | PR_kwDOCUB6oc6SuzG4 | 37,543 | TP support for Quark quantized model | {
"login": "amd-xiaoyu12",
"id": 188109516,
"node_id": "U_kgDOCzZSzA",
"avatar_url": "https://avatars.githubusercontent.com/u/188109516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amd-xiaoyu12",
"html_url": "https://github.com/amd-xiaoyu12",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-15T20:50:40 | 2025-04-24T15:40:44 | 2025-04-24T15:40:44 | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37543",
"html_url": "https://github.com/huggingface/transformers/pull/37543",
"diff_url": "https://github.com/huggingface/transformers/pull/37543.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37543.patch",
"merged_at... | # What does this PR do?
After integrating the AMD Quark quantizer, we aim to leverage the HF tensor parallelism feature to accelerate the inference of the Quark-quantized model. I have identified several areas where modifications are necessary to support model TP. The changes made serve as a demonstration of the req... | {
"login": "amd-xiaoyu12",
"id": 188109516,
"node_id": "U_kgDOCzZSzA",
"avatar_url": "https://avatars.githubusercontent.com/u/188109516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amd-xiaoyu12",
"html_url": "https://github.com/amd-xiaoyu12",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37543/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37543/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37541 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37541/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37541/comments | https://api.github.com/repos/huggingface/transformers/issues/37541/events | https://github.com/huggingface/transformers/issues/37541 | 2,997,402,548 | I_kwDOCUB6oc6yqLu0 | 37,541 | `image_transforms:pad` throws `ValueError` if the input contains a batch dimension | {
"login": "sebasv",
"id": 10614357,
"node_id": "MDQ6VXNlcjEwNjE0MzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/10614357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sebasv",
"html_url": "https://github.com/sebasv",
"followers_url": "https://api.github.com/users/sebasv/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-15T19:31:46 | 2025-05-08T09:51:16 | 2025-05-08T09:51:16 | CONTRIBUTOR | null | null | null | null | ### System Info
```
- `transformers` version: 4.31.0
- Platform: macOS-15.3.2-arm64-arm-64bit
- Python version: 3.11.8
- Huggingface_hub version: 0.28.1
- Safetensors version: 0.5.2
- Accelerate version: 1.6.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.6.0 (False)
- Tensorflow version (GPU?): not inst... | {
"login": "qubvel",
"id": 31920396,
"node_id": "MDQ6VXNlcjMxOTIwMzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/31920396?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qubvel",
"html_url": "https://github.com/qubvel",
"followers_url": "https://api.github.com/users/qubvel/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37541/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37541/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37540 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37540/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37540/comments | https://api.github.com/repos/huggingface/transformers/issues/37540/events | https://github.com/huggingface/transformers/pull/37540 | 2,997,132,276 | PR_kwDOCUB6oc6StPSD | 37,540 | Improve `auxiliary_in_channels` default behavior in UperNet | {
"login": "simonreise",
"id": 43753582,
"node_id": "MDQ6VXNlcjQzNzUzNTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/43753582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/simonreise",
"html_url": "https://github.com/simonreise",
"followers_url": "https://api.github.com/use... | [
{
"id": 5769473378,
"node_id": "LA_kwDOCUB6oc8AAAABV-MtYg",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Vision",
"name": "Vision",
"color": "C079EF",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2025-04-15T17:28:39 | 2025-06-17T12:57:28 | 2025-06-17T12:56:46 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37540",
"html_url": "https://github.com/huggingface/transformers/pull/37540",
"diff_url": "https://github.com/huggingface/transformers/pull/37540.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37540.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "qubvel",
"id": 31920396,
"node_id": "MDQ6VXNlcjMxOTIwMzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/31920396?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qubvel",
"html_url": "https://github.com/qubvel",
"followers_url": "https://api.github.com/users/qubvel/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37540/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37540/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37539 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37539/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37539/comments | https://api.github.com/repos/huggingface/transformers/issues/37539/events | https://github.com/huggingface/transformers/pull/37539 | 2,997,040,054 | PR_kwDOCUB6oc6Ss7iD | 37,539 | Mllama fast image processor | {
"login": "rootonchair",
"id": 23548268,
"node_id": "MDQ6VXNlcjIzNTQ4MjY4",
"avatar_url": "https://avatars.githubusercontent.com/u/23548268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rootonchair",
"html_url": "https://github.com/rootonchair",
"followers_url": "https://api.github.com/... | [] | open | false | null | [] | null | [] | 2025-04-15T16:48:58 | 2025-06-27T05:56:35 | null | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37539",
"html_url": "https://github.com/huggingface/transformers/pull/37539",
"diff_url": "https://github.com/huggingface/transformers/pull/37539.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37539.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37539/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37539/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37538 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37538/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37538/comments | https://api.github.com/repos/huggingface/transformers/issues/37538/events | https://github.com/huggingface/transformers/pull/37538 | 2,997,028,696 | PR_kwDOCUB6oc6Ss5FS | 37,538 | Keep Quark loading through meta device | {
"login": "BowenBao",
"id": 9376104,
"node_id": "MDQ6VXNlcjkzNzYxMDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/9376104?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BowenBao",
"html_url": "https://github.com/BowenBao",
"followers_url": "https://api.github.com/users/Bowen... | [] | closed | false | null | [] | null | [] | 2025-04-15T16:43:31 | 2025-04-16T12:36:42 | 2025-04-16T12:19:56 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37538",
"html_url": "https://github.com/huggingface/transformers/pull/37538",
"diff_url": "https://github.com/huggingface/transformers/pull/37538.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37538.patch",
"merged_at... | # What does this PR do?
Follow-up to #37407 to revert part of fix that is unnecessary for quark. [Discussions](https://github.com/huggingface/transformers/pull/37407#discussion_r2044530489)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).... | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37538/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37538/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37537 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37537/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37537/comments | https://api.github.com/repos/huggingface/transformers/issues/37537/events | https://github.com/huggingface/transformers/pull/37537 | 2,996,952,758 | PR_kwDOCUB6oc6Ssoe8 | 37,537 | Fast tokenizer encoding doesn't handle empty string input | {
"login": "itazap",
"id": 31893021,
"node_id": "MDQ6VXNlcjMxODkzMDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/31893021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/itazap",
"html_url": "https://github.com/itazap",
"followers_url": "https://api.github.com/users/itazap/fo... | [] | open | false | null | [] | null | [] | 2025-04-15T16:11:44 | 2025-06-02T09:20:51 | null | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37537",
"html_url": "https://github.com/huggingface/transformers/pull/37537",
"diff_url": "https://github.com/huggingface/transformers/pull/37537.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37537.patch",
"merged_at... | ```python
batched_input = [(text, text_pair)] if text_pair else [text]
```
to
```python
batched_input = [(text, text_pair)] if text_pair is not None else [text]
```
I believe this if statement is meant to check if `text_pair` is set. However in the case of an **empty string** --> it is `False`.
This can hav... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37537/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37537/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37535 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37535/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37535/comments | https://api.github.com/repos/huggingface/transformers/issues/37535/events | https://github.com/huggingface/transformers/pull/37535 | 2,996,826,020 | PR_kwDOCUB6oc6SsNF6 | 37,535 | Qwen2.5-VL fix redundant cu_window_seqlens | {
"login": "John-Ge",
"id": 41175708,
"node_id": "MDQ6VXNlcjQxMTc1NzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/41175708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/John-Ge",
"html_url": "https://github.com/John-Ge",
"followers_url": "https://api.github.com/users/John-G... | [] | open | false | null | [] | null | [] | 2025-04-15T15:25:47 | 2025-04-16T19:05:50 | null | NONE | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37535",
"html_url": "https://github.com/huggingface/transformers/pull/37535",
"diff_url": "https://github.com/huggingface/transformers/pull/37535.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37535.patch",
"merged_at... | ### What does this PR do?
This PR removes redundant cu_window_seqlens in Qwen2.5-VL
The original cu_window_seqlens is [link to code](https://github.com/huggingface/transformers/blob/356b3cd71d7bfb51c88fea3e8a0c054f3a457ab9/src/transformers/models/qwen2_5_vl/modular_qwen2_5_vl.py#L304)
```python
def get_window... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37535/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37535/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37534 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37534/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37534/comments | https://api.github.com/repos/huggingface/transformers/issues/37534/events | https://github.com/huggingface/transformers/pull/37534 | 2,996,767,206 | PR_kwDOCUB6oc6SsAN3 | 37,534 | Docs: fix docstrings for Gemma3 modeling | {
"login": "kiddj",
"id": 8369639,
"node_id": "MDQ6VXNlcjgzNjk2Mzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8369639?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kiddj",
"html_url": "https://github.com/kiddj",
"followers_url": "https://api.github.com/users/kiddj/follower... | [] | open | false | null | [] | null | [] | 2025-04-15T15:05:49 | 2025-05-09T08:06:21 | null | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37534",
"html_url": "https://github.com/huggingface/transformers/pull/37534",
"diff_url": "https://github.com/huggingface/transformers/pull/37534.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37534.patch",
"merged_at... | # What does this PR do?
Fixes the example in the gemma3 docstring.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#crea... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37534/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37534/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37533 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37533/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37533/comments | https://api.github.com/repos/huggingface/transformers/issues/37533/events | https://github.com/huggingface/transformers/pull/37533 | 2,996,737,760 | PR_kwDOCUB6oc6Sr5u7 | 37,533 | Fix Mamba2 Grouped SSD Support in the torch_forward Path | {
"login": "cyang49",
"id": 7364402,
"node_id": "MDQ6VXNlcjczNjQ0MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/7364402?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyang49",
"html_url": "https://github.com/cyang49",
"followers_url": "https://api.github.com/users/cyang49/... | [] | closed | false | null | [] | null | [] | 2025-04-15T14:56:03 | 2025-04-16T20:22:42 | 2025-04-16T20:16:01 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37533",
"html_url": "https://github.com/huggingface/transformers/pull/37533",
"diff_url": "https://github.com/huggingface/transformers/pull/37533.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37533.patch",
"merged_at... | # What does this PR do?
We found a bug in Bamba `torch_forward` implementation where the Mamba2 grouped SSD heads are incorrectly expanded for computations.
In the original code, it uses `torch.repeat` but it results in a tile like pattern, e.g. when ngroups=4 and num_heads=16, `torch.repeat` gives
```
[W, X,... | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37533/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37533/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37532 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37532/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37532/comments | https://api.github.com/repos/huggingface/transformers/issues/37532/events | https://github.com/huggingface/transformers/issues/37532 | 2,996,549,914 | I_kwDOCUB6oc6ym7ka | 37,532 | CUDA OOM when running meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8 | {
"login": "ido-deci",
"id": 95032221,
"node_id": "U_kgDOBaoTnQ",
"avatar_url": "https://avatars.githubusercontent.com/u/95032221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ido-deci",
"html_url": "https://github.com/ido-deci",
"followers_url": "https://api.github.com/users/ido-deci/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-15T14:04:21 | 2025-09-14T08:04:25 | 2025-09-14T08:04:25 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.52.0.dev0
- Platform: Linux-5.15.0-1030-nvidia-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (G... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37532/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37532/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37531 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37531/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37531/comments | https://api.github.com/repos/huggingface/transformers/issues/37531/events | https://github.com/huggingface/transformers/pull/37531 | 2,996,500,120 | PR_kwDOCUB6oc6SrEuE | 37,531 | Revert change that breaks on Torch 2.1 | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | [] | 2025-04-15T13:49:30 | 2025-04-29T12:27:11 | 2025-04-29T12:27:10 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37531",
"html_url": "https://github.com/huggingface/transformers/pull/37531",
"diff_url": "https://github.com/huggingface/transformers/pull/37531.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37531.patch",
"merged_at... | One of the changes in #37372 is broken on Torch 2.1, which we're still supporting! Reverting that until we bump our minimum Torch version and leaving a `TODO` | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37531/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37531/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37530 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37530/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37530/comments | https://api.github.com/repos/huggingface/transformers/issues/37530/events | https://github.com/huggingface/transformers/pull/37530 | 2,996,403,004 | PR_kwDOCUB6oc6Sqvrh | 37,530 | Fixes hqq by following a new path for bias parameter in pre_quantized models | {
"login": "MekkCyber",
"id": 93391238,
"node_id": "U_kgDOBZEJhg",
"avatar_url": "https://avatars.githubusercontent.com/u/93391238?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MekkCyber",
"html_url": "https://github.com/MekkCyber",
"followers_url": "https://api.github.com/users/MekkCybe... | [] | closed | false | null | [] | null | [] | 2025-04-15T13:16:22 | 2025-04-22T15:06:38 | 2025-04-16T11:58:15 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37530",
"html_url": "https://github.com/huggingface/transformers/pull/37530",
"diff_url": "https://github.com/huggingface/transformers/pull/37530.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37530.patch",
"merged_at... | # What does this PR do?
Since HQQ overrides the `load_state_dict` method for `HQQLinear`, it directly loads both the weight and bias parameters. This differs from our approach, where we iterate through the parameters one by one and load the bias separately from the weights.
This PR updates the behavior to simply... | {
"login": "MekkCyber",
"id": 93391238,
"node_id": "U_kgDOBZEJhg",
"avatar_url": "https://avatars.githubusercontent.com/u/93391238?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MekkCyber",
"html_url": "https://github.com/MekkCyber",
"followers_url": "https://api.github.com/users/MekkCybe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37530/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37530/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37529 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37529/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37529/comments | https://api.github.com/repos/huggingface/transformers/issues/37529/events | https://github.com/huggingface/transformers/pull/37529 | 2,996,346,730 | PR_kwDOCUB6oc6SqjLf | 37,529 | make Llama4TextMoe forward more readable | {
"login": "JJJYmmm",
"id": 92386084,
"node_id": "U_kgDOBYGzJA",
"avatar_url": "https://avatars.githubusercontent.com/u/92386084?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JJJYmmm",
"html_url": "https://github.com/JJJYmmm",
"followers_url": "https://api.github.com/users/JJJYmmm/follow... | [] | closed | false | null | [] | null | [] | 2025-04-15T12:58:50 | 2025-05-28T09:54:45 | 2025-05-28T09:54:45 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37529",
"html_url": "https://github.com/huggingface/transformers/pull/37529",
"diff_url": "https://github.com/huggingface/transformers/pull/37529.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37529.patch",
"merged_at... | # What does this PR do?
Make forward function of `Llama4TextMoe` more readable. Since It use EP directly, here is no need to use torch.gather or torch.scatter. Just adding a new dimension of expert is ok.
test script below
```python
import torch
from torch import nn
from transformers import Llama4TextConfig... | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37529/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37529/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37528 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37528/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37528/comments | https://api.github.com/repos/huggingface/transformers/issues/37528/events | https://github.com/huggingface/transformers/pull/37528 | 2,996,278,854 | PR_kwDOCUB6oc6SqUQZ | 37,528 | Phi3 | {
"login": "xadupre",
"id": 22452781,
"node_id": "MDQ6VXNlcjIyNDUyNzgx",
"avatar_url": "https://avatars.githubusercontent.com/u/22452781?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xadupre",
"html_url": "https://github.com/xadupre",
"followers_url": "https://api.github.com/users/xadupr... | [] | open | false | null | [] | null | [] | 2025-04-15T12:34:49 | 2025-04-16T13:45:50 | null | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37528",
"html_url": "https://github.com/huggingface/transformers/pull/37528",
"diff_url": "https://github.com/huggingface/transformers/pull/37528.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37528.patch",
"merged_at... | # What does this PR do?
Function ``_prepare_4d_causal_attention_mask_with_cache_position`` only uses ``sliding_window`` from the text config. This PR replaces config by sliding_window for better clarity. It is also necessary to make the model go through torch.export.export.
## Before submitting
- [ ] This PR f... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37528/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37528/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37527 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37527/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37527/comments | https://api.github.com/repos/huggingface/transformers/issues/37527/events | https://github.com/huggingface/transformers/pull/37527 | 2,996,275,800 | PR_kwDOCUB6oc6SqTlH | 37,527 | Fix missing return type for MLCD docs | {
"login": "qubvel",
"id": 31920396,
"node_id": "MDQ6VXNlcjMxOTIwMzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/31920396?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qubvel",
"html_url": "https://github.com/qubvel",
"followers_url": "https://api.github.com/users/qubvel/fo... | [] | closed | false | null | [] | null | [] | 2025-04-15T12:33:37 | 2025-04-15T13:04:17 | 2025-04-15T13:04:17 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37527",
"html_url": "https://github.com/huggingface/transformers/pull/37527",
"diff_url": "https://github.com/huggingface/transformers/pull/37527.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37527.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "qubvel",
"id": 31920396,
"node_id": "MDQ6VXNlcjMxOTIwMzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/31920396?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qubvel",
"html_url": "https://github.com/qubvel",
"followers_url": "https://api.github.com/users/qubvel/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37527/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37527/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37526 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37526/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37526/comments | https://api.github.com/repos/huggingface/transformers/issues/37526/events | https://github.com/huggingface/transformers/issues/37526 | 2,996,158,460 | I_kwDOCUB6oc6ylb_8 | 37,526 | When I using pipeline to inference the valid dataset, I got the different results with evaluation result during training! | {
"login": "kingman1980",
"id": 24912500,
"node_id": "MDQ6VXNlcjI0OTEyNTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24912500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kingman1980",
"html_url": "https://github.com/kingman1980",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-15T11:50:48 | 2025-05-16T12:33:39 | 2025-05-16T12:33:37 | NONE | null | null | null | null | I am working with three classes image classification task.
I got the confusion matrix at 30th epoch during training like this confusion matrix:
[[230, 0, 1], [1, 28, 2], [1, 10, 3727]]
And I used the pipeline with the model's checkpoint at 30th epoch to infer the same test dataset, I got the confusion matrix like this... | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37526/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37526/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37525 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37525/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37525/comments | https://api.github.com/repos/huggingface/transformers/issues/37525/events | https://github.com/huggingface/transformers/pull/37525 | 2,996,061,631 | PR_kwDOCUB6oc6Spknp | 37,525 | fix: Restore explicit error surfacing for unexpected hub exceptions | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | null | [] | 2025-04-15T11:11:14 | 2025-04-15T13:06:39 | 2025-04-15T12:54:11 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37525",
"html_url": "https://github.com/huggingface/transformers/pull/37525",
"diff_url": "https://github.com/huggingface/transformers/pull/37525.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37525.patch",
"merged_at... | Prior to PR #36033, unexpected exceptions (e.g., ModuleNotFoundError) during hub model loading were not swallowed silently. They either matched specific except blocks or were raised.
After #36033, a catch-all except Exception block was introduced without a fallback else, causing unknown errors to be silently ignored... | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37525/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37525/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37523 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37523/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37523/comments | https://api.github.com/repos/huggingface/transformers/issues/37523/events | https://github.com/huggingface/transformers/pull/37523 | 2,995,835,488 | PR_kwDOCUB6oc6SoypX | 37,523 | [chat template] fix security vulnerability | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-15T09:45:52 | 2025-04-17T07:21:37 | 2025-04-17T07:21:37 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37523",
"html_url": "https://github.com/huggingface/transformers/pull/37523",
"diff_url": "https://github.com/huggingface/transformers/pull/37523.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37523.patch",
"merged_at... | # What does this PR do?
As discussed internally, let's just use `urlparse` | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37523/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37523/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37522 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37522/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37522/comments | https://api.github.com/repos/huggingface/transformers/issues/37522/events | https://github.com/huggingface/transformers/pull/37522 | 2,995,707,179 | PR_kwDOCUB6oc6SoWld | 37,522 | internalize build_inputs_with_special_tokens and prepare_for_model | {
"login": "itazap",
"id": 31893021,
"node_id": "MDQ6VXNlcjMxODkzMDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/31893021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/itazap",
"html_url": "https://github.com/itazap",
"followers_url": "https://api.github.com/users/itazap/fo... | [] | open | false | null | [] | null | [] | 2025-04-15T09:01:35 | 2025-06-02T09:20:19 | null | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37522",
"html_url": "https://github.com/huggingface/transformers/pull/37522",
"diff_url": "https://github.com/huggingface/transformers/pull/37522.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37522.patch",
"merged_at... | internalize `prepare_for_model` and `build_inputs_with_special_tokens`:
users should encode using `__call__ `:
### slow case
`__call__ ` --> calls `prepare_for_model` --> which calls `build_inputs_with_special_tokens`.
### fast case
`__call__ ` --> calls rust tokenizer encode --> does not call `build_inpu... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37522/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37522/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37521 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37521/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37521/comments | https://api.github.com/repos/huggingface/transformers/issues/37521/events | https://github.com/huggingface/transformers/issues/37521 | 2,995,630,848 | I_kwDOCUB6oc6yjbMA | 37,521 | DeformableDetrHungarianMatcher: fancy indexing fails | {
"login": "codingS3b",
"id": 31093529,
"node_id": "MDQ6VXNlcjMxMDkzNTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/31093529?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/codingS3b",
"html_url": "https://github.com/codingS3b",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-15T08:36:27 | 2025-04-15T12:41:34 | 2025-04-15T12:41:33 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.49.0
- Platform: Linux-3.10.0-1160.25.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.12.9
- Huggingface_hub version: 0.29.2
- Safetensors version: 0.5.3
- Accelerate version: not installed
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch ve... | {
"login": "codingS3b",
"id": 31093529,
"node_id": "MDQ6VXNlcjMxMDkzNTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/31093529?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/codingS3b",
"html_url": "https://github.com/codingS3b",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37521/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37521/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/37520 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37520/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37520/comments | https://api.github.com/repos/huggingface/transformers/issues/37520/events | https://github.com/huggingface/transformers/pull/37520 | 2,995,575,472 | PR_kwDOCUB6oc6Sn5vv | 37,520 | Fix BitsAndBytesConfig JSON serialization in TrainingArguments | {
"login": "astefanutti",
"id": 366207,
"node_id": "MDQ6VXNlcjM2NjIwNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/366207?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astefanutti",
"html_url": "https://github.com/astefanutti",
"followers_url": "https://api.github.com/user... | [] | closed | false | null | [] | null | [] | 2025-04-15T08:17:04 | 2025-04-16T09:34:23 | 2025-04-16T09:18:17 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37520",
"html_url": "https://github.com/huggingface/transformers/pull/37520",
"diff_url": "https://github.com/huggingface/transformers/pull/37520.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37520.patch",
"merged_at... | # What does this PR do?
This makes sure the BitsAndBytesConfig object gets converted to dict before TrainingArguments are serialized to JSON.
This happens when using BitsAndBytes and the TensorBoard integration for example.
<!-- Remove if not applicable -->
Fixes #37518
## Before submitting
- [ ] This ... | {
"login": "MekkCyber",
"id": 93391238,
"node_id": "U_kgDOBZEJhg",
"avatar_url": "https://avatars.githubusercontent.com/u/93391238?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MekkCyber",
"html_url": "https://github.com/MekkCyber",
"followers_url": "https://api.github.com/users/MekkCybe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37520/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37520/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37519 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37519/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37519/comments | https://api.github.com/repos/huggingface/transformers/issues/37519/events | https://github.com/huggingface/transformers/issues/37519 | 2,995,574,520 | I_kwDOCUB6oc6yjNb4 | 37,519 | [FSDP][torch.compile] accelerator.unwrap_model and trainer._save work incorrectly when FSDP + torch.compile | {
"login": "efsotr",
"id": 104755879,
"node_id": "U_kgDOBj5ypw",
"avatar_url": "https://avatars.githubusercontent.com/u/104755879?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efsotr",
"html_url": "https://github.com/efsotr",
"followers_url": "https://api.github.com/users/efsotr/follower... | [
{
"id": 1862634478,
"node_id": "MDU6TGFiZWwxODYyNjM0NDc4",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Should%20Fix",
"name": "Should Fix",
"color": "FF0000",
"default": false,
"description": "This has been identified as a bug and should be fixed."
},
{
"... | closed | false | null | [] | null | [] | 2025-04-15T08:16:39 | 2025-09-23T20:07:36 | 2025-05-06T15:51:29 | CONTRIBUTOR | null | null | null | null | ### System Info
transformers 4.51.3
accelerate 1.6.0
### Who can help?
@zach-huggingface @SunMarc
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [x] My own task or dataset (give det... | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37519/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37519/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.