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/37417 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37417/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37417/comments | https://api.github.com/repos/huggingface/transformers/issues/37417/events | https://github.com/huggingface/transformers/pull/37417 | 2,985,106,489 | PR_kwDOCUB6oc6SEdKS | 37,417 | [bug] fsdp training save checkpoint twice | {
"login": "cyr0930",
"id": 14088169,
"node_id": "MDQ6VXNlcjE0MDg4MTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/14088169?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyr0930",
"html_url": "https://github.com/cyr0930",
"followers_url": "https://api.github.com/users/cyr093... | [] | open | false | null | [] | null | [] | 2025-04-10T09:48:26 | 2025-04-10T12:15:52 | null | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37417",
"html_url": "https://github.com/huggingface/transformers/pull/37417",
"diff_url": "https://github.com/huggingface/transformers/pull/37417.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37417.patch",
"merged_at... | # What does this PR do?
FSDP training save checkpoint twice as pytorch_model_fsdp.bin and model.safetensors.
And saving model during calling _save_optimizer_and_scheduler is not intuitive.
(Maybe I have to rename final checkpoint or save it as safetensors format.)
## Before submitting
- [ ] This PR fixes a t... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37417/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/37417/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37416 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37416/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37416/comments | https://api.github.com/repos/huggingface/transformers/issues/37416/events | https://github.com/huggingface/transformers/pull/37416 | 2,985,094,451 | PR_kwDOCUB6oc6SEajN | 37,416 | mark llama4 as not supported with fa2 | {
"login": "winglian",
"id": 381258,
"node_id": "MDQ6VXNlcjM4MTI1OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/381258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/winglian",
"html_url": "https://github.com/winglian",
"followers_url": "https://api.github.com/users/winglia... | [
{
"id": 8103865784,
"node_id": "LA_kwDOCUB6oc8AAAAB4wctuA",
"url": "https://api.github.com/repos/huggingface/transformers/labels/for%20patch",
"name": "for patch",
"color": "D93F0B",
"default": false,
"description": "Tag issues / labels that should be included in the next patch"
}
] | closed | false | null | [] | null | [] | 2025-04-10T09:43:42 | 2025-04-16T18:42:38 | 2025-04-10T09:48:46 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37416",
"html_url": "https://github.com/huggingface/transformers/pull/37416",
"diff_url": "https://github.com/huggingface/transformers/pull/37416.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37416.patch",
"merged_at... | # What does this PR do?
While FA2 does "work" with Llama-4, according to @ArthurZucker it still needs kernel support. It's probably best to mark this as not supported otherwise folks might burn cycles wondering why it's not truly converging when training (or inferencing)
For example, using Scout with prefix of `Ros... | {
"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/37416/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37416/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37415 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37415/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37415/comments | https://api.github.com/repos/huggingface/transformers/issues/37415/events | https://github.com/huggingface/transformers/pull/37415 | 2,984,949,251 | PR_kwDOCUB6oc6SD63_ | 37,415 | Fix new failure reports not including anything other than `tests/models/` | {
"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-10T08:49:41 | 2025-04-10T12:47:25 | 2025-04-10T12:47:23 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37415",
"html_url": "https://github.com/huggingface/transformers/pull/37415",
"diff_url": "https://github.com/huggingface/transformers/pull/37415.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37415.patch",
"merged_at... | # What does this PR do?
Fix new failure reports not including anything other than `tests/models/` | {
"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/37415/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/37415/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37414 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37414/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37414/comments | https://api.github.com/repos/huggingface/transformers/issues/37414/events | https://github.com/huggingface/transformers/pull/37414 | 2,984,916,865 | PR_kwDOCUB6oc6SDz4v | 37,414 | Fix Llama4 offset | {
"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-10T08:37:18 | 2025-04-10T09:41:00 | 2025-04-10T09:40:58 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37414",
"html_url": "https://github.com/huggingface/transformers/pull/37414",
"diff_url": "https://github.com/huggingface/transformers/pull/37414.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37414.patch",
"merged_at... | # What does this PR do?
See title. It's the same as before + 1. Indeed, we need to add the +1 to match correctly the positions, it's also what is done in gemma2 here https://github.com/huggingface/transformers/blob/main/src/transformers/models/gemma2/modeling_gemma2.py#L912-L913 as it uses the length (which is equal... | {
"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/37414/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/37414/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37413 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37413/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37413/comments | https://api.github.com/repos/huggingface/transformers/issues/37413/events | https://github.com/huggingface/transformers/pull/37413 | 2,984,910,776 | PR_kwDOCUB6oc6SDyjW | 37,413 | guard on model.eval when using torch.compile + FSDP2 | {
"login": "winglian",
"id": 381258,
"node_id": "MDQ6VXNlcjM4MTI1OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/381258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/winglian",
"html_url": "https://github.com/winglian",
"followers_url": "https://api.github.com/users/winglia... | [] | closed | false | null | [] | null | [] | 2025-04-10T08:34:44 | 2025-08-11T11:22:43 | 2025-08-11T11:22:42 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37413",
"html_url": "https://github.com/huggingface/transformers/pull/37413",
"diff_url": "https://github.com/huggingface/transformers/pull/37413.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37413.patch",
"merged_at... | # What does this PR do?
If the model is torch.compile(d) and if we're using FSDP2, after `self._wrap_model(...)` is called, the model is actually the `model.forward` function, so it's not possible to call `.eval()` on it
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the ot... | {
"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/37413/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/37413/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37412 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37412/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37412/comments | https://api.github.com/repos/huggingface/transformers/issues/37412/events | https://github.com/huggingface/transformers/pull/37412 | 2,984,906,269 | PR_kwDOCUB6oc6SDxli | 37,412 | Quark Quantization gated repo | {
"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-10T08:32:51 | 2025-04-10T12:57:17 | 2025-04-10T12:57:15 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37412",
"html_url": "https://github.com/huggingface/transformers/pull/37412",
"diff_url": "https://github.com/huggingface/transformers/pull/37412.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37412.patch",
"merged_at... | # What does this PR do?
Fix the use of gated repo in quark quantization
| {
"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/37412/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/37412/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37411 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37411/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37411/comments | https://api.github.com/repos/huggingface/transformers/issues/37411/events | https://github.com/huggingface/transformers/pull/37411 | 2,984,568,664 | PR_kwDOCUB6oc6SCoH8 | 37,411 | Send trainer/fsdp/deepspeed CI job reports to a single channel | {
"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-10T06:11:00 | 2025-04-10T11:17:33 | 2025-04-10T11:17:31 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37411",
"html_url": "https://github.com/huggingface/transformers/pull/37411",
"diff_url": "https://github.com/huggingface/transformers/pull/37411.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37411.patch",
"merged_at... | # What does this PR do?
As discussed offline with @SunMarc | {
"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/37411/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/37411/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37410 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37410/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37410/comments | https://api.github.com/repos/huggingface/transformers/issues/37410/events | https://github.com/huggingface/transformers/pull/37410 | 2,984,509,553 | PR_kwDOCUB6oc6SCbWS | 37,410 | Add fuyu Fast Image Processor | {
"login": "Aravind-11",
"id": 42345018,
"node_id": "MDQ6VXNlcjQyMzQ1MDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/42345018?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Aravind-11",
"html_url": "https://github.com/Aravind-11",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-10T05:31:48 | 2025-10-15T18:33:24 | 2025-08-01T16:22:07 | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37410",
"html_url": "https://github.com/huggingface/transformers/pull/37410",
"diff_url": "https://github.com/huggingface/transformers/pull/37410.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37410.patch",
"merged_at... | # What does this PR do?
This PR introduces `FuyuImageProcessorFast`, providing a faster alternative to the original `FuyuImageProcessor` by leveraging `torchvision` for image transformations.
Key changes include:
- Implementation of `FuyuImageProcessorFast` inheriting from `BaseImageProcessorFast`.
- Adaptation... | {
"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/37410/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/37410/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37409 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37409/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37409/comments | https://api.github.com/repos/huggingface/transformers/issues/37409/events | https://github.com/huggingface/transformers/pull/37409 | 2,984,401,389 | PR_kwDOCUB6oc6SCDu- | 37,409 | chore: standardize DeBERTa model card | {
"login": "Shoumik-Gandre",
"id": 61053611,
"node_id": "MDQ6VXNlcjYxMDUzNjEx",
"avatar_url": "https://avatars.githubusercontent.com/u/61053611?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Shoumik-Gandre",
"html_url": "https://github.com/Shoumik-Gandre",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | null | [] | 2025-04-10T04:15:18 | 2025-08-11T17:30:38 | 2025-08-11T17:30:38 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37409",
"html_url": "https://github.com/huggingface/transformers/pull/37409",
"diff_url": "https://github.com/huggingface/transformers/pull/37409.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37409.patch",
"merged_at... | # What does this PR do?
As suggested in this issue - https://github.com/huggingface/transformers/issues/36979#issue-2947704577 - this PR updates the documentation of the CLIP model, which will now be aligned with the standardized format for all the docs.
<!--
Congratulations! You've made it this far! You're not qu... | {
"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/37409/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/37409/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37408 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37408/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37408/comments | https://api.github.com/repos/huggingface/transformers/issues/37408/events | https://github.com/huggingface/transformers/issues/37408 | 2,984,394,345 | I_kwDOCUB6oc6x4j5p | 37,408 | How to solve the error of converting Qwen onnx_model to tensorRT_model? | {
"login": "dearwind153",
"id": 15264400,
"node_id": "MDQ6VXNlcjE1MjY0NDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/15264400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dearwind153",
"html_url": "https://github.com/dearwind153",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-10T04:08:47 | 2025-06-28T08:03:06 | 2025-06-28T08:03:06 | NONE | null | null | null | null | ### **1. The transformers' Qwen ONNX model has been exported successfully.**
### **2. Convert ONNX_model to tensorRT_model failed by trtexec.**
**error info**
```
[04/10/2025-11:04:52] [E] Error[3]: IExecutionContext::setInputShape: Error Code 3: API Usage Error (Parameter check failed, condition: engineDims.d[i] ==... | {
"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/37408/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/37408/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/37407 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37407/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37407/comments | https://api.github.com/repos/huggingface/transformers/issues/37407/events | https://github.com/huggingface/transformers/pull/37407 | 2,984,012,922 | PR_kwDOCUB6oc6SAxMU | 37,407 | [Regression] Fix Quark quantized model loading after refactorization | {
"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-09T22:14:10 | 2025-04-15T16:43:41 | 2025-04-11T11:43:36 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37407",
"html_url": "https://github.com/huggingface/transformers/pull/37407",
"diff_url": "https://github.com/huggingface/transformers/pull/37407.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37407.patch",
"merged_at... | # What does this PR do?
Similar to #36702, #37136 and #37347. This PR provides a fix for Quark quantized model loading.
## 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/hu... | {
"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/37407/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/37407/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37406 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37406/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37406/comments | https://api.github.com/repos/huggingface/transformers/issues/37406/events | https://github.com/huggingface/transformers/pull/37406 | 2,983,982,256 | PR_kwDOCUB6oc6SAqju | 37,406 | [`Flex Attn`] Fix torch 2.5.1 incompatibilities | {
"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... | [] | closed | false | null | [] | null | [] | 2025-04-09T21:50:01 | 2025-06-26T16:32:47 | 2025-06-26T16:23:55 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37406",
"html_url": "https://github.com/huggingface/transformers/pull/37406",
"diff_url": "https://github.com/huggingface/transformers/pull/37406.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37406.patch",
"merged_at... | Flex attention with `torch==2.5.1` is broken, see e.g. https://github.com/huggingface/transformers/issues/37380#issuecomment-2790650478
The PR has 3 changes:
1. Removes the compilation on the block mask as it does not provide any major benefits in perf either way and seems to be the root cause behind the issues (to... | {
"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/37406/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/37406/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37405 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37405/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37405/comments | https://api.github.com/repos/huggingface/transformers/issues/37405/events | https://github.com/huggingface/transformers/issues/37405 | 2,983,976,366 | I_kwDOCUB6oc6x292u | 37,405 | Unable to load OLMo2 models with newer transformers versions | {
"login": "AkshitaB",
"id": 6500683,
"node_id": "MDQ6VXNlcjY1MDA2ODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6500683?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AkshitaB",
"html_url": "https://github.com/AkshitaB",
"followers_url": "https://api.github.com/users/Akshi... | [
{
"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-09T21:45:36 | 2025-06-12T15:52:58 | 2025-04-10T13:58:54 | NONE | null | null | null | null | ### System Info
Fails on transformers versions: `4.50.3, 4.50.1, 4.50.0`.
Works on 4.49.0 .
Fails with ```raise ValueError(
ValueError: Unrecognized model in allenai/OLMo-2-1124-7B. Should have a `model_type` key in its config.json, or contain one of the following strings in its name: albert, align, altclip, aria, ar... | {
"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/37405/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/37405/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/37404 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37404/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37404/comments | https://api.github.com/repos/huggingface/transformers/issues/37404/events | https://github.com/huggingface/transformers/pull/37404 | 2,983,943,859 | PR_kwDOCUB6oc6SAiMD | 37,404 | Explain tp_plan for FBgemm | {
"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-09T21:22:23 | 2025-04-10T09:33:35 | 2025-04-10T09:33:33 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37404",
"html_url": "https://github.com/huggingface/transformers/pull/37404",
"diff_url": "https://github.com/huggingface/transformers/pull/37404.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37404.patch",
"merged_at... | # What does this PR do?
Explains the tp_plan for fbgemm implementation
| {
"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/37404/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/37404/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37403 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37403/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37403/comments | https://api.github.com/repos/huggingface/transformers/issues/37403/events | https://github.com/huggingface/transformers/pull/37403 | 2,983,943,502 | PR_kwDOCUB6oc6SAiG8 | 37,403 | Fix: compute cache_position correctly when inputs_embeds are used dur… | {
"login": "ceyzaguirre4",
"id": 20346844,
"node_id": "MDQ6VXNlcjIwMzQ2ODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/20346844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ceyzaguirre4",
"html_url": "https://github.com/ceyzaguirre4",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-04-09T21:22:09 | 2025-04-09T23:17:14 | 2025-04-09T23:17:14 | NONE | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37403",
"html_url": "https://github.com/huggingface/transformers/pull/37403",
"diff_url": "https://github.com/huggingface/transformers/pull/37403.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37403.patch",
"merged_at... | …ing generation with past_key_values
Fix: compute cache_position correctly when inputs_embeds are used during generation with past_key_values
When using inputs_embeds in place of input_ids during incremental generation, the current logic incorrectly initializes cache_position from inputs_embeds alone, which cause... | {
"login": "ceyzaguirre4",
"id": 20346844,
"node_id": "MDQ6VXNlcjIwMzQ2ODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/20346844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ceyzaguirre4",
"html_url": "https://github.com/ceyzaguirre4",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37403/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/37403/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37402 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37402/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37402/comments | https://api.github.com/repos/huggingface/transformers/issues/37402/events | https://github.com/huggingface/transformers/pull/37402 | 2,983,844,524 | PR_kwDOCUB6oc6SAMc1 | 37,402 | [flax/mistral] support sliding_window: null in config | {
"login": "yiding",
"id": 240535,
"node_id": "MDQ6VXNlcjI0MDUzNQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/240535?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yiding",
"html_url": "https://github.com/yiding",
"followers_url": "https://api.github.com/users/yiding/follow... | [
{
"id": 2934977194,
"node_id": "MDU6TGFiZWwyOTM0OTc3MTk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Flax",
"name": "Flax",
"color": "4862AD",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2025-04-09T20:25:56 | 2025-06-02T14:45:02 | 2025-06-02T14:45:02 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37402",
"html_url": "https://github.com/huggingface/transformers/pull/37402",
"diff_url": "https://github.com/huggingface/transformers/pull/37402.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37402.patch",
"merged_at... | # What does this PR do?
Adds support for `sliding_window: null` in FlaxMistral llm models. This is needed for models like Mistral-small. The corresponding pytorch model code already supports this.
# Before Submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's th... | {
"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/37402/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/37402/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37401 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37401/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37401/comments | https://api.github.com/repos/huggingface/transformers/issues/37401/events | https://github.com/huggingface/transformers/pull/37401 | 2,983,794,323 | PR_kwDOCUB6oc6SABef | 37,401 | Offloaded hybrid cache for Llama4 | {
"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-09T20:02:46 | 2025-04-10T09:44:36 | 2025-04-10T09:44:34 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37401",
"html_url": "https://github.com/huggingface/transformers/pull/37401",
"diff_url": "https://github.com/huggingface/transformers/pull/37401.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37401.patch",
"merged_at... | # What does this PR do?
As per the title.
| {
"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/37401/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/37401/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37400 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37400/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37400/comments | https://api.github.com/repos/huggingface/transformers/issues/37400/events | https://github.com/huggingface/transformers/pull/37400 | 2,983,786,101 | PR_kwDOCUB6oc6R__lc | 37,400 | Handle torch ver in flexattn | {
"login": "Kh4L",
"id": 3193578,
"node_id": "MDQ6VXNlcjMxOTM1Nzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3193578?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kh4L",
"html_url": "https://github.com/Kh4L",
"followers_url": "https://api.github.com/users/Kh4L/followers",
... | [] | closed | false | null | [] | null | [] | 2025-04-09T20:00:33 | 2025-04-10T09:27:54 | 2025-04-10T09:27:54 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37400",
"html_url": "https://github.com/huggingface/transformers/pull/37400",
"diff_url": "https://github.com/huggingface/transformers/pull/37400.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37400.patch",
"merged_at... | Follow up #37399
@ArthurZucker | {
"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/37400/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/37400/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37399 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37399/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37399/comments | https://api.github.com/repos/huggingface/transformers/issues/37399/events | https://github.com/huggingface/transformers/pull/37399 | 2,983,714,815 | PR_kwDOCUB6oc6R_wA8 | 37,399 | handle torch version edge cases | {
"login": "winglian",
"id": 381258,
"node_id": "MDQ6VXNlcjM4MTI1OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/381258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/winglian",
"html_url": "https://github.com/winglian",
"followers_url": "https://api.github.com/users/winglia... | [] | closed | false | null | [] | null | [] | 2025-04-09T19:27:47 | 2025-04-09T20:04:23 | 2025-04-09T19:49:57 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37399",
"html_url": "https://github.com/huggingface/transformers/pull/37399",
"diff_url": "https://github.com/huggingface/transformers/pull/37399.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37399.patch",
"merged_at... | # What does this PR do?
If torch is installed as `torch==2.6.0+cu126`, then this check fails to detect it as 2.6.0
## 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.com/hugging... | {
"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/37399/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/37399/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37398 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37398/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37398/comments | https://api.github.com/repos/huggingface/transformers/issues/37398/events | https://github.com/huggingface/transformers/pull/37398 | 2,983,432,586 | PR_kwDOCUB6oc6R-ycq | 37,398 | Add usage example for DINOv2 | {
"login": "baldassarreFe",
"id": 13353649,
"node_id": "MDQ6VXNlcjEzMzUzNjQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/13353649?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baldassarreFe",
"html_url": "https://github.com/baldassarreFe",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | [] | 2025-04-09T17:19:23 | 2025-05-02T20:25:10 | 2025-05-01T15:54:22 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37398",
"html_url": "https://github.com/huggingface/transformers/pull/37398",
"diff_url": "https://github.com/huggingface/transformers/pull/37398.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37398.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/37398/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/37398/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37397 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37397/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37397/comments | https://api.github.com/repos/huggingface/transformers/issues/37397/events | https://github.com/huggingface/transformers/pull/37397 | 2,983,432,562 | PR_kwDOCUB6oc6R-ycS | 37,397 | Add support for Moonlight 16B, add aux loss for Deepseek v3 model finetuning. | {
"login": "Kimiko-AI",
"id": 105905988,
"node_id": "U_kgDOBk__RA",
"avatar_url": "https://avatars.githubusercontent.com/u/105905988?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kimiko-AI",
"html_url": "https://github.com/Kimiko-AI",
"followers_url": "https://api.github.com/users/Kimiko... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | null | [] | 2025-04-09T17:19:23 | 2025-04-19T05:10:48 | null | NONE | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37397",
"html_url": "https://github.com/huggingface/transformers/pull/37397",
"diff_url": "https://github.com/huggingface/transformers/pull/37397.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37397.patch",
"merged_at... | # What does this PR do?
This add support for moonlight 16B which uses q_lora_rank = null, add sequence-wise auxiliary loss proposed in deepseek v3 paper and this [reimplemtation ](https://github.com/ScienceOne-AI/DeepSeek-671B-SFT-Guide/blob/main/model/DeepSeek-R1-BF16/modeling_deepseek.py)
## Before submitting
... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37397/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/37397/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37396 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37396/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37396/comments | https://api.github.com/repos/huggingface/transformers/issues/37396/events | https://github.com/huggingface/transformers/pull/37396 | 2,983,429,980 | PR_kwDOCUB6oc6R-x38 | 37,396 | Next batch of models with removed return_dict | {
"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... | [] | open | false | null | [] | null | [] | 2025-04-09T17:18:10 | 2025-04-18T16:56:46 | null | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37396",
"html_url": "https://github.com/huggingface/transformers/pull/37396",
"diff_url": "https://github.com/huggingface/transformers/pull/37396.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37396.patch",
"merged_at... | # What does this PR do?
Continue removing the `return_dict` attribute from the modeling code. | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37396/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/37396/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37395 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37395/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37395/comments | https://api.github.com/repos/huggingface/transformers/issues/37395/events | https://github.com/huggingface/transformers/pull/37395 | 2,983,426,680 | PR_kwDOCUB6oc6R-xJY | 37,395 | Add warning when failed to acquire other user's lock at model download | {
"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-09T17:16:34 | 2025-04-10T09:18:43 | 2025-04-10T09:18:27 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37395",
"html_url": "https://github.com/huggingface/transformers/pull/37395",
"diff_url": "https://github.com/huggingface/transformers/pull/37395.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37395.patch",
"merged_at... | In cache directories that are shared between multiple users, it is common that a user starts downloading a model but gets tired and kills the process. This leaves the folder structure and their own locks on the filesystem.
If another user comes later and tries to use the same model, the loading will fail with a cryp... | {
"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/37395/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/37395/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37394 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37394/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37394/comments | https://api.github.com/repos/huggingface/transformers/issues/37394/events | https://github.com/huggingface/transformers/pull/37394 | 2,983,342,563 | PR_kwDOCUB6oc6R-fAx | 37,394 | [Cache] Support compilable cache reuse with smaller batch sizes | {
"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-09T16:35:42 | 2025-08-12T15:33:42 | 2025-08-12T15:33:42 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37394",
"html_url": "https://github.com/huggingface/transformers/pull/37394",
"diff_url": "https://github.com/huggingface/transformers/pull/37394.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37394.patch",
"merged_at... | # What does this PR do?
⚠️ this PR needs to be rebased, don't review/merge
Supercedes #37389
Partially solves #35444
This PR makes our `max_cache_size` argument in compilable caches finally true: we can now use a cache object with a batch size smaller than the one defined in the cache. Compile once and run w... | {
"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/37394/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/37394/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37393 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37393/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37393/comments | https://api.github.com/repos/huggingface/transformers/issues/37393/events | https://github.com/huggingface/transformers/pull/37393 | 2,982,677,825 | PR_kwDOCUB6oc6R8NFu | 37,393 | Add AutoRound quantization support | {
"login": "wenhuach21",
"id": 108330088,
"node_id": "U_kgDOBnT8aA",
"avatar_url": "https://avatars.githubusercontent.com/u/108330088?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wenhuach21",
"html_url": "https://github.com/wenhuach21",
"followers_url": "https://api.github.com/users/wen... | [] | closed | false | null | [] | null | [] | 2025-04-09T12:30:57 | 2025-04-22T11:56:54 | 2025-04-22T11:56:54 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37393",
"html_url": "https://github.com/huggingface/transformers/pull/37393",
"diff_url": "https://github.com/huggingface/transformers/pull/37393.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37393.patch",
"merged_at... | This PR is intended to add support for AutoRound quantizer to the transformers library.
Paper https://arxiv.org/abs/2309.05516
Git https://github.com/intel/auto-round
| {
"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/37393/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/37393/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37392 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37392/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37392/comments | https://api.github.com/repos/huggingface/transformers/issues/37392/events | https://github.com/huggingface/transformers/pull/37392 | 2,982,656,373 | PR_kwDOCUB6oc6R8IWN | 37,392 | Add Encoder-only Mask Transformer (EoMT) (except integration test(s), pre- and post- processing and training code) | {
"login": "tommiekerssies",
"id": 6392002,
"node_id": "MDQ6VXNlcjYzOTIwMDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/6392002?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tommiekerssies",
"html_url": "https://github.com/tommiekerssies",
"followers_url": "https://api.gith... | [
{
"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": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU... | closed | false | null | [] | null | [] | 2025-04-09T12:22:34 | 2025-07-01T10:28:23 | 2025-07-01T10:28:23 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37392",
"html_url": "https://github.com/huggingface/transformers/pull/37392",
"diff_url": "https://github.com/huggingface/transformers/pull/37392.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37392.patch",
"merged_at... | See https://github.com/huggingface/transformers/issues/37171
As stated in the title, the integration test is still needed. The pre- and post- processing and training code is preferably for a later PR. | {
"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/37392/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37392/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37391 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37391/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37391/comments | https://api.github.com/repos/huggingface/transformers/issues/37391/events | https://github.com/huggingface/transformers/pull/37391 | 2,982,500,710 | PR_kwDOCUB6oc6R7ng1 | 37,391 | Model debugger upgrades | {
"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-09T11:21:16 | 2025-04-28T13:14:19 | 2025-04-18T14:45:54 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37391",
"html_url": "https://github.com/huggingface/transformers/pull/37391",
"diff_url": "https://github.com/huggingface/transformers/pull/37391.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37391.patch",
"merged_at... | # What does this PR do?
A continuation of #36798 , now:
- The debugger will only output the first and last layer of a sequence of layers.
- mean/stds are added as well, and a `..._SUMMARY.json` file will contain only statistics, not full tensors.
- General printing improvements.
| {
"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/37391/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 3,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37391/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37390 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37390/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37390/comments | https://api.github.com/repos/huggingface/transformers/issues/37390/events | https://github.com/huggingface/transformers/issues/37390 | 2,982,413,042 | I_kwDOCUB6oc6xxALy | 37,390 | how to reduce original model's tokenizer vocabulary | {
"login": "masterwang22327",
"id": 87161022,
"node_id": "MDQ6VXNlcjg3MTYxMDIy",
"avatar_url": "https://avatars.githubusercontent.com/u/87161022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/masterwang22327",
"html_url": "https://github.com/masterwang22327",
"followers_url": "https://api... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | null | [] | 2025-04-09T10:45:56 | 2025-04-09T10:53:07 | null | NONE | null | null | null | null | `###` Feature request
I am working on model distillation. I am currently using the nllb-distilled-600M model, but the parameters of this model are still too large, and the vocabulary supports more than 100 languages. My use case is single language translation, such as English to Hebrew. Therefore, I need to reduce the... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37390/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/37390/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | false |
https://api.github.com/repos/huggingface/transformers/issues/37389 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37389/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37389/comments | https://api.github.com/repos/huggingface/transformers/issues/37389/events | https://github.com/huggingface/transformers/pull/37389 | 2,982,303,136 | PR_kwDOCUB6oc6R67XU | 37,389 | [Cache] rename `max_batch_size` -> `batch_size` in compilable caches | {
"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-09T10:04:31 | 2025-04-09T11:16:22 | 2025-04-09T11:16:22 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37389",
"html_url": "https://github.com/huggingface/transformers/pull/37389",
"diff_url": "https://github.com/huggingface/transformers/pull/37389.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37389.patch",
"merged_at... | # What does this PR do?
WIP, see [this comment](https://github.com/huggingface/transformers/pull/37389#issuecomment-2789228023)
___________________________________
Uses `deprecate_kwarg` to rename `max_batch_size` to `batch_size` in all compilable caches. `max_batch_size` is a bad arg name: it implies that bat... | {
"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/37389/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/37389/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37388 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37388/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37388/comments | https://api.github.com/repos/huggingface/transformers/issues/37388/events | https://github.com/huggingface/transformers/pull/37388 | 2,982,300,114 | PR_kwDOCUB6oc6R66sy | 37,388 | Add glm4 | {
"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... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2025-04-09T10:03:35 | 2025-04-09T12:02:06 | 2025-04-09T12:02:04 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37388",
"html_url": "https://github.com/huggingface/transformers/pull/37388",
"diff_url": "https://github.com/huggingface/transformers/pull/37388.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37388.patch",
"merged_at... | # What does this PR do?
| {
"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/37388/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/37388/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37387 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37387/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37387/comments | https://api.github.com/repos/huggingface/transformers/issues/37387/events | https://github.com/huggingface/transformers/pull/37387 | 2,982,181,752 | PR_kwDOCUB6oc6R6gHg | 37,387 | Add Fast Image Processor for EfficientFormer | {
"login": "grewalsk",
"id": 136873529,
"node_id": "U_kgDOCCiGOQ",
"avatar_url": "https://avatars.githubusercontent.com/u/136873529?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/grewalsk",
"html_url": "https://github.com/grewalsk",
"followers_url": "https://api.github.com/users/grewalsk/... | [] | closed | false | null | [] | null | [] | 2025-04-09T09:28:38 | 2025-04-14T13:41:05 | 2025-04-14T13:41:05 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37387",
"html_url": "https://github.com/huggingface/transformers/pull/37387",
"diff_url": "https://github.com/huggingface/transformers/pull/37387.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37387.patch",
"merged_at... | Add Fast Image Processor for EfficientFormer (#36978)
Fixes # (issue)
Part of the ongoing effort to add fast image processors to all vision models (issue #36978)
Before submitting
- [x] This PR improves performance for EfficientFormer image processing
- [x] I read the contributor guideline, Pull Request sectio... | {
"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/37387/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/37387/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37386 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37386/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37386/comments | https://api.github.com/repos/huggingface/transformers/issues/37386/events | https://github.com/huggingface/transformers/issues/37386 | 2,982,035,982 | I_kwDOCUB6oc6xvkIO | 37,386 | LLama4 RuntimeError | {
"login": "yinzhangyue",
"id": 40982202,
"node_id": "MDQ6VXNlcjQwOTgyMjAy",
"avatar_url": "https://avatars.githubusercontent.com/u/40982202?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yinzhangyue",
"html_url": "https://github.com/yinzhangyue",
"followers_url": "https://api.github.com/... | [
{
"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-09T08:40:49 | 2025-04-11T15:19:53 | 2025-04-11T15:19:53 | NONE | null | null | null | null | ### System Info
attn_weights = attn_weights + causal_mask
~~~~~~~~~~~~~^~~~~~~~~~~~~
RuntimeError: The size of tensor a (8192) must match the size of tensor b (177) at non-singleton dimension 3
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own m... | {
"login": "yinzhangyue",
"id": 40982202,
"node_id": "MDQ6VXNlcjQwOTgyMjAy",
"avatar_url": "https://avatars.githubusercontent.com/u/40982202?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yinzhangyue",
"html_url": "https://github.com/yinzhangyue",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37386/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/37386/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/37385 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37385/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37385/comments | https://api.github.com/repos/huggingface/transformers/issues/37385/events | https://github.com/huggingface/transformers/pull/37385 | 2,981,843,390 | PR_kwDOCUB6oc6R5Xrz | 37,385 | Fix in HybridChunkedCache | {
"login": "Kh4L",
"id": 3193578,
"node_id": "MDQ6VXNlcjMxOTM1Nzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3193578?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kh4L",
"html_url": "https://github.com/Kh4L",
"followers_url": "https://api.github.com/users/Kh4L/followers",
... | [] | closed | false | null | [] | null | [] | 2025-04-09T07:24:55 | 2025-04-09T20:01:25 | 2025-04-09T20:01:24 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37385",
"html_url": "https://github.com/huggingface/transformers/pull/37385",
"diff_url": "https://github.com/huggingface/transformers/pull/37385.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37385.patch",
"merged_at... | Handles seq length smaller that the cache size in HybridChunkedCache
Fixes #37380
@ArthurZucker for review
| {
"login": "Kh4L",
"id": 3193578,
"node_id": "MDQ6VXNlcjMxOTM1Nzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3193578?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kh4L",
"html_url": "https://github.com/Kh4L",
"followers_url": "https://api.github.com/users/Kh4L/followers",
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37385/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37385/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37384 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37384/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37384/comments | https://api.github.com/repos/huggingface/transformers/issues/37384/events | https://github.com/huggingface/transformers/pull/37384 | 2,981,754,426 | PR_kwDOCUB6oc6R5D15 | 37,384 | Attention Quantization with FBGemm & TP | {
"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... | [
{
"id": 8103865784,
"node_id": "LA_kwDOCUB6oc8AAAAB4wctuA",
"url": "https://api.github.com/repos/huggingface/transformers/labels/for%20patch",
"name": "for patch",
"color": "D93F0B",
"default": false,
"description": "Tag issues / labels that should be included in the next patch"
}
] | closed | false | null | [] | null | [] | 2025-04-09T06:54:56 | 2025-04-09T16:45:44 | 2025-04-09T16:45:43 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37384",
"html_url": "https://github.com/huggingface/transformers/pull/37384",
"diff_url": "https://github.com/huggingface/transformers/pull/37384.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37384.patch",
"merged_at... | # What does this PR do?
Adds support for attention quantization with FBGemm and TP | {
"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/37384/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/37384/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37383 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37383/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37383/comments | https://api.github.com/repos/huggingface/transformers/issues/37383/events | https://github.com/huggingface/transformers/pull/37383 | 2,981,458,059 | PR_kwDOCUB6oc6R4FWt | 37,383 | Fix some failing AWQ tests | {
"login": "DerekLiu35",
"id": 91234588,
"node_id": "MDQ6VXNlcjkxMjM0NTg4",
"avatar_url": "https://avatars.githubusercontent.com/u/91234588?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DerekLiu35",
"html_url": "https://github.com/DerekLiu35",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-09T03:51:52 | 2025-04-09T16:24:58 | 2025-04-09T16:24:58 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37383",
"html_url": "https://github.com/huggingface/transformers/pull/37383",
"diff_url": "https://github.com/huggingface/transformers/pull/37383.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37383.patch",
"merged_at... | This PR fixes some failures observed in the AWQ quantization tests (`tests/quantization/autoawq/test_awq.py`)
Also, some notes:
1. `test_quantized_model_bf16`
* Error: `RuntimeError: expected scalar type Half but found BFloat16`
* Reason: `transformers>=4.50` preserves `bfloat16` dtype for scales ... | {
"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/37383/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/37383/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37382 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37382/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37382/comments | https://api.github.com/repos/huggingface/transformers/issues/37382/events | https://github.com/huggingface/transformers/pull/37382 | 2,981,439,685 | PR_kwDOCUB6oc6R4BZj | 37,382 | from_pretrained should handle xpu case | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | null | [] | 2025-04-09T03:34:05 | 2025-04-10T11:23:18 | 2025-04-10T11:23:18 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37382",
"html_url": "https://github.com/huggingface/transformers/pull/37382",
"diff_url": "https://github.com/huggingface/transformers/pull/37382.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37382.patch",
"merged_at... |
@SunMarc @zach-huggingface
please help review. find the issue when inference meta-llama/Llama-4-Scout-17B-16E in TGI. while TGI use FLASH_TRANSFORMERS_BACKEND for llama4.
| {
"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/37382/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/37382/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37381 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37381/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37381/comments | https://api.github.com/repos/huggingface/transformers/issues/37381/events | https://github.com/huggingface/transformers/pull/37381 | 2,981,187,823 | PR_kwDOCUB6oc6R3LQ5 | 37,381 | Fix mask handling for flex attention in llama/gemma2/mistral/qwen2 | {
"login": "flukeskywalker",
"id": 3215768,
"node_id": "MDQ6VXNlcjMyMTU3Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3215768?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flukeskywalker",
"html_url": "https://github.com/flukeskywalker",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | null | [] | 2025-04-09T00:09:58 | 2025-04-14T14:53:27 | 2025-04-14T14:53:27 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37381",
"html_url": "https://github.com/huggingface/transformers/pull/37381",
"diff_url": "https://github.com/huggingface/transformers/pull/37381.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37381.patch",
"merged_at... | # What does this PR do?
**Issue**
In gemma2 and mistral modelling code, where the `_update_causal_mask()` methods were not handling the case of the `atn_implementation` being the recently added `"flex_attention"`.
**Main Fix**
For Mistral and Gemma2: Added logic for converting attention mask passed as as a ten... | {
"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/37381/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/37381/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37380 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37380/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37380/comments | https://api.github.com/repos/huggingface/transformers/issues/37380/events | https://github.com/huggingface/transformers/issues/37380 | 2,981,183,119 | I_kwDOCUB6oc6xsT6P | 37,380 | Llama4 Scout fails to generate output for `use_cache=True` | {
"login": "srijanie03",
"id": 34174706,
"node_id": "MDQ6VXNlcjM0MTc0NzA2",
"avatar_url": "https://avatars.githubusercontent.com/u/34174706?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/srijanie03",
"html_url": "https://github.com/srijanie03",
"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-09T00:04:55 | 2025-04-09T19:52:29 | 2025-04-09T19:50:43 | NONE | null | null | null | null | ### System Info
PyTorch version: 2.5.1
Is debug build: False
CUDA used to build PyTorch: Could not collect
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.4 LTS (aarch64)
GCC version: (GCC) 13.3.0
Clang version: 14.0.0-1ubuntu1.1
CMake version: version 3.29.6
Libc version: glibc-2.35
Python version: 3.10.12 (main, N... | {
"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/37380/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/37380/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/37379 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37379/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37379/comments | https://api.github.com/repos/huggingface/transformers/issues/37379/events | https://github.com/huggingface/transformers/pull/37379 | 2,981,176,705 | PR_kwDOCUB6oc6R3I7I | 37,379 | prevent creating a view/leaf param for low rank optimizers w FSDP | {
"login": "winglian",
"id": 381258,
"node_id": "MDQ6VXNlcjM4MTI1OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/381258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/winglian",
"html_url": "https://github.com/winglian",
"followers_url": "https://api.github.com/users/winglia... | [] | closed | false | null | [] | null | [] | 2025-04-08T23:58:14 | 2025-04-11T12:36:29 | 2025-04-11T12:36:29 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37379",
"html_url": "https://github.com/huggingface/transformers/pull/37379",
"diff_url": "https://github.com/huggingface/transformers/pull/37379.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37379.patch",
"merged_at... | # What does this PR do?
Currently, low rank optimizers like Apollo can't be used with FSDP with the error below which is caused by copying the param, causing a view/leaf of the parameter. This PR fixes that and allows apollo_adamw optimizer to be used with FSDP(1)
```
[rank0]: File "/root/miniconda3/envs/py3.11/... | {
"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/37379/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/37379/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37378 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37378/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37378/comments | https://api.github.com/repos/huggingface/transformers/issues/37378/events | https://github.com/huggingface/transformers/issues/37378 | 2,981,137,855 | I_kwDOCUB6oc6xsI2_ | 37,378 | Issue: Unexpected Shape of logits: When Using generate() with num_return_sequences > 1 | {
"login": "athmanar",
"id": 98558626,
"node_id": "U_kgDOBd_iog",
"avatar_url": "https://avatars.githubusercontent.com/u/98558626?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/athmanar",
"html_url": "https://github.com/athmanar",
"followers_url": "https://api.github.com/users/athmanar/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-08T23:22:54 | 2025-05-20T08:02:55 | 2025-05-20T08:02:55 | NONE | null | null | null | null | Hello,
I'm encountering an issue with the `generate()` function when using the **LLaMA 3.1 8B** model and setting `num_return_sequences > 1`.
### 🔍 What I'm trying to do:
I want to generate multiple sequences (e.g., `num_return_sequences=2`) and retrieve the **logits for each sequence individually**. Specifically, ... | {
"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/37378/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/37378/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/37377 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37377/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37377/comments | https://api.github.com/repos/huggingface/transformers/issues/37377/events | https://github.com/huggingface/transformers/pull/37377 | 2,980,958,431 | PR_kwDOCUB6oc6R2Z9T | 37,377 | Update fastspeech2 model card | {
"login": "ricalanis",
"id": 3820751,
"node_id": "MDQ6VXNlcjM4MjA3NTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3820751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ricalanis",
"html_url": "https://github.com/ricalanis",
"followers_url": "https://api.github.com/users/ri... | [] | open | false | null | [] | null | [] | 2025-04-08T21:14:22 | 2025-05-01T21:16:19 | null | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37377",
"html_url": "https://github.com/huggingface/transformers/pull/37377",
"diff_url": "https://github.com/huggingface/transformers/pull/37377.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37377.patch",
"merged_at... | #36979
* Updated the FastSpeech2Conformer model card
* Could not replicate the pipeline example from original code, as a bug related to FastSpeech2ConformerConfig appears (AttributeError: 'FastSpeech2ConformerConfig' object has no attribute 'model_config') still left it as is.
* Did not add terminal call out as I... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37377/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/37377/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37376 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37376/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37376/comments | https://api.github.com/repos/huggingface/transformers/issues/37376/events | https://github.com/huggingface/transformers/pull/37376 | 2,980,890,437 | PR_kwDOCUB6oc6R2LKJ | 37,376 | Add moe kernels | {
"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... | [
{
"id": 3770033588,
"node_id": "LA_kwDOCUB6oc7gtiW0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Kernel%20Fusion",
"name": "Kernel Fusion",
"color": "A956E3",
"default": false,
"description": ""
},
{
"id": 8439734066,
"node_id": "LA_kwDOCUB6oc8AAAAB9... | closed | false | null | [] | null | [] | 2025-04-08T20:38:24 | 2025-04-11T09:56:25 | 2025-04-11T09:56:23 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37376",
"html_url": "https://github.com/huggingface/transformers/pull/37376",
"diff_url": "https://github.com/huggingface/transformers/pull/37376.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37376.patch",
"merged_at... | # What does this PR do?
Add MoE kernels | {
"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/37376/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/37376/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37375 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37375/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37375/comments | https://api.github.com/repos/huggingface/transformers/issues/37375/events | https://github.com/huggingface/transformers/issues/37375 | 2,980,635,503 | I_kwDOCUB6oc6xqONv | 37,375 | Can't load Llama4 Processor | {
"login": "pb-sameerreddy",
"id": 202701550,
"node_id": "U_kgDODBT67g",
"avatar_url": "https://avatars.githubusercontent.com/u/202701550?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pb-sameerreddy",
"html_url": "https://github.com/pb-sameerreddy",
"followers_url": "https://api.github.c... | [
{
"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-08T18:27:09 | 2025-05-18T08:02:21 | 2025-05-18T08:02:21 | NONE | null | null | null | null | ### System Info
Error:
```
ValueError: Unrecognized image processor in meta-llama/Llama-4-Maverick-17B-128E-Instruct. Should have a `image_processor_type` key in its preprocessor_config.json of config.json, or one of the following `model_type` keys in its config.json: align, aria, beit, bit, blip, blip-2, bridgetowe... | {
"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/37375/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/37375/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/37374 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37374/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37374/comments | https://api.github.com/repos/huggingface/transformers/issues/37374/events | https://github.com/huggingface/transformers/pull/37374 | 2,980,408,635 | PR_kwDOCUB6oc6R0if8 | 37,374 | Fix typo in Gemma3ForCausalLM doctest | {
"login": "shashist",
"id": 25804046,
"node_id": "MDQ6VXNlcjI1ODA0MDQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/25804046?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashist",
"html_url": "https://github.com/shashist",
"followers_url": "https://api.github.com/users/sha... | [] | open | false | null | [] | null | [] | 2025-04-08T16:58:11 | 2025-07-07T12:08:37 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37374",
"html_url": "https://github.com/huggingface/transformers/pull/37374",
"diff_url": "https://github.com/huggingface/transformers/pull/37374.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37374.patch",
"merged_at... | # What does this PR do?
Update model_id used in `Gemma3ForCausalLM` doctest from `gemma-2-9b` to `gemma-3-4b-pt`.
## 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/hugg... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37374/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/37374/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37373 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37373/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37373/comments | https://api.github.com/repos/huggingface/transformers/issues/37373/events | https://github.com/huggingface/transformers/pull/37373 | 2,980,322,194 | PR_kwDOCUB6oc6R0PgN | 37,373 | Bridgetower 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/... | [] | closed | false | null | [] | null | [] | 2025-04-08T16:26:53 | 2025-04-16T20:44:02 | 2025-04-16T20:39:18 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37373",
"html_url": "https://github.com/huggingface/transformers/pull/37373",
"diff_url": "https://github.com/huggingface/transformers/pull/37373.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37373.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": "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/37373/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/37373/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37372 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37372/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37372/comments | https://api.github.com/repos/huggingface/transformers/issues/37372/events | https://github.com/huggingface/transformers/pull/37372 | 2,980,276,482 | PR_kwDOCUB6oc6R0FZo | 37,372 | Apply torchfix to replace deprecated functions: `_pytree._register_pytree_node` and `torch.cpu.amp.autocast` | {
"login": "bzhong-solink",
"id": 194111419,
"node_id": "U_kgDOC5Hnuw",
"avatar_url": "https://avatars.githubusercontent.com/u/194111419?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bzhong-solink",
"html_url": "https://github.com/bzhong-solink",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-08T16:07:52 | 2025-04-10T16:23:05 | 2025-04-09T15:11:18 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37372",
"html_url": "https://github.com/huggingface/transformers/pull/37372",
"diff_url": "https://github.com/huggingface/transformers/pull/37372.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37372.patch",
"merged_at... | - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#create-a-pull-request),
Pull Request section?
| {
"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/37372/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/37372/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37371 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37371/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37371/comments | https://api.github.com/repos/huggingface/transformers/issues/37371/events | https://github.com/huggingface/transformers/pull/37371 | 2,980,248,799 | PR_kwDOCUB6oc6Rz_Qy | 37,371 | update deepspeed docker | {
"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... | [] | closed | false | null | [] | null | [] | 2025-04-08T15:57:46 | 2025-04-09T12:54:08 | 2025-04-09T12:54:06 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37371",
"html_url": "https://github.com/huggingface/transformers/pull/37371",
"diff_url": "https://github.com/huggingface/transformers/pull/37371.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37371.patch",
"merged_at... | # What does this PR do?
This PR updates deepspeed docker so that we run our tests with pytorch 2.6 | {
"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/37371/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/37371/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37370 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37370/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37370/comments | https://api.github.com/repos/huggingface/transformers/issues/37370/events | https://github.com/huggingface/transformers/pull/37370 | 2,980,155,261 | PR_kwDOCUB6oc6RzqkM | 37,370 | the fix that did not get in | {
"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... | [
{
"id": 8103865784,
"node_id": "LA_kwDOCUB6oc8AAAAB4wctuA",
"url": "https://api.github.com/repos/huggingface/transformers/labels/for%20patch",
"name": "for patch",
"color": "D93F0B",
"default": false,
"description": "Tag issues / labels that should be included in the next patch"
}
] | closed | false | null | [] | null | [] | 2025-04-08T15:26:05 | 2025-04-09T18:15:34 | 2025-04-09T18:15:33 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37370",
"html_url": "https://github.com/huggingface/transformers/pull/37370",
"diff_url": "https://github.com/huggingface/transformers/pull/37370.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37370.patch",
"merged_at... | # What does this PR do?
One fix did not get in the patch, I hate the github merging interface | {
"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/37370/reactions",
"total_count": 12,
"+1": 0,
"-1": 0,
"laugh": 11,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37370/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37369 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37369/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37369/comments | https://api.github.com/repos/huggingface/transformers/issues/37369/events | https://github.com/huggingface/transformers/pull/37369 | 2,980,061,094 | PR_kwDOCUB6oc6RzWTL | 37,369 | [Feat] Support npu in modeling models | {
"login": "duanjunwen",
"id": 54985467,
"node_id": "MDQ6VXNlcjU0OTg1NDY3",
"avatar_url": "https://avatars.githubusercontent.com/u/54985467?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/duanjunwen",
"html_url": "https://github.com/duanjunwen",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-08T14:54:08 | 2025-04-10T17:08:46 | 2025-04-10T17:00:59 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37369",
"html_url": "https://github.com/huggingface/transformers/pull/37369",
"diff_url": "https://github.com/huggingface/transformers/pull/37369.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37369.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": "ivarflakstad",
"id": 69173633,
"node_id": "MDQ6VXNlcjY5MTczNjMz",
"avatar_url": "https://avatars.githubusercontent.com/u/69173633?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ivarflakstad",
"html_url": "https://github.com/ivarflakstad",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37369/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/37369/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37368 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37368/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37368/comments | https://api.github.com/repos/huggingface/transformers/issues/37368/events | https://github.com/huggingface/transformers/pull/37368 | 2,980,001,769 | PR_kwDOCUB6oc6RzJcu | 37,368 | [agents] remove agents 🧹 | {
"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-08T14:34:14 | 2025-04-11T17:42:40 | 2025-04-11T17:42:37 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37368",
"html_url": "https://github.com/huggingface/transformers/pull/37368",
"diff_url": "https://github.com/huggingface/transformers/pull/37368.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37368.patch",
"merged_at... | # What does this PR do?
`transformers.agents` was deprecated in #36415, scheduled to be removed in `v4.51`. `v4.51` was released last weekend, so this PR removes all traces of `transformers.agents`.
Special note for the docs: I've kept a page for the `agents` and `tools`, which held a deprecation message. They no... | {
"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/37368/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37368/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37367 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37367/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37367/comments | https://api.github.com/repos/huggingface/transformers/issues/37367/events | https://github.com/huggingface/transformers/issues/37367 | 2,979,967,836 | I_kwDOCUB6oc6xnrNc | 37,367 | Connection to cas-bridge-direct.xethub.hf.co timed out | {
"login": "valentas-kurauskas",
"id": 11426795,
"node_id": "MDQ6VXNlcjExNDI2Nzk1",
"avatar_url": "https://avatars.githubusercontent.com/u/11426795?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/valentas-kurauskas",
"html_url": "https://github.com/valentas-kurauskas",
"followers_url": "ht... | [] | closed | false | null | [] | null | [] | 2025-04-08T14:22:46 | 2025-04-17T06:08:30 | 2025-04-09T11:13:58 | NONE | null | null | null | null | We have today (2025-04-08) started to get this error when running
```python
from transformers import ViTModel
model_name="google/vit-base-patch16-224"
vit = ViTModel.from_pretrained(model_name)
```
from GCP DataFlow workers:
```
Connection to cas-bridge-direct.xethub.hf.co timed out. (connect timeout=10)
```
We gene... | {
"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/37367/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/37367/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/37366 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37366/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37366/comments | https://api.github.com/repos/huggingface/transformers/issues/37366/events | https://github.com/huggingface/transformers/pull/37366 | 2,979,703,846 | PR_kwDOCUB6oc6RyIZk | 37,366 | Set vision config to None for Gemma 1B conversion | {
"login": "RyanMullins",
"id": 868555,
"node_id": "MDQ6VXNlcjg2ODU1NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/868555?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RyanMullins",
"html_url": "https://github.com/RyanMullins",
"followers_url": "https://api.github.com/user... | [] | closed | false | null | [] | null | [] | 2025-04-08T12:52:07 | 2025-04-08T14:19:40 | 2025-04-08T13:22:32 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37366",
"html_url": "https://github.com/huggingface/transformers/pull/37366",
"diff_url": "https://github.com/huggingface/transformers/pull/37366.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37366.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/37366/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/37366/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37365 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37365/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37365/comments | https://api.github.com/repos/huggingface/transformers/issues/37365/events | https://github.com/huggingface/transformers/pull/37365 | 2,979,518,506 | PR_kwDOCUB6oc6Rxf4- | 37,365 | [llama 4] dynamic rope decorator | {
"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-08T11:39:36 | 2025-04-08T14:56:34 | 2025-04-08T14:56:31 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37365",
"html_url": "https://github.com/huggingface/transformers/pull/37365",
"diff_url": "https://github.com/huggingface/transformers/pull/37365.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37365.patch",
"merged_at... | # What does this PR do?
Same as #37249, but applied to Llama 4
Also updates the docstrings of the Hybrid Caches. | {
"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/37365/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/37365/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37364 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37364/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37364/comments | https://api.github.com/repos/huggingface/transformers/issues/37364/events | https://github.com/huggingface/transformers/issues/37364 | 2,979,393,992 | I_kwDOCUB6oc6xlfHI | 37,364 | How to find a specific func doc when using transformers doc? | {
"login": "habaohaba",
"id": 34515931,
"node_id": "MDQ6VXNlcjM0NTE1OTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/34515931?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/habaohaba",
"html_url": "https://github.com/habaohaba",
"followers_url": "https://api.github.com/users/... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | null | [] | 2025-04-08T10:48:04 | 2025-09-15T19:16:35 | null | NONE | null | null | null | null | ### Feature request
Better UX for doc
### Motivation
The search and UI layout make it so hard to find a func doc, especially when there are so many func doc in one webpage and your just can not find what you want by web page search.
### Your contribution
no, right now | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37364/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/37364/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | false |
https://api.github.com/repos/huggingface/transformers/issues/37363 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37363/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37363/comments | https://api.github.com/repos/huggingface/transformers/issues/37363/events | https://github.com/huggingface/transformers/pull/37363 | 2,979,282,151 | PR_kwDOCUB6oc6Rwr4e | 37,363 | Fix SDPA attention precision issue in Qwen2.5-VL | {
"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-08T10:07:17 | 2025-07-09T05:03:44 | 2025-07-09T05:03:44 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37363",
"html_url": "https://github.com/huggingface/transformers/pull/37363",
"diff_url": "https://github.com/huggingface/transformers/pull/37363.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37363.patch",
"merged_at... | # What does this PR do?
Implemented an non-mask-based window attention mechanism for the eager/sdpa version in Qwen2.5-VL.
For more details, see: [Qwen2.5-VL Issue #1049](https://github.com/QwenLM/Qwen2.5-VL/issues/1049)
After the modifications, both memory usage and inference time have been improved, with infer... | {
"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/37363/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/37363/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37362 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37362/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37362/comments | https://api.github.com/repos/huggingface/transformers/issues/37362/events | https://github.com/huggingface/transformers/pull/37362 | 2,979,259,529 | PR_kwDOCUB6oc6Rwm7- | 37,362 | [processor] clean up mulitmodal 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-08T09:58:58 | 2025-04-11T11:32:19 | 2025-04-11T11:32:19 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37362",
"html_url": "https://github.com/huggingface/transformers/pull/37362",
"diff_url": "https://github.com/huggingface/transformers/pull/37362.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37362.patch",
"merged_at... | # What does this PR do?
As per title, remove overriden parts that handle special multimodal tokens. Also fixes Aria and Idefics image processors by adding `do_rescale` in configurable init params, thus removing overridden tests
cc @ydshieh for tests and @qubvel for main processor code | {
"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/37362/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/37362/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37361 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37361/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37361/comments | https://api.github.com/repos/huggingface/transformers/issues/37361/events | https://github.com/huggingface/transformers/issues/37361 | 2,979,112,740 | I_kwDOCUB6oc6xkack | 37,361 | NameError: "init_empty_weights" not defined - ESM family models | {
"login": "Eloffredo",
"id": 104976219,
"node_id": "U_kgDOBkHPWw",
"avatar_url": "https://avatars.githubusercontent.com/u/104976219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Eloffredo",
"html_url": "https://github.com/Eloffredo",
"followers_url": "https://api.github.com/users/Eloffr... | [
{
"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-08T09:04:29 | 2025-04-08T16:06:29 | 2025-04-08T16:06:28 | NONE | null | null | null | null | ### System Info
### **Issue**
Using the latest release ``v4.51.0`` I get a NameError when loading the ESM model with ``facebook/esm2_t33_650M_UR50D``. Using the previous ``v4.50.3`` everything is working fine.
**system info**
```
- `transformers` version: 4.51.0
- Platform: Linux-6.8.0-1021-aws-x86_64-with-glibc2.3... | {
"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/37361/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/37361/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/37360 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37360/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37360/comments | https://api.github.com/repos/huggingface/transformers/issues/37360/events | https://github.com/huggingface/transformers/issues/37360 | 2,979,069,166 | I_kwDOCUB6oc6xkPzu | 37,360 | Gemma 3 series model default loading behavior of dtype | {
"login": "HuangBugWei",
"id": 67520151,
"node_id": "MDQ6VXNlcjY3NTIwMTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/67520151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HuangBugWei",
"html_url": "https://github.com/HuangBugWei",
"followers_url": "https://api.github.com/... | [
{
"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-08T08:47:47 | 2025-04-08T12:51:24 | 2025-04-08T12:51:23 | CONTRIBUTOR | null | null | null | null | ### System Info
- `transformers` version: 4.51.0
- Platform: Linux-5.4.17-2136.339.5.el8uek.x86_64-x86_64-with-glibc2.35
- Python version: 3.10.13
- Huggingface_hub version: 0.30.1
- Safetensors version: 0.5.2
- Accelerate version: 1.6.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distribute... | {
"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/37360/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/37360/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/37359 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37359/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37359/comments | https://api.github.com/repos/huggingface/transformers/issues/37359/events | https://github.com/huggingface/transformers/pull/37359 | 2,978,842,327 | PR_kwDOCUB6oc6RvM0T | 37,359 | fix: llama4 conversion script no_rope_layers | {
"login": "jmkuebler",
"id": 44084297,
"node_id": "MDQ6VXNlcjQ0MDg0Mjk3",
"avatar_url": "https://avatars.githubusercontent.com/u/44084297?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jmkuebler",
"html_url": "https://github.com/jmkuebler",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-08T07:17:02 | 2025-04-09T11:27:38 | 2025-04-09T11:02:15 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37359",
"html_url": "https://github.com/huggingface/transformers/pull/37359",
"diff_url": "https://github.com/huggingface/transformers/pull/37359.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37359.patch",
"merged_at... |
# What does this PR do?
`no_rope_layers` should either be a list of NoPE layers or `None`, such that it is created in the config from the `no_rope_layer_interval`, see https://github.com/huggingface/transformers/blob/main/src/transformers/models/llama4/configuration_llama4.py#L338-L343
<!--
Congratulations! You... | {
"login": "pcuenca",
"id": 1177582,
"node_id": "MDQ6VXNlcjExNzc1ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1177582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pcuenca",
"html_url": "https://github.com/pcuenca",
"followers_url": "https://api.github.com/users/pcuenca/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37359/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/37359/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37358 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37358/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37358/comments | https://api.github.com/repos/huggingface/transformers/issues/37358/events | https://github.com/huggingface/transformers/pull/37358 | 2,978,758,833 | PR_kwDOCUB6oc6Ru7X0 | 37,358 | Defaults to adamw_torch_fused for Pytorch>=2.8 | {
"login": "cyyever",
"id": 17618148,
"node_id": "MDQ6VXNlcjE3NjE4MTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/17618148?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyyever",
"html_url": "https://github.com/cyyever",
"followers_url": "https://api.github.com/users/cyyeve... | [] | closed | false | null | [] | null | [] | 2025-04-08T06:39:30 | 2025-07-16T14:13:45 | 2025-07-16T09:52:33 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37358",
"html_url": "https://github.com/huggingface/transformers/pull/37358",
"diff_url": "https://github.com/huggingface/transformers/pull/37358.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37358.patch",
"merged_at... | # What does this PR do?
According to the comment, transformers should default to adamw_torch_fused after PT 2.1. However, the condition is lift to PT 2.8 to ensure that adamw_torch_fused is mature enough. | {
"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/37358/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/37358/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37357 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37357/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37357/comments | https://api.github.com/repos/huggingface/transformers/issues/37357/events | https://github.com/huggingface/transformers/pull/37357 | 2,978,257,969 | PR_kwDOCUB6oc6RtSZ1 | 37,357 | support overlapping masks in mask2former image processor | {
"login": "SeKim12",
"id": 63029244,
"node_id": "MDQ6VXNlcjYzMDI5MjQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/63029244?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeKim12",
"html_url": "https://github.com/SeKim12",
"followers_url": "https://api.github.com/users/SeKim1... | [] | open | false | null | [] | null | [] | 2025-04-08T00:06:26 | 2025-06-03T00:19:52 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37357",
"html_url": "https://github.com/huggingface/transformers/pull/37357",
"diff_url": "https://github.com/huggingface/transformers/pull/37357.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37357.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/37357/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/37357/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37356 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37356/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37356/comments | https://api.github.com/repos/huggingface/transformers/issues/37356/events | https://github.com/huggingface/transformers/pull/37356 | 2,978,201,095 | PR_kwDOCUB6oc6RtGpe | 37,356 | Fix typing issues with SigLip2 | {
"login": "EricWiener",
"id": 18071029,
"node_id": "MDQ6VXNlcjE4MDcxMDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/18071029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/EricWiener",
"html_url": "https://github.com/EricWiener",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-07T23:20:36 | 2025-04-11T21:24:41 | 2025-04-11T21:24:24 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37356",
"html_url": "https://github.com/huggingface/transformers/pull/37356",
"diff_url": "https://github.com/huggingface/transformers/pull/37356.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37356.patch",
"merged_at... | # What does this PR do?
Fixes #36754
## 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.com/huggingface/transformers/blob/main/CONTRIBUTING.md#create-a-pull-request),
Pu... | {
"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/37356/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/37356/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37355 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37355/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37355/comments | https://api.github.com/repos/huggingface/transformers/issues/37355/events | https://github.com/huggingface/transformers/issues/37355 | 2,978,035,475 | I_kwDOCUB6oc6xgTcT | 37,355 | [llama4] Inference with multiple GPU torch.distributed.DistStoreError | {
"login": "GilgameshD",
"id": 13979878,
"node_id": "MDQ6VXNlcjEzOTc5ODc4",
"avatar_url": "https://avatars.githubusercontent.com/u/13979878?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GilgameshD",
"html_url": "https://github.com/GilgameshD",
"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-07T21:27:45 | 2025-04-11T11:59:16 | 2025-04-07T22:49:04 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.52.0.dev0
- Platform: Linux-5.15.0-1032-oracle-x86_64-with-glibc2.31
- Python version: 3.10.16
- Huggingface_hub version: 0.30.1
- Safetensors version: 0.5.2
- Accelerate version: 1.3.0
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU... | {
"login": "GilgameshD",
"id": 13979878,
"node_id": "MDQ6VXNlcjEzOTc5ODc4",
"avatar_url": "https://avatars.githubusercontent.com/u/13979878?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GilgameshD",
"html_url": "https://github.com/GilgameshD",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37355/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/37355/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/37354 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37354/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37354/comments | https://api.github.com/repos/huggingface/transformers/issues/37354/events | https://github.com/huggingface/transformers/pull/37354 | 2,978,000,685 | PR_kwDOCUB6oc6RsbB_ | 37,354 | Preserve requires_grad in pre quantized model | {
"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-07T21:06:58 | 2025-04-08T16:41:30 | 2025-04-08T16:41:30 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37354",
"html_url": "https://github.com/huggingface/transformers/pull/37354",
"diff_url": "https://github.com/huggingface/transformers/pull/37354.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37354.patch",
"merged_at... | Summary:
discovered this when running lm-eval for some models, current code will set requires_grad to True always
Test Plan:
lm_eval --model hf --model_args pretrained=jerryzh168/phi4-torchao-gguf-q4_k --tasks hellaswag --device cuda:0 --batch_size 8
Reviewers:
Subscribers:
Tasks:
Tags: | {
"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/37354/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/37354/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37353 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37353/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37353/comments | https://api.github.com/repos/huggingface/transformers/issues/37353/events | https://github.com/huggingface/transformers/pull/37353 | 2,978,000,020 | PR_kwDOCUB6oc6Rsa4j | 37,353 | Multiple llama4 fixe | {
"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... | [] | closed | false | null | [] | null | [] | 2025-04-07T21:06:34 | 2025-04-08T09:14:51 | 2025-04-08T09:14:49 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37353",
"html_url": "https://github.com/huggingface/transformers/pull/37353",
"diff_url": "https://github.com/huggingface/transformers/pull/37353.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37353.patch",
"merged_at... | # What does this PR do?
- Fixed training with flex
- Fixed inference with flex, no cache
- Fixed full compile compatibility
- Reduced overhead for the cache cc @Cyrilvallez
| {
"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/37353/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/37353/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37352 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37352/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37352/comments | https://api.github.com/repos/huggingface/transformers/issues/37352/events | https://github.com/huggingface/transformers/issues/37352 | 2,977,992,857 | I_kwDOCUB6oc6xgJCZ | 37,352 | Llama 4 Scout w/ Flex Attention Fails | {
"login": "ardapekis",
"id": 10730618,
"node_id": "MDQ6VXNlcjEwNzMwNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/10730618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ardapekis",
"html_url": "https://github.com/ardapekis",
"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-07T21:02:20 | 2025-04-07T21:07:45 | 2025-04-07T21:07:45 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.51.0
- Platform: Linux-6.8.0-53-generic-x86_64-with-glibc2.35
- Python version: 3.11.10
- Huggingface_hub version: 0.30.1
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Accelerate config: not found
- DeepSpeed version: 0.15.4
- PyTorch version (GPU?): 2.6.0+cu... | {
"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/37352/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/37352/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/37351 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37351/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37351/comments | https://api.github.com/repos/huggingface/transformers/issues/37351/events | https://github.com/huggingface/transformers/issues/37351 | 2,977,615,026 | I_kwDOCUB6oc6xesyy | 37,351 | [`Llamma4`] Chunked Attention | {
"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... | [
{
"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-07T18:08:05 | 2025-04-08T11:48:08 | 2025-04-08T11:48:08 | CONTRIBUTOR | null | null | null | null | ### System Info
- `transformers` version: 4.52.0.dev0 (around commit 8bbcdf54096efbbb8de6f1a4e73c6517edf344a8)
- Platform: Linux-6.8.0-111057-tuxedo-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.30.1
- Safetensors version: 0.4.3
- Accelerate version: 0.34.2
- Accelerate config: not fo... | {
"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/37351/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/37351/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/37350 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37350/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37350/comments | https://api.github.com/repos/huggingface/transformers/issues/37350/events | https://github.com/huggingface/transformers/pull/37350 | 2,977,512,205 | PR_kwDOCUB6oc6Rqv5S | 37,350 | Haocheng lu2 | {
"login": "LuHC409",
"id": 113956490,
"node_id": "U_kgDOBsrWig",
"avatar_url": "https://avatars.githubusercontent.com/u/113956490?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LuHC409",
"html_url": "https://github.com/LuHC409",
"followers_url": "https://api.github.com/users/LuHC409/foll... | [] | open | false | null | [] | null | [] | 2025-04-07T17:19:38 | 2025-04-07T18:45:28 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37350",
"html_url": "https://github.com/huggingface/transformers/pull/37350",
"diff_url": "https://github.com/huggingface/transformers/pull/37350.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37350.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/37350/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/37350/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37349 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37349/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37349/comments | https://api.github.com/repos/huggingface/transformers/issues/37349/events | https://github.com/huggingface/transformers/pull/37349 | 2,977,494,193 | PR_kwDOCUB6oc6RqsAi | 37,349 | Clean up the compressed-tensors integration | {
"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-07T17:11:09 | 2025-04-07T17:46:13 | 2025-04-07T17:26:45 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37349",
"html_url": "https://github.com/huggingface/transformers/pull/37349",
"diff_url": "https://github.com/huggingface/transformers/pull/37349.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37349.patch",
"merged_at... | # What does this PR do?
Cleanup compressed-tensors integration as no longer used for Llama4 | {
"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/37349/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/37349/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37348 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37348/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37348/comments | https://api.github.com/repos/huggingface/transformers/issues/37348/events | https://github.com/huggingface/transformers/pull/37348 | 2,977,252,168 | PR_kwDOCUB6oc6Rp22e | 37,348 | Add bnb to the list of supported quantization methods for LLama4 | {
"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-07T15:32:10 | 2025-04-09T13:49:04 | 2025-04-07T18:34:07 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37348",
"html_url": "https://github.com/huggingface/transformers/pull/37348",
"diff_url": "https://github.com/huggingface/transformers/pull/37348.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37348.patch",
"merged_at... | # What does this PR do?
This pr adds support for bitsandbytes quantization, and loading bnb quantized models in transformers.
Some quantized Llama4 models can be found here :
- https://huggingface.co/bnb-community/Llama-4-Scout-17B-16E-Instruct-bnb-4bit
- https://huggingface.co/bnb-community/Llama-4-Scout-17B-... | {
"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/37348/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/37348/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37347 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37347/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37347/comments | https://api.github.com/repos/huggingface/transformers/issues/37347/events | https://github.com/huggingface/transformers/pull/37347 | 2,977,238,738 | PR_kwDOCUB6oc6Rpz4e | 37,347 | Remove HQQ from caching allocator warmup | {
"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/... | [
{
"id": 8103865784,
"node_id": "LA_kwDOCUB6oc8AAAAB4wctuA",
"url": "https://api.github.com/repos/huggingface/transformers/labels/for%20patch",
"name": "for patch",
"color": "D93F0B",
"default": false,
"description": "Tag issues / labels that should be included in the next patch"
}
] | closed | false | null | [] | null | [] | 2025-04-07T15:27:16 | 2025-04-07T16:33:50 | 2025-04-07T16:33:48 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37347",
"html_url": "https://github.com/huggingface/transformers/pull/37347",
"diff_url": "https://github.com/huggingface/transformers/pull/37347.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37347.patch",
"merged_at... | # What does this PR do?
HQQ quantizer injects items in the state dict of the model which are neither parameters nor buffers, and do not seem to be moved to device with usual params (even though they are Tensor).
See https://github.com/huggingface/transformers/issues/37263 here for the bug that was introduced when a... | {
"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/37347/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/37347/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37346 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37346/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37346/comments | https://api.github.com/repos/huggingface/transformers/issues/37346/events | https://github.com/huggingface/transformers/pull/37346 | 2,977,090,399 | PR_kwDOCUB6oc6RpTR5 | 37,346 | Avoid build crashes when torch.version.xpu doesn't exist and fix Llama4 processor 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-07T14:37:36 | 2025-04-08T06:27:24 | 2025-04-07T16:05:54 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37346",
"html_url": "https://github.com/huggingface/transformers/pull/37346",
"diff_url": "https://github.com/huggingface/transformers/pull/37346.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37346.patch",
"merged_at... | Quick update to #37126 which breaks on my local machine because `torch.version.xpu` doesn't exist. I'm not sure which versions that exists for and which doesn't, but we can just use `getattr()` to avoid crashes in those cases either way. | {
"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/37346/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/37346/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37345 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37345/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37345/comments | https://api.github.com/repos/huggingface/transformers/issues/37345/events | https://github.com/huggingface/transformers/issues/37345 | 2,977,004,178 | I_kwDOCUB6oc6xcXqS | 37,345 | 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": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
},
{
"id": 5769473378,
... | closed | false | null | [] | null | [] | 2025-04-07T14:08:53 | 2025-06-17T12:57:43 | 2025-06-17T12:57:43 | CONTRIBUTOR | null | null | null | null | ### Feature request
Now the number of input channels in auxiliary UperNet FCN Head is controlled by `auxiliary_in_channels` parameter in UperNetConfig, which is set to 384 by default. Not every backbone have 384 channels by default, so sometimes user have to set this parameter manually.
I propose to change the defaul... | {
"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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37345/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/37345/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/37344 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37344/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37344/comments | https://api.github.com/repos/huggingface/transformers/issues/37344/events | https://github.com/huggingface/transformers/pull/37344 | 2,976,730,541 | PR_kwDOCUB6oc6RoDzy | 37,344 | Unhardcode use_chunked_attention, fix no_rope_layers | {
"login": "pcuenca",
"id": 1177582,
"node_id": "MDQ6VXNlcjExNzc1ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1177582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pcuenca",
"html_url": "https://github.com/pcuenca",
"followers_url": "https://api.github.com/users/pcuenca/... | [] | closed | false | null | [] | null | [] | 2025-04-07T12:39:05 | 2025-04-29T18:02:29 | 2025-04-29T18:02:29 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37344",
"html_url": "https://github.com/huggingface/transformers/pull/37344",
"diff_url": "https://github.com/huggingface/transformers/pull/37344.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37344.patch",
"merged_at... | Not sure if this was already in the works. | {
"login": "pcuenca",
"id": 1177582,
"node_id": "MDQ6VXNlcjExNzc1ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1177582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pcuenca",
"html_url": "https://github.com/pcuenca",
"followers_url": "https://api.github.com/users/pcuenca/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37344/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/37344/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37343 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37343/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37343/comments | https://api.github.com/repos/huggingface/transformers/issues/37343/events | https://github.com/huggingface/transformers/pull/37343 | 2,976,643,609 | PR_kwDOCUB6oc6Rnwxc | 37,343 | Use Python 3.9 syntax in tests | {
"login": "cyyever",
"id": 17618148,
"node_id": "MDQ6VXNlcjE3NjE4MTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/17618148?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyyever",
"html_url": "https://github.com/cyyever",
"followers_url": "https://api.github.com/users/cyyeve... | [] | closed | false | null | [] | null | [] | 2025-04-07T12:06:37 | 2025-04-09T02:08:01 | 2025-04-08T12:12:08 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37343",
"html_url": "https://github.com/huggingface/transformers/pull/37343",
"diff_url": "https://github.com/huggingface/transformers/pull/37343.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37343.patch",
"merged_at... | # What does this PR do?
A follow-up work to fix tests.
The changes were made by executing
```
pyupgrade --py39-plus tests/**/*py
``` | {
"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/37343/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/37343/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37342 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37342/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37342/comments | https://api.github.com/repos/huggingface/transformers/issues/37342/events | https://github.com/huggingface/transformers/pull/37342 | 2,976,640,658 | PR_kwDOCUB6oc6RnwH2 | 37,342 | [vlm] adjust max length for special 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-07T12:05:29 | 2025-04-16T18:49:21 | 2025-04-16T18:49:20 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37342",
"html_url": "https://github.com/huggingface/transformers/pull/37342",
"diff_url": "https://github.com/huggingface/transformers/pull/37342.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37342.patch",
"merged_at... | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/37222
Instead of raising errors, we adjust the max length manually and log the new length. This way is simpler, than the first idea I had because tokenizer's "overflow_tokens" do not work consistently for slow vs fast tokenizers
T... | {
"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/37342/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/37342/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37341 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37341/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37341/comments | https://api.github.com/repos/huggingface/transformers/issues/37341/events | https://github.com/huggingface/transformers/pull/37341 | 2,976,490,415 | PR_kwDOCUB6oc6RnPH- | 37,341 | fix derived berts `_init_weights` | {
"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/... | [
{
"id": 8103865784,
"node_id": "LA_kwDOCUB6oc8AAAAB4wctuA",
"url": "https://api.github.com/repos/huggingface/transformers/labels/for%20patch",
"name": "for patch",
"color": "D93F0B",
"default": false,
"description": "Tag issues / labels that should be included in the next patch"
}
] | closed | false | null | [] | null | [] | 2025-04-07T11:07:15 | 2025-04-07T16:25:09 | 2025-04-07T16:25:07 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37341",
"html_url": "https://github.com/huggingface/transformers/pull/37341",
"diff_url": "https://github.com/huggingface/transformers/pull/37341.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37341.patch",
"merged_at... | # What does this PR do?
As per the title. We prioritize this family for now as they seem to have corrupted weights on the hub, resulting in bad inits (see https://github.com/huggingface/transformers/pull/37070 as well). They are also used in optimum's tests! | {
"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/37341/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/37341/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37340 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37340/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37340/comments | https://api.github.com/repos/huggingface/transformers/issues/37340/events | https://github.com/huggingface/transformers/pull/37340 | 2,976,383,347 | PR_kwDOCUB6oc6Rm3gm | 37,340 | Remove runtime conditions for type checking | {
"login": "cyyever",
"id": 17618148,
"node_id": "MDQ6VXNlcjE3NjE4MTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/17618148?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyyever",
"html_url": "https://github.com/cyyever",
"followers_url": "https://api.github.com/users/cyyeve... | [] | closed | false | null | [] | null | [] | 2025-04-07T10:25:08 | 2025-07-17T13:47:40 | 2025-07-16T11:36:48 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37340",
"html_url": "https://github.com/huggingface/transformers/pull/37340",
"diff_url": "https://github.com/huggingface/transformers/pull/37340.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37340.patch",
"merged_at... | # What does this PR do?
Linters aren't smart enough to evaluate the conditions.
Fixes #37339 | {
"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/37340/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37340/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37339 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37339/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37339/comments | https://api.github.com/repos/huggingface/transformers/issues/37339/events | https://github.com/huggingface/transformers/issues/37339 | 2,976,240,576 | I_kwDOCUB6oc6xZdPA | 37,339 | Mypy errors since v4.51.0 | {
"login": "jc-louis",
"id": 51329768,
"node_id": "MDQ6VXNlcjUxMzI5NzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/51329768?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jc-louis",
"html_url": "https://github.com/jc-louis",
"followers_url": "https://api.github.com/users/jc-... | [
{
"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-07T09:33:30 | 2025-07-28T12:29:42 | 2025-07-15T15:02:44 | NONE | null | null | null | null | @cyyever this is a direct result of https://github.com/huggingface/transformers/pull/37022 which marked the library as typed.
```py
from typing import reveal_type
from transformers import Trainer, PreTrainedModel
def mypy_errors(trainer: Trainer, model: PreTrainedModel) -> None:
reveal_type(trainer)
reveal_t... | {
"login": "jc-louis",
"id": 51329768,
"node_id": "MDQ6VXNlcjUxMzI5NzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/51329768?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jc-louis",
"html_url": "https://github.com/jc-louis",
"followers_url": "https://api.github.com/users/jc-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37339/reactions",
"total_count": 9,
"+1": 9,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37339/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/37338 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37338/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37338/comments | https://api.github.com/repos/huggingface/transformers/issues/37338/events | https://github.com/huggingface/transformers/pull/37338 | 2,976,235,157 | PR_kwDOCUB6oc6RmXRl | 37,338 | [Docs] Move models to appropriate section | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-07T09:31:40 | 2025-04-22T16:23:15 | 2025-04-22T16:23:15 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37338",
"html_url": "https://github.com/huggingface/transformers/pull/37338",
"diff_url": "https://github.com/huggingface/transformers/pull/37338.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37338.patch",
"merged_at... | # What does this PR do?
I noticed several multimodal models are in the text-only section, hence this PR moves them.
cc @stevhliu
| {
"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/37338/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/37338/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37337 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37337/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37337/comments | https://api.github.com/repos/huggingface/transformers/issues/37337/events | https://github.com/huggingface/transformers/pull/37337 | 2,976,081,700 | PR_kwDOCUB6oc6Rl13m | 37,337 | Fix `init empty weights` without accelerate | {
"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/... | [
{
"id": 8103865784,
"node_id": "LA_kwDOCUB6oc8AAAAB4wctuA",
"url": "https://api.github.com/repos/huggingface/transformers/labels/for%20patch",
"name": "for patch",
"color": "D93F0B",
"default": false,
"description": "Tag issues / labels that should be included in the next patch"
}
] | closed | false | null | [] | null | [] | 2025-04-07T08:40:20 | 2025-04-07T09:54:40 | 2025-04-07T09:37:30 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37337",
"html_url": "https://github.com/huggingface/transformers/pull/37337",
"diff_url": "https://github.com/huggingface/transformers/pull/37337.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37337.patch",
"merged_at... | # What does this PR do?
As per the title. People started reporting the issue as they sometimes uses Transformers without Accelerate | {
"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/37337/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37337/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37336 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37336/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37336/comments | https://api.github.com/repos/huggingface/transformers/issues/37336/events | https://github.com/huggingface/transformers/issues/37336 | 2,976,080,457 | I_kwDOCUB6oc6xY2JJ | 37,336 | ImportError: cannot import name 'HfEngine' from 'transformers.agents' | {
"login": "HariNuve",
"id": 159748242,
"node_id": "U_kgDOCYWQkg",
"avatar_url": "https://avatars.githubusercontent.com/u/159748242?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HariNuve",
"html_url": "https://github.com/HariNuve",
"followers_url": "https://api.github.com/users/HariNuve/... | [] | closed | false | null | [] | null | [] | 2025-04-07T08:39:49 | 2025-04-07T12:14:03 | 2025-04-07T12:14:02 | NONE | null | null | null | null | Tried out the follwing :
```
from transformers.agents import HfEngine, ReactJsonAgent
llm_engine = HfEngine("meta-llama/Meta-Llama-3-8B-Instruct")
agent = ReactJsonAgent(
tools=[RetrieverTool(vectordb, all_sources)],
llm_engine=llm_engine
)
agent_output = agent.run("Please show me a LORA finetuning script")... | {
"login": "HariNuve",
"id": 159748242,
"node_id": "U_kgDOCYWQkg",
"avatar_url": "https://avatars.githubusercontent.com/u/159748242?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HariNuve",
"html_url": "https://github.com/HariNuve",
"followers_url": "https://api.github.com/users/HariNuve/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37336/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/37336/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/37335 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37335/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37335/comments | https://api.github.com/repos/huggingface/transformers/issues/37335/events | https://github.com/huggingface/transformers/pull/37335 | 2,976,027,279 | PR_kwDOCUB6oc6Rlp_l | 37,335 | Update VITS model card | {
"login": "princepride",
"id": 29850264,
"node_id": "MDQ6VXNlcjI5ODUwMjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/29850264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/princepride",
"html_url": "https://github.com/princepride",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-07T08:21:09 | 2025-04-15T20:16:06 | 2025-04-15T20:16:06 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37335",
"html_url": "https://github.com/huggingface/transformers/pull/37335",
"diff_url": "https://github.com/huggingface/transformers/pull/37335.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37335.patch",
"merged_at... | # What does this PR do?
This PR updates the VITS model card to follow the new Hugging Face model card format.
- Adds framework and optimization badges
- Updates the checkpoint discovery link to the official [[facebook?search_models=mms-tts](https://huggingface.co/facebook?search_models=mms-tts)](https://huggingf... | {
"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/37335/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/37335/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37334 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37334/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37334/comments | https://api.github.com/repos/huggingface/transformers/issues/37334/events | https://github.com/huggingface/transformers/issues/37334 | 2,975,754,834 | I_kwDOCUB6oc6xXmpS | 37,334 | Support LLMDet in transformers | {
"login": "fushh",
"id": 71886569,
"node_id": "MDQ6VXNlcjcxODg2NTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/71886569?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fushh",
"html_url": "https://github.com/fushh",
"followers_url": "https://api.github.com/users/fushh/follow... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | null | [] | 2025-04-07T06:23:44 | 2025-06-18T10:45:35 | null | NONE | null | null | null | null | ### Model description
Could you please kindly consider add [LLMDet](https://arxiv.org/abs/2501.18954) (CVPR2025 Highlight) to transformers, which is a next-generation open-vocabulary object detector. The architecture of LLMDet is similar to GroundingDino and most of the code can be reused. We have provide the code and... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37334/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/37334/timeline | null | null | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | false |
https://api.github.com/repos/huggingface/transformers/issues/37333 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37333/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37333/comments | https://api.github.com/repos/huggingface/transformers/issues/37333/events | https://github.com/huggingface/transformers/issues/37333 | 2,975,742,051 | I_kwDOCUB6oc6xXjhj | 37,333 | A shallow copy in groundingdino | {
"login": "fushh",
"id": 71886569,
"node_id": "MDQ6VXNlcjcxODg2NTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/71886569?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fushh",
"html_url": "https://github.com/fushh",
"followers_url": "https://api.github.com/users/fushh/follow... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
},
{
"id": 3817266200,
"node_id": "MDU6TGF... | closed | false | null | [] | null | [] | 2025-04-07T06:17:01 | 2025-05-30T13:02:20 | 2025-05-30T13:02:20 | NONE | null | null | null | null | ### System Info
A bug in source code
### Who can help?
_No response_
### Information
- [x] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction... | {
"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/37333/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/37333/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/37332 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37332/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37332/comments | https://api.github.com/repos/huggingface/transformers/issues/37332/events | https://github.com/huggingface/transformers/pull/37332 | 2,975,733,765 | PR_kwDOCUB6oc6Rkqs7 | 37,332 | Fix graph break in torch.compile when using FA2 with attention_mask=None and batch size > 1 | {
"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... | [] | closed | false | null | [] | null | [] | 2025-04-07T06:12:58 | 2025-06-25T07:58:59 | 2025-06-25T07:58:34 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37332",
"html_url": "https://github.com/huggingface/transformers/pull/37332",
"diff_url": "https://github.com/huggingface/transformers/pull/37332.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37332.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": "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/37332/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/37332/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37331 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37331/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37331/comments | https://api.github.com/repos/huggingface/transformers/issues/37331/events | https://github.com/huggingface/transformers/pull/37331 | 2,975,708,414 | PR_kwDOCUB6oc6RklPE | 37,331 | [fix] make legacy bnb code work | {
"login": "cyr0930",
"id": 14088169,
"node_id": "MDQ6VXNlcjE0MDg4MTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/14088169?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyr0930",
"html_url": "https://github.com/cyr0930",
"followers_url": "https://api.github.com/users/cyr093... | [] | closed | false | null | [] | null | [] | 2025-04-07T05:58:02 | 2025-04-22T09:17:29 | 2025-04-22T09:17:29 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37331",
"html_url": "https://github.com/huggingface/transformers/pull/37331",
"diff_url": "https://github.com/huggingface/transformers/pull/37331.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37331.patch",
"merged_at... | # What does this PR do?
bnb 8bit optimizer related logic doesn't work anymore because optimizer class name has been changed.
This logic set optim_bits to 32 instead of 8 to stabilize training with 8-bit optimizer.
And legacy code apply this only to 8bit-Adam, so I changed it to be applied to all 8-bit optimizers.
... | {
"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/37331/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/37331/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37330 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37330/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37330/comments | https://api.github.com/repos/huggingface/transformers/issues/37330/events | https://github.com/huggingface/transformers/pull/37330 | 2,975,675,769 | PR_kwDOCUB6oc6RkeLe | 37,330 | Add fuyu Fast Image Processor | {
"login": "Aravind-11",
"id": 42345018,
"node_id": "MDQ6VXNlcjQyMzQ1MDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/42345018?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Aravind-11",
"html_url": "https://github.com/Aravind-11",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-07T05:36:27 | 2025-04-13T04:22:04 | 2025-04-13T04:22:04 | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37330",
"html_url": "https://github.com/huggingface/transformers/pull/37330",
"diff_url": "https://github.com/huggingface/transformers/pull/37330.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37330.patch",
"merged_at... | # What does this PR do?
This PR introduces `FuyuImageProcessorFast`, providing a faster alternative to the original `FuyuImageProcessor` by leveraging `torchvision` for image transformations.
Key changes include:
- Implementation of `FuyuImageProcessorFast` inheriting from `BaseImageProcessorFast`.
- Adaptation... | {
"login": "Aravind-11",
"id": 42345018,
"node_id": "MDQ6VXNlcjQyMzQ1MDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/42345018?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Aravind-11",
"html_url": "https://github.com/Aravind-11",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37330/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/37330/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37329 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37329/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37329/comments | https://api.github.com/repos/huggingface/transformers/issues/37329/events | https://github.com/huggingface/transformers/pull/37329 | 2,975,546,332 | PR_kwDOCUB6oc6RkC32 | 37,329 | more fixes for post-training llama4 | {
"login": "winglian",
"id": 381258,
"node_id": "MDQ6VXNlcjM4MTI1OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/381258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/winglian",
"html_url": "https://github.com/winglian",
"followers_url": "https://api.github.com/users/winglia... | [
{
"id": 8103865784,
"node_id": "LA_kwDOCUB6oc8AAAAB4wctuA",
"url": "https://api.github.com/repos/huggingface/transformers/labels/for%20patch",
"name": "for patch",
"color": "D93F0B",
"default": false,
"description": "Tag issues / labels that should be included in the next patch"
}
] | closed | false | null | [] | null | [] | 2025-04-07T03:49:13 | 2025-04-07T20:30:41 | 2025-04-07T19:20:23 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37329",
"html_url": "https://github.com/huggingface/transformers/pull/37329",
"diff_url": "https://github.com/huggingface/transformers/pull/37329.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37329.patch",
"merged_at... | # What does this PR do?
Along with the changes in #37319 , these are also needed to train llama4.
The guard on the `past_key_values` cache is because that will be None during training.
this is a LoRA training on Scout
<img width="1787" alt="Screenshot 2025-04-06 at 11 59 57 PM" src="https://github.com/user-at... | {
"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/37329/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/37329/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37328 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37328/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37328/comments | https://api.github.com/repos/huggingface/transformers/issues/37328/events | https://github.com/huggingface/transformers/pull/37328 | 2,975,424,024 | PR_kwDOCUB6oc6Rjozo | 37,328 | Add QLIP Model | {
"login": "lavinal712",
"id": 98888959,
"node_id": "U_kgDOBeTs_w",
"avatar_url": "https://avatars.githubusercontent.com/u/98888959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lavinal712",
"html_url": "https://github.com/lavinal712",
"followers_url": "https://api.github.com/users/lavin... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2025-04-07T01:54:50 | 2025-08-09T04:31:03 | 2025-08-09T04:30:17 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37328",
"html_url": "https://github.com/huggingface/transformers/pull/37328",
"diff_url": "https://github.com/huggingface/transformers/pull/37328.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37328.patch",
"merged_at... | Fixes # (issue)
https://github.com/huggingface/transformers/issues/37165
## 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/transformers/blob/main/CONTRIBUTING.md#... | {
"login": "lavinal712",
"id": 98888959,
"node_id": "U_kgDOBeTs_w",
"avatar_url": "https://avatars.githubusercontent.com/u/98888959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lavinal712",
"html_url": "https://github.com/lavinal712",
"followers_url": "https://api.github.com/users/lavin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37328/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/37328/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37327 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37327/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37327/comments | https://api.github.com/repos/huggingface/transformers/issues/37327/events | https://github.com/huggingface/transformers/pull/37327 | 2,975,137,839 | PR_kwDOCUB6oc6RiuSQ | 37,327 | fix flex attn when optional args aren't passed | {
"login": "winglian",
"id": 381258,
"node_id": "MDQ6VXNlcjM4MTI1OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/381258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/winglian",
"html_url": "https://github.com/winglian",
"followers_url": "https://api.github.com/users/winglia... | [
{
"id": 8103865784,
"node_id": "LA_kwDOCUB6oc8AAAAB4wctuA",
"url": "https://api.github.com/repos/huggingface/transformers/labels/for%20patch",
"name": "for patch",
"color": "D93F0B",
"default": false,
"description": "Tag issues / labels that should be included in the next patch"
}
] | closed | false | null | [] | null | [] | 2025-04-06T18:57:45 | 2025-04-07T20:50:52 | 2025-04-07T07:12:22 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37327",
"html_url": "https://github.com/huggingface/transformers/pull/37327",
"diff_url": "https://github.com/huggingface/transformers/pull/37327.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37327.patch",
"merged_at... | # What does this PR do?
#37307 (llama4) introduced a regression in make_flex_block_causal_mask with new optional args that llama4 uses. It also added padding, but padding only works if the `key_length` isn't None. For all models except llama4, flex attention is now broken since none of them pass key_length, and curren... | {
"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/37327/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/37327/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37326 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37326/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37326/comments | https://api.github.com/repos/huggingface/transformers/issues/37326/events | https://github.com/huggingface/transformers/issues/37326 | 2,975,117,234 | I_kwDOCUB6oc6xVK-y | 37,326 | NameError: name 'init_empty_weights' is not defined | {
"login": "icode",
"id": 972959,
"node_id": "MDQ6VXNlcjk3Mjk1OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/972959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/icode",
"html_url": "https://github.com/icode",
"followers_url": "https://api.github.com/users/icode/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-06T18:22:12 | 2025-10-15T09:58:22 | 2025-04-07T21:12:46 | NONE | null | null | null | null | ### System Info
python 3.13
M4 macos 15.4
### 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 own task or dataset (give details below)
### Reprodu... | {
"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/37326/reactions",
"total_count": 18,
"+1": 18,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37326/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/37325 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37325/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37325/comments | https://api.github.com/repos/huggingface/transformers/issues/37325/events | https://github.com/huggingface/transformers/issues/37325 | 2,975,062,468 | I_kwDOCUB6oc6xU9nE | 37,325 | Llama4TextExperts module implementation | {
"login": "Godofnothing",
"id": 29793750,
"node_id": "MDQ6VXNlcjI5NzkzNzUw",
"avatar_url": "https://avatars.githubusercontent.com/u/29793750?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Godofnothing",
"html_url": "https://github.com/Godofnothing",
"followers_url": "https://api.github.c... | [
{
"id": 1834081910,
"node_id": "MDU6TGFiZWwxODM0MDgxOTEw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Usage",
"name": "Usage",
"color": "e28436",
"default": false,
"description": "General questions about the library"
},
{
"id": 3817266200,
"node_id":... | closed | false | null | [] | null | [] | 2025-04-06T16:40:52 | 2025-05-15T08:03:01 | 2025-05-15T08:03:01 | NONE | null | null | null | null | ### System Info
Llama4 model family adopts `MoE` layer implementation for better efficiency.
However, in the current [implementation](https://github.com/huggingface/transformers/blob/d1b92369ca193da49f9f7ecd01b08ece45c2c9aa/src/transformers/models/llama4/modeling_llama4.py#L85) MoE layer in fact performs an ordinary... | {
"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/37325/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/37325/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/37324 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37324/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37324/comments | https://api.github.com/repos/huggingface/transformers/issues/37324/events | https://github.com/huggingface/transformers/pull/37324 | 2,974,877,945 | PR_kwDOCUB6oc6Rh-Ld | 37,324 | Fix deepspeed with quantization | {
"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/... | [
{
"id": 8103865784,
"node_id": "LA_kwDOCUB6oc8AAAAB4wctuA",
"url": "https://api.github.com/repos/huggingface/transformers/labels/for%20patch",
"name": "for patch",
"color": "D93F0B",
"default": false,
"description": "Tag issues / labels that should be included in the next patch"
}
] | closed | false | null | [] | null | [] | 2025-04-06T11:03:11 | 2025-04-07T13:27:16 | 2025-04-07T09:36:44 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37324",
"html_url": "https://github.com/huggingface/transformers/pull/37324",
"diff_url": "https://github.com/huggingface/transformers/pull/37324.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37324.patch",
"merged_at... | # What does this PR do?
Alright, this should fix all deepspeed issues (finally). See here https://github.com/huggingface/transformers/pull/36963/files#diff-6b72b98c4c2dcfc6cc606843917733f5d858374fbc22a735ff483bbc0c1e63eaL4248-L4252, `low_cpu_mem_usage` was forbidden with deepspeed, but then still overriden here in t... | {
"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/37324/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37324/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37323 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37323/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37323/comments | https://api.github.com/repos/huggingface/transformers/issues/37323/events | https://github.com/huggingface/transformers/issues/37323 | 2,974,830,272 | I_kwDOCUB6oc6xUE7A | 37,323 | Llama 4: TypeError: pad(): argument 'pad' failed to unpack the object at pos 2 with error "type must be tuple of ints,but got NoneType" | {
"login": "daniel-dona",
"id": 23705091,
"node_id": "MDQ6VXNlcjIzNzA1MDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/23705091?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daniel-dona",
"html_url": "https://github.com/daniel-dona",
"followers_url": "https://api.github.com/... | [
{
"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-06T09:32:26 | 2025-04-07T07:21:14 | 2025-04-07T07:21:12 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.51.0
- Platform: Linux-6.8.0-57-generic-x86_64-with-glibc2.39
- Python version: 3.12.3
- Huggingface_hub version: 0.30.1
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU?): 2.6.... | {
"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/37323/reactions",
"total_count": 5,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37323/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/37322 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37322/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37322/comments | https://api.github.com/repos/huggingface/transformers/issues/37322/events | https://github.com/huggingface/transformers/issues/37322 | 2,974,809,818 | I_kwDOCUB6oc6xT_7a | 37,322 | Llama 4: eager attention results in wrong casual mask shape | {
"login": "Qubitium",
"id": 417764,
"node_id": "MDQ6VXNlcjQxNzc2NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/417764?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Qubitium",
"html_url": "https://github.com/Qubitium",
"followers_url": "https://api.github.com/users/Qubitiu... | [
{
"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-06T08:56:04 | 2025-04-08T13:44:27 | 2025-04-08T13:44:26 | CONTRIBUTOR | null | null | null | null | ### System Info
Latest transformers 4.51.0
### Who can help?
@ArthurZucker @SunMarc @MekkCyber I know you guys are probably burning an all-nighter due to Llama 4. =)
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `exam... | {
"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/37322/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/37322/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/37321 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37321/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37321/comments | https://api.github.com/repos/huggingface/transformers/issues/37321/events | https://github.com/huggingface/transformers/issues/37321 | 2,974,809,681 | I_kwDOCUB6oc6xT_5R | 37,321 | Shape Error in Llama4VisionMLP2 | {
"login": "priyammaz",
"id": 60265010,
"node_id": "MDQ6VXNlcjYwMjY1MDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/60265010?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/priyammaz",
"html_url": "https://github.com/priyammaz",
"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-06T08:55:44 | 2025-07-06T08:03:18 | 2025-07-06T08:03:18 | NONE | null | null | null | null | ### System Info
https://github.com/huggingface/transformers/blob/d1b92369ca193da49f9f7ecd01b08ece45c2c9aa/src/transformers/models/llama4/modeling_llama4.py#L1096
Im pretty sure this should be:
```python
self.fc2 = nn.Linear(config.projector_input_dim, config.projector_output_dim, bias=False)
```
### Who can help?
... | {
"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/37321/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/37321/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/37320 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37320/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37320/comments | https://api.github.com/repos/huggingface/transformers/issues/37320/events | https://github.com/huggingface/transformers/pull/37320 | 2,974,801,090 | PR_kwDOCUB6oc6RhwdW | 37,320 | Added fast image processing for ImageGPT - initial commit | {
"login": "wadkisson",
"id": 179639747,
"node_id": "U_kgDOCrUVww",
"avatar_url": "https://avatars.githubusercontent.com/u/179639747?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wadkisson",
"html_url": "https://github.com/wadkisson",
"followers_url": "https://api.github.com/users/wadkis... | [] | open | false | null | [] | null | [] | 2025-04-06T08:38:27 | 2025-05-07T12:37:26 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37320",
"html_url": "https://github.com/huggingface/transformers/pull/37320",
"diff_url": "https://github.com/huggingface/transformers/pull/37320.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37320.patch",
"merged_at... | Summary -
The PR modified the ImageGPT processor to implement PyTorch and TorchVision to replace NumPy and PIL operations for more efficient preprocessing. This PR keeps the same functionality of the original, slow processor but implemented BaseImageProcessorFast for more optimal speed.
Notes -
Hi everyone -- th... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37320/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/37320/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37319 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37319/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37319/comments | https://api.github.com/repos/huggingface/transformers/issues/37319/events | https://github.com/huggingface/transformers/pull/37319 | 2,974,708,391 | PR_kwDOCUB6oc6RhgB- | 37,319 | fix llama4 training | {
"login": "hiyouga",
"id": 16256802,
"node_id": "MDQ6VXNlcjE2MjU2ODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/16256802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hiyouga",
"html_url": "https://github.com/hiyouga",
"followers_url": "https://api.github.com/users/hiyoug... | [
{
"id": 8103865784,
"node_id": "LA_kwDOCUB6oc8AAAAB4wctuA",
"url": "https://api.github.com/repos/huggingface/transformers/labels/for%20patch",
"name": "for patch",
"color": "D93F0B",
"default": false,
"description": "Tag issues / labels that should be included in the next patch"
}
] | closed | false | null | [] | null | [] | 2025-04-06T05:45:04 | 2025-04-07T20:51:02 | 2025-04-07T07:24:44 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37319",
"html_url": "https://github.com/huggingface/transformers/pull/37319",
"diff_url": "https://github.com/huggingface/transformers/pull/37319.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37319.patch",
"merged_at... | # What does this PR do?
Fix some issues during Llama 4 training using transformers.

Reproduce: https://github.com/hiyouga/LLaMA-Factory/pull/7611
## Before submitting
- [ ] This PR fixes a typo or improves the docs (y... | {
"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/37319/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/37319/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37318 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37318/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37318/comments | https://api.github.com/repos/huggingface/transformers/issues/37318/events | https://github.com/huggingface/transformers/pull/37318 | 2,974,681,732 | PR_kwDOCUB6oc6Rhbp4 | 37,318 | Remove fsspec dependency which isn't directly used by transformers | {
"login": "cyyever",
"id": 17618148,
"node_id": "MDQ6VXNlcjE3NjE4MTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/17618148?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyyever",
"html_url": "https://github.com/cyyever",
"followers_url": "https://api.github.com/users/cyyeve... | [] | closed | false | null | [] | null | [] | 2025-04-06T04:32:23 | 2025-04-14T10:35:27 | 2025-04-14T10:02:28 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37318",
"html_url": "https://github.com/huggingface/transformers/pull/37318",
"diff_url": "https://github.com/huggingface/transformers/pull/37318.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37318.patch",
"merged_at... | # What does this PR do?
As the title says. | {
"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/37318/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/37318/timeline | null | null | null | null | true | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.