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/37822 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37822/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37822/comments | https://api.github.com/repos/huggingface/transformers/issues/37822/events | https://github.com/huggingface/transformers/pull/37822 | 3,023,989,709 | PR_kwDOCUB6oc6UHf9Z | 37,822 | Added False case implementation for config.do_stable_layer_norm in FlaxWav2vec2Models | {
"login": "ctr-pmuruganTT",
"id": 202670962,
"node_id": "U_kgDODBSDcg",
"avatar_url": "https://avatars.githubusercontent.com/u/202670962?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ctr-pmuruganTT",
"html_url": "https://github.com/ctr-pmuruganTT",
"followers_url": "https://api.github.c... | [
{
"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-28T07:33:00 | 2025-06-27T13:28:37 | 2025-06-27T13:28:36 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37822",
"html_url": "https://github.com/huggingface/transformers/pull/37822",
"diff_url": "https://github.com/huggingface/transformers/pull/37822.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37822.patch",
"merged_at... | # What does this PR do?
In [FlaxWa2Vec2](https://github.com/huggingface/transformers/blob/397a5ede33863d6f7137c771a68d40036cac0396/src/transformers/models/wav2vec2/modeling_flax_wav2vec2.py#L953) there is no implementation when `config.do_stable_layer_norm` is false.
There are more chances that we will get this ... | {
"login": "eustlb",
"id": 94853470,
"node_id": "U_kgDOBadZXg",
"avatar_url": "https://avatars.githubusercontent.com/u/94853470?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eustlb",
"html_url": "https://github.com/eustlb",
"followers_url": "https://api.github.com/users/eustlb/followers"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37822/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/37822/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37821 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37821/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37821/comments | https://api.github.com/repos/huggingface/transformers/issues/37821/events | https://github.com/huggingface/transformers/pull/37821 | 3,023,954,003 | PR_kwDOCUB6oc6UHYTz | 37,821 | [config] revert #37603 | {
"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-28T07:16:24 | 2025-04-28T14:28:30 | 2025-04-28T14:28:30 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37821",
"html_url": "https://github.com/huggingface/transformers/pull/37821",
"diff_url": "https://github.com/huggingface/transformers/pull/37821.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37821.patch",
"merged_at... | # What does this PR do?
#37603 introduced a regression by deleting a key from config which should not be deleted. This PR reverts the change
cc @BenjaminBossan to verify it works for PEFT
| {
"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/37821/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/37821/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37820 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37820/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37820/comments | https://api.github.com/repos/huggingface/transformers/issues/37820/events | https://github.com/huggingface/transformers/issues/37820 | 3,023,911,559 | I_kwDOCUB6oc60PTqH | 37,820 | When will transformers==4.51.4 be released? | {
"login": "FightingZhen",
"id": 26176607,
"node_id": "MDQ6VXNlcjI2MTc2NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/26176607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FightingZhen",
"html_url": "https://github.com/FightingZhen",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-04-28T06:57:27 | 2025-06-05T08:02:24 | 2025-06-05T08:02:24 | CONTRIBUTOR | null | null | null | null | As title, when will transformers==4.51.4 be released? A static version is required :) | {
"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/37820/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/37820/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/37819 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37819/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37819/comments | https://api.github.com/repos/huggingface/transformers/issues/37819/events | https://github.com/huggingface/transformers/pull/37819 | 3,023,581,331 | PR_kwDOCUB6oc6UGIKD | 37,819 | [llava] one pixel is missing from padding when length is odd | {
"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-28T03:12:49 | 2025-05-06T11:11:27 | 2025-05-06T11:11:26 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37819",
"html_url": "https://github.com/huggingface/transformers/pull/37819",
"diff_url": "https://github.com/huggingface/transformers/pull/37819.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37819.patch",
"merged_at... | One pixel is missing from padding when length is odd in llava family and aria model which is different from the logic in LLaVA-NeXT repo. In LLaVA-NeXT, this is automatically done as its logic resize image first and paste (or overwrite) original image to it (https://github.com/LLaVA-VL/LLaVA-NeXT/blob/main/llava/mm_uti... | {
"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/37819/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/37819/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37818 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37818/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37818/comments | https://api.github.com/repos/huggingface/transformers/issues/37818/events | https://github.com/huggingface/transformers/issues/37818 | 3,023,408,075 | I_kwDOCUB6oc60NYvL | 37,818 | Return type is not `List[...]`? | {
"login": "ChengLyu",
"id": 5308679,
"node_id": "MDQ6VXNlcjUzMDg2Nzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5308679?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ChengLyu",
"html_url": "https://github.com/ChengLyu",
"followers_url": "https://api.github.com/users/Cheng... | [] | closed | false | null | [] | null | [] | 2025-04-28T00:11:06 | 2025-06-05T08:02:26 | 2025-06-05T08:02:26 | CONTRIBUTOR | null | null | null | null | Trying to understand this line: https://github.com/huggingface/transformers/blob/main/src/transformers/cache_utils.py#L385
The return type is a `Tuple`, which contradicts line 379 claiming the return type is a `List`? | {
"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/37818/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/37818/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/37817 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37817/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37817/comments | https://api.github.com/repos/huggingface/transformers/issues/37817/events | https://github.com/huggingface/transformers/issues/37817 | 3,023,327,810 | I_kwDOCUB6oc60NFJC | 37,817 | Dinov2 With Registers includes register tokens in patch token mean for classifier input | {
"login": "psandovalsegura",
"id": 16195975,
"node_id": "MDQ6VXNlcjE2MTk1OTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/16195975?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/psandovalsegura",
"html_url": "https://github.com/psandovalsegura",
"followers_url": "https://api... | [
{
"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-27T21:16:40 | 2025-05-06T09:55:54 | 2025-05-06T09:55:54 | CONTRIBUTOR | null | null | null | null | ### System Info
- `transformers` version: 4.48.2
- Platform: Linux-4.18.0-553.50.1.el8_10.x86_64-x86_64-with-glibc2.28
- Python version: 3.9.21
- Huggingface_hub version: 0.28.1
- Safetensors version: 0.5.2
- Accelerate version: 1.3.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.6.0+cu124 (False)
- Te... | {
"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/37817/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/37817/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/37816 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37816/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37816/comments | https://api.github.com/repos/huggingface/transformers/issues/37816/events | https://github.com/huggingface/transformers/issues/37816 | 3,023,119,725 | I_kwDOCUB6oc60MSVt | 37,816 | Failed to load santacoder on multi-gpu with 4.51.3 | {
"login": "nv-guomingz",
"id": 137257613,
"node_id": "U_kgDOCC5ijQ",
"avatar_url": "https://avatars.githubusercontent.com/u/137257613?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nv-guomingz",
"html_url": "https://github.com/nv-guomingz",
"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-27T14:33:33 | 2025-05-28T09:08:24 | 2025-05-28T09:08:24 | CONTRIBUTOR | null | null | null | null | ### System Info
Hi, I just met another issue for loading [santacoder](https://huggingface.co/bigcode/santacoder) on multi-gpus with transformer 4.51.3.
```python
import transformers
model = transformers.AutoModelForCausalLM.from_pretrained('bigcode/santacoder/',
device_map='auto',
trust_remote_code=True)
... | {
"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/37816/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/37816/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/37815 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37815/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37815/comments | https://api.github.com/repos/huggingface/transformers/issues/37815/events | https://github.com/huggingface/transformers/issues/37815 | 3,023,026,644 | I_kwDOCUB6oc60L7nU | 37,815 | Misleading comment at image_processing_base.py | {
"login": "arjunaskykok",
"id": 32124593,
"node_id": "MDQ6VXNlcjMyMTI0NTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/32124593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arjunaskykok",
"html_url": "https://github.com/arjunaskykok",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-04-27T11:40:23 | 2025-04-30T13:31:30 | 2025-04-30T13:31:30 | CONTRIBUTOR | null | null | null | null | 
I think it should be "imported by both image_processing_utils and image_processing_utils_fast". | {
"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/37815/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/37815/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/37814 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37814/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37814/comments | https://api.github.com/repos/huggingface/transformers/issues/37814/events | https://github.com/huggingface/transformers/pull/37814 | 3,022,980,885 | PR_kwDOCUB6oc6UEPoK | 37,814 | [RT-DETR] Improve docs | {
"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-27T10:11:51 | 2025-04-28T11:19:25 | 2025-04-28T11:19:25 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37814",
"html_url": "https://github.com/huggingface/transformers/pull/37814",
"diff_url": "https://github.com/huggingface/transformers/pull/37814.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37814.patch",
"merged_at... | # What does this PR do?
This PR fixes a "todo" in the docs of RT-DETR. cc @SangbumChoi
Fixes #37800 | {
"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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37814/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/37814/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37813 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37813/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37813/comments | https://api.github.com/repos/huggingface/transformers/issues/37813/events | https://github.com/huggingface/transformers/issues/37813 | 3,022,945,589 | I_kwDOCUB6oc60Ln01 | 37,813 | qwen3-moe attention module is defined repeatedly. | {
"login": "Jintao-Huang",
"id": 45290347,
"node_id": "MDQ6VXNlcjQ1MjkwMzQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/45290347?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jintao-Huang",
"html_url": "https://github.com/Jintao-Huang",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-04-27T09:02:57 | 2025-05-09T06:33:38 | 2025-05-09T06:33:36 | CONTRIBUTOR | null | null | null | null | null | {
"login": "Jintao-Huang",
"id": 45290347,
"node_id": "MDQ6VXNlcjQ1MjkwMzQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/45290347?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jintao-Huang",
"html_url": "https://github.com/Jintao-Huang",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37813/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/37813/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/37812 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37812/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37812/comments | https://api.github.com/repos/huggingface/transformers/issues/37812/events | https://github.com/huggingface/transformers/issues/37812 | 3,022,819,766 | I_kwDOCUB6oc60LJG2 | 37,812 | When will transformers 4.51.4 be released? | {
"login": "FightingZhen",
"id": 26176607,
"node_id": "MDQ6VXNlcjI2MTc2NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/26176607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FightingZhen",
"html_url": "https://github.com/FightingZhen",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-04-27T06:21:48 | 2025-07-17T08:03:16 | 2025-07-17T08:03:16 | CONTRIBUTOR | null | null | null | null | As title, when will transformers 4.51.4 be released? Some new merged features are required for a specific release version :) | {
"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/37812/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/37812/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/37811 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37811/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37811/comments | https://api.github.com/repos/huggingface/transformers/issues/37811/events | https://github.com/huggingface/transformers/issues/37811 | 3,022,802,708 | I_kwDOCUB6oc60LE8U | 37,811 | ValueError: size must contain 'shortest_edge' and 'longest_edge' keys. | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [
{
"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-27T05:58:08 | 2025-06-04T08:02:28 | 2025-06-04T08:02:28 | NONE | null | null | null | null | ### System Info
transformer 4.51.3
python 3.12
### Who can help?
@amyeroberts
### Information
- [x] The official example scripts
- [ ] My own modified scripts
### Tasks
- [x] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Re... | {
"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/37811/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/37811/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/37810 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37810/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37810/comments | https://api.github.com/repos/huggingface/transformers/issues/37810/events | https://github.com/huggingface/transformers/pull/37810 | 3,022,782,477 | PR_kwDOCUB6oc6UDlr0 | 37,810 | qwen null pointer check. | {
"login": "zhanluxianshen",
"id": 161462588,
"node_id": "U_kgDOCZ-5PA",
"avatar_url": "https://avatars.githubusercontent.com/u/161462588?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhanluxianshen",
"html_url": "https://github.com/zhanluxianshen",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-04-27T05:28:40 | 2025-08-27T11:31:27 | 2025-08-27T11:31:27 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37810",
"html_url": "https://github.com/huggingface/transformers/pull/37810",
"diff_url": "https://github.com/huggingface/transformers/pull/37810.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37810.patch",
"merged_at... | null | {
"login": "zhanluxianshen",
"id": 161462588,
"node_id": "U_kgDOCZ-5PA",
"avatar_url": "https://avatars.githubusercontent.com/u/161462588?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhanluxianshen",
"html_url": "https://github.com/zhanluxianshen",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37810/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/37810/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37809 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37809/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37809/comments | https://api.github.com/repos/huggingface/transformers/issues/37809/events | https://github.com/huggingface/transformers/pull/37809 | 3,022,748,078 | PR_kwDOCUB6oc6UDd3l | 37,809 | Update ruff to 0.13.1 + target Python 3.10 + apply fixes | {
"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-27T05:02:44 | 2025-09-24T07:07:43 | 2025-09-24T06:37:21 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37809",
"html_url": "https://github.com/huggingface/transformers/pull/37809",
"diff_url": "https://github.com/huggingface/transformers/pull/37809.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37809.patch",
"merged_at... | # What does this PR do?
Use ruff 0.13.0 and apply fixes. | {
"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/37809/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/37809/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37808 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37808/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37808/comments | https://api.github.com/repos/huggingface/transformers/issues/37808/events | https://github.com/huggingface/transformers/pull/37808 | 3,022,733,840 | PR_kwDOCUB6oc6UDaqN | 37,808 | Add Optional to remaining types | {
"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-27T04:50:36 | 2025-04-28T13:41:35 | 2025-04-28T13:20:45 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37808",
"html_url": "https://github.com/huggingface/transformers/pull/37808",
"diff_url": "https://github.com/huggingface/transformers/pull/37808.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37808.patch",
"merged_at... | # What does this PR do?
While there is debate about enabling the related RUFF rules, the changes can be applied first.
| {
"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/37808/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/37808/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37807 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37807/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37807/comments | https://api.github.com/repos/huggingface/transformers/issues/37807/events | https://github.com/huggingface/transformers/issues/37807 | 3,022,489,658 | I_kwDOCUB6oc60J4g6 | 37,807 | Why does "is_causal = query.shape[2] > 1 and causal_mask is None"? | {
"login": "ChengLyu",
"id": 5308679,
"node_id": "MDQ6VXNlcjUzMDg2Nzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5308679?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ChengLyu",
"html_url": "https://github.com/ChengLyu",
"followers_url": "https://api.github.com/users/Cheng... | [] | closed | false | null | [] | null | [] | 2025-04-27T00:09:50 | 2025-04-27T04:57:05 | 2025-04-27T04:57:04 | CONTRIBUTOR | null | null | null | null | Trying to understand this [line](https://github.com/huggingface/transformers/blob/main/src/transformers/integrations/sdpa_attention.py#L47):
Why does "is_causal = query.shape[2] > 1 and causal_mask is None"? Does it mean that `is_causal` `true` if there is no causal mask? I tend to think the opposite?
Thank you for ... | {
"login": "ChengLyu",
"id": 5308679,
"node_id": "MDQ6VXNlcjUzMDg2Nzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5308679?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ChengLyu",
"html_url": "https://github.com/ChengLyu",
"followers_url": "https://api.github.com/users/Cheng... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37807/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/37807/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/37806 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37806/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37806/comments | https://api.github.com/repos/huggingface/transformers/issues/37806/events | https://github.com/huggingface/transformers/pull/37806 | 3,022,083,382 | PR_kwDOCUB6oc6UBSl9 | 37,806 | Translating model_doc/bert.md to Chinese | {
"login": "Nanji-Huaji",
"id": 63086636,
"node_id": "MDQ6VXNlcjYzMDg2NjM2",
"avatar_url": "https://avatars.githubusercontent.com/u/63086636?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Nanji-Huaji",
"html_url": "https://github.com/Nanji-Huaji",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-26T16:13:57 | 2025-05-19T17:14:58 | 2025-05-19T17:14:57 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37806",
"html_url": "https://github.com/huggingface/transformers/pull/37806",
"diff_url": "https://github.com/huggingface/transformers/pull/37806.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37806.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/37806/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/37806/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37805 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37805/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37805/comments | https://api.github.com/repos/huggingface/transformers/issues/37805/events | https://github.com/huggingface/transformers/issues/37805 | 3,021,999,963 | I_kwDOCUB6oc60IA9b | 37,805 | AutomaticMaskGeneration does not work with batch_size greater than 1 | {
"login": "MSt-10",
"id": 46164444,
"node_id": "MDQ6VXNlcjQ2MTY0NDQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/46164444?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MSt-10",
"html_url": "https://github.com/MSt-10",
"followers_url": "https://api.github.com/users/MSt-10/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-26T14:59:38 | 2025-06-04T08:02:30 | 2025-06-04T08:02:30 | CONTRIBUTOR | null | null | null | null | ### System Info
- `transformers` version: 4.50.0.dev0
- Platform: Linux-5.8.0-63-generic-x86_64-with-glibc2.31
- Python version: 3.11.10
- Huggingface_hub version: 0.29.1
- Safetensors version: 0.5.3
- Accelerate version: 1.4.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distributed_type: NO... | {
"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/37805/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/37805/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/37804 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37804/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37804/comments | https://api.github.com/repos/huggingface/transformers/issues/37804/events | https://github.com/huggingface/transformers/pull/37804 | 3,021,874,704 | PR_kwDOCUB6oc6UAogY | 37,804 | Superpoint fast image processor | {
"login": "arkhamHack",
"id": 72064090,
"node_id": "MDQ6VXNlcjcyMDY0MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/72064090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arkhamHack",
"html_url": "https://github.com/arkhamHack",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-26T13:30:21 | 2025-07-28T18:15:07 | 2025-07-28T18:15:07 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37804",
"html_url": "https://github.com/huggingface/transformers/pull/37804",
"diff_url": "https://github.com/huggingface/transformers/pull/37804.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37804.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/37804/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/37804/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37803 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37803/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37803/comments | https://api.github.com/repos/huggingface/transformers/issues/37803/events | https://github.com/huggingface/transformers/pull/37803 | 3,021,548,981 | PR_kwDOCUB6oc6T_j7O | 37,803 | [doc] fix the code examples in qwen doc | {
"login": "jiangyukunok",
"id": 7341895,
"node_id": "MDQ6VXNlcjczNDE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7341895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiangyukunok",
"html_url": "https://github.com/jiangyukunok",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | null | [] | 2025-04-26T06:22:48 | 2025-04-28T10:56:32 | 2025-04-28T10:56:32 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37803",
"html_url": "https://github.com/huggingface/transformers/pull/37803",
"diff_url": "https://github.com/huggingface/transformers/pull/37803.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37803.patch",
"merged_at... | # What does this PR do?
This PR fixes the incorrect variable names of code examples in Qwen model's doc.
<!--
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 ... | {
"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/37803/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/37803/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37802 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37802/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37802/comments | https://api.github.com/repos/huggingface/transformers/issues/37802/events | https://github.com/huggingface/transformers/pull/37802 | 3,021,505,278 | PR_kwDOCUB6oc6T_aw2 | 37,802 | Support `AOPerModuleConfig` and `include_embedding` | {
"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-26T05:18:26 | 2025-04-30T18:16:29 | 2025-04-30T18:16:29 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37802",
"html_url": "https://github.com/huggingface/transformers/pull/37802",
"diff_url": "https://github.com/huggingface/transformers/pull/37802.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37802.patch",
"merged_at... | Summary:
This PR adds support per module configuration for torchao Also added per module quantization examples:
1. Quantizing different layers with different quantization configs
2. Skip quantization for certain layers
Test Plan:
python tests/quantization/torchao_integration/test_torchao.py -k test_include_emb... | {
"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/37802/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/37802/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37801 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37801/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37801/comments | https://api.github.com/repos/huggingface/transformers/issues/37801/events | https://github.com/huggingface/transformers/pull/37801 | 3,021,411,759 | PR_kwDOCUB6oc6T_HIR | 37,801 | Fix: Correct tensor shape comment in Mamba modeling | {
"login": "ShadyPi",
"id": 125235534,
"node_id": "U_kgDOB3bxTg",
"avatar_url": "https://avatars.githubusercontent.com/u/125235534?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShadyPi",
"html_url": "https://github.com/ShadyPi",
"followers_url": "https://api.github.com/users/ShadyPi/foll... | [] | closed | false | null | [] | null | [] | 2025-04-26T02:58:04 | 2025-04-28T16:06:16 | 2025-04-28T10:56:42 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37801",
"html_url": "https://github.com/huggingface/transformers/pull/37801",
"diff_url": "https://github.com/huggingface/transformers/pull/37801.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37801.patch",
"merged_at... | # What does this PR do?
Correct a wrong tensor shape comment in Mamba modeling.
Fixes # (None, as no issue was explicitly mentioned)
The comment on line 307 of `src/transformers/models/mamba/modeling_mamba.py` incorrectly states the shape of the tensor `scan_output`. It should be `[batch, intermediade_size, se... | {
"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/37801/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/37801/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37800 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37800/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37800/comments | https://api.github.com/repos/huggingface/transformers/issues/37800/events | https://github.com/huggingface/transformers/issues/37800 | 3,021,407,812 | I_kwDOCUB6oc60FwZE | 37,800 | link is a 404 page | {
"login": "co63oc",
"id": 4617245,
"node_id": "MDQ6VXNlcjQ2MTcyNDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4617245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/co63oc",
"html_url": "https://github.com/co63oc",
"followers_url": "https://api.github.com/users/co63oc/foll... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-26T02:52:35 | 2025-04-28T11:19:26 | 2025-04-28T11:19:26 | CONTRIBUTOR | null | null | null | null | ### System Info
- `transformers` version: 4.52.0.dev0
- Platform: Linux-5.15.167.4-microsoft-standard-WSL2-x86_64-with-glibc2.35
- Python version: 3.10.0
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.5.2
### Who can help?
### Information
- [ ] The official example scripts
-... | {
"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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37800/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/37800/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/37799 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37799/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37799/comments | https://api.github.com/repos/huggingface/transformers/issues/37799/events | https://github.com/huggingface/transformers/pull/37799 | 3,021,305,326 | PR_kwDOCUB6oc6T-v40 | 37,799 | Fix typos in strings and comments | {
"login": "co63oc",
"id": 4617245,
"node_id": "MDQ6VXNlcjQ2MTcyNDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4617245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/co63oc",
"html_url": "https://github.com/co63oc",
"followers_url": "https://api.github.com/users/co63oc/foll... | [] | closed | false | null | [] | null | [] | 2025-04-26T01:01:53 | 2025-04-30T00:53:16 | 2025-04-28T10:39:12 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37799",
"html_url": "https://github.com/huggingface/transformers/pull/37799",
"diff_url": "https://github.com/huggingface/transformers/pull/37799.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37799.patch",
"merged_at... | # What does this PR do?
Fix typos in strings and comments found by codespell.
<!--
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... | {
"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/37799/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/37799/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37798 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37798/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37798/comments | https://api.github.com/repos/huggingface/transformers/issues/37798/events | https://github.com/huggingface/transformers/pull/37798 | 3,021,241,150 | PR_kwDOCUB6oc6T-iJI | 37,798 | Update configuration_rt_detr.py | {
"login": "co63oc",
"id": 4617245,
"node_id": "MDQ6VXNlcjQ2MTcyNDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4617245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/co63oc",
"html_url": "https://github.com/co63oc",
"followers_url": "https://api.github.com/users/co63oc/foll... | [] | closed | false | null | [] | null | [] | 2025-04-25T23:48:16 | 2025-04-30T00:53:17 | 2025-04-26T02:54:51 | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37798",
"html_url": "https://github.com/huggingface/transformers/pull/37798",
"diff_url": "https://github.com/huggingface/transformers/pull/37798.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37798.patch",
"merged_at... | # What does this PR do?
https://huggingface.co/checkpoing/todo is a 404 page. I do not known how to change it, just remove the link. If also remove "[checkpoing/todo]", the CI will encounter errors.

<!--
Congratulations! Y... | {
"login": "co63oc",
"id": 4617245,
"node_id": "MDQ6VXNlcjQ2MTcyNDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4617245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/co63oc",
"html_url": "https://github.com/co63oc",
"followers_url": "https://api.github.com/users/co63oc/foll... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37798/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/37798/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37797 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37797/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37797/comments | https://api.github.com/repos/huggingface/transformers/issues/37797/events | https://github.com/huggingface/transformers/pull/37797 | 3,020,648,453 | PR_kwDOCUB6oc6T8iPB | 37,797 | feat: Add support for HindiCausalLM (convaiinnovations/hindi-foundational-model-base) | {
"login": "NandhaKishorM",
"id": 48623612,
"node_id": "MDQ6VXNlcjQ4NjIzNjEy",
"avatar_url": "https://avatars.githubusercontent.com/u/48623612?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NandhaKishorM",
"html_url": "https://github.com/NandhaKishorM",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | [] | 2025-04-25T17:36:34 | 2025-04-28T17:38:04 | 2025-04-28T17:38:04 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37797",
"html_url": "https://github.com/huggingface/transformers/pull/37797",
"diff_url": "https://github.com/huggingface/transformers/pull/37797.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37797.patch",
"merged_at... | # What does this PR do?
This PR integrates the Hindi Causal Language Model developed by ConvAI Innovations (`convaiinnovations/hindi-foundational-model-base`) into the Hugging Face `transformers` library.
This allows users to easily load and use this publicly available Hindi language model using the standard `tra... | {
"login": "NandhaKishorM",
"id": 48623612,
"node_id": "MDQ6VXNlcjQ4NjIzNjEy",
"avatar_url": "https://avatars.githubusercontent.com/u/48623612?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NandhaKishorM",
"html_url": "https://github.com/NandhaKishorM",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37797/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/37797/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37796 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37796/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37796/comments | https://api.github.com/repos/huggingface/transformers/issues/37796/events | https://github.com/huggingface/transformers/pull/37796 | 3,020,538,319 | PR_kwDOCUB6oc6T8KK0 | 37,796 | Fix error message in `hub.py` | {
"login": "srai9",
"id": 119854721,
"node_id": "U_kgDOByTWgQ",
"avatar_url": "https://avatars.githubusercontent.com/u/119854721?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/srai9",
"html_url": "https://github.com/srai9",
"followers_url": "https://api.github.com/users/srai9/followers",
... | [] | closed | false | null | [] | null | [] | 2025-04-25T16:39:27 | 2025-04-25T21:03:07 | 2025-04-25T21:03:07 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37796",
"html_url": "https://github.com/huggingface/transformers/pull/37796",
"diff_url": "https://github.com/huggingface/transformers/pull/37796.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37796.patch",
"merged_at... | # What does this PR do?
This PR fixes a broken link in an error message in `hub.py`. A space is missing between the link and the following text.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline... | {
"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/37796/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/37796/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37795 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37795/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37795/comments | https://api.github.com/repos/huggingface/transformers/issues/37795/events | https://github.com/huggingface/transformers/pull/37795 | 3,020,515,458 | PR_kwDOCUB6oc6T8FJt | 37,795 | fix qwen2.5-omini cant be loaded from AutoModel | {
"login": "liwenju0",
"id": 16049564,
"node_id": "MDQ6VXNlcjE2MDQ5NTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/16049564?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liwenju0",
"html_url": "https://github.com/liwenju0",
"followers_url": "https://api.github.com/users/liw... | [] | open | false | null | [] | null | [] | 2025-04-25T16:28:06 | 2025-06-02T09:25:13 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37795",
"html_url": "https://github.com/huggingface/transformers/pull/37795",
"diff_url": "https://github.com/huggingface/transformers/pull/37795.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37795.patch",
"merged_at... | # What does this PR do?
Fixes # (issue) https://github.com/huggingface/transformers/issues/37794
## 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/transformer... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37795/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/37795/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37794 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37794/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37794/comments | https://api.github.com/repos/huggingface/transformers/issues/37794/events | https://github.com/huggingface/transformers/issues/37794 | 3,020,513,845 | I_kwDOCUB6oc60CWI1 | 37,794 | AutoModel cant load Qwen/Qwen2.5-0mni-7B | {
"login": "liwenju0",
"id": 16049564,
"node_id": "MDQ6VXNlcjE2MDQ5NTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/16049564?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liwenju0",
"html_url": "https://github.com/liwenju0",
"followers_url": "https://api.github.com/users/liw... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | {
"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... | [
{
"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:... | null | [] | 2025-04-25T16:27:11 | 2025-05-26T08:23:16 | null | NONE | null | null | null | null | ### System Info
```
from transformers import AutoModel
model = AutoModel.from pretrained("Qwen/Qwen2.5-0mni-7B",torch dtype="auto"trust remote code=True)
```
will raise error:

### Who can help?
_No response_
### Information
... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37794/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/37794/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/37793 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37793/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37793/comments | https://api.github.com/repos/huggingface/transformers/issues/37793/events | https://github.com/huggingface/transformers/issues/37793 | 3,020,473,140 | I_kwDOCUB6oc60CMM0 | 37,793 | Llama4 config is not compatible with model initialization | {
"login": "fingertap",
"id": 7274689,
"node_id": "MDQ6VXNlcjcyNzQ2ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7274689?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fingertap",
"html_url": "https://github.com/fingertap",
"followers_url": "https://api.github.com/users/fi... | [
{
"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-25T16:09:44 | 2025-04-28T03:10:36 | 2025-04-28T03:10:34 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.51.3
- Platform: Linux-5.15.0-126-generic-x86_64-with-glibc2.35
- Python version: 3.12.9
- Huggingface_hub version: 0.30.2 ... | {
"login": "fingertap",
"id": 7274689,
"node_id": "MDQ6VXNlcjcyNzQ2ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7274689?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fingertap",
"html_url": "https://github.com/fingertap",
"followers_url": "https://api.github.com/users/fi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37793/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/37793/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/37792 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37792/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37792/comments | https://api.github.com/repos/huggingface/transformers/issues/37792/events | https://github.com/huggingface/transformers/pull/37792 | 3,020,429,773 | PR_kwDOCUB6oc6T7yPf | 37,792 | Adding features like Tokenizer evaluation/benchmarking | {
"login": "Dharshinir004",
"id": 174322358,
"node_id": "U_kgDOCmPytg",
"avatar_url": "https://avatars.githubusercontent.com/u/174322358?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Dharshinir004",
"html_url": "https://github.com/Dharshinir004",
"followers_url": "https://api.github.com/... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
}
] | open | false | null | [] | null | [] | 2025-04-25T15:51:45 | 2025-06-02T09:25:01 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37792",
"html_url": "https://github.com/huggingface/transformers/pull/37792",
"diff_url": "https://github.com/huggingface/transformers/pull/37792.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37792.patch",
"merged_at... | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37792/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/37792/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37791 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37791/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37791/comments | https://api.github.com/repos/huggingface/transformers/issues/37791/events | https://github.com/huggingface/transformers/pull/37791 | 3,020,400,814 | PR_kwDOCUB6oc6T7r9h | 37,791 | Update granite.md | {
"login": "tanuj-rai",
"id": 84439872,
"node_id": "MDQ6VXNlcjg0NDM5ODcy",
"avatar_url": "https://avatars.githubusercontent.com/u/84439872?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanuj-rai",
"html_url": "https://github.com/tanuj-rai",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-25T15:37:24 | 2025-05-28T07:03:59 | 2025-05-27T19:55:15 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37791",
"html_url": "https://github.com/huggingface/transformers/pull/37791",
"diff_url": "https://github.com/huggingface/transformers/pull/37791.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37791.patch",
"merged_at... | # What does this PR do?
#36979,
This PR updates the model-card for the Granite model as described in https://github.com/huggingface/transformers/issues/36979,
## 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 [con... | {
"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/37791/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/37791/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37790 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37790/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37790/comments | https://api.github.com/repos/huggingface/transformers/issues/37790/events | https://github.com/huggingface/transformers/pull/37790 | 3,020,094,049 | PR_kwDOCUB6oc6T6ozC | 37,790 | Fix tensor parallel with non-floating dtypes | {
"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-25T13:36:50 | 2025-04-25T13:49:56 | 2025-04-25T13:48:16 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37790",
"html_url": "https://github.com/huggingface/transformers/pull/37790",
"diff_url": "https://github.com/huggingface/transformers/pull/37790.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37790.patch",
"merged_at... | # What does this PR do?
As per the title. https://github.com/huggingface/transformers/pull/37719 missed one location. Also fixes https://github.com/huggingface/transformers/issues/37765
| {
"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/37790/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/37790/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37789 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37789/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37789/comments | https://api.github.com/repos/huggingface/transformers/issues/37789/events | https://github.com/huggingface/transformers/issues/37789 | 3,020,061,999 | I_kwDOCUB6oc60An0v | 37,789 | Whisper chunking algorithm increases WER | {
"login": "asusdisciple",
"id": 138434950,
"node_id": "U_kgDOCEBZhg",
"avatar_url": "https://avatars.githubusercontent.com/u/138434950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asusdisciple",
"html_url": "https://github.com/asusdisciple",
"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
},
{
"id": 7377881103,
"node_id": "LA_kwDOCUB6oc8AAAABt8GIDw",
"url... | closed | false | null | [] | null | [] | 2025-04-25T13:25:21 | 2025-07-16T08:03:22 | 2025-07-16T08:03:22 | NONE | null | null | null | null | ### System Info
So I made a few experiments with whisper and seamless m4tv2 on the fleurs (concatenated files to 5min samples) dataset. I used the batching functionality by setting `chunk_length_s` to 30s and as is turns out the WER increases by **20%** over all languages compared to long form transcription (sequentia... | {
"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/37789/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/37789/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/37788 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37788/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37788/comments | https://api.github.com/repos/huggingface/transformers/issues/37788/events | https://github.com/huggingface/transformers/pull/37788 | 3,020,033,544 | PR_kwDOCUB6oc6T6boo | 37,788 | Fix donut backtracking | {
"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-25T13:14:00 | 2025-05-06T16:39:06 | 2025-05-06T16:39:04 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37788",
"html_url": "https://github.com/huggingface/transformers/pull/37788",
"diff_url": "https://github.com/huggingface/transformers/pull/37788.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37788.patch",
"merged_at... | There's an exploitable regex in the donut processor, this replaces it with less blowup-prone code! | {
"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/37788/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/37788/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37787 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37787/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37787/comments | https://api.github.com/repos/huggingface/transformers/issues/37787/events | https://github.com/huggingface/transformers/pull/37787 | 3,019,676,418 | PR_kwDOCUB6oc6T5Nvw | 37,787 | Align gpt2 mask preparation to #37612 | {
"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-25T10:38:46 | 2025-04-25T10:51:27 | 2025-04-25T10:50:30 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37787",
"html_url": "https://github.com/huggingface/transformers/pull/37787",
"diff_url": "https://github.com/huggingface/transformers/pull/37787.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37787.patch",
"merged_at... | # What does this PR do?
Align gpt2. This was a race condition in merging order of https://github.com/huggingface/transformers/pull/37612 and https://github.com/huggingface/transformers/pull/35761
It causes the following error https://app.circleci.com/pipelines/github/huggingface/transformers/128019/workflows/ba65aa... | {
"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/37787/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/37787/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37786 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37786/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37786/comments | https://api.github.com/repos/huggingface/transformers/issues/37786/events | https://github.com/huggingface/transformers/issues/37786 | 3,019,636,674 | I_kwDOCUB6oc6z-__C | 37,786 | Loading a Pytorch model from a Tensorflow saved model doesn't work | {
"login": "arjunaskykok",
"id": 32124593,
"node_id": "MDQ6VXNlcjMyMTI0NTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/32124593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arjunaskykok",
"html_url": "https://github.com/arjunaskykok",
"followers_url": "https://api.github.c... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
},
{
"id": 3817266200,
"node_id": "MDU6... | closed | false | null | [] | null | [] | 2025-04-25T10:19:44 | 2025-05-10T11:11:09 | 2025-05-10T11:11:09 | CONTRIBUTOR | null | null | null | null | ### System Info
- `transformers` version: 4.51.3
- Platform: Linux-6.1.123+-x86_64-with-glibc2.35
- Python version: 3.11.12
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.5.2
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU?): 2.6.0+cu124... | {
"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/37786/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/37786/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/37785 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37785/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37785/comments | https://api.github.com/repos/huggingface/transformers/issues/37785/events | https://github.com/huggingface/transformers/pull/37785 | 3,019,633,498 | PR_kwDOCUB6oc6T5EZS | 37,785 | Force torch>=2.6 with torch.load to avoid vulnerability issue | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-25T10:18:23 | 2025-05-07T12:03:31 | 2025-04-25T14:57:10 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37785",
"html_url": "https://github.com/huggingface/transformers/pull/37785",
"diff_url": "https://github.com/huggingface/transformers/pull/37785.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37785.patch",
"merged_at... | # What does this PR do?
As per the title, following the vulnerability report received. `torch.load` in unsafe even with `weights_only=True` for any version < 2.6
Whenever we do not have `weights_only=False` explicitly, either from user input or internally, we should raise an Error asking to upgrade torch.
This... | {
"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/37785/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 2,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37785/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37784 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37784/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37784/comments | https://api.github.com/repos/huggingface/transformers/issues/37784/events | https://github.com/huggingface/transformers/pull/37784 | 3,019,353,127 | PR_kwDOCUB6oc6T4HuY | 37,784 | Fix typos in strings and comments | {
"login": "co63oc",
"id": 4617245,
"node_id": "MDQ6VXNlcjQ2MTcyNDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4617245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/co63oc",
"html_url": "https://github.com/co63oc",
"followers_url": "https://api.github.com/users/co63oc/foll... | [] | closed | false | null | [] | null | [] | 2025-04-25T08:23:58 | 2025-04-30T00:53:18 | 2025-04-25T12:47:25 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37784",
"html_url": "https://github.com/huggingface/transformers/pull/37784",
"diff_url": "https://github.com/huggingface/transformers/pull/37784.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37784.patch",
"merged_at... | # What does this PR do?
Fix typos in strings and comments found by codespell.
<!--
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... | {
"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/37784/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/37784/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37783 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37783/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37783/comments | https://api.github.com/repos/huggingface/transformers/issues/37783/events | https://github.com/huggingface/transformers/pull/37783 | 3,019,284,747 | PR_kwDOCUB6oc6T35AE | 37,783 | fix total updates in epoch | {
"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-25T07:53:35 | 2025-05-02T11:19:57 | 2025-05-02T11:19:57 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37783",
"html_url": "https://github.com/huggingface/transformers/pull/37783",
"diff_url": "https://github.com/huggingface/transformers/pull/37783.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37783.patch",
"merged_at... | # What does this PR do?
described in #37777
fix errors in #34198
<!--
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... | {
"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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37783/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/37783/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37782 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37782/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37782/comments | https://api.github.com/repos/huggingface/transformers/issues/37782/events | https://github.com/huggingface/transformers/pull/37782 | 3,019,270,079 | PR_kwDOCUB6oc6T313V | 37,782 | Fix error of HPU TP | {
"login": "yuanwu2017",
"id": 34643241,
"node_id": "MDQ6VXNlcjM0NjQzMjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/34643241?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuanwu2017",
"html_url": "https://github.com/yuanwu2017",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-25T07:46:37 | 2025-04-28T13:47:17 | 2025-04-28T13:47:17 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37782",
"html_url": "https://github.com/huggingface/transformers/pull/37782",
"diff_url": "https://github.com/huggingface/transformers/pull/37782.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37782.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/37782/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/37782/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37781 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37781/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37781/comments | https://api.github.com/repos/huggingface/transformers/issues/37781/events | https://github.com/huggingface/transformers/pull/37781 | 3,019,255,385 | PR_kwDOCUB6oc6T3ys- | 37,781 | assign the correct torchao data layout for xpu | {
"login": "jiqing-feng",
"id": 107918818,
"node_id": "U_kgDOBm614g",
"avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiqing-feng",
"html_url": "https://github.com/jiqing-feng",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-25T07:39:44 | 2025-07-02T05:22:27 | 2025-05-21T15:21:55 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37781",
"html_url": "https://github.com/huggingface/transformers/pull/37781",
"diff_url": "https://github.com/huggingface/transformers/pull/37781.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37781.patch",
"merged_at... | Hi @Rocketknight1 @ArthurZucker . Same as CPU, the XPU requires a specific data layout to make torchao work. Please review this PR. Thanks! | {
"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/37781/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37781/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37780 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37780/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37780/comments | https://api.github.com/repos/huggingface/transformers/issues/37780/events | https://github.com/huggingface/transformers/issues/37780 | 3,019,254,097 | I_kwDOCUB6oc6z9ilR | 37,780 | Support multimodal models in vLLM with transformers backend | {
"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... | [
{
"id": 1834083927,
"node_id": "MDU6TGFiZWwxODM0MDgzOTI3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/External",
"name": "External",
"color": "fbca04",
"default": false,
"description": "Using the library with external tools (onnx, tflite, ...)"
},
{
"id"... | closed | false | {
"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... | [
{
"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:... | null | [] | 2025-04-25T07:39:06 | 2025-06-06T08:04:17 | 2025-06-06T08:04:16 | MEMBER | null | null | null | null | This is a tracker issue since there are now too many PRs here and there, all making some sort of standardization to help vLLM support vision LLMs.
What we need is:
- [x] Identical naming for special multimodal tokens, same way as we have `config.pad_token_id` (https://github.com/huggingface/transformers/pull/37573)
- ... | {
"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/37780/reactions",
"total_count": 8,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 4,
"confused": 0,
"heart": 0,
"rocket": 4,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37780/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/37779 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37779/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37779/comments | https://api.github.com/repos/huggingface/transformers/issues/37779/events | https://github.com/huggingface/transformers/pull/37779 | 3,019,205,368 | PR_kwDOCUB6oc6T3oJS | 37,779 | enable internvl UTs on XPU | {
"login": "yao-matrix",
"id": 7245027,
"node_id": "MDQ6VXNlcjcyNDUwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7245027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yao-matrix",
"html_url": "https://github.com/yao-matrix",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-04-25T07:15:47 | 2025-05-05T22:36:23 | 2025-04-30T08:29:41 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37779",
"html_url": "https://github.com/huggingface/transformers/pull/37779",
"diff_url": "https://github.com/huggingface/transformers/pull/37779.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37779.patch",
"merged_at... | `pytest -rA tests/models/internvl/test_modeling_internvl.py`
137 cases PASSED, 4 failed cases are same as CUDA, will investigate in separate efforts.
FAILED tests/models/internvl/test_modeling_internvl.py::InternVLModelTest::test_resize_embeddings_untied_with_deepspeed
FAILED tests/models/internvl/test_modeling_... | {
"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/37779/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/37779/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37778 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37778/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37778/comments | https://api.github.com/repos/huggingface/transformers/issues/37778/events | https://github.com/huggingface/transformers/issues/37778 | 3,019,121,701 | I_kwDOCUB6oc6z9CQl | 37,778 | Report AssertionError: Torch not compiled with CUDA enabled on npu machine | {
"login": "vfdff",
"id": 6094516,
"node_id": "MDQ6VXNlcjYwOTQ1MTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6094516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vfdff",
"html_url": "https://github.com/vfdff",
"followers_url": "https://api.github.com/users/vfdff/follower... | [
{
"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-25T06:31:19 | 2025-04-25T06:40:08 | 2025-04-25T06:40:08 | NONE | null | null | null | null | ### System Info
transformers 4.51.3
python3.9
### Who can help?
Ascend NPU: @ivarflakstad
### 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 dat... | {
"login": "vfdff",
"id": 6094516,
"node_id": "MDQ6VXNlcjYwOTQ1MTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6094516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vfdff",
"html_url": "https://github.com/vfdff",
"followers_url": "https://api.github.com/users/vfdff/follower... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37778/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/37778/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/37777 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37777/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37777/comments | https://api.github.com/repos/huggingface/transformers/issues/37777/events | https://github.com/huggingface/transformers/issues/37777 | 3,018,975,461 | I_kwDOCUB6oc6z8ejl | 37,777 | [Trainer] tot update steps is incorrect | {
"login": "efsotr",
"id": 104755879,
"node_id": "U_kgDOBj5ypw",
"avatar_url": "https://avatars.githubusercontent.com/u/104755879?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efsotr",
"html_url": "https://github.com/efsotr",
"followers_url": "https://api.github.com/users/efsotr/follower... | [
{
"id": 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-25T04:48:24 | 2025-05-12T15:45:26 | 2025-05-12T15:45:26 | CONTRIBUTOR | null | null | null | null | ### System Info
latest main
### Who can help?
@ArthurZucker
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [x] My own task or dataset (give details below)
### Reproduction
num_ex... | {
"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/37777/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/37777/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/37776 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37776/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37776/comments | https://api.github.com/repos/huggingface/transformers/issues/37776/events | https://github.com/huggingface/transformers/issues/37776 | 3,018,941,467 | I_kwDOCUB6oc6z8WQb | 37,776 | Confusing `split_batches` argument | {
"login": "alvanli",
"id": 51011489,
"node_id": "MDQ6VXNlcjUxMDExNDg5",
"avatar_url": "https://avatars.githubusercontent.com/u/51011489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alvanli",
"html_url": "https://github.com/alvanli",
"followers_url": "https://api.github.com/users/alvanl... | [
{
"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-25T04:16:24 | 2025-04-25T04:27:39 | 2025-04-25T04:27:38 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.51.3
- Platform: Linux-6.8.0-52-generic-x86_64-with-glibc2.35
- Python version: 3.11.9
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU?): 2.... | {
"login": "alvanli",
"id": 51011489,
"node_id": "MDQ6VXNlcjUxMDExNDg5",
"avatar_url": "https://avatars.githubusercontent.com/u/51011489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alvanli",
"html_url": "https://github.com/alvanli",
"followers_url": "https://api.github.com/users/alvanl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37776/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/37776/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/37775 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37775/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37775/comments | https://api.github.com/repos/huggingface/transformers/issues/37775/events | https://github.com/huggingface/transformers/issues/37775 | 3,018,872,923 | I_kwDOCUB6oc6z8Fhb | 37,775 | error: subprocess-exited-with-error when install transformerspython | {
"login": "vfdff",
"id": 6094516,
"node_id": "MDQ6VXNlcjYwOTQ1MTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6094516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vfdff",
"html_url": "https://github.com/vfdff",
"followers_url": "https://api.github.com/users/vfdff/follower... | [
{
"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-25T03:06:26 | 2025-06-02T08:02:59 | 2025-06-02T08:02:59 | NONE | null | null | null | null | ### System Info
Python 3.8.17
### 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)
### Reproduction
/data... | {
"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/37775/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/37775/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/37774 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37774/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37774/comments | https://api.github.com/repos/huggingface/transformers/issues/37774/events | https://github.com/huggingface/transformers/pull/37774 | 3,018,821,229 | PR_kwDOCUB6oc6T2XEq | 37,774 | enable xpu in test_trainer | {
"login": "yao-matrix",
"id": 7245027,
"node_id": "MDQ6VXNlcjcyNDUwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7245027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yao-matrix",
"html_url": "https://github.com/yao-matrix",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-04-25T02:17:56 | 2025-05-06T22:47:20 | 2025-05-06T15:13:36 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37774",
"html_url": "https://github.com/huggingface/transformers/pull/37774",
"diff_url": "https://github.com/huggingface/transformers/pull/37774.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37774.patch",
"merged_at... | 128 PASSED, 27 FAILED for lacking of `optimizer_update_32bit` xpu op in BNB, the implementation in under going, once done, will pass after PR merged to bnb. | {
"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/37774/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/37774/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37773 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37773/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37773/comments | https://api.github.com/repos/huggingface/transformers/issues/37773/events | https://github.com/huggingface/transformers/pull/37773 | 3,018,663,564 | PR_kwDOCUB6oc6T12Up | 37,773 | fix performance issue in convert_ids_to_tokens | {
"login": "martin-harmonic",
"id": 156004542,
"node_id": "U_kgDOCUxwvg",
"avatar_url": "https://avatars.githubusercontent.com/u/156004542?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/martin-harmonic",
"html_url": "https://github.com/martin-harmonic",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | [] | 2025-04-24T23:38:58 | 2025-04-25T20:00:50 | 2025-04-25T20:00:50 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37773",
"html_url": "https://github.com/huggingface/transformers/pull/37773",
"diff_url": "https://github.com/huggingface/transformers/pull/37773.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37773.patch",
"merged_at... | null | {
"login": "itazap",
"id": 31893021,
"node_id": "MDQ6VXNlcjMxODkzMDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/31893021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/itazap",
"html_url": "https://github.com/itazap",
"followers_url": "https://api.github.com/users/itazap/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37773/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/37773/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37772 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37772/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37772/comments | https://api.github.com/repos/huggingface/transformers/issues/37772/events | https://github.com/huggingface/transformers/pull/37772 | 3,018,548,114 | PR_kwDOCUB6oc6T1dgB | 37,772 | [torch.compile] Remove compiler related configs from model_kwargs | {
"login": "anijain2305",
"id": 13822661,
"node_id": "MDQ6VXNlcjEzODIyNjYx",
"avatar_url": "https://avatars.githubusercontent.com/u/13822661?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anijain2305",
"html_url": "https://github.com/anijain2305",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-24T21:58:37 | 2025-04-29T20:01:06 | 2025-04-29T20:01:06 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37772",
"html_url": "https://github.com/huggingface/transformers/pull/37772",
"diff_url": "https://github.com/huggingface/transformers/pull/37772.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37772.patch",
"merged_at... | # What does this PR do?
This allows us to add arguments `disable_compile` and `compile_config` while calling `from_pretrained` and control `torch.compile` from the user program.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did ... | {
"login": "anijain2305",
"id": 13822661,
"node_id": "MDQ6VXNlcjEzODIyNjYx",
"avatar_url": "https://avatars.githubusercontent.com/u/13822661?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anijain2305",
"html_url": "https://github.com/anijain2305",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37772/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/37772/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37771 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37771/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37771/comments | https://api.github.com/repos/huggingface/transformers/issues/37771/events | https://github.com/huggingface/transformers/issues/37771 | 3,018,537,026 | I_kwDOCUB6oc6z6zhC | 37,771 | Force the model to write some tokens mid-generation? | {
"login": "ccocks",
"id": 96586789,
"node_id": "U_kgDOBcHMJQ",
"avatar_url": "https://avatars.githubusercontent.com/u/96586789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ccocks",
"html_url": "https://github.com/ccocks",
"followers_url": "https://api.github.com/users/ccocks/followers"... | [
{
"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-24T21:50:32 | 2025-04-25T19:02:22 | null | NONE | null | null | null | null | ### Feature request
Here’s an example:
User: Hello make a python function for something
Assistant: Here’s an function for that:
def function():
pass
<codetests> ← This is a line we tuned the model to generate
import pytest
assert foo == bar
</codetests> ← Execute the tests right after this token was predicted
Result... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37771/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/37771/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/37770 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37770/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37770/comments | https://api.github.com/repos/huggingface/transformers/issues/37770/events | https://github.com/huggingface/transformers/pull/37770 | 3,018,284,379 | PR_kwDOCUB6oc6T0kZd | 37,770 | New Model: Ava | {
"login": "Kuduxaaa",
"id": 68453819,
"node_id": "MDQ6VXNlcjY4NDUzODE5",
"avatar_url": "https://avatars.githubusercontent.com/u/68453819?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kuduxaaa",
"html_url": "https://github.com/Kuduxaaa",
"followers_url": "https://api.github.com/users/Kud... | [] | closed | false | null | [] | null | [] | 2025-04-24T19:41:45 | 2025-04-28T03:50:09 | 2025-04-28T03:50:09 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37770",
"html_url": "https://github.com/huggingface/transformers/pull/37770",
"diff_url": "https://github.com/huggingface/transformers/pull/37770.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37770.patch",
"merged_at... | # 🚀 Add AvaModel: A Scalable & Efficient LLM Architecture
## Overview
This PR introduces **AvaModel**, a new transformer-based language model architecture designed for high performance across different scales (100M to 100B parameters).
## Architecture Highlights
```python
AvaForCausalLM(
(model): AvaMod... | {
"login": "Kuduxaaa",
"id": 68453819,
"node_id": "MDQ6VXNlcjY4NDUzODE5",
"avatar_url": "https://avatars.githubusercontent.com/u/68453819?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kuduxaaa",
"html_url": "https://github.com/Kuduxaaa",
"followers_url": "https://api.github.com/users/Kud... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37770/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/37770/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37769 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37769/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37769/comments | https://api.github.com/repos/huggingface/transformers/issues/37769/events | https://github.com/huggingface/transformers/pull/37769 | 3,018,252,837 | PR_kwDOCUB6oc6T0dn3 | 37,769 | Vectorize deepseek moe | {
"login": "eljandoubi",
"id": 78537694,
"node_id": "MDQ6VXNlcjc4NTM3Njk0",
"avatar_url": "https://avatars.githubusercontent.com/u/78537694?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eljandoubi",
"html_url": "https://github.com/eljandoubi",
"followers_url": "https://api.github.com/use... | [] | open | false | null | [] | null | [] | 2025-04-24T19:26:05 | 2025-07-16T15:11:43 | null | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37769",
"html_url": "https://github.com/huggingface/transformers/pull/37769",
"diff_url": "https://github.com/huggingface/transformers/pull/37769.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37769.patch",
"merged_at... | # What does this PR do?
Vectorize deepseek moe
## Who can review?
Models:
- text models: @ArthurZucker
| null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37769/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/37769/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37768 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37768/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37768/comments | https://api.github.com/repos/huggingface/transformers/issues/37768/events | https://github.com/huggingface/transformers/pull/37768 | 3,017,834,395 | PR_kwDOCUB6oc6TzBns | 37,768 | unpin pytest<8 | {
"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-24T16:36:29 | 2025-04-25T10:34:35 | 2025-04-25T10:34:33 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37768",
"html_url": "https://github.com/huggingface/transformers/pull/37768",
"diff_url": "https://github.com/huggingface/transformers/pull/37768.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37768.patch",
"merged_at... | # What does this PR do?
unpin pytest<8 to see if we get rid of
> Too long with no output (exceeded 10m0s): context deadline exceeded
as discussed internally https://huggingface.slack.com/archives/C01NE71C4F7/p1745514692206779?thread_ts=1745423231.198669&cid=C01NE71C4F7 | {
"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/37768/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/37768/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37767 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37767/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37767/comments | https://api.github.com/repos/huggingface/transformers/issues/37767/events | https://github.com/huggingface/transformers/pull/37767 | 3,017,810,292 | PR_kwDOCUB6oc6Ty8VN | 37,767 | Fix santacoder model loading issue #37765 | {
"login": "nv-guomingz",
"id": 137257613,
"node_id": "U_kgDOCC5ijQ",
"avatar_url": "https://avatars.githubusercontent.com/u/137257613?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nv-guomingz",
"html_url": "https://github.com/nv-guomingz",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-24T16:26:55 | 2025-04-27T01:31:27 | 2025-04-27T01:31:27 | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37767",
"html_url": "https://github.com/huggingface/transformers/pull/37767",
"diff_url": "https://github.com/huggingface/transformers/pull/37767.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37767.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": "nv-guomingz",
"id": 137257613,
"node_id": "U_kgDOCC5ijQ",
"avatar_url": "https://avatars.githubusercontent.com/u/137257613?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nv-guomingz",
"html_url": "https://github.com/nv-guomingz",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37767/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/37767/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37766 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37766/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37766/comments | https://api.github.com/repos/huggingface/transformers/issues/37766/events | https://github.com/huggingface/transformers/issues/37766 | 3,017,805,055 | I_kwDOCUB6oc6z4Az_ | 37,766 | [Trainer] As gradient_accumulation_steps increases, the loss also increases | {
"login": "efsotr",
"id": 104755879,
"node_id": "U_kgDOBj5ypw",
"avatar_url": "https://avatars.githubusercontent.com/u/104755879?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/efsotr",
"html_url": "https://github.com/efsotr",
"followers_url": "https://api.github.com/users/efsotr/follower... | [
{
"id": 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-24T16:24:25 | 2025-06-02T08:03:02 | 2025-06-02T08:03:02 | CONTRIBUTOR | null | null | null | null | ### System Info
transformers 4.47.1
### Who can help?
@ArthurZucker
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [x] My own task or dataset (give details below)
### Reproduction... | {
"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/37766/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/37766/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/37765 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37765/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37765/comments | https://api.github.com/repos/huggingface/transformers/issues/37765/events | https://github.com/huggingface/transformers/issues/37765 | 3,017,800,915 | I_kwDOCUB6oc6z3_zT | 37,765 | Failed to load santacoder model with transformer 4.51.3, it's a similar issue like #37737 | {
"login": "nv-guomingz",
"id": 137257613,
"node_id": "U_kgDOCC5ijQ",
"avatar_url": "https://avatars.githubusercontent.com/u/137257613?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nv-guomingz",
"html_url": "https://github.com/nv-guomingz",
"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-24T16:23:04 | 2025-04-25T13:48:17 | 2025-04-25T13:48:17 | CONTRIBUTOR | null | null | null | null |
### System Info
Hi, I just installed transformers 4.51.3 on linux system with nvidia gpu.
When I tried to run below code snippet
```python
import transformers
model = transformers.AutoModelForCausalLM.from_pretrained('bigcode/santacoder', device_map='auto', trust_remote_code=True)
```
Meanwhile, I set below envs
... | {
"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/37765/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/37765/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/37764 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37764/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37764/comments | https://api.github.com/repos/huggingface/transformers/issues/37764/events | https://github.com/huggingface/transformers/pull/37764 | 3,017,772,336 | PR_kwDOCUB6oc6Ty0Fb | 37,764 | Define warmup allocator for torchao 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... | [] | closed | false | null | [] | null | [] | 2025-04-24T16:10:55 | 2025-04-28T08:45:56 | 2025-04-28T08:45:55 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37764",
"html_url": "https://github.com/huggingface/transformers/pull/37764",
"diff_url": "https://github.com/huggingface/transformers/pull/37764.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37764.patch",
"merged_at... | # What does this PR do?
Since when computing the total number of bytes of a torchao quantized model using : `param_byte_count = param.numel() * param.element_size()` the `param.element_size()` is not correct, we need to account for that and have a factor of 4 for `int8` models and a factor of `8` for `int4` models | {
"login": "MekkCyber",
"id": 93391238,
"node_id": "U_kgDOBZEJhg",
"avatar_url": "https://avatars.githubusercontent.com/u/93391238?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MekkCyber",
"html_url": "https://github.com/MekkCyber",
"followers_url": "https://api.github.com/users/MekkCybe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37764/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/37764/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37763 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37763/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37763/comments | https://api.github.com/repos/huggingface/transformers/issues/37763/events | https://github.com/huggingface/transformers/pull/37763 | 3,017,733,455 | PR_kwDOCUB6oc6TyrnV | 37,763 | general spm converter | {
"login": "itazap",
"id": 31893021,
"node_id": "MDQ6VXNlcjMxODkzMDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/31893021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/itazap",
"html_url": "https://github.com/itazap",
"followers_url": "https://api.github.com/users/itazap/fo... | [] | open | false | null | [] | null | [] | 2025-04-24T15:55:07 | 2025-05-19T14:03:59 | null | COLLABORATOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37763",
"html_url": "https://github.com/huggingface/transformers/pull/37763",
"diff_url": "https://github.com/huggingface/transformers/pull/37763.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37763.patch",
"merged_at... | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37763/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/37763/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37762 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37762/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37762/comments | https://api.github.com/repos/huggingface/transformers/issues/37762/events | https://github.com/huggingface/transformers/pull/37762 | 3,017,686,865 | PR_kwDOCUB6oc6Tyhlq | 37,762 | Add update_tp_plan() for Quark | {
"login": "amd-xiaoyu12",
"id": 188109516,
"node_id": "U_kgDOCzZSzA",
"avatar_url": "https://avatars.githubusercontent.com/u/188109516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amd-xiaoyu12",
"html_url": "https://github.com/amd-xiaoyu12",
"followers_url": "https://api.github.com/use... | [] | open | false | null | [] | null | [] | 2025-04-24T15:37:02 | 2025-04-29T00:17:23 | null | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37762",
"html_url": "https://github.com/huggingface/transformers/pull/37762",
"diff_url": "https://github.com/huggingface/transformers/pull/37762.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37762.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/37762/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/37762/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37761 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37761/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37761/comments | https://api.github.com/repos/huggingface/transformers/issues/37761/events | https://github.com/huggingface/transformers/pull/37761 | 3,017,654,125 | PR_kwDOCUB6oc6Tyapm | 37,761 | Update TP plan for Quark | {
"login": "amd-xiaoyu12",
"id": 188109516,
"node_id": "U_kgDOCzZSzA",
"avatar_url": "https://avatars.githubusercontent.com/u/188109516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amd-xiaoyu12",
"html_url": "https://github.com/amd-xiaoyu12",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-24T15:24:33 | 2025-04-24T15:39:30 | 2025-04-24T15:25:17 | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37761",
"html_url": "https://github.com/huggingface/transformers/pull/37761",
"diff_url": "https://github.com/huggingface/transformers/pull/37761.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37761.patch",
"merged_at... | # What does this PR do?
Add update_tp_plan() to Qurak
<!--
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.... | {
"login": "amd-xiaoyu12",
"id": 188109516,
"node_id": "U_kgDOCzZSzA",
"avatar_url": "https://avatars.githubusercontent.com/u/188109516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amd-xiaoyu12",
"html_url": "https://github.com/amd-xiaoyu12",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37761/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/37761/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37760 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37760/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37760/comments | https://api.github.com/repos/huggingface/transformers/issues/37760/events | https://github.com/huggingface/transformers/pull/37760 | 3,017,589,967 | PR_kwDOCUB6oc6TyM1u | 37,760 | [deps] pin max `torch` version | {
"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-24T15:01:59 | 2025-05-14T10:22:35 | 2025-04-24T15:18:25 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37760",
"html_url": "https://github.com/huggingface/transformers/pull/37760",
"diff_url": "https://github.com/huggingface/transformers/pull/37760.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37760.patch",
"merged_at... | # What does this PR do?
At a first glance, `torch==2.7.0` results in very big slowdowns with `torch.compile` -- >10x slower in my test runs
This PR pins `torch` while we investigate it.
_____________________________________
Benchmark script:
```py
import copy
import os
import torch
from torch.utils imp... | {
"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/37760/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 2,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37760/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37759 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37759/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37759/comments | https://api.github.com/repos/huggingface/transformers/issues/37759/events | https://github.com/huggingface/transformers/pull/37759 | 3,017,524,940 | PR_kwDOCUB6oc6Tx-tL | 37,759 | Fix auto-round hfoption | {
"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-24T14:39:54 | 2025-04-24T16:19:40 | 2025-04-24T16:19:38 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37759",
"html_url": "https://github.com/huggingface/transformers/pull/37759",
"diff_url": "https://github.com/huggingface/transformers/pull/37759.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37759.patch",
"merged_at... | # What does this PR do?
Fixes `auto-round` docs using `hfoption`
| {
"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/37759/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/37759/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37758 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37758/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37758/comments | https://api.github.com/repos/huggingface/transformers/issues/37758/events | https://github.com/huggingface/transformers/pull/37758 | 3,017,517,345 | PR_kwDOCUB6oc6Tx9Dm | 37,758 | Fix tied weight loading with TP and loading sub state_dicts | {
"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-24T14:37:15 | 2025-04-24T14:50:12 | 2025-04-24T14:47:40 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37758",
"html_url": "https://github.com/huggingface/transformers/pull/37758",
"diff_url": "https://github.com/huggingface/transformers/pull/37758.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37758.patch",
"merged_at... | # What does this PR do?
See https://github.com/huggingface/transformers/issues/37737 | {
"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/37758/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/37758/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37757 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37757/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37757/comments | https://api.github.com/repos/huggingface/transformers/issues/37757/events | https://github.com/huggingface/transformers/pull/37757 | 3,017,487,425 | PR_kwDOCUB6oc6Tx2kl | 37,757 | FIX: Faulty PEFT tests | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | null | [] | 2025-04-24T14:27:15 | 2025-04-28T13:10:54 | 2025-04-28T13:10:47 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37757",
"html_url": "https://github.com/huggingface/transformers/pull/37757",
"diff_url": "https://github.com/huggingface/transformers/pull/37757.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37757.patch",
"merged_at... | Two [PEFT tests are actually failing](https://github.com/huggingface/transformers/actions/runs/14632303734/job/41057310419#step:13:241):
- `tests/peft_integration/test_peft_integration.py::PeftIntegrationTester::test_delete_adapter`
- `tests/peft_integration/test_peft_integration.py::PeftIntegrationTester::test_pef... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37757/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/37757/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37756 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37756/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37756/comments | https://api.github.com/repos/huggingface/transformers/issues/37756/events | https://github.com/huggingface/transformers/pull/37756 | 3,017,350,061 | PR_kwDOCUB6oc6TxY0B | 37,756 | [generate] fix default autocompile case on gpu | {
"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-24T13:43:51 | 2025-04-24T14:08:39 | 2025-04-24T14:08:39 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37756",
"html_url": "https://github.com/huggingface/transformers/pull/37756",
"diff_url": "https://github.com/huggingface/transformers/pull/37756.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37756.patch",
"merged_at... | # What does this PR do?
(I didn't run slow tests before merging #37709 , the CPU tests of the push ci didn't caught this issue)
reproducer, requires GPU
```py
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct")
model = AutoMode... | {
"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/37756/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/37756/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37755 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37755/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37755/comments | https://api.github.com/repos/huggingface/transformers/issues/37755/events | https://github.com/huggingface/transformers/pull/37755 | 3,017,215,044 | PR_kwDOCUB6oc6Tw7pP | 37,755 | Guard DeepSpeed imports | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [] | closed | false | null | [] | null | [] | 2025-04-24T13:02:30 | 2025-04-24T16:16:35 | 2025-04-24T16:16:34 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37755",
"html_url": "https://github.com/huggingface/transformers/pull/37755",
"diff_url": "https://github.com/huggingface/transformers/pull/37755.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37755.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": "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/37755/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/37755/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37754 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37754/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37754/comments | https://api.github.com/repos/huggingface/transformers/issues/37754/events | https://github.com/huggingface/transformers/issues/37754 | 3,017,173,079 | I_kwDOCUB6oc6z1mhX | 37,754 | [Bug]: LLAMA_ATTENTION_CLASSES no longer found in newer versions, error when deploying models (Aria) | {
"login": "musoles",
"id": 135031143,
"node_id": "U_kgDOCAxpZw",
"avatar_url": "https://avatars.githubusercontent.com/u/135031143?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/musoles",
"html_url": "https://github.com/musoles",
"followers_url": "https://api.github.com/users/musoles/foll... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-24T12:51:17 | 2025-04-24T13:21:13 | 2025-04-24T13:21:12 | NONE | null | null | null | null | ### System Info
Environment install:
pip install vllm==0.8.4
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [x] My own task or dataset (give details... | {
"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/37754/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/37754/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/37753 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37753/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37753/comments | https://api.github.com/repos/huggingface/transformers/issues/37753/events | https://github.com/huggingface/transformers/pull/37753 | 3,017,154,403 | PR_kwDOCUB6oc6TwuN7 | 37,753 | Updated Albert model Card | {
"login": "souvikchand",
"id": 96312748,
"node_id": "U_kgDOBb2drA",
"avatar_url": "https://avatars.githubusercontent.com/u/96312748?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/souvikchand",
"html_url": "https://github.com/souvikchand",
"followers_url": "https://api.github.com/users/so... | [] | closed | false | null | [] | null | [] | 2025-04-24T12:44:43 | 2025-06-16T19:51:47 | 2025-06-13T21:58:06 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37753",
"html_url": "https://github.com/huggingface/transformers/pull/37753",
"diff_url": "https://github.com/huggingface/transformers/pull/37753.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37753.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/37753/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/37753/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37752 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37752/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37752/comments | https://api.github.com/repos/huggingface/transformers/issues/37752/events | https://github.com/huggingface/transformers/issues/37752 | 3,017,130,174 | I_kwDOCUB6oc6z1cC- | 37,752 | [Install] fail to install pip install transformers==4.42 | {
"login": "vfdff",
"id": 6094516,
"node_id": "MDQ6VXNlcjYwOTQ1MTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6094516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vfdff",
"html_url": "https://github.com/vfdff",
"followers_url": "https://api.github.com/users/vfdff/follower... | [
{
"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-24T12:36:24 | 2025-04-25T07:03:30 | 2025-04-25T07:02:43 | NONE | null | null | null | null | ### System Info
python 3.9
### 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)
### Reproduction
Accordin... | {
"login": "vfdff",
"id": 6094516,
"node_id": "MDQ6VXNlcjYwOTQ1MTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6094516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vfdff",
"html_url": "https://github.com/vfdff",
"followers_url": "https://api.github.com/users/vfdff/follower... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37752/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/37752/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/37751 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37751/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37751/comments | https://api.github.com/repos/huggingface/transformers/issues/37751/events | https://github.com/huggingface/transformers/pull/37751 | 3,017,111,090 | PR_kwDOCUB6oc6Twkpg | 37,751 | Stop autoconverting custom code checkpoints | {
"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-24T12:30:48 | 2025-05-26T18:15:30 | 2025-05-26T18:15:28 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37751",
"html_url": "https://github.com/huggingface/transformers/pull/37751",
"diff_url": "https://github.com/huggingface/transformers/pull/37751.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37751.patch",
"merged_at... | Our Space for autoconverting code fails with custom code models, which causes problems when a custom code model only has Pytorch checkpoints!
This PR resolves this by not launching the autoconversion thread when the model is custom code! | {
"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/37751/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/37751/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37750 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37750/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37750/comments | https://api.github.com/repos/huggingface/transformers/issues/37750/events | https://github.com/huggingface/transformers/pull/37750 | 3,017,060,155 | PR_kwDOCUB6oc6TwZb8 | 37,750 | Update `MllamaForConditionalGenerationIntegrationTest` | {
"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-24T12:13:07 | 2025-04-24T12:29:48 | 2025-04-24T12:29:46 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37750",
"html_url": "https://github.com/huggingface/transformers/pull/37750",
"diff_url": "https://github.com/huggingface/transformers/pull/37750.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37750.patch",
"merged_at... | # What does this PR do?
Followup of #37644 | {
"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/37750/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/37750/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37749 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37749/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37749/comments | https://api.github.com/repos/huggingface/transformers/issues/37749/events | https://github.com/huggingface/transformers/pull/37749 | 3,016,982,005 | PR_kwDOCUB6oc6TwIcI | 37,749 | WIP | {
"login": "i-be-snek",
"id": 94386553,
"node_id": "U_kgDOBaA5eQ",
"avatar_url": "https://avatars.githubusercontent.com/u/94386553?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/i-be-snek",
"html_url": "https://github.com/i-be-snek",
"followers_url": "https://api.github.com/users/i-be-sne... | [] | closed | false | null | [] | null | [] | 2025-04-24T11:43:21 | 2025-04-24T11:43:56 | 2025-04-24T11:43:56 | NONE | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37749",
"html_url": "https://github.com/huggingface/transformers/pull/37749",
"diff_url": "https://github.com/huggingface/transformers/pull/37749.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37749.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": "i-be-snek",
"id": 94386553,
"node_id": "U_kgDOBaA5eQ",
"avatar_url": "https://avatars.githubusercontent.com/u/94386553?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/i-be-snek",
"html_url": "https://github.com/i-be-snek",
"followers_url": "https://api.github.com/users/i-be-sne... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37749/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/37749/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37748 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37748/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37748/comments | https://api.github.com/repos/huggingface/transformers/issues/37748/events | https://github.com/huggingface/transformers/issues/37748 | 3,016,930,491 | I_kwDOCUB6oc6z0rS7 | 37,748 | Performance degradation on certain vision models from v4.51.* | {
"login": "yuan-thomas",
"id": 37086040,
"node_id": "MDQ6VXNlcjM3MDg2MDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/37086040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuan-thomas",
"html_url": "https://github.com/yuan-thomas",
"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-24T11:24:43 | 2025-05-09T16:44:30 | 2025-05-09T16:44:30 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.51.3
- Platform: Linux-5.15.167.4-microsoft-standard-WSL2-x86_64-with-glibc2.39
- Python version: 3.12.3
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: not installed
- Accelerate config: not found
- DeepSpeed version: not installed
- PyT... | {
"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/37748/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/37748/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/37747 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37747/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37747/comments | https://api.github.com/repos/huggingface/transformers/issues/37747/events | https://github.com/huggingface/transformers/pull/37747 | 3,016,903,476 | PR_kwDOCUB6oc6Tv3ei | 37,747 | updated hidden_features for FlaxDinov2SwiGLUFFN in Dinov2 | {
"login": "premmurugan229",
"id": 44919870,
"node_id": "MDQ6VXNlcjQ0OTE5ODcw",
"avatar_url": "https://avatars.githubusercontent.com/u/44919870?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/premmurugan229",
"html_url": "https://github.com/premmurugan229",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | null | [] | 2025-04-24T11:13:43 | 2025-04-24T13:30:32 | 2025-04-24T13:30:32 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37747",
"html_url": "https://github.com/huggingface/transformers/pull/37747",
"diff_url": "https://github.com/huggingface/transformers/pull/37747.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37747.patch",
"merged_at... | # What does this PR do?
Fixes #37745
## Changes made
[FlaxDinov2SwiGLUFFN](https://github.com/huggingface/transformers/blob/b6d65e40b256d98d9621707762b94bc8ad83b7a7/src/transformers/models/dinov2/modeling_flax_dinov2.py#L400) has only 2 attributes (config,dtype). It doesn't have hidden_features attribute. So... | {
"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/37747/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/37747/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37746 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37746/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37746/comments | https://api.github.com/repos/huggingface/transformers/issues/37746/events | https://github.com/huggingface/transformers/pull/37746 | 3,016,900,434 | PR_kwDOCUB6oc6Tv20S | 37,746 | Skip all `AriaForConditionalGenerationIntegrationTest` on `T4` | {
"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-24T11:12:24 | 2025-04-30T15:17:37 | 2025-04-24T12:11:56 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37746",
"html_url": "https://github.com/huggingface/transformers/pull/37746",
"diff_url": "https://github.com/huggingface/transformers/pull/37746.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37746.patch",
"merged_at... | # What does this PR do?
Follow up of [this commment](https://github.com/huggingface/transformers/pull/37444#issuecomment-2801489013)
Skip all `AriaForConditionalGenerationIntegrationTest` except `test_tokenizer_integration` on `T4` runner.
These tests uses [this repository](https://huggingface.co/rhymes-ai/Ari... | {
"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/37746/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/37746/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37745 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37745/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37745/comments | https://api.github.com/repos/huggingface/transformers/issues/37745/events | https://github.com/huggingface/transformers/issues/37745 | 3,016,813,615 | I_kwDOCUB6oc6z0Owv | 37,745 | Facing AttributeError: "FlaxDinov2SwiGLUFFN" object has no attribute "hidden_features". | {
"login": "premmurugan229",
"id": 44919870,
"node_id": "MDQ6VXNlcjQ0OTE5ODcw",
"avatar_url": "https://avatars.githubusercontent.com/u/44919870?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/premmurugan229",
"html_url": "https://github.com/premmurugan229",
"followers_url": "https://api.gi... | [
{
"id": 2934977194,
"node_id": "MDU6TGFiZWwyOTM0OTc3MTk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Flax",
"name": "Flax",
"color": "4862AD",
"default": false,
"description": ""
},
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url... | closed | false | null | [] | null | [] | 2025-04-24T10:38:02 | 2025-04-24T14:34:10 | 2025-04-24T13:30:33 | CONTRIBUTOR | null | null | null | null | ### System Info
While running Dinov2 model in Flax for giant variant, I am encountering an error as
> AttributeError: "FlaxDinov2SwiGLUFFN" object has no attribute "hidden_features".
There should be a typo [here](https://github.com/huggingface/transformers/blob/72e4844059cf0d7d01f0dfca20a9834cef82c133/src/transfor... | {
"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/37745/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/37745/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/37744 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37744/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37744/comments | https://api.github.com/repos/huggingface/transformers/issues/37744/events | https://github.com/huggingface/transformers/issues/37744 | 3,016,789,722 | I_kwDOCUB6oc6z0I7a | 37,744 | Add MM Grounding DINO | {
"login": "rziga",
"id": 102856773,
"node_id": "U_kgDOBiF4RQ",
"avatar_url": "https://avatars.githubusercontent.com/u/102856773?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rziga",
"html_url": "https://github.com/rziga",
"followers_url": "https://api.github.com/users/rziga/followers",
... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 5769473378,
"node_id": "LA_kwDOCUB6oc8AAAABV-Mt... | closed | false | null | [] | null | [] | 2025-04-24T10:30:18 | 2025-08-01T14:43:24 | 2025-08-01T14:43:24 | CONTRIBUTOR | null | null | null | null | ### Model description
Hi,
MM Grounding DINO is MMDetection's implementation of Grounding DINO. It improves zero-shot detection performance quite a bit (especially on LVIS) and is very similar to the original Grounding DINO implementation-wise. I'm mostly interested in it because they also have checkpoints for models ... | {
"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/37744/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/37744/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/37743 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37743/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37743/comments | https://api.github.com/repos/huggingface/transformers/issues/37743/events | https://github.com/huggingface/transformers/pull/37743 | 3,016,752,790 | PR_kwDOCUB6oc6TvWLR | 37,743 | [VLMs] add helpers to get multimodal encodings | {
"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-24T10:19:02 | 2025-05-16T11:20:10 | 2025-05-16T11:20:10 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37743",
"html_url": "https://github.com/huggingface/transformers/pull/37743",
"diff_url": "https://github.com/huggingface/transformers/pull/37743.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37743.patch",
"merged_at... | # What does this PR do?
As per title, makes it available in all VLMs where it was not added. This PR is another small part of vLLM integration for multimodality
Would be nice to update a few audio LLMs we have, but qwen2-audio is a mess and we can update it only after cleaning up deprecations. Granite Speech is... | {
"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/37743/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/37743/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37742 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37742/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37742/comments | https://api.github.com/repos/huggingface/transformers/issues/37742/events | https://github.com/huggingface/transformers/pull/37742 | 3,016,698,675 | PR_kwDOCUB6oc6TvKgS | 37,742 | Add Bitnet model | {
"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-24T09:57:41 | 2025-04-29T08:49:45 | 2025-04-28T13:08:48 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37742",
"html_url": "https://github.com/huggingface/transformers/pull/37742",
"diff_url": "https://github.com/huggingface/transformers/pull/37742.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37742.patch",
"merged_at... | # What does this PR do?
This PR complements the BitNet integration introduced in [#37503](https://github.com/huggingface/transformers/pull/37503) created and refined by @shumingma, addressing the remaining review comments ahead of merging.
| {
"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/37742/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/37742/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37741 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37741/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37741/comments | https://api.github.com/repos/huggingface/transformers/issues/37741/events | https://github.com/huggingface/transformers/pull/37741 | 3,016,674,914 | PR_kwDOCUB6oc6TvFRR | 37,741 | change XLA deprecated api | {
"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-24T09:48:57 | 2025-04-28T14:27:44 | 2025-04-28T14:27:42 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37741",
"html_url": "https://github.com/huggingface/transformers/pull/37741",
"diff_url": "https://github.com/huggingface/transformers/pull/37741.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37741.patch",
"merged_at... | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/37301
In torch-xla version 2.7, `xm.xrt_world_size()` is replaced by `xr.world_size() `and `xm.get_ordinal()` is replaced by `xr.global_ordinal()`
Should be safe to switch since it was added in the torch_xla 2.1 release https://gith... | {
"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/37741/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/37741/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37740 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37740/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37740/comments | https://api.github.com/repos/huggingface/transformers/issues/37740/events | https://github.com/huggingface/transformers/pull/37740 | 3,016,668,172 | PR_kwDOCUB6oc6TvDyH | 37,740 | Correctly raise errors when downloading tokenizer files | {
"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-24T09:46:25 | 2025-04-24T10:53:08 | 2025-04-24T10:53:07 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37740",
"html_url": "https://github.com/huggingface/transformers/pull/37740",
"diff_url": "https://github.com/huggingface/transformers/pull/37740.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37740.patch",
"merged_at... | # What does this PR do?
As per the title. If an error arises in the middle of downloading tokenizer files, it was not properly raised and would propagate `None` values instead (because the check was performed on all files, i.e. aither they all pass or they all miss, but we may fail in the middle due to e.g. timeout) | {
"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/37740/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/37740/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37739 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37739/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37739/comments | https://api.github.com/repos/huggingface/transformers/issues/37739/events | https://github.com/huggingface/transformers/pull/37739 | 3,016,644,847 | PR_kwDOCUB6oc6Tu-qV | 37,739 | Fix `embeds_to_talker` device in Qwen2.5-Omni | {
"login": "BakerBunker",
"id": 17872844,
"node_id": "MDQ6VXNlcjE3ODcyODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/17872844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BakerBunker",
"html_url": "https://github.com/BakerBunker",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-24T09:37:42 | 2025-04-24T10:49:58 | 2025-04-24T10:49:57 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37739",
"html_url": "https://github.com/huggingface/transformers/pull/37739",
"diff_url": "https://github.com/huggingface/transformers/pull/37739.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37739.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37739/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/37739/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37738 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37738/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37738/comments | https://api.github.com/repos/huggingface/transformers/issues/37738/events | https://github.com/huggingface/transformers/pull/37738 | 3,016,595,421 | PR_kwDOCUB6oc6Tuz_y | 37,738 | fix:fix model loading issue when WORLD_SIZE env set(#37737). | {
"login": "nv-guomingz",
"id": 137257613,
"node_id": "U_kgDOCC5ijQ",
"avatar_url": "https://avatars.githubusercontent.com/u/137257613?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nv-guomingz",
"html_url": "https://github.com/nv-guomingz",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-24T09:19:20 | 2025-04-24T14:39:23 | 2025-04-24T14:39:22 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37738",
"html_url": "https://github.com/huggingface/transformers/pull/37738",
"diff_url": "https://github.com/huggingface/transformers/pull/37738.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37738.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37738/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/37738/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37737 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37737/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37737/comments | https://api.github.com/repos/huggingface/transformers/issues/37737/events | https://github.com/huggingface/transformers/issues/37737 | 3,016,551,507 | I_kwDOCUB6oc6zzOxT | 37,737 | Failed to load model with transformers 4.51.3 when WORLD_SIZE set to 1 on nvidia gpu | {
"login": "nv-guomingz",
"id": 137257613,
"node_id": "U_kgDOCC5ijQ",
"avatar_url": "https://avatars.githubusercontent.com/u/137257613?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nv-guomingz",
"html_url": "https://github.com/nv-guomingz",
"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-24T09:02:24 | 2025-06-02T08:03:05 | 2025-06-02T08:03:05 | CONTRIBUTOR | null | null | null | null | ### System Info
Hi, I just installed transformers 4.51.3 on linux system with nvidia gpu.
When I tried to run below code snippet
```python
import transformers
model = transformers.AutoModelForCausalLM.from_pretrained('openai-community/gpt2-medium', device_map='auto')
```
I got below error message:
```bash
[rank0]:... | {
"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/37737/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/37737/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/37736 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37736/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37736/comments | https://api.github.com/repos/huggingface/transformers/issues/37736/events | https://github.com/huggingface/transformers/issues/37736 | 3,016,463,645 | I_kwDOCUB6oc6zy5Ud | 37,736 | ValueError: GGUF model with architecture deci is not supported yet. | {
"login": "iEddie-cmd",
"id": 68989637,
"node_id": "MDQ6VXNlcjY4OTg5NjM3",
"avatar_url": "https://avatars.githubusercontent.com/u/68989637?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iEddie-cmd",
"html_url": "https://github.com/iEddie-cmd",
"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"
}
] | closed | false | null | [] | null | [] | 2025-04-24T08:29:20 | 2025-08-26T13:43:18 | 2025-08-26T13:43:18 | NONE | null | null | null | null | ### Feature request
ValueError: GGUF model with architecture deci is not supported yet.
### Motivation
ValueError: GGUF model with architecture deci is not supported yet. (Nvidia Nemotron 2025)
### Your contribution
I could help in maybe programming | {
"login": "Isotr0py",
"id": 41363108,
"node_id": "MDQ6VXNlcjQxMzYzMTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/41363108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Isotr0py",
"html_url": "https://github.com/Isotr0py",
"followers_url": "https://api.github.com/users/Iso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37736/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/37736/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/37735 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37735/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37735/comments | https://api.github.com/repos/huggingface/transformers/issues/37735/events | https://github.com/huggingface/transformers/pull/37735 | 3,016,345,337 | PR_kwDOCUB6oc6Tt9-Y | 37,735 | Fix Float64 RuntimeError on Integrated Graphics when using DirectML | {
"login": "chn-lee-yumi",
"id": 20398519,
"node_id": "MDQ6VXNlcjIwMzk4NTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/20398519?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chn-lee-yumi",
"html_url": "https://github.com/chn-lee-yumi",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-04-24T07:43:49 | 2025-07-24T00:42:47 | 2025-07-24T00:42:46 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37735",
"html_url": "https://github.com/huggingface/transformers/pull/37735",
"diff_url": "https://github.com/huggingface/transformers/pull/37735.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37735.patch",
"merged_at... | # What does this PR do?
Fix Float64 RuntimeError on Integrated Graphics when using DirectML:
```
File "C:\Users\xxx\Downloads\MaterialSearchWindowsLarge\MaterialSearchWindows\Lib\site-packages\transformers\models\chinese_clip\modeling_chinese_clip.py", line 1277, in forward
extended_attention_mask: torch.... | {
"login": "chn-lee-yumi",
"id": 20398519,
"node_id": "MDQ6VXNlcjIwMzk4NTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/20398519?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chn-lee-yumi",
"html_url": "https://github.com/chn-lee-yumi",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37735/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/37735/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37734 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37734/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37734/comments | https://api.github.com/repos/huggingface/transformers/issues/37734/events | https://github.com/huggingface/transformers/issues/37734 | 3,016,209,496 | I_kwDOCUB6oc6zx7RY | 37,734 | `tokenizer` is still being used in `Trainer` instead of `processing_class` | {
"login": "arjunaskykok",
"id": 32124593,
"node_id": "MDQ6VXNlcjMyMTI0NTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/32124593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arjunaskykok",
"html_url": "https://github.com/arjunaskykok",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-04-24T06:54:53 | 2025-04-25T19:03:14 | 2025-04-25T19:03:14 | CONTRIBUTOR | null | null | null | null | In the [`Fine-tuning a model with the Trainer API` page](https://huggingface.co/learn/llm-course/chapter3/3?fw=pt), either in the documentation or the notebook, we are told to use the `tokenizer` parameter when initializing the `Trainer` class.
, `tests/models/kosmos2/test_modeling_kosmos2.py::Kosmos2ModelTest::test_generate_continue_from_past_key_values`
flakiness patter... | {
"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/37724/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/37724/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37723 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37723/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37723/comments | https://api.github.com/repos/huggingface/transformers/issues/37723/events | https://github.com/huggingface/transformers/pull/37723 | 3,014,674,426 | PR_kwDOCUB6oc6ToUaw | 37,723 | Skip is_flaky tests in the CI | {
"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-23T16:49:48 | 2025-04-30T07:52:23 | 2025-04-30T07:52:22 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37723",
"html_url": "https://github.com/huggingface/transformers/pull/37723",
"diff_url": "https://github.com/huggingface/transformers/pull/37723.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37723.patch",
"merged_at... | null | {
"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/37723/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/37723/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37722 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37722/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37722/comments | https://api.github.com/repos/huggingface/transformers/issues/37722/events | https://github.com/huggingface/transformers/pull/37722 | 3,014,664,800 | PR_kwDOCUB6oc6ToSOT | 37,722 | refactor can_save_slow_tokenizer | {
"login": "itazap",
"id": 31893021,
"node_id": "MDQ6VXNlcjMxODkzMDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/31893021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/itazap",
"html_url": "https://github.com/itazap",
"followers_url": "https://api.github.com/users/itazap/fo... | [] | closed | false | null | [] | null | [] | 2025-04-23T16:47:04 | 2025-05-23T15:29:40 | 2025-05-23T15:29:38 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37722",
"html_url": "https://github.com/huggingface/transformers/pull/37722",
"diff_url": "https://github.com/huggingface/transformers/pull/37722.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37722.patch",
"merged_at... | refactor to rm property `can_save_slow_tokenizer`, it can be done within the `if` of `save_vocabulary`, allows us to reduce exposed functions | {
"login": "itazap",
"id": 31893021,
"node_id": "MDQ6VXNlcjMxODkzMDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/31893021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/itazap",
"html_url": "https://github.com/itazap",
"followers_url": "https://api.github.com/users/itazap/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37722/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/37722/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.