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/37721 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37721/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37721/comments | https://api.github.com/repos/huggingface/transformers/issues/37721/events | https://github.com/huggingface/transformers/pull/37721 | 3,014,537,836 | PR_kwDOCUB6oc6Tn14Z | 37,721 | [tests, `qwen2_5_omni`] fix flaky tests | {
"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-23T16:07:10 | 2025-04-23T16:54:15 | 2025-04-23T16:54:12 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37721",
"html_url": "https://github.com/huggingface/transformers/pull/37721",
"diff_url": "https://github.com/huggingface/transformers/pull/37721.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37721.patch",
"merged_at... | # What does this PR do?
cc @zucchini-nlp
Fixes two `qwen2_5_omni` flaky issues:
1. Typo in the model name in `VLM_CLASS_NAMES` (used to skip tests) -> model was not being skipped -> flaky tests
2. `qwen2_5_omni` has a new config attribute corresponding to a token that can't be used in the output | {
"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/37721/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/37721/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37720 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37720/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37720/comments | https://api.github.com/repos/huggingface/transformers/issues/37720/events | https://github.com/huggingface/transformers/issues/37720 | 3,014,509,551 | I_kwDOCUB6oc6zrcPv | 37,720 | Quantized int8 model evaluation using TP - only Tensors of floating point dtype can require gradients | {
"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... | [
{
"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-23T15:59:17 | 2025-04-24T12:58:19 | 2025-04-24T12:58:18 | CONTRIBUTOR | null | null | null | null | ### System Info
When I test quantized int8 model with TP, the following error occurred: only Tensors of floating point dtype can require gradients
Detail:
[rank0]: File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/transformers/integrations/tensor_parallel.py", line 658, in shard_and_distribute_module
[rank0... | {
"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/37720/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/37720/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/37719 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37719/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37719/comments | https://api.github.com/repos/huggingface/transformers/issues/37719/events | https://github.com/huggingface/transformers/pull/37719 | 3,014,478,010 | PR_kwDOCUB6oc6Tnoj5 | 37,719 | Expand quantized data type support for tensor parallelism | {
"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-23T15:50:14 | 2025-05-13T16:01:40 | 2025-04-24T12:34:32 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37719",
"html_url": "https://github.com/huggingface/transformers/pull/37719",
"diff_url": "https://github.com/huggingface/transformers/pull/37719.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37719.patch",
"merged_at... | # What does this PR do?
Update the tensor parallel for support generic quantized tensor with data type like int8 and scalar tensor.
<!--
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 i... | {
"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/37719/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/37719/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37718 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37718/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37718/comments | https://api.github.com/repos/huggingface/transformers/issues/37718/events | https://github.com/huggingface/transformers/pull/37718 | 3,014,458,195 | PR_kwDOCUB6oc6TnkHu | 37,718 | [cache] fix `HybridCache` init when `device` is passed | {
"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-23T15:44:28 | 2025-04-24T12:36:52 | 2025-04-24T12:36:52 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37718",
"html_url": "https://github.com/huggingface/transformers/pull/37718",
"diff_url": "https://github.com/huggingface/transformers/pull/37718.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37718.patch",
"merged_at... | # What does this PR do?
The following example, where we initialize the model with the `device` argument, results in cuda graph skips. It can be traced to a stray change in https://github.com/huggingface/transformers/pull/37007, where the device initialization was incorrectly changed. This PR reverts it.
```py
fr... | {
"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/37718/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/37718/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37717 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37717/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37717/comments | https://api.github.com/repos/huggingface/transformers/issues/37717/events | https://github.com/huggingface/transformers/pull/37717 | 3,014,450,494 | PR_kwDOCUB6oc6TniZt | 37,717 | check torch 2.7 | {
"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-23T15:41:54 | 2025-06-10T11:53:44 | 2025-06-10T11:53:44 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37717",
"html_url": "https://github.com/huggingface/transformers/pull/37717",
"diff_url": "https://github.com/huggingface/transformers/pull/37717.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37717.patch",
"merged_at... | # What does this PR do?
check torch 2.7 | {
"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/37717/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/37717/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37716 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37716/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37716/comments | https://api.github.com/repos/huggingface/transformers/issues/37716/events | https://github.com/huggingface/transformers/pull/37716 | 3,014,424,852 | PR_kwDOCUB6oc6TncvV | 37,716 | :rotating_light: :rotating_light: Fix custom code saving | {
"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-23T15:33:24 | 2025-05-26T16:37:32 | 2025-05-26T16:37:30 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37716",
"html_url": "https://github.com/huggingface/transformers/pull/37716",
"diff_url": "https://github.com/huggingface/transformers/pull/37716.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37716.patch",
"merged_at... | Right now, our code checks `self._auto_class` to see if model objects are custom code. This PR aims to make that more stable, and resolve the various custom code attributes into something cleaner. This may surface other bugs, but the end goal is that **save_pretrained() and push_to_hub() correctly save all the relevant... | {
"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/37716/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/37716/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37715 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37715/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37715/comments | https://api.github.com/repos/huggingface/transformers/issues/37715/events | https://github.com/huggingface/transformers/issues/37715 | 3,014,424,328 | I_kwDOCUB6oc6zrHcI | 37,715 | Make `argmax` in `post_process_semantic_segmentation` optional | {
"login": "simonreise",
"id": 43753582,
"node_id": "MDQ6VXNlcjQzNzUzNTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/43753582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/simonreise",
"html_url": "https://github.com/simonreise",
"followers_url": "https://api.github.com/use... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | null | [] | 2025-04-23T15:33:16 | 2025-05-10T09:37:38 | null | CONTRIBUTOR | null | null | null | null | ### Feature request
Now `post_process_semantic_segmentation` function generates [N, H, W] resized segmentation maps, but sometimes user might need [N, C, H, W] resized class probabilities.
Maybe it's worth adding a bool optional argument (named e.g. `class_proba`) to `post_process_semantic_segmentation` that will con... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37715/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/37715/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/37714 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37714/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37714/comments | https://api.github.com/repos/huggingface/transformers/issues/37714/events | https://github.com/huggingface/transformers/pull/37714 | 3,014,397,390 | PR_kwDOCUB6oc6TnWt1 | 37,714 | TP quant update | {
"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-23T15:23:53 | 2025-04-24T15:41:34 | 2025-04-23T15:39:49 | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37714",
"html_url": "https://github.com/huggingface/transformers/pull/37714",
"diff_url": "https://github.com/huggingface/transformers/pull/37714.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37714.patch",
"merged_at... | # What does this PR do?
Update the tensor parallel for support generic quantized tensor with data type like int8 and scalar tensor.
<!--
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... | {
"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/37714/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/37714/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37713 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37713/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37713/comments | https://api.github.com/repos/huggingface/transformers/issues/37713/events | https://github.com/huggingface/transformers/issues/37713 | 3,014,356,685 | I_kwDOCUB6oc6zq27N | 37,713 | Loading and Saving Pretrained model to the same directory raises SafeTensorError: IOError | {
"login": "minerharry",
"id": 35383543,
"node_id": "MDQ6VXNlcjM1MzgzNTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/35383543?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/minerharry",
"html_url": "https://github.com/minerharry",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-23T15:09:23 | 2025-06-02T08:03:08 | 2025-06-02T08:03:08 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.51.3
- Platform: Windows-10-10.0.26100-SP0
- Python version: 3.10.17
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: not installed
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU?): 2.6.0+cu126 (Tr... | {
"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/37713/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/37713/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/37712 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37712/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37712/comments | https://api.github.com/repos/huggingface/transformers/issues/37712/events | https://github.com/huggingface/transformers/issues/37712 | 3,014,277,687 | I_kwDOCUB6oc6zqjo3 | 37,712 | Very slow model instantiation | {
"login": "rvorias",
"id": 21060408,
"node_id": "MDQ6VXNlcjIxMDYwNDA4",
"avatar_url": "https://avatars.githubusercontent.com/u/21060408?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rvorias",
"html_url": "https://github.com/rvorias",
"followers_url": "https://api.github.com/users/rvoria... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "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... | [
{
"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"... | null | [] | 2025-04-23T14:41:49 | 2025-06-01T08:02:44 | 2025-06-01T08:02:44 | NONE | null | null | null | null | ### System Info
`transformers` version: 4.51.3
- Platform: Linux-6.8.0-57-generic-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: not installed
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU?... | {
"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/37712/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/37712/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/37711 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37711/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37711/comments | https://api.github.com/repos/huggingface/transformers/issues/37711/events | https://github.com/huggingface/transformers/pull/37711 | 3,014,238,508 | PR_kwDOCUB6oc6Tm0HG | 37,711 | Skip red Internvl tests | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | [] | 2025-04-23T14:27:57 | 2025-04-23T14:41:37 | 2025-04-23T14:39:47 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37711",
"html_url": "https://github.com/huggingface/transformers/pull/37711",
"diff_url": "https://github.com/huggingface/transformers/pull/37711.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37711.patch",
"merged_at... | Right now, a couple of InternVL tests are failing on `main`. I'm going to skip them for now to stop blocking other PRs, but it would be good to fix and un-skip them! cc @yonigozlan @zucchini-nlp | {
"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/37711/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/37711/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37710 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37710/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37710/comments | https://api.github.com/repos/huggingface/transformers/issues/37710/events | https://github.com/huggingface/transformers/issues/37710 | 3,014,225,174 | I_kwDOCUB6oc6zqW0W | 37,710 | Can't perform inference with images on Gemma-3-12b-it-qat-int4.0 | {
"login": "njemanzedavid",
"id": 169468103,
"node_id": "U_kgDOChngxw",
"avatar_url": "https://avatars.githubusercontent.com/u/169468103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/njemanzedavid",
"html_url": "https://github.com/njemanzedavid",
"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-23T14:23:26 | 2025-06-01T08:02:46 | 2025-06-01T08:02:46 | NONE | null | null | null | null | ### System Info
hi, i am a noob here. please can you share a code snippet for how to use this gemma 3 version to perform inference on images? specific i want it to filter images from an input folder into different output folder based on a set of criteria i outline in the prompt. the prompt tells it to answer yes or 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/37710/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/37710/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/37709 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37709/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37709/comments | https://api.github.com/repos/huggingface/transformers/issues/37709/events | https://github.com/huggingface/transformers/pull/37709 | 3,014,147,953 | PR_kwDOCUB6oc6Tmf9U | 37,709 | [generate] skip compilation on cpu offload | {
"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-23T14:03:12 | 2025-04-24T13:08:21 | 2025-04-24T13:08:18 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37709",
"html_url": "https://github.com/huggingface/transformers/pull/37709",
"diff_url": "https://github.com/huggingface/transformers/pull/37709.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37709.patch",
"merged_at... | # What does this PR do?
`torch.compile` + model CPU offload is resulting in crashes. It should work in theory, but it's not working atm.
```py
from transformers import AutoModelForCausalLM, AutoTokenizer
device_map = {"model.embed_tokens": 0, "model.layers.0": 0, "model.layers.1": "cpu", "model.norm": "cpu", ... | {
"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/37709/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/37709/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37708 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37708/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37708/comments | https://api.github.com/repos/huggingface/transformers/issues/37708/events | https://github.com/huggingface/transformers/pull/37708 | 3,014,134,723 | PR_kwDOCUB6oc6Tmc-M | 37,708 | [Fix] Fixing tp_plan is None error for caching_allocator_warmup | {
"login": "kcz358",
"id": 92624596,
"node_id": "U_kgDOBYVW1A",
"avatar_url": "https://avatars.githubusercontent.com/u/92624596?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kcz358",
"html_url": "https://github.com/kcz358",
"followers_url": "https://api.github.com/users/kcz358/followers"... | [] | closed | false | null | [] | null | [] | 2025-04-23T13:59:44 | 2025-06-05T09:03:04 | 2025-04-24T12:56:35 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37708",
"html_url": "https://github.com/huggingface/transformers/pull/37708",
"diff_url": "https://github.com/huggingface/transformers/pull/37708.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37708.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": "kcz358",
"id": 92624596,
"node_id": "U_kgDOBYVW1A",
"avatar_url": "https://avatars.githubusercontent.com/u/92624596?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kcz358",
"html_url": "https://github.com/kcz358",
"followers_url": "https://api.github.com/users/kcz358/followers"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37708/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/37708/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37707 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37707/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37707/comments | https://api.github.com/repos/huggingface/transformers/issues/37707/events | https://github.com/huggingface/transformers/pull/37707 | 3,014,078,968 | PR_kwDOCUB6oc6TmQjm | 37,707 | TransfoXL is deprecated, don't keep it in tested examples! | {
"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-23T13:43:02 | 2025-04-23T14:00:00 | 2025-04-23T13:59:38 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37707",
"html_url": "https://github.com/huggingface/transformers/pull/37707",
"diff_url": "https://github.com/huggingface/transformers/pull/37707.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37707.patch",
"merged_at... | null | {
"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/37707/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/37707/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37706 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37706/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37706/comments | https://api.github.com/repos/huggingface/transformers/issues/37706/events | https://github.com/huggingface/transformers/issues/37706 | 3,013,793,698 | I_kwDOCUB6oc6zotei | 37,706 | `last_cache_position` definition issue in hybrid SWA models | {
"login": "plienhar",
"id": 118842459,
"node_id": "U_kgDOBxVkWw",
"avatar_url": "https://avatars.githubusercontent.com/u/118842459?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/plienhar",
"html_url": "https://github.com/plienhar",
"followers_url": "https://api.github.com/users/plienhar/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | [
{
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": ... | null | [] | 2025-04-23T12:11:07 | 2025-06-28T08:02:52 | 2025-06-28T08:02:52 | NONE | null | null | null | null | ### System Info
```text
- transformers version: 4.51.2
- Platform: Linux-6.8.0-1021-aws-x86_64-with-glibc2.35
- Python version: 3.12.8
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.5.2
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU?... | {
"login": "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/37706/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/37706/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/37705 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37705/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37705/comments | https://api.github.com/repos/huggingface/transformers/issues/37705/events | https://github.com/huggingface/transformers/issues/37705 | 3,013,753,326 | I_kwDOCUB6oc6zojnu | 37,705 | [i18n-Chinese] 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/... | [
{
"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... | closed | false | null | [] | null | [] | 2025-04-23T11:56:26 | 2025-05-19T17:19:55 | 2025-05-19T17:19:55 | CONTRIBUTOR | null | null | null | null | I notice that no one has translated `docs/source/en/model_doc/bert.md` to Chinese. Could I translate it 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/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37705/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/37705/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/37704 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37704/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37704/comments | https://api.github.com/repos/huggingface/transformers/issues/37704/events | https://github.com/huggingface/transformers/pull/37704 | 3,013,721,221 | PR_kwDOCUB6oc6TlCCV | 37,704 | fix: learning_rate logged as tensor causing save issue with deepspeed | {
"login": "NanoCode012",
"id": 9899957,
"node_id": "MDQ6VXNlcjk4OTk5NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9899957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NanoCode012",
"html_url": "https://github.com/NanoCode012",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | null | [] | 2025-04-23T11:43:08 | 2025-04-24T11:09:41 | 2025-04-24T10:20:47 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37704",
"html_url": "https://github.com/huggingface/transformers/pull/37704",
"diff_url": "https://github.com/huggingface/transformers/pull/37704.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37704.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/37704/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/37704/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37703 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37703/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37703/comments | https://api.github.com/repos/huggingface/transformers/issues/37703/events | https://github.com/huggingface/transformers/pull/37703 | 3,013,684,083 | PR_kwDOCUB6oc6Tk51T | 37,703 | [CI image] add back sacrebleu | {
"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-23T11:28:04 | 2025-04-23T13:45:07 | 2025-04-23T13:45:07 | MEMBER | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37703",
"html_url": "https://github.com/huggingface/transformers/pull/37703",
"diff_url": "https://github.com/huggingface/transformers/pull/37703.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37703.patch",
"merged_at... | # What does this PR do?
DO NOT MERGE
CI image builder for #37700 | {
"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/37703/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/37703/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37702 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37702/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37702/comments | https://api.github.com/repos/huggingface/transformers/issues/37702/events | https://github.com/huggingface/transformers/issues/37702 | 3,013,679,195 | I_kwDOCUB6oc6zoRhb | 37,702 | Possibly wrong position_ids shape in GPT2Model doc | {
"login": "kkew3",
"id": 13264071,
"node_id": "MDQ6VXNlcjEzMjY0MDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/13264071?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kkew3",
"html_url": "https://github.com/kkew3",
"followers_url": "https://api.github.com/users/kkew3/follow... | [] | closed | false | null | [] | null | [] | 2025-04-23T11:25:54 | 2025-05-04T00:32:51 | 2025-04-24T14:36:04 | CONTRIBUTOR | null | null | null | null | The docs [GPT2Model > position_ids](https://huggingface.co/docs/transformers/v4.51.3/model_doc/gpt2#transformers.GPT2Model.forward.position_ids) and [GPT2LMHeadModel > position_ids](https://huggingface.co/docs/transformers/v4.51.3/model_doc/gpt2#transformers.GPT2LMHeadModel.forward.position_ids) appear to be wrong.
IMO... | {
"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/37702/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/37702/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/37701 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37701/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37701/comments | https://api.github.com/repos/huggingface/transformers/issues/37701/events | https://github.com/huggingface/transformers/pull/37701 | 3,013,583,607 | PR_kwDOCUB6oc6Tkj-r | 37,701 | Fix inference bugs 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-23T10:47:51 | 2025-04-24T08:51:44 | 2025-04-24T08:51:44 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37701",
"html_url": "https://github.com/huggingface/transformers/pull/37701",
"diff_url": "https://github.com/huggingface/transformers/pull/37701.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37701.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/37701/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/37701/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37700 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37700/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37700/comments | https://api.github.com/repos/huggingface/transformers/issues/37700/events | https://github.com/huggingface/transformers/pull/37700 | 3,013,538,082 | PR_kwDOCUB6oc6TkZ9R | 37,700 | [CI] add back `sacrebleu` (and document why) | {
"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-23T10:30:00 | 2025-04-23T13:45:03 | 2025-04-23T13:45:00 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37700",
"html_url": "https://github.com/huggingface/transformers/pull/37700",
"diff_url": "https://github.com/huggingface/transformers/pull/37700.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37700.patch",
"merged_at... | # What does this PR do?
Reverts the removed dep in #37676 , and documents why
(TL;DR: `sacrebleu` is not in present `transformers`. However, calling `evaluate.load("sacrebleu")` requires it, and our `Trainer` tests use it under the hood, through the `run_translation.py` example) | {
"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/37700/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/37700/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37699 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37699/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37699/comments | https://api.github.com/repos/huggingface/transformers/issues/37699/events | https://github.com/huggingface/transformers/issues/37699 | 3,013,440,505 | I_kwDOCUB6oc6znXP5 | 37,699 | tokenizer.convert_tokens_to_ids inconsistent with tokenizer forward in CLIPTokenizer | {
"login": "ysig",
"id": 28439529,
"node_id": "MDQ6VXNlcjI4NDM5NTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/28439529?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ysig",
"html_url": "https://github.com/ysig",
"followers_url": "https://api.github.com/users/ysig/followers"... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-23T10:01:08 | 2025-04-23T12:32:32 | 2025-04-23T12:32:17 | NONE | null | null | null | null | Only `openai/clip-vit-base-patch32` was downloaded `14,408,028` over the last month!
Yet the clip tokenizer has a straightout bug:
```
>> from transformers import CLIPTokenizer
>> tokenizer = CLIPTokenizer.from_pretrained('openai/clip-vit-base-patch32')
>> token = 'my'
>> print(
tokenizer.convert_tokens_to_ids... | {
"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/37699/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/37699/timeline | null | not_planned | {
"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/37698 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37698/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37698/comments | https://api.github.com/repos/huggingface/transformers/issues/37698/events | https://github.com/huggingface/transformers/pull/37698 | 3,013,394,912 | PR_kwDOCUB6oc6Tj5u2 | 37,698 | [performance_optim] define flash attention mask on NPU device directly | {
"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-23T09:47:17 | 2025-08-14T01:52:42 | 2025-04-24T12:06:47 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37698",
"html_url": "https://github.com/huggingface/transformers/pull/37698",
"diff_url": "https://github.com/huggingface/transformers/pull/37698.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37698.patch",
"merged_at... | # What does this PR do?
When using Flash Attention2 on Ascend NPU, we have found that CPU memory keep increasing when calling func `npu_flash_attn_varlen_func` or `npu_flash_attn_func`.
The root cause is that the attention mask generated by func `torch.ones()` is initially defined on the CPU side, occupying CPU ... | {
"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/37698/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/37698/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37697 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37697/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37697/comments | https://api.github.com/repos/huggingface/transformers/issues/37697/events | https://github.com/huggingface/transformers/pull/37697 | 3,013,253,215 | PR_kwDOCUB6oc6TjZop | 37,697 | Fix torchao doc examples | {
"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-23T09:10:46 | 2025-04-24T09:10:29 | 2025-04-24T09:10:27 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37697",
"html_url": "https://github.com/huggingface/transformers/pull/37697",
"diff_url": "https://github.com/huggingface/transformers/pull/37697.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37697.patch",
"merged_at... | # What does this PR do?
Fixes torchao docs examples after https://github.com/huggingface/transformers/pull/37592
| {
"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/37697/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/37697/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37696 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37696/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37696/comments | https://api.github.com/repos/huggingface/transformers/issues/37696/events | https://github.com/huggingface/transformers/pull/37696 | 3,013,160,804 | PR_kwDOCUB6oc6TjFUG | 37,696 | [pipeline] allow image-text-to-text generate from text inputs | {
"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-23T08:38:33 | 2025-04-23T14:52:43 | 2025-04-23T14:50:14 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37696",
"html_url": "https://github.com/huggingface/transformers/pull/37696",
"diff_url": "https://github.com/huggingface/transformers/pull/37696.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37696.patch",
"merged_at... | # What does this PR do?
As per title, passing empty list of images triggers `image_processor` call which in turn fails. It's because we usually check for `Noneness` in processors
| {
"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/37696/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/37696/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37695 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37695/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37695/comments | https://api.github.com/repos/huggingface/transformers/issues/37695/events | https://github.com/huggingface/transformers/pull/37695 | 3,013,101,767 | PR_kwDOCUB6oc6Ti4jk | 37,695 | Pin torch == 2.6 on PR CI docker images for now | {
"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-23T08:15:15 | 2025-04-29T12:16:24 | 2025-04-23T09:47:23 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37695",
"html_url": "https://github.com/huggingface/transformers/pull/37695",
"diff_url": "https://github.com/huggingface/transformers/pull/37695.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37695.patch",
"merged_at... | # What does this PR do?
torch 2.7 is out today, but it causes strange issues , see below
Let's pin 2.6 for now on CircleCI
### error log
```
File "/usr/local/lib/python3.9/site-packages/transformers/modeling_utils.py", line 62, in <module>
from .integrations.flex_attention import flex_attention_forw... | {
"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/37695/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/37695/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37694 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37694/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37694/comments | https://api.github.com/repos/huggingface/transformers/issues/37694/events | https://github.com/huggingface/transformers/pull/37694 | 3,013,051,960 | PR_kwDOCUB6oc6Titwz | 37,694 | Fix typos in 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-23T07:54:58 | 2025-04-30T00:53:19 | 2025-04-24T14:59:56 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37694",
"html_url": "https://github.com/huggingface/transformers/pull/37694",
"diff_url": "https://github.com/huggingface/transformers/pull/37694.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37694.patch",
"merged_at... | # What does this PR do?
Fix typos in 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 awesome con... | {
"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/37694/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/37694/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37693 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37693/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37693/comments | https://api.github.com/repos/huggingface/transformers/issues/37693/events | https://github.com/huggingface/transformers/pull/37693 | 3,012,836,988 | PR_kwDOCUB6oc6Th_Oe | 37,693 | Make sure torch_is_available before using torch.distributed | {
"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-23T06:26:16 | 2025-04-24T09:31:38 | 2025-04-24T09:31:35 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37693",
"html_url": "https://github.com/huggingface/transformers/pull/37693",
"diff_url": "https://github.com/huggingface/transformers/pull/37693.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37693.patch",
"merged_at... | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/37680
| {
"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/37693/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/37693/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37692 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37692/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37692/comments | https://api.github.com/repos/huggingface/transformers/issues/37692/events | https://github.com/huggingface/transformers/issues/37692 | 3,012,819,216 | I_kwDOCUB6oc6zk_kQ | 37,692 | qwen2_5_omni initialize bug. | {
"login": "kobenaxie",
"id": 22359441,
"node_id": "MDQ6VXNlcjIyMzU5NDQx",
"avatar_url": "https://avatars.githubusercontent.com/u/22359441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kobenaxie",
"html_url": "https://github.com/kobenaxie",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-23T06:17:27 | 2025-04-23T07:31:30 | 2025-04-23T07:31:30 | NONE | null | null | null | null | As menthioned asd https://github.com/huggingface/transformers/pull/37690
`model = Qwen2_5OmniForConditionalGeneration.from_pretrained("Qwen/Qwen2.5-Omni-7B")` get error `AttributeError: type object 'Qwen2_5OmniConfig' has no attribute 'thinker_config'`
https://github.com/huggingface/transformers/blob/1d9743edc2030e8444... | {
"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/37692/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/37692/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/37691 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37691/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37691/comments | https://api.github.com/repos/huggingface/transformers/issues/37691/events | https://github.com/huggingface/transformers/pull/37691 | 3,012,685,554 | PR_kwDOCUB6oc6Thex- | 37,691 | fix mpt test of different outputs from cuda | {
"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-23T04:53:54 | 2025-07-02T05:22:25 | 2025-04-25T16:04:57 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37691",
"html_url": "https://github.com/huggingface/transformers/pull/37691",
"diff_url": "https://github.com/huggingface/transformers/pull/37691.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37691.patch",
"merged_at... | The tests `RUN_SLOW=1 pytest -rA tests/models/mpt/test_modeling_mpt.py::MptIntegrationTests::test_generation_batched` got result error on XPU.
The outputs of the MPT model are slightly different from CUDA, we need another result check for XPU. Besides, we need to use require_deterministic_for_xpu so xpu can get stab... | {
"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/37691/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/37691/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37690 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37690/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37690/comments | https://api.github.com/repos/huggingface/transformers/issues/37690/events | https://github.com/huggingface/transformers/pull/37690 | 3,012,238,895 | PR_kwDOCUB6oc6TgCZd | 37,690 | fix: remove classmethod from `Qwen2_5OmniConfig.get_text_config` | {
"login": "shahruk10",
"id": 26173976,
"node_id": "MDQ6VXNlcjI2MTczOTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/26173976?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shahruk10",
"html_url": "https://github.com/shahruk10",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-22T22:09:33 | 2025-04-23T14:52:18 | 2025-04-23T07:30:57 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37690",
"html_url": "https://github.com/huggingface/transformers/pull/37690",
"diff_url": "https://github.com/huggingface/transformers/pull/37690.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37690.patch",
"merged_at... | # What does this PR do?
- Since the `get_text_config` references an instance variable within the class (`self.thinker_config`), the `get_text_config` method should not be a classmethod.
- Before this fix, users were getting the following error:
''' AttributeError: type object 'Qwen2_5OmniConfig' has no... | {
"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/37690/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37690/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37689 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37689/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37689/comments | https://api.github.com/repos/huggingface/transformers/issues/37689/events | https://github.com/huggingface/transformers/pull/37689 | 3,011,895,224 | PR_kwDOCUB6oc6Te3Ie | 37,689 | [FSDP2] enable save_pretrained() | {
"login": "S1ro1",
"id": 54212263,
"node_id": "MDQ6VXNlcjU0MjEyMjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/54212263?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/S1ro1",
"html_url": "https://github.com/S1ro1",
"followers_url": "https://api.github.com/users/S1ro1/follow... | [] | closed | false | null | [] | null | [] | 2025-04-22T19:06:18 | 2025-06-02T14:17:51 | 2025-06-02T14:17:50 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37689",
"html_url": "https://github.com/huggingface/transformers/pull/37689",
"diff_url": "https://github.com/huggingface/transformers/pull/37689.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37689.patch",
"merged_at... | A small PR enabling `save_pretrained()` for FSDP2, it only changes the method of getting the state dict as `model.state_dict()` returns a sharded one for FSDP2 ([change documented here](https://github.com/pytorch/torchtitan/blob/main/docs/fsdp.md)), we need to use the `get_model_state_dict()` API.
In conjuction with ... | {
"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/37689/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/37689/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37688 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37688/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37688/comments | https://api.github.com/repos/huggingface/transformers/issues/37688/events | https://github.com/huggingface/transformers/pull/37688 | 3,011,776,802 | PR_kwDOCUB6oc6TedbL | 37,688 | Fixes Llama4 cpu_offload compatibility | {
"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... | [] | closed | false | null | [] | null | [] | 2025-04-22T18:09:12 | 2025-09-25T18:52:49 | 2025-09-25T18:52:49 | NONE | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37688",
"html_url": "https://github.com/huggingface/transformers/pull/37688",
"diff_url": "https://github.com/huggingface/transformers/pull/37688.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37688.patch",
"merged_at... | # What does this PR do?
For some reason llama4 sent input_ids to embed_tokens.weight.device before passing the data. This is not done in llama:
https://github.com/huggingface/transformers/blob/main/src/transformers/models/llama/modeling_llama.py#L534
Additionally llama4 sends `cache_position.to(self.device)`, al... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37688/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/37688/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37687 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37687/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37687/comments | https://api.github.com/repos/huggingface/transformers/issues/37687/events | https://github.com/huggingface/transformers/pull/37687 | 3,011,666,308 | PR_kwDOCUB6oc6TeFlI | 37,687 | Handle audio/ video default arguments in processor's apply_chat_template | {
"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"... | [] | open | false | null | [] | null | [] | 2025-04-22T17:16:24 | 2025-04-25T17:09:41 | null | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37687",
"html_url": "https://github.com/huggingface/transformers/pull/37687",
"diff_url": "https://github.com/huggingface/transformers/pull/37687.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37687.patch",
"merged_at... | # What does this PR do?
For multimodal models, it is often required to pass kwargs indicating how the passed inputs have been sampled for the Processor: `fps` for video inputs, `sampling_rate` for audio inputs.
Such values can be set as default values for in `ModelProcessorKwargs`, nevertheless they are not passe... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37687/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/37687/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37686 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37686/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37686/comments | https://api.github.com/repos/huggingface/transformers/issues/37686/events | https://github.com/huggingface/transformers/issues/37686 | 3,011,664,924 | I_kwDOCUB6oc6zglwc | 37,686 | Tokenizing with `apply_chat_template` behaves differently from regular tokenizing | {
"login": "sayanshaw24",
"id": 52221015,
"node_id": "MDQ6VXNlcjUyMjIxMDE1",
"avatar_url": "https://avatars.githubusercontent.com/u/52221015?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sayanshaw24",
"html_url": "https://github.com/sayanshaw24",
"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-22T17:15:41 | 2025-05-31T08:02:42 | 2025-05-31T08:02:42 | NONE | null | null | null | null | ### System Info
Using the latest `transformers v4.51.3` and Python 3.11.9 on Linux (but the problem is platform generic), tokenization with `apply_chat_template` when setting `tokenize = True` behaves differently from first calling `apply_chat_template` and then `encode` on the result of that.
For instance, with the ... | {
"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/37686/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/37686/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/37685 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37685/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37685/comments | https://api.github.com/repos/huggingface/transformers/issues/37685/events | https://github.com/huggingface/transformers/pull/37685 | 3,011,626,848 | PR_kwDOCUB6oc6Td9B7 | 37,685 | [cleanup] remove `/model_cards` 🧹 🧹 | {
"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-22T16:57:03 | 2025-04-23T11:45:31 | 2025-04-23T11:45:27 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37685",
"html_url": "https://github.com/huggingface/transformers/pull/37685",
"diff_url": "https://github.com/huggingface/transformers/pull/37685.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37685.patch",
"merged_at... | # What does this PR do?
As also discussed with @LysandreJik -- `/model_cards` holds a README regarding the old model cards, which used to live in `transformers`. We have long moved away from them :) | {
"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/37685/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/37685/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37684 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37684/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37684/comments | https://api.github.com/repos/huggingface/transformers/issues/37684/events | https://github.com/huggingface/transformers/pull/37684 | 3,011,613,641 | PR_kwDOCUB6oc6Td6N9 | 37,684 | [tests] reorganize cache tests and clean memory between tests | {
"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-22T16:50:31 | 2025-04-29T11:21:17 | 2025-04-29T11:21:14 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37684",
"html_url": "https://github.com/huggingface/transformers/pull/37684",
"diff_url": "https://github.com/huggingface/transformers/pull/37684.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37684.patch",
"merged_at... | # What does this PR do?
#37394 introduces a cache change, but there are several cache test issues at the moment, preventing a clean merge.
This PR:
1. Removes the `@slow` decorator from a few tests (change pulled from #37394)
2. Deletes `test_static_cache_greedy_decoding_pad_right`, as it doesn't make sense to ... | {
"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/37684/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/37684/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37683 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37683/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37683/comments | https://api.github.com/repos/huggingface/transformers/issues/37683/events | https://github.com/huggingface/transformers/issues/37683 | 3,011,581,459 | I_kwDOCUB6oc6zgRYT | 37,683 | Behaviour of `batch_eval_metrics` determines the `include_for_metrics` behaviour | {
"login": "prabhuteja12",
"id": 11191577,
"node_id": "MDQ6VXNlcjExMTkxNTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/11191577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prabhuteja12",
"html_url": "https://github.com/prabhuteja12",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-22T16:35:31 | 2025-08-21T16:56:24 | 2025-06-30T08:03:23 | NONE | null | null | null | null | ### System Info
Hello!
In the [`evaluation_loop`](https://github.com/huggingface/transformers/blob/v4.51.1/src/transformers/trainer.py#L4442) method, there is an interplay between the `batch_eval_metrics` and `include_for_metrics` arguments. When `include_for_metrics` is set to `inputs`, what is sent to `compute_met... | {
"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/37683/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/37683/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/37682 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37682/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37682/comments | https://api.github.com/repos/huggingface/transformers/issues/37682/events | https://github.com/huggingface/transformers/pull/37682 | 3,011,561,849 | PR_kwDOCUB6oc6TdvTf | 37,682 | FIX: Register image processing kwargs in DonutProcessor | {
"login": "mrseongminkim",
"id": 78520681,
"node_id": "MDQ6VXNlcjc4NTIwNjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/78520681?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrseongminkim",
"html_url": "https://github.com/mrseongminkim",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | [] | 2025-04-22T16:26:08 | 2025-09-21T14:19:00 | 2025-09-21T14:19:00 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37682",
"html_url": "https://github.com/huggingface/transformers/pull/37682",
"diff_url": "https://github.com/huggingface/transformers/pull/37682.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37682.patch",
"merged_at... | # What does this PR do?
This PR addresses an issue where `DonutProcessor` ignores certain valid image preprocessing keyword arguments, such as `random_padding`, `do_thumbnail`, and `do_align_long_axis`, when they are passed directly during the processor call.
**Problem:**
When using the processor as shown below, t... | {
"login": "mrseongminkim",
"id": 78520681,
"node_id": "MDQ6VXNlcjc4NTIwNjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/78520681?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrseongminkim",
"html_url": "https://github.com/mrseongminkim",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37682/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/37682/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37681 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37681/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37681/comments | https://api.github.com/repos/huggingface/transformers/issues/37681/events | https://github.com/huggingface/transformers/pull/37681 | 3,011,500,783 | PR_kwDOCUB6oc6TdiYO | 37,681 | refactor create_token_type_ids_from_sequences | {
"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-22T15:58:13 | 2025-06-12T21:24:45 | 2025-06-12T21:24:43 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37681",
"html_url": "https://github.com/huggingface/transformers/pull/37681",
"diff_url": "https://github.com/huggingface/transformers/pull/37681.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37681.patch",
"merged_at... | lots of duplicate code for `create_token_type_ids_from_sequences`, we can refactor by updating the base function!
However I think it should also be internalized (see https://github.com/huggingface/transformers/pull/37522) as it's only used internally by `prepare_for_model` for **slow tokenizers only**.
Questions... | {
"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/37681/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/37681/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37680 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37680/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37680/comments | https://api.github.com/repos/huggingface/transformers/issues/37680/events | https://github.com/huggingface/transformers/issues/37680 | 3,011,476,209 | I_kwDOCUB6oc6zf3rx | 37,680 | Transformer pipelines erroneously invokes torch | {
"login": "rishic3",
"id": 77904151,
"node_id": "MDQ6VXNlcjc3OTA0MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/77904151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rishic3",
"html_url": "https://github.com/rishic3",
"followers_url": "https://api.github.com/users/rishic... | [
{
"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-22T15:47:49 | 2025-04-24T09:31:36 | 2025-04-24T09:31:36 | NONE | null | null | null | null | ### System Info
As originally pointed out by @radoslav-dimitrov-indeavr (see [this comment](https://github.com/huggingface/transformers/pull/37307#issuecomment-2786494331)), PR #37307 adds a torch invocation to pipelines, which will cause pure tensorflow applications to break.
transformers/src/transformers/pipelines... | {
"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/37680/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/37680/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/37679 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37679/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37679/comments | https://api.github.com/repos/huggingface/transformers/issues/37679/events | https://github.com/huggingface/transformers/issues/37679 | 3,011,461,004 | I_kwDOCUB6oc6zfz-M | 37,679 | This PR causes Transformers to error out when a model is using Tensorflow and the environment does not provide `torch` in any way | {
"login": "rishic3",
"id": 77904151,
"node_id": "MDQ6VXNlcjc3OTA0MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/77904151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rishic3",
"html_url": "https://github.com/rishic3",
"followers_url": "https://api.github.com/users/rishic... | [] | closed | false | null | [] | null | [] | 2025-04-22T15:41:34 | 2025-04-22T15:48:22 | 2025-04-22T15:48:22 | NONE | null | null | null | null | This PR causes Transformers to error out when a model is using Tensorflow and the environment does not provide `torch` in any way
transformers/src/transformers/pipelines/base.py:
```
if torch.distributed.is_initialized():
```
[Source](https://github.com/huggingface/transformers/blame/53... | {
"login": "rishic3",
"id": 77904151,
"node_id": "MDQ6VXNlcjc3OTA0MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/77904151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rishic3",
"html_url": "https://github.com/rishic3",
"followers_url": "https://api.github.com/users/rishic... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37679/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/37679/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/37678 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37678/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37678/comments | https://api.github.com/repos/huggingface/transformers/issues/37678/events | https://github.com/huggingface/transformers/pull/37678 | 3,011,347,218 | PR_kwDOCUB6oc6TdBQ2 | 37,678 | Add maintainers for ROCm/Intel XPU/Ascend NPU | {
"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-22T14:56:04 | 2025-04-23T13:28:34 | 2025-04-23T13:28:32 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37678",
"html_url": "https://github.com/huggingface/transformers/pull/37678",
"diff_url": "https://github.com/huggingface/transformers/pull/37678.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37678.patch",
"merged_at... | We have a list of maintainers for various parts of the library in the issue template; this PR adds maintainers for backends like ROCm, XPU and Ascend NPU.
cc @ivarflakstad @IlyasMoutawwakil - let me know if you're okay with this! | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37678/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/37678/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37677 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37677/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37677/comments | https://api.github.com/repos/huggingface/transformers/issues/37677/events | https://github.com/huggingface/transformers/pull/37677 | 3,011,342,604 | PR_kwDOCUB6oc6TdAQH | 37,677 | [docs] only build `en` docs in push CI | {
"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-22T14:54:17 | 2025-04-22T16:05:16 | 2025-04-22T16:05:11 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37677",
"html_url": "https://github.com/huggingface/transformers/pull/37677",
"diff_url": "https://github.com/huggingface/transformers/pull/37677.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37677.patch",
"merged_at... | # What does this PR do?
In our push CI, restrict the doc builder to `en`
- All languages: ~26 mins ([data point](https://github.com/huggingface/transformers/actions/runs/14597021526/job/40945447156))
- `en`: ~12 mins (this PR)
Pros:
- `en` has the full doc reference to class/methods (in other languages it is a... | {
"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/37677/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/37677/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37676 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37676/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37676/comments | https://api.github.com/repos/huggingface/transformers/issues/37676/events | https://github.com/huggingface/transformers/pull/37676 | 3,011,297,782 | PR_kwDOCUB6oc6Tc2fs | 37,676 | [cleanup] remove old scripts in `/scripts` 🧹 🧹 | {
"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-22T14:38:19 | 2025-04-22T15:59:06 | 2025-04-22T15:59:03 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37676",
"html_url": "https://github.com/huggingface/transformers/pull/37676",
"diff_url": "https://github.com/huggingface/transformers/pull/37676.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37676.patch",
"merged_at... | # What does this PR do?
Removes old scripts in `/scripts` that have no cross-references in other parts of the code base nor recent updates, as chatted with @LysandreJik
Scripts removed:
- `scripts/benchmark/trainer-benchmark.py`: many trainer flags were added since last relevant commit (>3 years ago)
- `script... | {
"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/37676/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/37676/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37675 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37675/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37675/comments | https://api.github.com/repos/huggingface/transformers/issues/37675/events | https://github.com/huggingface/transformers/pull/37675 | 3,010,945,289 | PR_kwDOCUB6oc6Tbp0g | 37,675 | Fix autoround docs | {
"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-22T12:31:40 | 2025-04-22T13:33:15 | 2025-04-22T13:33:13 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37675",
"html_url": "https://github.com/huggingface/transformers/pull/37675",
"diff_url": "https://github.com/huggingface/transformers/pull/37675.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37675.patch",
"merged_at... | # What does this PR do?
This PR adds autoround docs in the _toctree file | {
"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/37675/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/37675/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37674 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37674/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37674/comments | https://api.github.com/repos/huggingface/transformers/issues/37674/events | https://github.com/huggingface/transformers/pull/37674 | 3,010,810,248 | PR_kwDOCUB6oc6TbMd6 | 37,674 | Update model card for Gemma | {
"login": "afafelwafi",
"id": 54381332,
"node_id": "MDQ6VXNlcjU0MzgxMzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/54381332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/afafelwafi",
"html_url": "https://github.com/afafelwafi",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-22T11:34:52 | 2025-04-24T16:58:46 | 2025-04-24T16:58:46 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37674",
"html_url": "https://github.com/huggingface/transformers/pull/37674",
"diff_url": "https://github.com/huggingface/transformers/pull/37674.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37674.patch",
"merged_at... | # What does this PR do?
Update the model card for Gemma #36979
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#create... | {
"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/37674/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/37674/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37673 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37673/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37673/comments | https://api.github.com/repos/huggingface/transformers/issues/37673/events | https://github.com/huggingface/transformers/pull/37673 | 3,010,741,614 | PR_kwDOCUB6oc6Ta9aY | 37,673 | Fix no_split_modules for Llama4 pretrained models | {
"login": "astefanutti",
"id": 366207,
"node_id": "MDQ6VXNlcjM2NjIwNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/366207?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astefanutti",
"html_url": "https://github.com/astefanutti",
"followers_url": "https://api.github.com/user... | [] | closed | false | null | [] | null | [] | 2025-04-22T11:05:33 | 2025-04-22T14:05:54 | 2025-04-22T14:05:13 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37673",
"html_url": "https://github.com/huggingface/transformers/pull/37673",
"diff_url": "https://github.com/huggingface/transformers/pull/37673.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37673.patch",
"merged_at... | # What does this PR do?
This PR moves the definition of `_no_split_modules` for Llama4 pre-trained models from the base `Llama4PreTrainedModel` class to the subclasses so each model has the correct set of modules.
Otherwise loading the `Llama4ForCausalLM` currently fails because it doesn't have the `Llama4VisionE... | {
"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/37673/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/37673/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37672 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37672/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37672/comments | https://api.github.com/repos/huggingface/transformers/issues/37672/events | https://github.com/huggingface/transformers/issues/37672 | 3,010,727,922 | I_kwDOCUB6oc6zdA_y | 37,672 | ValueError: Could not find the transformer layer class Llama4VisionEncoderLayer in the model | {
"login": "astefanutti",
"id": 366207,
"node_id": "MDQ6VXNlcjM2NjIwNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/366207?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astefanutti",
"html_url": "https://github.com/astefanutti",
"followers_url": "https://api.github.com/user... | [
{
"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-22T10:59:45 | 2025-04-22T14:05:14 | 2025-04-22T14:05:14 | CONTRIBUTOR | null | null | null | null | ### System Info
transformers==4.51.3
Python version: 3.11
### Who can help?
@ArthurZucker @amyeroberts @qubvel
### 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 data... | {
"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/37672/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/37672/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/37671 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37671/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37671/comments | https://api.github.com/repos/huggingface/transformers/issues/37671/events | https://github.com/huggingface/transformers/issues/37671 | 3,010,674,417 | I_kwDOCUB6oc6zcz7x | 37,671 | `Model.from_pretrained` breaks when using SinusoidalEmbedding | {
"login": "ZhiyuanChen",
"id": 28757366,
"node_id": "MDQ6VXNlcjI4NzU3MzY2",
"avatar_url": "https://avatars.githubusercontent.com/u/28757366?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZhiyuanChen",
"html_url": "https://github.com/ZhiyuanChen",
"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-22T10:36:14 | 2025-06-13T14:01:05 | 2025-06-13T14:01:05 | CONTRIBUTOR | null | null | null | null | ### System Info
- `transformers` version: 4.51.0
- Platform: macOS-15.3.1-arm64-arm-64bit
- Python version: 3.12.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.6.0 (False)
- Te... | {
"login": "ZhiyuanChen",
"id": 28757366,
"node_id": "MDQ6VXNlcjI4NzU3MzY2",
"avatar_url": "https://avatars.githubusercontent.com/u/28757366?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZhiyuanChen",
"html_url": "https://github.com/ZhiyuanChen",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37671/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/37671/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/37670 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37670/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37670/comments | https://api.github.com/repos/huggingface/transformers/issues/37670/events | https://github.com/huggingface/transformers/pull/37670 | 3,010,648,108 | PR_kwDOCUB6oc6TapIa | 37,670 | Correct warm-up with fp8 | {
"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-22T10:26:06 | 2025-04-22T11:21:02 | 2025-04-22T11:12:49 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37670",
"html_url": "https://github.com/huggingface/transformers/pull/37670",
"diff_url": "https://github.com/huggingface/transformers/pull/37670.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37670.patch",
"merged_at... | # What does this PR do?
This PR starts the work of having fine-grained allocation when using quantizers. For now, it reflects the actual library behavior, while simply adjusting fp8 quantization (for Deepseek), but it should become more general in the future (i.e. probably the default should be 2 if most quantizers ... | {
"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/37670/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/37670/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37669 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37669/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37669/comments | https://api.github.com/repos/huggingface/transformers/issues/37669/events | https://github.com/huggingface/transformers/pull/37669 | 3,010,635,127 | PR_kwDOCUB6oc6TamTQ | 37,669 | [docs] fix bug in quantization docs | {
"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-22T10:20:47 | 2025-04-22T11:41:46 | 2025-04-22T11:18:04 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37669",
"html_url": "https://github.com/huggingface/transformers/pull/37669",
"diff_url": "https://github.com/huggingface/transformers/pull/37669.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37669.patch",
"merged_at... | # What does this PR do?
docbuilder is crashing because we're closing more sections than we open | {
"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/37669/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/37669/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37668 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37668/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37668/comments | https://api.github.com/repos/huggingface/transformers/issues/37668/events | https://github.com/huggingface/transformers/pull/37668 | 3,010,592,049 | PR_kwDOCUB6oc6Tac7y | 37,668 | Refactor bitsandbytes doc | {
"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-22T10:03:23 | 2025-04-22T14:13:27 | 2025-04-22T14:13:26 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37668",
"html_url": "https://github.com/huggingface/transformers/pull/37668",
"diff_url": "https://github.com/huggingface/transformers/pull/37668.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37668.patch",
"merged_at... | # What does this PR do?
Refactor bitsandbytes docs for better readability | {
"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/37668/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/37668/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37667 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37667/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37667/comments | https://api.github.com/repos/huggingface/transformers/issues/37667/events | https://github.com/huggingface/transformers/pull/37667 | 3,010,548,301 | PR_kwDOCUB6oc6TaTbp | 37,667 | Fix duplicated weights in fp8 quantization | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-22T09:46:07 | 2025-04-28T11:02:19 | 2025-04-22T11:12:27 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37667",
"html_url": "https://github.com/huggingface/transformers/pull/37667",
"diff_url": "https://github.com/huggingface/transformers/pull/37667.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37667.patch",
"merged_at... | # What does this PR do?
https://github.com/huggingface/transformers/pull/35926 moved the fp8 params from buffers to parameters (which makes sense), but the quantizer itself was not updated, so the parameters would still be added as buffers leading to duplicated weights (they would live as both buffers and parameters... | {
"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/37667/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/37667/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37666 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37666/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37666/comments | https://api.github.com/repos/huggingface/transformers/issues/37666/events | https://github.com/huggingface/transformers/pull/37666 | 3,010,449,548 | PR_kwDOCUB6oc6TZ-G5 | 37,666 | Refine parameter type annotations | {
"login": "flashJd",
"id": 23452216,
"node_id": "MDQ6VXNlcjIzNDUyMjE2",
"avatar_url": "https://avatars.githubusercontent.com/u/23452216?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flashJd",
"html_url": "https://github.com/flashJd",
"followers_url": "https://api.github.com/users/flashJ... | [] | closed | false | null | [] | null | [] | 2025-04-22T09:08:39 | 2025-04-24T14:37:14 | 2025-04-24T14:37:14 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37666",
"html_url": "https://github.com/huggingface/transformers/pull/37666",
"diff_url": "https://github.com/huggingface/transformers/pull/37666.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37666.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37666/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/37666/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37665 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37665/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37665/comments | https://api.github.com/repos/huggingface/transformers/issues/37665/events | https://github.com/huggingface/transformers/pull/37665 | 3,010,324,523 | PR_kwDOCUB6oc6TZjLn | 37,665 | [tests] fix `test_nemotron_8b_generation_sdpa` | {
"login": "faaany",
"id": 24477841,
"node_id": "MDQ6VXNlcjI0NDc3ODQx",
"avatar_url": "https://avatars.githubusercontent.com/u/24477841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/faaany",
"html_url": "https://github.com/faaany",
"followers_url": "https://api.github.com/users/faaany/fo... | [] | closed | false | null | [] | null | [] | 2025-04-22T08:21:35 | 2025-04-24T09:28:36 | 2025-04-24T09:28:35 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37665",
"html_url": "https://github.com/huggingface/transformers/pull/37665",
"diff_url": "https://github.com/huggingface/transformers/pull/37665.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37665.patch",
"merged_at... | ## What does this PR do?
Not sure whether the model got updated, but `test_nemotron_8b_generation_sdpa` fails on CUDA. This PR fixes this by adding `max_new_tokens` to make it pass. Otherwise, you will get the following error:
```bash
def test_nemotron_8b_generation_sdpa(self):
text = ["What is the la... | {
"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/37665/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/37665/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37664 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37664/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37664/comments | https://api.github.com/repos/huggingface/transformers/issues/37664/events | https://github.com/huggingface/transformers/issues/37664 | 3,009,767,014 | I_kwDOCUB6oc6zZWZm | 37,664 | System kills the processes of llama2-70B fsdp finetune when loading the model | {
"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... | [
{
"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-22T03:38:27 | 2025-05-01T14:41:18 | 2025-04-23T06:01:57 | CONTRIBUTOR | null | null | null | null | ### System Info
transformers version: 4.52.0.dev0(fee11906) latest main
- `transformers` version: 4.52.0.dev0
- Platform: Linux-5.15.0-131-generic-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.7.0.dev0
- Accelerate config: - c... | {
"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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37664/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/37664/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/37663 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37663/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37663/comments | https://api.github.com/repos/huggingface/transformers/issues/37663/events | https://github.com/huggingface/transformers/issues/37663 | 3,009,720,609 | I_kwDOCUB6oc6zZLEh | 37,663 | Distributed loading error with from_pretrained for tp_plan is None | {
"login": "kcz358",
"id": 92624596,
"node_id": "U_kgDOBYVW1A",
"avatar_url": "https://avatars.githubusercontent.com/u/92624596?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kcz358",
"html_url": "https://github.com/kcz358",
"followers_url": "https://api.github.com/users/kcz358/followers"... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-22T03:00:00 | 2025-04-24T12:56:54 | 2025-04-24T12:56:54 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.52.0.dev0
- Platform: Linux-5.15.120.bsk.2-amd64-x86_64-with-glibc2.36
- Python version: 3.10.16
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (G... | {
"login": "kcz358",
"id": 92624596,
"node_id": "U_kgDOBYVW1A",
"avatar_url": "https://avatars.githubusercontent.com/u/92624596?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kcz358",
"html_url": "https://github.com/kcz358",
"followers_url": "https://api.github.com/users/kcz358/followers"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37663/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/37663/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/37662 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37662/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37662/comments | https://api.github.com/repos/huggingface/transformers/issues/37662/events | https://github.com/huggingface/transformers/pull/37662 | 3,009,515,974 | PR_kwDOCUB6oc6TW19P | 37,662 | enable blip2 and emu3 cases on XPU | {
"login": "yao-matrix",
"id": 7245027,
"node_id": "MDQ6VXNlcjcyNDUwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7245027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yao-matrix",
"html_url": "https://github.com/yao-matrix",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-04-21T23:54:20 | 2025-04-22T23:03:34 | 2025-04-22T16:37:09 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37662",
"html_url": "https://github.com/huggingface/transformers/pull/37662",
"diff_url": "https://github.com/huggingface/transformers/pull/37662.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37662.patch",
"merged_at... | 5 cases:
FAILED tests/models/emu3/test_modeling_emu3.py::Emu3IntegrationTest::test_model_generate_images
PASSED tests/models/emu3/test_modeling_emu3.py::Emu3IntegrationTest::test_model_generation_batched
PASSED tests/models/emu3/test_modeling_emu3.py::Emu3IntegrationTest::test_model_generation_multi_image
PASSED te... | {
"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/37662/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/37662/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37661 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37661/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37661/comments | https://api.github.com/repos/huggingface/transformers/issues/37661/events | https://github.com/huggingface/transformers/pull/37661 | 3,009,202,920 | PR_kwDOCUB6oc6TVyIV | 37,661 | add fast image processor nougat | {
"login": "NahieliV",
"id": 54726691,
"node_id": "MDQ6VXNlcjU0NzI2Njkx",
"avatar_url": "https://avatars.githubusercontent.com/u/54726691?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NahieliV",
"html_url": "https://github.com/NahieliV",
"followers_url": "https://api.github.com/users/Nah... | [] | closed | false | null | [] | null | [] | 2025-04-21T20:03:26 | 2025-06-27T14:39:43 | 2025-06-27T14:39:43 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37661",
"html_url": "https://github.com/huggingface/transformers/pull/37661",
"diff_url": "https://github.com/huggingface/transformers/pull/37661.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37661.patch",
"merged_at... | # What does this PR do?
Adds fast image processor for Nougat model.
https://github.com/huggingface/transformers/issues/36978
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ x] Did you read the [contributor guideline](https://g... | {
"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/37661/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/37661/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37660 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37660/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37660/comments | https://api.github.com/repos/huggingface/transformers/issues/37660/events | https://github.com/huggingface/transformers/pull/37660 | 3,009,189,217 | PR_kwDOCUB6oc6TVvFh | 37,660 | Qwen 2.5 Omni: apply video defaults | {
"login": "pcuenca",
"id": 1177582,
"node_id": "MDQ6VXNlcjExNzc1ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1177582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pcuenca",
"html_url": "https://github.com/pcuenca",
"followers_url": "https://api.github.com/users/pcuenca/... | [] | closed | false | null | [] | null | [] | 2025-04-21T19:56:11 | 2025-04-28T09:29:38 | 2025-04-23T15:08:11 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37660",
"html_url": "https://github.com/huggingface/transformers/pull/37660",
"diff_url": "https://github.com/huggingface/transformers/pull/37660.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37660.patch",
"merged_at... | # What does this PR do?
Applies `min_pixels` and `max_pixels` values to video processor.
The values were taken from [the original processing codebase](https://github.com/QwenLM/Qwen2.5-Omni/blob/7c8dddb38d52a58ce57e778e10fa0eaf26e078e9/qwen-omni-utils/src/qwen_omni_utils/v2_5/vision_process.py#L30), which uses a ... | {
"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/37660/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37660/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37659 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37659/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37659/comments | https://api.github.com/repos/huggingface/transformers/issues/37659/events | https://github.com/huggingface/transformers/issues/37659 | 3,009,014,017 | I_kwDOCUB6oc6zWekB | 37,659 | Avoid adding space when decoding tokenization | {
"login": "cikay",
"id": 24587499,
"node_id": "MDQ6VXNlcjI0NTg3NDk5",
"avatar_url": "https://avatars.githubusercontent.com/u/24587499?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cikay",
"html_url": "https://github.com/cikay",
"followers_url": "https://api.github.com/users/cikay/follow... | [
{
"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-21T18:21:03 | 2025-04-21T18:21:49 | null | NONE | null | null | null | null | ### Feature request
Hi, I trained a tokenizers. Tokens contain spaces as well. When I decode the decode method add space between tokens and it makes it wrong I need to avoid them. How to do that?
from transformers import PreTrainedTokenizerFast
tokenizer = PreTrainedTokenizerFast.from_pretrained("muzaffercky/kurdish... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37659/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/37659/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/37658 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37658/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37658/comments | https://api.github.com/repos/huggingface/transformers/issues/37658/events | https://github.com/huggingface/transformers/pull/37658 | 3,008,715,146 | PR_kwDOCUB6oc6TUJPd | 37,658 | Add GraniteMoeHybrid support for 4.0 | {
"login": "Ssukriti",
"id": 16025630,
"node_id": "MDQ6VXNlcjE2MDI1NjMw",
"avatar_url": "https://avatars.githubusercontent.com/u/16025630?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ssukriti",
"html_url": "https://github.com/Ssukriti",
"followers_url": "https://api.github.com/users/Ssu... | [] | closed | false | null | [] | null | [] | 2025-04-21T15:43:06 | 2025-05-06T04:47:43 | 2025-05-06T04:47:43 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37658",
"html_url": "https://github.com/huggingface/transformers/pull/37658",
"diff_url": "https://github.com/huggingface/transformers/pull/37658.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37658.patch",
"merged_at... | # What does this PR do?
The PR adds support for upcoming Granite4.0 models. It terms of model architecture, it is a hybrid class with shared MLP layer and Bamba layers.
Fixes # (issue)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case... | {
"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/37658/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/37658/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37657 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37657/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37657/comments | https://api.github.com/repos/huggingface/transformers/issues/37657/events | https://github.com/huggingface/transformers/pull/37657 | 3,008,646,133 | PR_kwDOCUB6oc6TT52d | 37,657 | Transformers cli clean command | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-21T15:13:28 | 2025-04-30T11:15:45 | 2025-04-30T11:15:44 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37657",
"html_url": "https://github.com/huggingface/transformers/pull/37657",
"diff_url": "https://github.com/huggingface/transformers/pull/37657.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37657.patch",
"merged_at... | This updates the `transformers-cli` commands towards a cleaner `transformers` command.
It also updates the `chat` command to accept the model name or path as a positional argument as well as keyword argument.
This allows the following command:
```
transformers-cli chat --model_name_or_path Qwen/Qwen2.5-3B-Instruc... | {
"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/37657/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37657/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37656 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37656/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37656/comments | https://api.github.com/repos/huggingface/transformers/issues/37656/events | https://github.com/huggingface/transformers/pull/37656 | 3,008,493,256 | PR_kwDOCUB6oc6TTYbD | 37,656 | [internvl] fix chat template | {
"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-21T14:08:24 | 2025-04-23T14:56:37 | 2025-04-23T14:56:37 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37656",
"html_url": "https://github.com/huggingface/transformers/pull/37656",
"diff_url": "https://github.com/huggingface/transformers/pull/37656.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37656.patch",
"merged_at... | # What does this PR do?
As per title, loading video with custom sampling has been changed recently and InternVL didn't have the update. Also PR modifies `content_image_token -> image_token`
@yonigozlan ideally we would have the same `fake_image_token` and `image_token`, which is used in vLLM to construct dummy te... | {
"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/37656/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/37656/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37655 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37655/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37655/comments | https://api.github.com/repos/huggingface/transformers/issues/37655/events | https://github.com/huggingface/transformers/pull/37655 | 3,008,457,694 | PR_kwDOCUB6oc6TTQsU | 37,655 | typo update in the parameter name | {
"login": "LunaticMaestro",
"id": 38010046,
"node_id": "MDQ6VXNlcjM4MDEwMDQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/38010046?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LunaticMaestro",
"html_url": "https://github.com/LunaticMaestro",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | null | [] | 2025-04-21T13:48:58 | 2025-04-22T16:14:21 | 2025-04-22T16:14:20 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37655",
"html_url": "https://github.com/huggingface/transformers/pull/37655",
"diff_url": "https://github.com/huggingface/transformers/pull/37655.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37655.patch",
"merged_at... | See L118 and L143 for the class attribute `hidden_dim`
# 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... | {
"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/37655/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/37655/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37654 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37654/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37654/comments | https://api.github.com/repos/huggingface/transformers/issues/37654/events | https://github.com/huggingface/transformers/pull/37654 | 3,008,426,015 | PR_kwDOCUB6oc6TTJ3R | 37,654 | [Fix] InternVL3 automodel & InternVLProcessor import | {
"login": "quoccuongLE",
"id": 26406021,
"node_id": "MDQ6VXNlcjI2NDA2MDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/26406021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/quoccuongLE",
"html_url": "https://github.com/quoccuongLE",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-21T13:32:23 | 2025-04-24T09:45:35 | 2025-04-24T09:45:34 | NONE | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37654",
"html_url": "https://github.com/huggingface/transformers/pull/37654",
"diff_url": "https://github.com/huggingface/transformers/pull/37654.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37654.patch",
"merged_at... | # What does this PR do?
This PR is to fix a model import problem mentioned in #37595 relating InternVL3 models
Fixes # (issue)
* Fixed loading InternVL model via AutoModel by adding ("internvl", "InternVLForConditionalGeneration") in MODEL_MAPPING_NAMES
* Fixed loading InternVLProcessor error while attributes... | {
"login": "quoccuongLE",
"id": 26406021,
"node_id": "MDQ6VXNlcjI2NDA2MDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/26406021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/quoccuongLE",
"html_url": "https://github.com/quoccuongLE",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37654/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/37654/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37653 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37653/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37653/comments | https://api.github.com/repos/huggingface/transformers/issues/37653/events | https://github.com/huggingface/transformers/pull/37653 | 3,008,367,574 | PR_kwDOCUB6oc6TS9PX | 37,653 | Non model inits | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | open | false | null | [] | null | [] | 2025-04-21T12:59:57 | 2025-06-02T09:21:06 | null | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37653",
"html_url": "https://github.com/huggingface/transformers/pull/37653",
"diff_url": "https://github.com/huggingface/transformers/pull/37653.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37653.patch",
"merged_at... | Handle the inits outside of models | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37653/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37653/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37652 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37652/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37652/comments | https://api.github.com/repos/huggingface/transformers/issues/37652/events | https://github.com/huggingface/transformers/pull/37652 | 3,008,325,684 | PR_kwDOCUB6oc6TS0B2 | 37,652 | fix link in kv_cache.md | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | [] | closed | false | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | [
{
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": ... | null | [] | 2025-04-21T12:33:58 | 2025-04-21T16:01:12 | 2025-04-21T16:01:11 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37652",
"html_url": "https://github.com/huggingface/transformers/pull/37652",
"diff_url": "https://github.com/huggingface/transformers/pull/37652.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37652.patch",
"merged_at... | Fix link reference in cache docs.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#create-a-pull-request),
Pull Requ... | {
"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/37652/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/37652/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37651 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37651/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37651/comments | https://api.github.com/repos/huggingface/transformers/issues/37651/events | https://github.com/huggingface/transformers/pull/37651 | 3,008,280,348 | PR_kwDOCUB6oc6TSqGa | 37,651 | Add test to ensure unknown exceptions reraising in utils/hub.py::cached_files() | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | null | [] | 2025-04-21T12:06:00 | 2025-04-22T09:38:17 | 2025-04-22T09:38:11 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37651",
"html_url": "https://github.com/huggingface/transformers/pull/37651",
"diff_url": "https://github.com/huggingface/transformers/pull/37651.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37651.patch",
"merged_at... | After fixing #37477 with #37525, a proper test was pending, so we ensure unknown Exceptions are properly re-raised.
Thanks again Cyril for the helpful review and guidance in the previous PR! Let me know if the test is adequate :)
## Who can review?
@Cyrilvallez | {
"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/37651/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/37651/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37650 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37650/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37650/comments | https://api.github.com/repos/huggingface/transformers/issues/37650/events | https://github.com/huggingface/transformers/pull/37650 | 3,008,239,073 | PR_kwDOCUB6oc6TShkx | 37,650 | Fixing quantization tests | {
"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-21T11:41:46 | 2025-04-22T11:59:58 | 2025-04-22T11:59:57 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37650",
"html_url": "https://github.com/huggingface/transformers/pull/37650",
"diff_url": "https://github.com/huggingface/transformers/pull/37650.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37650.patch",
"merged_at... | # What does this PR do?
Fixes many quantization failling tests | {
"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/37650/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/37650/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37649 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37649/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37649/comments | https://api.github.com/repos/huggingface/transformers/issues/37649/events | https://github.com/huggingface/transformers/pull/37649 | 3,008,189,484 | PR_kwDOCUB6oc6TSWpt | 37,649 | Support loading Gemma3 QAT GGUF models | {
"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... | [] | closed | false | null | [] | null | [] | 2025-04-21T11:13:22 | 2025-04-22T15:49:34 | 2025-04-22T09:23:17 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37649",
"html_url": "https://github.com/huggingface/transformers/pull/37649",
"diff_url": "https://github.com/huggingface/transformers/pull/37649.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37649.patch",
"merged_at... | # What does this PR do?
originally reported in vllm: https://github.com/vllm-project/vllm/issues/14723#issuecomment-2817093067
- Gemma3 QAT GGUF checkpoint doesn't have `general.basename` field in metadata
- This PR handles this edge case to avoid `KeyError: 'general.name'` raising
## Before submitting
- [ ]... | {
"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/37649/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/37649/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37648 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37648/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37648/comments | https://api.github.com/repos/huggingface/transformers/issues/37648/events | https://github.com/huggingface/transformers/issues/37648 | 3,007,874,390 | I_kwDOCUB6oc6zSIVW | 37,648 | Adding Paged Attention to Qwen1.5-MoE-A2.7B-Chat models using PyTorch XLA and Pallas | {
"login": "ranwangmath1988",
"id": 208410960,
"node_id": "U_kgDODGwZUA",
"avatar_url": "https://avatars.githubusercontent.com/u/208410960?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ranwangmath1988",
"html_url": "https://github.com/ranwangmath1988",
"followers_url": "https://api.githu... | [
{
"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-21T08:15:45 | 2025-04-21T08:16:18 | null | NONE | null | null | null | null | ### Feature request
[Qwen1.5-MoE-A2.7B-Chat](https://huggingface.co/Qwen/Qwen1.5-MoE-A2.7B-Chat)(https://huggingface.co/Qwen/Qwen1.5-MoE-A2.7B-Chat) is one of the models that is closest to DeepSeek with improvement. In the current state, FlashAttention is only implemented for GPUs. On the other hand, for TPU training,... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37648/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/37648/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/37647 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37647/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37647/comments | https://api.github.com/repos/huggingface/transformers/issues/37647/events | https://github.com/huggingface/transformers/pull/37647 | 3,007,563,466 | PR_kwDOCUB6oc6TQOH3 | 37,647 | added mllama doc | {
"login": "Nikil-D-Gr8",
"id": 74810781,
"node_id": "MDQ6VXNlcjc0ODEwNzgx",
"avatar_url": "https://avatars.githubusercontent.com/u/74810781?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Nikil-D-Gr8",
"html_url": "https://github.com/Nikil-D-Gr8",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-21T04:59:15 | 2025-05-10T04:54:35 | 2025-05-10T04:54:35 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37647",
"html_url": "https://github.com/huggingface/transformers/pull/37647",
"diff_url": "https://github.com/huggingface/transformers/pull/37647.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37647.patch",
"merged_at... | What does this PR do?
As suggested in this issue[ #issue-2947704577](https://github.com/huggingface/transformers/issues/36979#issuecomment-2817025078) - this PR updates the documentation of the CLIP model, which will now be aligned with the standardized format for all the docs.
Worked on mllama, Used AI , so please l... | {
"login": "Nikil-D-Gr8",
"id": 74810781,
"node_id": "MDQ6VXNlcjc0ODEwNzgx",
"avatar_url": "https://avatars.githubusercontent.com/u/74810781?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Nikil-D-Gr8",
"html_url": "https://github.com/Nikil-D-Gr8",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37647/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/37647/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37646 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37646/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37646/comments | https://api.github.com/repos/huggingface/transformers/issues/37646/events | https://github.com/huggingface/transformers/issues/37646 | 3,007,496,186 | I_kwDOCUB6oc6zQr_6 | 37,646 | "pipeline" is not exported from module "transformers" | {
"login": "tekumara",
"id": 125105,
"node_id": "MDQ6VXNlcjEyNTEwNQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/125105?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tekumara",
"html_url": "https://github.com/tekumara",
"followers_url": "https://api.github.com/users/tekumar... | [
{
"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-21T03:55:11 | 2025-10-12T08:04:17 | 2025-10-12T08:04:17 | NONE | null | null | null | null | ### System Info
In vscode/pyright:
```python
from transformers import pipeline
```
Reports the type error:
```
"pipeline" is not exported from module "transformers"
Import from "transformers.pipelines" instead Pylance[reportPrivateImportUsage]
```
### Who can help?
@Rocketknight1
### Information
- [x] The offi... | {
"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/37646/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/37646/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/37645 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37645/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37645/comments | https://api.github.com/repos/huggingface/transformers/issues/37645/events | https://github.com/huggingface/transformers/pull/37645 | 3,007,460,836 | PR_kwDOCUB6oc6TP4oX | 37,645 | enable 4 test_trainer cases on XPU | {
"login": "yao-matrix",
"id": 7245027,
"node_id": "MDQ6VXNlcjcyNDUwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7245027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yao-matrix",
"html_url": "https://github.com/yao-matrix",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-04-21T03:17:43 | 2025-04-23T22:40:11 | 2025-04-23T19:29:42 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37645",
"html_url": "https://github.com/huggingface/transformers/pull/37645",
"diff_url": "https://github.com/huggingface/transformers/pull/37645.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37645.patch",
"merged_at... | below 4 cases passed
tests/trainer/test_trainer.py::TrainerIntegrationTest::test_galore_lr_display_with_scheduler
tests/trainer/test_trainer.py::TrainerIntegrationTest::test_galore_lr_display_without_scheduler
tests/trainer/test_trainer.py::TrainerIntegrationTest::test_schedulefree_radam
tests/trainer/test_trainer.... | {
"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/37645/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/37645/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37644 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37644/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37644/comments | https://api.github.com/repos/huggingface/transformers/issues/37644/events | https://github.com/huggingface/transformers/pull/37644 | 3,007,379,791 | PR_kwDOCUB6oc6TPn64 | 37,644 | enable mllama cases on xpu | {
"login": "yao-matrix",
"id": 7245027,
"node_id": "MDQ6VXNlcjcyNDUwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7245027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yao-matrix",
"html_url": "https://github.com/yao-matrix",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-04-21T01:48:43 | 2025-04-22T22:54:22 | 2025-04-22T15:39:10 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37644",
"html_url": "https://github.com/huggingface/transformers/pull/37644",
"diff_url": "https://github.com/huggingface/transformers/pull/37644.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37644.patch",
"merged_at... | 5 cases pass on both XPU and A100.
tests/models/mllama/test_modeling_mllama.py::MllamaForConditionalGenerationIntegrationTest::test_11b_model_integration_batched_generate
tests/models/mllama/test_modeling_mllama.py::MllamaForConditionalGenerationIntegrationTest::test_11b_model_integration_forward
tests/models/mlla... | {
"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/37644/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/37644/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37643 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37643/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37643/comments | https://api.github.com/repos/huggingface/transformers/issues/37643/events | https://github.com/huggingface/transformers/pull/37643 | 3,007,323,307 | PR_kwDOCUB6oc6TPcWK | 37,643 | Add support for manually setting `head_dim` in Qwen2 MoE | {
"login": "LuHC409",
"id": 113956490,
"node_id": "U_kgDOBsrWig",
"avatar_url": "https://avatars.githubusercontent.com/u/113956490?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LuHC409",
"html_url": "https://github.com/LuHC409",
"followers_url": "https://api.github.com/users/LuHC409/foll... | [] | open | false | null | [] | null | [] | 2025-04-21T00:37:47 | 2025-05-09T08:07:38 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37643",
"html_url": "https://github.com/huggingface/transformers/pull/37643",
"diff_url": "https://github.com/huggingface/transformers/pull/37643.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37643.patch",
"merged_at... | # Add support for manually setting `head_dim` in Qwen2 MoE
## Problem Description
Currently, in the Qwen2 MoE model, the `head_dim` is strictly set to `hidden_size // num_attention_heads`. This PR adds support for manually setting the `head_dim`, similar to the implementation in the Llama, Mistral, and Mixtral mo... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37643/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/37643/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37642 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37642/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37642/comments | https://api.github.com/repos/huggingface/transformers/issues/37642/events | https://github.com/huggingface/transformers/pull/37642 | 3,007,295,428 | PR_kwDOCUB6oc6TPWyN | 37,642 | Add time-based evaluation strategy to Trainer | {
"login": "ailunc",
"id": 131329865,
"node_id": "U_kgDOB9PvSQ",
"avatar_url": "https://avatars.githubusercontent.com/u/131329865?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ailunc",
"html_url": "https://github.com/ailunc",
"followers_url": "https://api.github.com/users/ailunc/follower... | [] | open | false | null | [] | null | [] | 2025-04-20T23:47:58 | 2025-05-09T13:23:00 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37642",
"html_url": "https://github.com/huggingface/transformers/pull/37642",
"diff_url": "https://github.com/huggingface/transformers/pull/37642.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37642.patch",
"merged_at... | # What does this PR do?
**Add time-based evaluation strategy to Trainer**
This PR introduces a time-based evaluation, saving, and logging strategy to the Hugging Face `Trainer`. Previously, the Trainer only supported step-based intervals, which can be inconvenient when running on different hardware setups (e.g., ... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37642/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37642/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37641 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37641/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37641/comments | https://api.github.com/repos/huggingface/transformers/issues/37641/events | https://github.com/huggingface/transformers/issues/37641 | 3,007,201,151 | I_kwDOCUB6oc6zPj9_ | 37,641 | Error message is misleading for missing protobuf | {
"login": "Ishan-Kumar2",
"id": 46553104,
"node_id": "MDQ6VXNlcjQ2NTUzMTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/46553104?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ishan-Kumar2",
"html_url": "https://github.com/Ishan-Kumar2",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-20T19:59:54 | 2025-05-29T08:02:57 | 2025-05-29T08:02:57 | NONE | null | null | null | null | ### System Info
transformers==4.51.3
I am trying to use a model using AutoModel.from_pretrained and it kept giving me this error.
OSError: Dream-org/Dream-v0-Instruct-7B does not appear to have files named ('model-00001-of-00004.safetensors', 'model-00002-of-00004.safetensors', 'model-00003-of-00004.safetensors'). C... | {
"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/37641/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/37641/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/37640 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37640/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37640/comments | https://api.github.com/repos/huggingface/transformers/issues/37640/events | https://github.com/huggingface/transformers/pull/37640 | 3,007,172,019 | PR_kwDOCUB6oc6TO-8K | 37,640 | Fix incorrect installation instructions (for issue #37476) | {
"login": "Zephyr271828",
"id": 109715540,
"node_id": "U_kgDOBoogVA",
"avatar_url": "https://avatars.githubusercontent.com/u/109715540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zephyr271828",
"html_url": "https://github.com/Zephyr271828",
"followers_url": "https://api.github.com/use... | [
{
"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-20T18:54:01 | 2025-05-08T15:32:59 | 2025-05-08T15:32:58 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37640",
"html_url": "https://github.com/huggingface/transformers/pull/37640",
"diff_url": "https://github.com/huggingface/transformers/pull/37640.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37640.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37640/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/37640/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37639 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37639/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37639/comments | https://api.github.com/repos/huggingface/transformers/issues/37639/events | https://github.com/huggingface/transformers/issues/37639 | 3,007,148,300 | I_kwDOCUB6oc6zPXEM | 37,639 | TrOCR (image-to-text) produces incorrect output (':') on 12th Gen Intel CPU (i7-1260P) even with simple input | {
"login": "eximius313",
"id": 5578017,
"node_id": "MDQ6VXNlcjU1NzgwMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5578017?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eximius313",
"html_url": "https://github.com/eximius313",
"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-20T18:00:29 | 2025-04-21T15:25:30 | 2025-04-21T15:25:29 | NONE | null | null | null | null | ### System Info
```
- `transformers` version: 4.51.3
- Platform: Windows-10-10.0.26100-SP0
- Python version: 3.11.9
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU?): 2.6.0+cpu (False)... | {
"login": "eximius313",
"id": 5578017,
"node_id": "MDQ6VXNlcjU1NzgwMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5578017?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eximius313",
"html_url": "https://github.com/eximius313",
"followers_url": "https://api.github.com/users... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37639/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/37639/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/37638 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37638/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37638/comments | https://api.github.com/repos/huggingface/transformers/issues/37638/events | https://github.com/huggingface/transformers/pull/37638 | 3,007,081,956 | PR_kwDOCUB6oc6TOtkE | 37,638 | [WIP] Support modernBERT for encoder-decoder models | {
"login": "yijun-lee",
"id": 119404328,
"node_id": "U_kgDOBx33KA",
"avatar_url": "https://avatars.githubusercontent.com/u/119404328?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yijun-lee",
"html_url": "https://github.com/yijun-lee",
"followers_url": "https://api.github.com/users/yijun-... | [] | closed | false | null | [] | null | [] | 2025-04-20T15:32:29 | 2025-05-12T02:37:02 | 2025-04-24T11:03:04 | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37638",
"html_url": "https://github.com/huggingface/transformers/pull/37638",
"diff_url": "https://github.com/huggingface/transformers/pull/37638.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37638.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": "yijun-lee",
"id": 119404328,
"node_id": "U_kgDOBx33KA",
"avatar_url": "https://avatars.githubusercontent.com/u/119404328?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yijun-lee",
"html_url": "https://github.com/yijun-lee",
"followers_url": "https://api.github.com/users/yijun-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37638/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/37638/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37637 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37637/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37637/comments | https://api.github.com/repos/huggingface/transformers/issues/37637/events | https://github.com/huggingface/transformers/issues/37637 | 3,006,907,057 | I_kwDOCUB6oc6zOcKx | 37,637 | Processor multiprocessing error when load custom processor | {
"login": "Kuangdd01",
"id": 82590017,
"node_id": "MDQ6VXNlcjgyNTkwMDE3",
"avatar_url": "https://avatars.githubusercontent.com/u/82590017?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kuangdd01",
"html_url": "https://github.com/Kuangdd01",
"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-20T09:13:54 | 2025-06-12T08:02:55 | 2025-06-12T08:02:55 | CONTRIBUTOR | null | null | null | null | ### System Info
- `transformers` version: 4.51.1
- Platform: Linux-5.4.0-144-generic-x86_64-with-glibc2.31
- Python version: 3.10.0
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Accelerate config: not found
- DeepSpeed version: 0.16.5
- PyTorch version (GPU?): 2.6.0+cu... | {
"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/37637/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/37637/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/37636 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37636/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37636/comments | https://api.github.com/repos/huggingface/transformers/issues/37636/events | https://github.com/huggingface/transformers/pull/37636 | 3,006,851,627 | PR_kwDOCUB6oc6TOAcL | 37,636 | Add counters for dataset classes | {
"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-20T07:00:18 | 2025-04-26T02:08:13 | 2025-04-22T16:30:43 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37636",
"html_url": "https://github.com/huggingface/transformers/pull/37636",
"diff_url": "https://github.com/huggingface/transformers/pull/37636.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37636.patch",
"merged_at... | # What does this PR do?
This improves the logging in **examples/pytorch/text-classification/run_glue.py** by adding counts for different labels in train/validation/test datasets. The logs could be useful when working with classification tasks (spot class imbalance early, check data split consistency, etc).
test r... | {
"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/37636/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/37636/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37635 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37635/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37635/comments | https://api.github.com/repos/huggingface/transformers/issues/37635/events | https://github.com/huggingface/transformers/pull/37635 | 3,006,842,112 | PR_kwDOCUB6oc6TN-jk | 37,635 | Add resume checkpoint support to ClearML callback | {
"login": "ailunc",
"id": 131329865,
"node_id": "U_kgDOB9PvSQ",
"avatar_url": "https://avatars.githubusercontent.com/u/131329865?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ailunc",
"html_url": "https://github.com/ailunc",
"followers_url": "https://api.github.com/users/ailunc/follower... | [] | open | false | null | [] | null | [] | 2025-04-20T06:33:59 | 2025-04-22T16:40:17 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37635",
"html_url": "https://github.com/huggingface/transformers/pull/37635",
"diff_url": "https://github.com/huggingface/transformers/pull/37635.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37635.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/37635/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/37635/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37634 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37634/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37634/comments | https://api.github.com/repos/huggingface/transformers/issues/37634/events | https://github.com/huggingface/transformers/pull/37634 | 3,006,830,849 | PR_kwDOCUB6oc6TN8Yv | 37,634 | Add PLM Model | {
"login": "JiwenJ",
"id": 125579488,
"node_id": "U_kgDOB3ww4A",
"avatar_url": "https://avatars.githubusercontent.com/u/125579488?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JiwenJ",
"html_url": "https://github.com/JiwenJ",
"followers_url": "https://api.github.com/users/JiwenJ/follower... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | null | [] | 2025-04-20T06:03:02 | 2025-08-25T12:41:43 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37634",
"html_url": "https://github.com/huggingface/transformers/pull/37634",
"diff_url": "https://github.com/huggingface/transformers/pull/37634.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37634.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/37634/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/37634/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37633 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37633/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37633/comments | https://api.github.com/repos/huggingface/transformers/issues/37633/events | https://github.com/huggingface/transformers/pull/37633 | 3,006,819,372 | PR_kwDOCUB6oc6TN6CR | 37,633 | [fix gemma] Set default value for output_attentions parameter in Gemma2 and Gemma… | {
"login": "chenin-wang",
"id": 88609203,
"node_id": "MDQ6VXNlcjg4NjA5MjAz",
"avatar_url": "https://avatars.githubusercontent.com/u/88609203?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chenin-wang",
"html_url": "https://github.com/chenin-wang",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-20T05:35:09 | 2025-04-22T09:18:17 | 2025-04-22T09:18:17 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37633",
"html_url": "https://github.com/huggingface/transformers/pull/37633",
"diff_url": "https://github.com/huggingface/transformers/pull/37633.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37633.patch",
"merged_at... |
# What does this PR do?
Set default value for output_attentions parameter in Gemma2 and Gemma3
## 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... | {
"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/37633/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/37633/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37632 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37632/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37632/comments | https://api.github.com/repos/huggingface/transformers/issues/37632/events | https://github.com/huggingface/transformers/issues/37632 | 3,006,734,100 | I_kwDOCUB6oc6zNx8U | 37,632 | bitnet | {
"login": "werruww",
"id": 157249411,
"node_id": "U_kgDOCV9vgw",
"avatar_url": "https://avatars.githubusercontent.com/u/157249411?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/werruww",
"html_url": "https://github.com/werruww",
"followers_url": "https://api.github.com/users/werruww/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-20T01:00:35 | 2025-05-29T08:03:00 | 2025-05-29T08:03:00 | NONE | null | null | null | null | ### System Info
https://huggingface.co/microsoft/bitnet-b1.58-2B-4T/discussions/16
### Who can help?
?
### 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 (giv... | {
"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/37632/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/37632/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/37631 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37631/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37631/comments | https://api.github.com/repos/huggingface/transformers/issues/37631/events | https://github.com/huggingface/transformers/pull/37631 | 3,006,502,948 | PR_kwDOCUB6oc6TM999 | 37,631 | Fix Qwen2.5-Omni get_chunked_index chunking functionality | {
"login": "imkero",
"id": 32296555,
"node_id": "MDQ6VXNlcjMyMjk2NTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/32296555?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/imkero",
"html_url": "https://github.com/imkero",
"followers_url": "https://api.github.com/users/imkero/fo... | [] | closed | false | null | [] | null | [] | 2025-04-19T15:36:29 | 2025-04-22T09:15:37 | 2025-04-22T09:15:37 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37631",
"html_url": "https://github.com/huggingface/transformers/pull/37631",
"diff_url": "https://github.com/huggingface/transformers/pull/37631.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37631.patch",
"merged_at... | # What does this PR do?
This PR fixes the incorrect mrope position chunking function `get_chunked_index` in `modular_qwen2_5_omni`.
> The shape of `token_indices` for `modular_qwen2_5_omni.get_chunked_index` is `(3, seq_len)` in main branch
It takes a constant value `3` (comes from `len(token_indices)`) in th... | {
"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/37631/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/37631/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37630 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37630/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37630/comments | https://api.github.com/repos/huggingface/transformers/issues/37630/events | https://github.com/huggingface/transformers/pull/37630 | 3,006,451,340 | PR_kwDOCUB6oc6TMzjK | 37,630 | Fix Gemma3ForCausalLM base_model_prefix | {
"login": "calpt",
"id": 36051308,
"node_id": "MDQ6VXNlcjM2MDUxMzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/36051308?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/calpt",
"html_url": "https://github.com/calpt",
"followers_url": "https://api.github.com/users/calpt/follow... | [] | closed | false | null | [] | null | [] | 2025-04-19T14:02:39 | 2025-04-21T19:03:54 | 2025-04-21T19:03:54 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37630",
"html_url": "https://github.com/huggingface/transformers/pull/37630",
"diff_url": "https://github.com/huggingface/transformers/pull/37630.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37630.patch",
"merged_at... | # What does this PR do?
The base model attribute for Gemma3ForCausalLM is "model", this updates the base_model_prefix accordingly so `model.base_model` correctly returns the Gemma3TextModel instance.
| {
"login": "calpt",
"id": 36051308,
"node_id": "MDQ6VXNlcjM2MDUxMzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/36051308?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/calpt",
"html_url": "https://github.com/calpt",
"followers_url": "https://api.github.com/users/calpt/follow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37630/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/37630/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37629 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37629/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37629/comments | https://api.github.com/repos/huggingface/transformers/issues/37629/events | https://github.com/huggingface/transformers/pull/37629 | 3,006,434,672 | PR_kwDOCUB6oc6TMwQW | 37,629 | [tests] Stricter generate + compilation test -- no recompilations allowed | {
"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-19T13:24:40 | 2025-04-30T14:48:35 | 2025-04-22T10:12:18 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37629",
"html_url": "https://github.com/huggingface/transformers/pull/37629",
"diff_url": "https://github.com/huggingface/transformers/pull/37629.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37629.patch",
"merged_at... | # What does this PR do?
Follow-up to #37447
This PR upgrades `test_generate_compile_model_forward` to catch recompilation issues. This is done by a) activating recompilation logs b) catching recompilation messages in the logs. The improved test would have failed with the changes that broke gemma 2/3 + compile 🤗... | {
"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/37629/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/37629/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37628 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37628/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37628/comments | https://api.github.com/repos/huggingface/transformers/issues/37628/events | https://github.com/huggingface/transformers/pull/37628 | 3,006,353,090 | PR_kwDOCUB6oc6TMgNP | 37,628 | docs(swin): Update Swin model card to standard format | {
"login": "BryanBradfo",
"id": 101939095,
"node_id": "U_kgDOBhN3lw",
"avatar_url": "https://avatars.githubusercontent.com/u/101939095?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BryanBradfo",
"html_url": "https://github.com/BryanBradfo",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-19T10:27:17 | 2025-05-21T23:16:44 | 2025-05-21T23:16:43 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37628",
"html_url": "https://github.com/huggingface/transformers/pull/37628",
"diff_url": "https://github.com/huggingface/transformers/pull/37628.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37628.patch",
"merged_at... | # What does this PR do?
This PR updates the Swin Transformer model card (`swin.md`) to align with the new standardized format.
- Follows the template provided in #36979.
- Includes working Pipeline and AutoModel examples tested locally.
- Removed the `transformers-cli` example due to input handling inconsistenc... | {
"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/37628/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/37628/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37627 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37627/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37627/comments | https://api.github.com/repos/huggingface/transformers/issues/37627/events | https://github.com/huggingface/transformers/issues/37627 | 3,006,334,276 | I_kwDOCUB6oc6zMQVE | 37,627 | if I want to use my image-text data to finetune the SigLIP2, where I can get the train code? | {
"login": "LeopardCatCat",
"id": 109834795,
"node_id": "U_kgDOBovyKw",
"avatar_url": "https://avatars.githubusercontent.com/u/109834795?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeopardCatCat",
"html_url": "https://github.com/LeopardCatCat",
"followers_url": "https://api.github.com/... | [
{
"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-19T09:50:18 | 2025-04-21T10:42:24 | null | NONE | null | null | null | null | ### Feature request
siglip2 finetune
### Motivation
siglip2 finetune
### Your contribution
no yet | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37627/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/37627/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/37626 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37626/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37626/comments | https://api.github.com/repos/huggingface/transformers/issues/37626/events | https://github.com/huggingface/transformers/issues/37626 | 3,006,274,010 | I_kwDOCUB6oc6zMBna | 37,626 | `check_imports` unnecessarily verifies packages that may not be needed | {
"login": "HichTala",
"id": 98521878,
"node_id": "U_kgDOBd9TFg",
"avatar_url": "https://avatars.githubusercontent.com/u/98521878?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HichTala",
"html_url": "https://github.com/HichTala",
"followers_url": "https://api.github.com/users/HichTala/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-19T07:43:08 | 2025-04-30T08:17:55 | 2025-04-30T08:17:55 | CONTRIBUTOR | null | null | null | null | ### System Info
- `transformers` version: 4.51.3
- Platform: Linux-6.11.0-21-generic-x86_64-with-glibc2.39
- Python version: 3.12.4
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distributed_type: NO
- mixed_prec... | {
"login": "HichTala",
"id": 98521878,
"node_id": "U_kgDOBd9TFg",
"avatar_url": "https://avatars.githubusercontent.com/u/98521878?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HichTala",
"html_url": "https://github.com/HichTala",
"followers_url": "https://api.github.com/users/HichTala/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37626/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/37626/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/37625 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37625/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37625/comments | https://api.github.com/repos/huggingface/transformers/issues/37625/events | https://github.com/huggingface/transformers/pull/37625 | 3,006,262,742 | PR_kwDOCUB6oc6TMN9J | 37,625 | Allow Exclusion of Input IDs from RepetitionPenaltyLogitsProcessor | {
"login": "alex-jw-brooks",
"id": 10740300,
"node_id": "MDQ6VXNlcjEwNzQwMzAw",
"avatar_url": "https://avatars.githubusercontent.com/u/10740300?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alex-jw-brooks",
"html_url": "https://github.com/alex-jw-brooks",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | null | [] | 2025-04-19T07:22:04 | 2025-04-21T14:46:05 | 2025-04-21T14:46:05 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37625",
"html_url": "https://github.com/huggingface/transformers/pull/37625",
"diff_url": "https://github.com/huggingface/transformers/pull/37625.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37625.patch",
"merged_at... | This PR adds a flag for allowing the exclusion of input IDs when using the `RepetitionPenaltyLogitsProcessor` - currently there are some workarounds that may be used for language models, e.g., passing input embeddings instead of input ids, however, these workarounds are a bit trickier with multimodal models, since we g... | {
"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/37625/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37625/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37624 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37624/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37624/comments | https://api.github.com/repos/huggingface/transformers/issues/37624/events | https://github.com/huggingface/transformers/pull/37624 | 3,006,171,047 | PR_kwDOCUB6oc6TL7zx | 37,624 | chore: update SigLIP2 model card | {
"login": "saswatmeher",
"id": 35535056,
"node_id": "MDQ6VXNlcjM1NTM1MDU2",
"avatar_url": "https://avatars.githubusercontent.com/u/35535056?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saswatmeher",
"html_url": "https://github.com/saswatmeher",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-19T04:35:03 | 2025-04-25T19:46:18 | 2025-04-25T19:46:18 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37624",
"html_url": "https://github.com/huggingface/transformers/pull/37624",
"diff_url": "https://github.com/huggingface/transformers/pull/37624.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37624.patch",
"merged_at... | # What does this PR do?
Update the model card for SigLIP2 to handle #36979
Fixes #36979
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob... | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37624/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/37624/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37623 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37623/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37623/comments | https://api.github.com/repos/huggingface/transformers/issues/37623/events | https://github.com/huggingface/transformers/pull/37623 | 3,005,820,967 | PR_kwDOCUB6oc6TKwnJ | 37,623 | Make hybrid cache exportable | {
"login": "tugsbayasgalan",
"id": 16603271,
"node_id": "MDQ6VXNlcjE2NjAzMjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/16603271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tugsbayasgalan",
"html_url": "https://github.com/tugsbayasgalan",
"followers_url": "https://api.gi... | [] | open | false | null | [] | null | [] | 2025-04-18T21:52:20 | 2025-04-29T10:05:03 | null | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37623",
"html_url": "https://github.com/huggingface/transformers/pull/37623",
"diff_url": "https://github.com/huggingface/transformers/pull/37623.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37623.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/37623/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/37623/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37622 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37622/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37622/comments | https://api.github.com/repos/huggingface/transformers/issues/37622/events | https://github.com/huggingface/transformers/pull/37622 | 3,005,642,009 | PR_kwDOCUB6oc6TKKB8 | 37,622 | Update longformer.md | {
"login": "JihadHammoud02",
"id": 94748033,
"node_id": "U_kgDOBaW9gQ",
"avatar_url": "https://avatars.githubusercontent.com/u/94748033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JihadHammoud02",
"html_url": "https://github.com/JihadHammoud02",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | null | [] | 2025-04-18T19:47:12 | 2025-04-21T17:30:51 | 2025-04-21T17:30:51 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37622",
"html_url": "https://github.com/huggingface/transformers/pull/37622",
"diff_url": "https://github.com/huggingface/transformers/pull/37622.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37622.patch",
"merged_at... | Refactored Longformer docs
Added examples for pipeline, Automodel and cli
Added quantization
Did not add a Attention visualizer, from what I researched it doesn't support it, if it is not the case I am happy to add it !
Added a note concerning versions < 4.37.0.dev | {
"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/37622/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/37622/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.