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/38531
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38531/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38531/comments
https://api.github.com/repos/huggingface/transformers/issues/38531/events
https://github.com/huggingface/transformers/pull/38531
3,110,597,833
PR_kwDOCUB6oc6Ypih4
38,531
Num parameters in model.safetensors.index.json
{ "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-06-02T15:10:37
2025-06-02T15:23:19
2025-06-02T15:16:32
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38531", "html_url": "https://github.com/huggingface/transformers/pull/38531", "diff_url": "https://github.com/huggingface/transformers/pull/38531.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38531.patch", "merged_at...
Serialize the number of parameters in the safetensors index so that the number of params is easily accessible even with sharded or quantized checkpoints
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38531/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/38531/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38530
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38530/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38530/comments
https://api.github.com/repos/huggingface/transformers/issues/38530/events
https://github.com/huggingface/transformers/pull/38530
3,110,425,720
PR_kwDOCUB6oc6Yo87I
38,530
Fix to make vllm happy
{ "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-06-02T14:25:19
2025-06-30T22:15:13
2025-06-30T22:15:13
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38530", "html_url": "https://github.com/huggingface/transformers/pull/38530", "diff_url": "https://github.com/huggingface/transformers/pull/38530.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38530.patch", "merged_at...
# What does this PR do? Delete the faulty check on multimodal tokens
{ "login": "zucchini-nlp", "id": 100715397, "node_id": "U_kgDOBgDLhQ", "avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zucchini-nlp", "html_url": "https://github.com/zucchini-nlp", "followers_url": "https://api.github.com/use...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38530/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38530/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38529
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38529/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38529/comments
https://api.github.com/repos/huggingface/transformers/issues/38529/events
https://github.com/huggingface/transformers/pull/38529
3,110,318,581
PR_kwDOCUB6oc6YolV6
38,529
Expectation changes and more AMD expectations
{ "login": "remi-or", "id": 83456801, "node_id": "MDQ6VXNlcjgzNDU2ODAx", "avatar_url": "https://avatars.githubusercontent.com/u/83456801?v=4", "gravatar_id": "", "url": "https://api.github.com/users/remi-or", "html_url": "https://github.com/remi-or", "followers_url": "https://api.github.com/users/remi-o...
[]
closed
false
null
[]
null
[]
2025-06-02T13:57:54
2025-06-04T12:22:43
2025-06-04T10:42:14
COLLABORATOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38529", "html_url": "https://github.com/huggingface/transformers/pull/38529", "diff_url": "https://github.com/huggingface/transformers/pull/38529.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38529.patch", "merged_at...
This PR adds support for minor version in the `Expectations` system and changes the way the score is computed to avoid cross-device comparison. It also uses the revamped system to fix 6 tests on AMD devices. cc. @mht-sharma
{ "login": "mht-sharma", "id": 21088122, "node_id": "MDQ6VXNlcjIxMDg4MTIy", "avatar_url": "https://avatars.githubusercontent.com/u/21088122?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mht-sharma", "html_url": "https://github.com/mht-sharma", "followers_url": "https://api.github.com/use...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38529/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38529/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38528
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38528/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38528/comments
https://api.github.com/repos/huggingface/transformers/issues/38528/events
https://github.com/huggingface/transformers/pull/38528
3,110,048,306
PR_kwDOCUB6oc6YnqTc
38,528
Logging message for ``` is_bitsandbytes_available() ```
{ "login": "ved1beta", "id": 146507396, "node_id": "U_kgDOCLuGhA", "avatar_url": "https://avatars.githubusercontent.com/u/146507396?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ved1beta", "html_url": "https://github.com/ved1beta", "followers_url": "https://api.github.com/users/ved1beta/...
[]
closed
false
null
[]
null
[]
2025-06-02T12:47:20
2025-06-10T10:15:29
2025-06-10T10:15:01
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38528", "html_url": "https://github.com/huggingface/transformers/pull/38528", "diff_url": "https://github.com/huggingface/transformers/pull/38528.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38528.patch", "merged_at...
# What does this PR do? Fixes [bitsandbytes](https://github.com/bitsandbytes-foundation/bitsandbytes/issues/837) ## Before submitting - [X] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#create-a-pull-request), Pull Request section? - [X] ...
{ "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/38528/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38528/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38527
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38527/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38527/comments
https://api.github.com/repos/huggingface/transformers/issues/38527/events
https://github.com/huggingface/transformers/issues/38527
3,110,000,793
I_kwDOCUB6oc65XtiZ
38,527
Why do you remove sample_indices_fn for processor.apply_chat_template?
{ "login": "futrime", "id": 35801754, "node_id": "MDQ6VXNlcjM1ODAxNzU0", "avatar_url": "https://avatars.githubusercontent.com/u/35801754?v=4", "gravatar_id": "", "url": "https://api.github.com/users/futrime", "html_url": "https://github.com/futrime", "followers_url": "https://api.github.com/users/futrim...
[]
closed
false
null
[]
null
[]
2025-06-02T12:34:23
2025-06-03T02:44:22
2025-06-03T02:44:22
NONE
null
null
null
null
Just as shown in the picture, since 4.52 processor.apply_chat_template does no longer support sample_indices_fn but the args doc is still there. <img width="712" alt="Image" src="https://github.com/user-attachments/assets/e055d5f5-4800-4eb7-8054-0f41a9be5707" />
{ "login": "futrime", "id": 35801754, "node_id": "MDQ6VXNlcjM1ODAxNzU0", "avatar_url": "https://avatars.githubusercontent.com/u/35801754?v=4", "gravatar_id": "", "url": "https://api.github.com/users/futrime", "html_url": "https://github.com/futrime", "followers_url": "https://api.github.com/users/futrim...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38527/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38527/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/38526
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38526/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38526/comments
https://api.github.com/repos/huggingface/transformers/issues/38526/events
https://github.com/huggingface/transformers/pull/38526
3,109,883,331
PR_kwDOCUB6oc6YnHAv
38,526
Don't use default attn if pre-set in sub-config
{ "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-06-02T11:59:23
2025-06-03T07:53:07
2025-06-03T07:53:07
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38526", "html_url": "https://github.com/huggingface/transformers/pull/38526", "diff_url": "https://github.com/huggingface/transformers/pull/38526.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38526.patch", "merged_at...
# What does this PR do? As per title, so we can do smth like below. In current state the value will be overwritten with default `None` Might be breaking if the configs on the hub have a certain attention implementation saved in sub-config level only. Though I don't think any model has it saved that way ```pyth...
{ "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/38526/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38526/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38525
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38525/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38525/comments
https://api.github.com/repos/huggingface/transformers/issues/38525/events
https://github.com/huggingface/transformers/pull/38525
3,109,815,394
PR_kwDOCUB6oc6Ym45r
38,525
[qwen-omni] fix sliding window
{ "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-06-02T11:41:44
2025-06-05T08:11:58
2025-06-05T08:11:58
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38525", "html_url": "https://github.com/huggingface/transformers/pull/38525", "diff_url": "https://github.com/huggingface/transformers/pull/38525.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38525.patch", "merged_at...
# What does this PR do? The inference in broken on `main` because modular applied changes in the Talker's attention as well. However the config wasn't updated with the new keys for sliding window
{ "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/38525/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/38525/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38524
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38524/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38524/comments
https://api.github.com/repos/huggingface/transformers/issues/38524/events
https://github.com/huggingface/transformers/issues/38524
3,109,016,455
I_kwDOCUB6oc65T9OH
38,524
404 Client Error when accessing https://router.huggingface.co/nebius/v1/chat/completions endpoint
{ "login": "indrawi15", "id": 99191064, "node_id": "U_kgDOBemJGA", "avatar_url": "https://avatars.githubusercontent.com/u/99191064?v=4", "gravatar_id": "", "url": "https://api.github.com/users/indrawi15", "html_url": "https://github.com/indrawi15", "followers_url": "https://api.github.com/users/indrawi1...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
closed
false
null
[]
null
[]
2025-06-02T07:45:52
2025-06-04T09:08:06
2025-06-04T09:08:05
NONE
null
null
null
null
### Feature request Hello Hugging Face Team, I encountered a 404 Client Error when trying to access the following API endpoint: 404 Client Error: Not Found for url: https://router.huggingface.co/nebius/v1/chat/completions (Request ID: Root=1-683d55ae-4365e822229e0a423f164d56;0912aa19-4d00-4575-b250-5e23c4163bcb) #...
{ "login": "hanouticelina", "id": 36770234, "node_id": "MDQ6VXNlcjM2NzcwMjM0", "avatar_url": "https://avatars.githubusercontent.com/u/36770234?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hanouticelina", "html_url": "https://github.com/hanouticelina", "followers_url": "https://api.githu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38524/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38524/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/38523
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38523/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38523/comments
https://api.github.com/repos/huggingface/transformers/issues/38523/events
https://github.com/huggingface/transformers/issues/38523
3,108,749,697
I_kwDOCUB6oc65S8GB
38,523
"Size mismatch" error when trying to download pretrained ChatGPT-4 using transformers
{ "login": "AnastassiyaP", "id": 41143637, "node_id": "MDQ6VXNlcjQxMTQzNjM3", "avatar_url": "https://avatars.githubusercontent.com/u/41143637?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AnastassiyaP", "html_url": "https://github.com/AnastassiyaP", "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-06-02T06:14:58
2025-07-11T08:02:28
2025-07-11T08:02:28
NONE
null
null
null
null
### System Info Hi! I have an error "size mismatch" when trying to download ChatGPT-4 using transformers ``` from transformers import AutoModelForCausalLM model_p = AutoModelForCausalLM.from_pretrained("OpenAI-ChatGPT/ChatGPT-4" ) ``` ``` RuntimeError: Error(s) in loading state_dict for Qwen2ForCausalLM: size misma...
{ "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/38523/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38523/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/38522
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38522/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38522/comments
https://api.github.com/repos/huggingface/transformers/issues/38522/events
https://github.com/huggingface/transformers/issues/38522
3,108,344,215
I_kwDOCUB6oc65RZGX
38,522
Allow `mlm_probability` to be set to None when `mlm`=False in `DataCollatorForLanguageModeling`
{ "login": "KameniAlexNea", "id": 45461704, "node_id": "MDQ6VXNlcjQ1NDYxNzA0", "avatar_url": "https://avatars.githubusercontent.com/u/45461704?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KameniAlexNea", "html_url": "https://github.com/KameniAlexNea", "followers_url": "https://api.githu...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
null
[]
2025-06-02T02:53:50
2025-07-11T08:02:30
2025-07-11T08:02:30
CONTRIBUTOR
null
null
null
null
### System Info Currently, in the `DataCollatorForLanguageModeling` class, the `mlm_probability` argument is required to be a float between 0 and 1, regardless of whether `mlm` is `True` or `False`. However, since `mlm_probability` is only used when `mlm=True`, it would make sense to allow `mlm_probability=None` when...
{ "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/38522/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38522/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/38521
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38521/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38521/comments
https://api.github.com/repos/huggingface/transformers/issues/38521/events
https://github.com/huggingface/transformers/issues/38521
3,108,293,474
I_kwDOCUB6oc65RMti
38,521
Error for `return_assistant_tokens_mask` in MLLM processor
{ "login": "MilkClouds", "id": 26109705, "node_id": "MDQ6VXNlcjI2MTA5NzA1", "avatar_url": "https://avatars.githubusercontent.com/u/26109705?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MilkClouds", "html_url": "https://github.com/MilkClouds", "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-06-02T02:21:53
2025-07-18T12:23:22
2025-07-18T12:23:22
CONTRIBUTOR
null
null
null
null
### System Info latest version of transformers, after #37602 ### Who can help? @zucchini-nlp ### Information - [ ] The official example scripts - [x] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give detail...
{ "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/38521/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38521/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/38520
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38520/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38520/comments
https://api.github.com/repos/huggingface/transformers/issues/38520/events
https://github.com/huggingface/transformers/pull/38520
3,107,848,804
PR_kwDOCUB6oc6YgZEK
38,520
Add QuasarV4 model
{ "login": "troy12x", "id": 61633360, "node_id": "MDQ6VXNlcjYxNjMzMzYw", "avatar_url": "https://avatars.githubusercontent.com/u/61633360?v=4", "gravatar_id": "", "url": "https://api.github.com/users/troy12x", "html_url": "https://github.com/troy12x", "followers_url": "https://api.github.com/users/troy12...
[]
open
false
null
[]
null
[]
2025-06-01T20:58:47
2025-06-25T14:10:21
null
NONE
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38520", "html_url": "https://github.com/huggingface/transformers/pull/38520", "diff_url": "https://github.com/huggingface/transformers/pull/38520.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38520.patch", "merged_at...
## What does this PR do? This PR adds the QuasarV4 model to the transformers library, introducing a new architecture with token temperature mechanism and multi-scale token processing for efficient long context handling. QuasarV4 extends transformer architecture with two key innovations: 1. **Token Temperature ...
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38520/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38520/timeline
null
null
null
null
true
false
https://api.github.com/repos/huggingface/transformers/issues/38519
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38519/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38519/comments
https://api.github.com/repos/huggingface/transformers/issues/38519/events
https://github.com/huggingface/transformers/pull/38519
3,107,791,628
PR_kwDOCUB6oc6YgOIP
38,519
Fix `return_dict=False` giving errors in a few VLM models
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
null
[]
2025-06-01T20:15:45
2025-06-05T19:19:09
2025-06-05T19:19:07
COLLABORATOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38519", "html_url": "https://github.com/huggingface/transformers/pull/38519", "diff_url": "https://github.com/huggingface/transformers/pull/38519.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38519.patch", "merged_at...
# What does this PR do? We have some VLM models that have the following patten: ``` @can_return_tuple def forward(self): .... return_dict = return_dict if return_dict is not None else self.config.use_return_dict outputs = self.model( ..., return_dict=return_dict, ...) .... ...
{ "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/38519/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38519/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38518
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38518/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38518/comments
https://api.github.com/repos/huggingface/transformers/issues/38518/events
https://github.com/huggingface/transformers/issues/38518
3,107,599,219
I_kwDOCUB6oc65OjNz
38,518
Failed to export PyTorch traced graph of Mixtral-8x7B-Instruct-v0.1 due to the PR #32429
{ "login": "nv-guomingz", "id": 137257613, "node_id": "U_kgDOCC5ijQ", "avatar_url": "https://avatars.githubusercontent.com/u/137257613?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nv-guomingz", "html_url": "https://github.com/nv-guomingz", "followers_url": "https://api.github.com/users/...
[ { "id": 3081136536, "node_id": "MDU6TGFiZWwzMDgxMTM2NTM2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Difficult%20Issue", "name": "Good Difficult Issue", "color": "684CC7", "default": false, "description": "" }, { "id": 3817266200, "node_id": ...
open
false
null
[]
null
[]
2025-06-01T17:46:08
2025-08-04T14:16:00
null
CONTRIBUTOR
null
null
null
null
### System Info Hi , I found the recently transformers 4.52.4 merged this PR https://github.com/huggingface/transformers/pull/32429 and it led me failed to run below code snippet which it could run successfully with 4.51.3. ```python import transformers import torch.export as te import torch from contextlib import ...
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38518/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38518/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/38517
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38517/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38517/comments
https://api.github.com/repos/huggingface/transformers/issues/38517/events
https://github.com/huggingface/transformers/issues/38517
3,107,580,153
I_kwDOCUB6oc65Oej5
38,517
model_type = self._reverse_config_mapping[key.__name__] KeyError: 'Qwen2RMConfig'
{ "login": "Lelege0", "id": 54709108, "node_id": "MDQ6VXNlcjU0NzA5MTA4", "avatar_url": "https://avatars.githubusercontent.com/u/54709108?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Lelege0", "html_url": "https://github.com/Lelege0", "followers_url": "https://api.github.com/users/Lelege...
[ { "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-06-01T17:30:57
2025-07-16T08:02:53
2025-07-16T08:02:53
NONE
null
null
null
null
### System Info File "/anaconda/envs/openrlhf/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 767, in __getitem__ model_type = self._reverse_config_mapping[key.__name__] KeyError: 'Qwen2RMConfig' transformers version is 4.51.3 ### Who can help? _No response_ ### Information - [ ]...
{ "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/38517/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38517/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/38516
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38516/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38516/comments
https://api.github.com/repos/huggingface/transformers/issues/38516/events
https://github.com/huggingface/transformers/issues/38516
3,107,066,987
I_kwDOCUB6oc65MhRr
38,516
Hang in quantized_phi::ModelWeights::forward() with Phi-2 GGUF on CPU (Candle main branch)
{ "login": "EarthSports", "id": 74371491, "node_id": "MDQ6VXNlcjc0MzcxNDkx", "avatar_url": "https://avatars.githubusercontent.com/u/74371491?v=4", "gravatar_id": "", "url": "https://api.github.com/users/EarthSports", "html_url": "https://github.com/EarthSports", "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-06-01T11:01:21
2025-06-03T11:37:35
2025-06-03T11:37:34
NONE
null
null
null
null
### System Info Description: The program hangs indefinitely when calling the forward() method on a quantized_phi::ModelWeights instance loaded from a Phi-2 GGUF file. This occurs during the first iteration of token generation, specifically after printing a log message "Calling model.forward()..." and before any indica...
{ "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/38516/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38516/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/38515
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38515/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38515/comments
https://api.github.com/repos/huggingface/transformers/issues/38515/events
https://github.com/huggingface/transformers/pull/38515
3,107,058,418
PR_kwDOCUB6oc6YeC8p
38,515
added fast image processor for ZoeDepth and expanded tests accordingly
{ "login": "henrikm11", "id": 126027334, "node_id": "U_kgDOB4MGRg", "avatar_url": "https://avatars.githubusercontent.com/u/126027334?v=4", "gravatar_id": "", "url": "https://api.github.com/users/henrikm11", "html_url": "https://github.com/henrikm11", "followers_url": "https://api.github.com/users/henrik...
[]
closed
false
null
[]
null
[]
2025-06-01T10:55:09
2025-06-23T19:24:44
2025-06-04T22:59:17
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38515", "html_url": "https://github.com/huggingface/transformers/pull/38515", "diff_url": "https://github.com/huggingface/transformers/pull/38515.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38515.patch", "merged_at...
- Adds new fast image processor for zoedepth, see #36978 - Expands tests accordingly potential reviewer: @yonigozlan
{ "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/38515/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38515/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38514
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38514/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38514/comments
https://api.github.com/repos/huggingface/transformers/issues/38514/events
https://github.com/huggingface/transformers/issues/38514
3,106,975,261
I_kwDOCUB6oc65MK4d
38,514
Can not reproduce Blip2ForImageTextRetrieval example from docs, getting different results
{ "login": "KarlisJ", "id": 24650518, "node_id": "MDQ6VXNlcjI0NjUwNTE4", "avatar_url": "https://avatars.githubusercontent.com/u/24650518?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KarlisJ", "html_url": "https://github.com/KarlisJ", "followers_url": "https://api.github.com/users/Karlis...
[ { "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-06-01T09:52:40
2025-06-17T07:19:48
2025-06-17T07:19:48
NONE
null
null
null
null
### System Info - `transformers` version: 4.52.4 - Platform: Linux-4.4.0-x86_64-with-glibc2.36 - Python version: 3.12.6 - Huggingface_hub version: 0.32.3 - Safetensors version: 0.5.3 - Accelerate version: not installed - Accelerate config: not found - DeepSpeed version: not installed - PyTorch version (GPU?): 2.7.0+c...
{ "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/38514/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38514/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/38513
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38513/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38513/comments
https://api.github.com/repos/huggingface/transformers/issues/38513/events
https://github.com/huggingface/transformers/pull/38513
3,106,924,312
PR_kwDOCUB6oc6Ydoib
38,513
Update blip model card
{ "login": "devkade", "id": 64977390, "node_id": "MDQ6VXNlcjY0OTc3Mzkw", "avatar_url": "https://avatars.githubusercontent.com/u/64977390?v=4", "gravatar_id": "", "url": "https://api.github.com/users/devkade", "html_url": "https://github.com/devkade", "followers_url": "https://api.github.com/users/devkad...
[]
closed
false
null
[]
null
[]
2025-06-01T09:08:27
2025-06-20T20:46:20
2025-06-20T20:46:20
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38513", "html_url": "https://github.com/huggingface/transformers/pull/38513", "diff_url": "https://github.com/huggingface/transformers/pull/38513.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38513.patch", "merged_at...
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38513/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38513/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38512
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38512/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38512/comments
https://api.github.com/repos/huggingface/transformers/issues/38512/events
https://github.com/huggingface/transformers/pull/38512
3,106,765,084
PR_kwDOCUB6oc6YdH-G
38,512
Fix initialization of a pretrained backbone
{ "login": "bvantuan", "id": 37981884, "node_id": "MDQ6VXNlcjM3OTgxODg0", "avatar_url": "https://avatars.githubusercontent.com/u/37981884?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bvantuan", "html_url": "https://github.com/bvantuan", "followers_url": "https://api.github.com/users/bva...
[]
closed
false
null
[]
null
[]
2025-06-01T07:09:18
2025-06-18T07:47:23
2025-06-18T07:47:23
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38512", "html_url": "https://github.com/huggingface/transformers/pull/38512", "diff_url": "https://github.com/huggingface/transformers/pull/38512.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38512.patch", "merged_at...
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "login": "Cyrilvallez", "id": 71554963, "node_id": "MDQ6VXNlcjcxNTU0OTYz", "avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Cyrilvallez", "html_url": "https://github.com/Cyrilvallez", "followers_url": "https://api.github.com/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38512/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38512/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38510
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38510/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38510/comments
https://api.github.com/repos/huggingface/transformers/issues/38510/events
https://github.com/huggingface/transformers/pull/38510
3,106,050,629
PR_kwDOCUB6oc6Ya9Xr
38,510
Fix blip2 tests
{ "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-05-31T21:20:57
2025-06-11T14:28:16
2025-06-02T20:46:35
COLLABORATOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38510", "html_url": "https://github.com/huggingface/transformers/pull/38510", "diff_url": "https://github.com/huggingface/transformers/pull/38510.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38510.patch", "merged_at...
# What does this PR do? 🎉 🎉 🎉 I added comments on the changes in `Files changed` For the list of failing tests on current main, see https://github.com/huggingface/transformers/actions/runs/15382744712/job/43276231818
{ "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/38510/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38510/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38509
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38509/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38509/comments
https://api.github.com/repos/huggingface/transformers/issues/38509/events
https://github.com/huggingface/transformers/issues/38509
3,105,992,692
I_kwDOCUB6oc65Ia_0
38,509
SparseVLM: Visual Token Sparsification for Efficient Vision-Language Model Inference
{ "login": "aryanchauhan31", "id": 176995032, "node_id": "U_kgDOCoy62A", "avatar_url": "https://avatars.githubusercontent.com/u/176995032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aryanchauhan31", "html_url": "https://github.com/aryanchauhan31", "followers_url": "https://api.github.c...
[ { "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-05-31T20:21:42
2025-06-03T16:53:42
null
CONTRIBUTOR
null
null
null
null
### Feature request I’d like to request the addition of **SparseVLM: Visual Token Sparsification for Efficient Vision-Language Model Inference** to the 🤗 Transformers library. **Paper**: [https://arxiv.org/abs/2410.04417](https://arxiv.org/abs/2410.04417) **Authors**: Yuan Zhang, Chun-Kai Fan, Junpeng Ma, et al. ...
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38509/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/38509/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/38508
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38508/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38508/comments
https://api.github.com/repos/huggingface/transformers/issues/38508/events
https://github.com/huggingface/transformers/issues/38508
3,105,958,102
I_kwDOCUB6oc65ISjW
38,508
Model Request: SLaM (Sparse Latent Mixer) – Multimodal Flamingo Alternative
{ "login": "aryanchauhan31", "id": 176995032, "node_id": "U_kgDOCoy62A", "avatar_url": "https://avatars.githubusercontent.com/u/176995032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aryanchauhan31", "html_url": "https://github.com/aryanchauhan31", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
null
[]
2025-05-31T19:45:52
2025-05-31T20:14:59
2025-05-31T20:14:59
CONTRIBUTOR
null
null
null
null
### Model name SLaM (Sparse Latent Mixer) ### Paper link https://arxiv.org/abs/2405.12321 ### Description I came across the recent paper on **SLaM: Sparse Latent Mixer** and found it super exciting — it's a really promising direction for efficient multimodal modeling. SLaM builds on Flamingo-style architectures but i...
{ "login": "aryanchauhan31", "id": 176995032, "node_id": "U_kgDOCoy62A", "avatar_url": "https://avatars.githubusercontent.com/u/176995032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aryanchauhan31", "html_url": "https://github.com/aryanchauhan31", "followers_url": "https://api.github.c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38508/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38508/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/38507
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38507/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38507/comments
https://api.github.com/repos/huggingface/transformers/issues/38507/events
https://github.com/huggingface/transformers/issues/38507
3,105,652,617
I_kwDOCUB6oc65HH-J
38,507
id2label assignment problem in run_glue.py
{ "login": "lyrmagical", "id": 48910407, "node_id": "MDQ6VXNlcjQ4OTEwNDA3", "avatar_url": "https://avatars.githubusercontent.com/u/48910407?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lyrmagical", "html_url": "https://github.com/lyrmagical", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
null
[]
2025-05-31T15:35:57
2025-07-09T08:02:33
2025-07-09T08:02:33
NONE
null
null
null
null
https://github.com/huggingface/transformers/blob/51d732709e5ae424e8fb6c4e58b72057a3e413c2/examples/pytorch/text-classification/run_glue.py#L440 seems not right? Should It be model.config.id2label = {id: label for label, id in label_to_id.items()}? Same as https://github.com/huggingface/transformers/blob/51d732709e5ae42...
{ "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/38507/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38507/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/38506
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38506/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38506/comments
https://api.github.com/repos/huggingface/transformers/issues/38506/events
https://github.com/huggingface/transformers/pull/38506
3,105,453,712
PR_kwDOCUB6oc6YZFGX
38,506
Fixed markdown for BertTokenizer's '[CLS]' token.
{ "login": "eu90h", "id": 5161785, "node_id": "MDQ6VXNlcjUxNjE3ODU=", "avatar_url": "https://avatars.githubusercontent.com/u/5161785?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eu90h", "html_url": "https://github.com/eu90h", "followers_url": "https://api.github.com/users/eu90h/follower...
[]
closed
false
null
[]
null
[]
2025-05-31T12:59:28
2025-06-18T13:10:24
2025-06-18T13:09:58
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38506", "html_url": "https://github.com/huggingface/transformers/pull/38506", "diff_url": "https://github.com/huggingface/transformers/pull/38506.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38506.patch", "merged_at...
# What does this PR do? This PR fixes a trivial markdown issue on the formatting of the BertTokenizer's '[CLS]' token in the docstring for `add_special_tokens`
{ "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/38506/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38506/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38505
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38505/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38505/comments
https://api.github.com/repos/huggingface/transformers/issues/38505/events
https://github.com/huggingface/transformers/pull/38505
3,105,387,745
PR_kwDOCUB6oc6YY4h1
38,505
New gpt neo model card
{ "login": "RogerSinghChugh", "id": 35698080, "node_id": "MDQ6VXNlcjM1Njk4MDgw", "avatar_url": "https://avatars.githubusercontent.com/u/35698080?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RogerSinghChugh", "html_url": "https://github.com/RogerSinghChugh", "followers_url": "https://api...
[]
closed
false
null
[]
null
[]
2025-05-31T12:01:38
2025-06-04T16:57:11
2025-06-04T16:56:47
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38505", "html_url": "https://github.com/huggingface/transformers/pull/38505", "diff_url": "https://github.com/huggingface/transformers/pull/38505.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38505.patch", "merged_at...
# What does this PR do? This PR updates the model-card for the GPT Neo model, as described in https://github.com/huggingface/transformers/issues/36979, in an attempt to standardize all model-cards. <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to ...
{ "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/38505/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38505/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38504
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38504/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38504/comments
https://api.github.com/repos/huggingface/transformers/issues/38504/events
https://github.com/huggingface/transformers/pull/38504
3,105,258,826
PR_kwDOCUB6oc6YYd1I
38,504
Docs: fix code formatting in torchao docs
{ "login": "Manalelaidouni", "id": 25346345, "node_id": "MDQ6VXNlcjI1MzQ2MzQ1", "avatar_url": "https://avatars.githubusercontent.com/u/25346345?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Manalelaidouni", "html_url": "https://github.com/Manalelaidouni", "followers_url": "https://api.gi...
[]
closed
false
null
[]
null
[]
2025-05-31T10:12:49
2025-06-04T12:35:48
2025-06-04T12:35:22
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38504", "html_url": "https://github.com/huggingface/transformers/pull/38504", "diff_url": "https://github.com/huggingface/transformers/pull/38504.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38504.patch", "merged_at...
# What does this PR do? Fixes formatting, code blocks were not rendered properly and comments were rendered as headings. ## 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...
{ "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/38504/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38504/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38503
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38503/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38503/comments
https://api.github.com/repos/huggingface/transformers/issues/38503/events
https://github.com/huggingface/transformers/pull/38503
3,105,171,356
PR_kwDOCUB6oc6YYL4x
38,503
Remove type annotation in Siglip Attention Module
{ "login": "yaswanth19", "id": 82788246, "node_id": "MDQ6VXNlcjgyNzg4MjQ2", "avatar_url": "https://avatars.githubusercontent.com/u/82788246?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yaswanth19", "html_url": "https://github.com/yaswanth19", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
null
[]
2025-05-31T08:54:23
2025-06-03T07:09:08
2025-06-02T15:51:08
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38503", "html_url": "https://github.com/huggingface/transformers/pull/38503", "diff_url": "https://github.com/huggingface/transformers/pull/38503.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38503.patch", "merged_at...
As per the title, it removes the type annotation that causes issues when using Modular as we don't usually have both text and vision config for all the models. Since SigLIP is commonly used in VLMs as vision backbone, and the Attention module is a quite generic so this allows us more flexibility in using Modular.
{ "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/38503/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38503/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38502
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38502/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38502/comments
https://api.github.com/repos/huggingface/transformers/issues/38502/events
https://github.com/huggingface/transformers/pull/38502
3,104,715,042
PR_kwDOCUB6oc6YWsJC
38,502
Add fast imageprocessor vitpose
{ "login": "AnimeshMaheshwari22", "id": 45392539, "node_id": "MDQ6VXNlcjQ1MzkyNTM5", "avatar_url": "https://avatars.githubusercontent.com/u/45392539?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AnimeshMaheshwari22", "html_url": "https://github.com/AnimeshMaheshwari22", "followers_url": ...
[]
closed
false
null
[]
null
[]
2025-05-31T02:50:00
2025-08-01T16:22:39
2025-08-01T16:22:39
NONE
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38502", "html_url": "https://github.com/huggingface/transformers/pull/38502", "diff_url": "https://github.com/huggingface/transformers/pull/38502.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38502.patch", "merged_at...
Adding Fast Image processor for VitPose Fixes #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://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#create-a-pull-req...
{ "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/38502/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38502/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38501
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38501/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38501/comments
https://api.github.com/repos/huggingface/transformers/issues/38501/events
https://github.com/huggingface/transformers/issues/38501
3,104,267,967
I_kwDOCUB6oc65B16_
38,501
torch.compile fails for gemma-3-1b-it
{ "login": "InCogNiTo124", "id": 12953598, "node_id": "MDQ6VXNlcjEyOTUzNTk4", "avatar_url": "https://avatars.githubusercontent.com/u/12953598?v=4", "gravatar_id": "", "url": "https://api.github.com/users/InCogNiTo124", "html_url": "https://github.com/InCogNiTo124", "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-05-30T21:01:41
2025-06-02T20:45:54
2025-06-02T19:20:31
NONE
null
null
null
null
### System Info - `transformers` version: 4.52.4 - Platform: Linux-6.15.0-1-MANJARO-x86_64-with-glibc2.41 - Python version: 3.12.8 - Huggingface_hub version: 0.32.3 - Safetensors version: 0.5.3 - Accelerate version: 1.7.0 - Accelerate config: not found - DeepSpeed version: not installed - PyTorch version (GPU?): 2....
{ "login": "InCogNiTo124", "id": 12953598, "node_id": "MDQ6VXNlcjEyOTUzNTk4", "avatar_url": "https://avatars.githubusercontent.com/u/12953598?v=4", "gravatar_id": "", "url": "https://api.github.com/users/InCogNiTo124", "html_url": "https://github.com/InCogNiTo124", "followers_url": "https://api.github.c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38501/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38501/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/38500
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38500/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38500/comments
https://api.github.com/repos/huggingface/transformers/issues/38500/events
https://github.com/huggingface/transformers/issues/38500
3,103,767,863
I_kwDOCUB6oc64_703
38,500
Unable to deploy Gemma 3 on AWS SageMaker due to lack of support in tranfomers release
{ "login": "ehrun32", "id": 57046416, "node_id": "MDQ6VXNlcjU3MDQ2NDE2", "avatar_url": "https://avatars.githubusercontent.com/u/57046416?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ehrun32", "html_url": "https://github.com/ehrun32", "followers_url": "https://api.github.com/users/ehrun3...
[]
closed
false
null
[]
null
[]
2025-05-30T17:10:22
2025-07-08T08:02:37
2025-07-08T08:02:37
NONE
null
null
null
null
hi, it seems when i deploy the model ``` huggingface_model = HuggingFaceModel( model_data=model_s3_uri, role=role, transformers_version="4.49.0", pytorch_version="2.6.0", py_version="py312", ) predictor = huggingface_model.deploy( instance_type="ml.g5.48xlarge", initial_instance_cou...
{ "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/38500/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38500/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/38499
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38499/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38499/comments
https://api.github.com/repos/huggingface/transformers/issues/38499/events
https://github.com/huggingface/transformers/issues/38499
3,103,754,251
I_kwDOCUB6oc64_4gL
38,499
ModernBERT for MLM outputs incorrect hidden state shape.
{ "login": "jfkback", "id": 22724034, "node_id": "MDQ6VXNlcjIyNzI0MDM0", "avatar_url": "https://avatars.githubusercontent.com/u/22724034?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jfkback", "html_url": "https://github.com/jfkback", "followers_url": "https://api.github.com/users/jfkbac...
[ { "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-05-30T17:02:55
2025-07-08T08:02:39
2025-07-08T08:02:39
NONE
null
null
null
null
### System Info When using `ModernBERTForMaskedLM` with `output_hidden_states=True` the hidden state is not correctly padded when it is returned. A minimal example is included below: ``` import torch from transformers import AutoTokenizer, ModernBertForMaskedLM tokenizer = AutoTokenizer.from_pretrained("answerdotai/...
{ "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/38499/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38499/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/38498
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38498/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38498/comments
https://api.github.com/repos/huggingface/transformers/issues/38498/events
https://github.com/huggingface/transformers/issues/38498
3,103,713,402
I_kwDOCUB6oc64_uh6
38,498
[Florence-2] SyntaxWarning: invalid escape sequence '\d' in processing_florence2.py
{ "login": "hookylee", "id": 209859024, "node_id": "U_kgDODIIx0A", "avatar_url": "https://avatars.githubusercontent.com/u/209859024?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hookylee", "html_url": "https://github.com/hookylee", "followers_url": "https://api.github.com/users/hookylee/...
[ { "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-05-30T16:40:46
2025-08-08T17:38:50
2025-07-09T08:02:34
NONE
null
null
null
null
### System Info System Info OS nt Python Version 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Embedded Python false Pytorch Version 2.7.0+cu128 Arguments ComfyUI\main.py --windows-standalone-build RAM Total 31.93 GB RAM Free 9.09 GB Devices ### Who can help? hookylee@gmail.com H...
{ "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/38498/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/38498/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/38497
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38497/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38497/comments
https://api.github.com/repos/huggingface/transformers/issues/38497/events
https://github.com/huggingface/transformers/pull/38497
3,103,537,398
PR_kwDOCUB6oc6YSrIi
38,497
Add ZoeDepthImageProcessorFast: PyTorch-native Fast Image Preprocessing for ZoeDepth
{ "login": "goravaa", "id": 165974428, "node_id": "U_kgDOCeSRnA", "avatar_url": "https://avatars.githubusercontent.com/u/165974428?v=4", "gravatar_id": "", "url": "https://api.github.com/users/goravaa", "html_url": "https://github.com/goravaa", "followers_url": "https://api.github.com/users/goravaa/foll...
[]
closed
false
null
[]
null
[]
2025-05-30T15:20:05
2025-06-05T00:36:26
2025-06-05T00:36:26
NONE
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38497", "html_url": "https://github.com/huggingface/transformers/pull/38497", "diff_url": "https://github.com/huggingface/transformers/pull/38497.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38497.patch", "merged_at...
This PR introduces `ZoeDepthImageProcessorFast`, a new PyTorch-based fast image processor for the ZoeDepth model, designed to accelerate preprocessing and enable deployment in PyTorch-native pipelines. --- ## What does this PR do? - **Implements `ZoeDepthImageProcessorFast`** in `src/transformers/models/zoed...
{ "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/38497/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38497/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38496
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38496/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38496/comments
https://api.github.com/repos/huggingface/transformers/issues/38496/events
https://github.com/huggingface/transformers/pull/38496
3,103,515,099
PR_kwDOCUB6oc6YSmK2
38,496
protect dtensor import
{ "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...
[ { "id": 8103865784, "node_id": "LA_kwDOCUB6oc8AAAAB4wctuA", "url": "https://api.github.com/repos/huggingface/transformers/labels/for%20patch", "name": "for patch", "color": "D93F0B", "default": false, "description": "Tag issues / labels that should be included in the next patch" } ]
closed
false
null
[]
null
[]
2025-05-30T15:12:22
2025-06-03T09:34:49
2025-05-30T15:36:00
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38496", "html_url": "https://github.com/huggingface/transformers/pull/38496", "diff_url": "https://github.com/huggingface/transformers/pull/38496.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38496.patch", "merged_at...
# What does this PR do? Fixes https://github.com/huggingface/transformers/issues/38494 The import was not protected correctly, hence users who had torch < 2.5 faced issue when saving the model. This PR fixes this.
{ "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/38496/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 1, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38496/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38495
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38495/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38495/comments
https://api.github.com/repos/huggingface/transformers/issues/38495/events
https://github.com/huggingface/transformers/pull/38495
3,103,438,338
PR_kwDOCUB6oc6YSVeb
38,495
lazy cache init
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
null
[]
2025-05-30T14:40:45
2025-07-16T08:56:28
2025-07-16T08:56:28
COLLABORATOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38495", "html_url": "https://github.com/huggingface/transformers/pull/38495", "diff_url": "https://github.com/huggingface/transformers/pull/38495.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38495.patch", "merged_at...
# What does this PR do? CB needs lazy cache init as well. Making sure all layers are local, but casting to DTensor appropriately sounds a lot easier.
{ "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/38495/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38495/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38494
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38494/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38494/comments
https://api.github.com/repos/huggingface/transformers/issues/38494/events
https://github.com/huggingface/transformers/issues/38494
3,103,429,351
I_kwDOCUB6oc64-pLn
38,494
ImportError: cannot import name 'DTensor' from 'torch.distributed.tensor'
{ "login": "toby-clark4", "id": 151521647, "node_id": "U_kgDOCQgJbw", "avatar_url": "https://avatars.githubusercontent.com/u/151521647?v=4", "gravatar_id": "", "url": "https://api.github.com/users/toby-clark4", "html_url": "https://github.com/toby-clark4", "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-05-30T14:36:59
2025-06-13T02:26:07
2025-05-30T15:36:01
NONE
null
null
null
null
Using transformers 4.52.4 with PyTorch 2.4.0, I get this error when saving a model. Looking at pytorch_utils.py, I think it has recently been updated to support torch 2.5 by changing from torch.distributed._tensor to torch.distributed.tensor, but hasn't added handling of older torch versions. I think this should be a ...
{ "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/38494/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38494/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/38492
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38492/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38492/comments
https://api.github.com/repos/huggingface/transformers/issues/38492/events
https://github.com/huggingface/transformers/pull/38492
3,102,794,109
PR_kwDOCUB6oc6YQISO
38,492
Fix `Gemma2IntegrationTest`
{ "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-05-30T10:19:47
2025-06-10T12:02:56
2025-06-02T20:45:10
COLLABORATOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38492", "html_url": "https://github.com/huggingface/transformers/pull/38492", "diff_url": "https://github.com/huggingface/transformers/pull/38492.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38492.patch", "merged_at...
# What does this PR do? Currently on singe-gpu T4 runner, `test_export_hybrid_cache` use more than 60G CPU RAM memory and the process is killed, so we don't receive any report. This PR skips this tests by introducing a new `require_large_cpu_ram`. I also update some tests to make them pass and to avoid some OOM. ...
{ "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/38492/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38492/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38491
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38491/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38491/comments
https://api.github.com/repos/huggingface/transformers/issues/38491/events
https://github.com/huggingface/transformers/pull/38491
3,102,554,284
PR_kwDOCUB6oc6YPV2Z
38,491
[bugfix] fix apply_rotary_emb error on Ascend NPU
{ "login": "FightingZhen", "id": 26176607, "node_id": "MDQ6VXNlcjI2MTc2NjA3", "avatar_url": "https://avatars.githubusercontent.com/u/26176607?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FightingZhen", "html_url": "https://github.com/FightingZhen", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
null
[]
2025-05-30T08:58:58
2025-08-14T01:52:20
2025-06-03T09:31:49
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38491", "html_url": "https://github.com/huggingface/transformers/pull/38491", "diff_url": "https://github.com/huggingface/transformers/pull/38491.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38491.patch", "merged_at...
# What does this PR do? When using Qwen2.5-VL model with Flash Attention 2, we find that the implementation logic about api `torch_npu.npu_rotary_mul` is a little bit different from the same api in package `flash-attn`. The former can only accept input param `x` and `sin`/`cos` with 4-dimension and same attentio...
{ "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/38491/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/38491/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38490
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38490/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38490/comments
https://api.github.com/repos/huggingface/transformers/issues/38490/events
https://github.com/huggingface/transformers/pull/38490
3,102,551,124
PR_kwDOCUB6oc6YPVKf
38,490
Fix rope validation
{ "login": "dhia680", "id": 84809366, "node_id": "MDQ6VXNlcjg0ODA5MzY2", "avatar_url": "https://avatars.githubusercontent.com/u/84809366?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dhia680", "html_url": "https://github.com/dhia680", "followers_url": "https://api.github.com/users/dhia68...
[]
closed
false
null
[]
null
[]
2025-05-30T08:57:49
2025-05-30T09:07:38
2025-05-30T09:03:00
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38490", "html_url": "https://github.com/huggingface/transformers/pull/38490", "diff_url": "https://github.com/huggingface/transformers/pull/38490.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38490.patch", "merged_at...
sorry. never mind.
{ "login": "dhia680", "id": 84809366, "node_id": "MDQ6VXNlcjg0ODA5MzY2", "avatar_url": "https://avatars.githubusercontent.com/u/84809366?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dhia680", "html_url": "https://github.com/dhia680", "followers_url": "https://api.github.com/users/dhia68...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38490/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38490/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38489
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38489/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38489/comments
https://api.github.com/repos/huggingface/transformers/issues/38489/events
https://github.com/huggingface/transformers/issues/38489
3,102,545,496
I_kwDOCUB6oc647RZY
38,489
VLM reverse mapping logic in modeling_utils.py save_pretrained not doing anything?
{ "login": "rolandtannous", "id": 115670425, "node_id": "U_kgDOBuT9mQ", "avatar_url": "https://avatars.githubusercontent.com/u/115670425?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rolandtannous", "html_url": "https://github.com/rolandtannous", "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-05-30T08:55:57
2025-05-30T13:08:58
2025-05-30T13:08:57
NONE
null
null
null
null
### System Info transformers version: 4.52.3 Platform: Ubuntu 24.04 Python version: 3.11.0 Huggingface_hub version: 0.32.2 Safetensors version: 0.5.3 Accelerate version: 1.7.0 Accelerate config: not found DeepSpeed version: not installed PyTorch version (GPU?): 2.7.0+cu126 (H100) Tensorflow version (GPU?): not install...
{ "login": "rolandtannous", "id": 115670425, "node_id": "U_kgDOBuT9mQ", "avatar_url": "https://avatars.githubusercontent.com/u/115670425?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rolandtannous", "html_url": "https://github.com/rolandtannous", "followers_url": "https://api.github.com/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38489/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38489/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/38488
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38488/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38488/comments
https://api.github.com/repos/huggingface/transformers/issues/38488/events
https://github.com/huggingface/transformers/pull/38488
3,102,359,872
PR_kwDOCUB6oc6YOsmy
38,488
[static cache] fix device map per layer in VLMs
{ "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-05-30T07:37:10
2025-06-20T11:49:29
2025-06-20T11:49:29
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38488", "html_url": "https://github.com/huggingface/transformers/pull/38488", "diff_url": "https://github.com/huggingface/transformers/pull/38488.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38488.patch", "merged_at...
# What does this PR do? As per title, addresses the issue from https://github.com/huggingface/transformers/pull/38426#discussion_r2112312751 After the recent refactor, we don't return language model as `decoder` but only the base model, which contain vision/vq/audio etc encoders. Since generation relies on `get_d...
{ "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/38488/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38488/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38487
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38487/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38487/comments
https://api.github.com/repos/huggingface/transformers/issues/38487/events
https://github.com/huggingface/transformers/pull/38487
3,102,148,552
PR_kwDOCUB6oc6YN_TG
38,487
[Dinov2] Enable device_map="auto" support
{ "login": "aryanchauhan31", "id": 176995032, "node_id": "U_kgDOCoy62A", "avatar_url": "https://avatars.githubusercontent.com/u/176995032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aryanchauhan31", "html_url": "https://github.com/aryanchauhan31", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
null
[]
2025-05-30T05:44:07
2025-06-04T15:43:13
2025-06-04T15:42:40
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38487", "html_url": "https://github.com/huggingface/transformers/pull/38487", "diff_url": "https://github.com/huggingface/transformers/pull/38487.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38487.patch", "merged_at...
This PR adds support for `device_map="auto"` to the Dinov2 model by defining `_no_split_modules = ["Dinov2Layer"]`, which enables inference across multiple devices using Accelerate and Transformers. ### ✔️ Summary - Adds `_no_split_modules = ["Dinov2Layer"]` to `Dinov2PreTrainedModel` - Includes a test `test_mod...
{ "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/38487/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38487/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38486
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38486/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38486/comments
https://api.github.com/repos/huggingface/transformers/issues/38486/events
https://github.com/huggingface/transformers/pull/38486
3,102,120,322
PR_kwDOCUB6oc6YN5R5
38,486
[Dinov2] Enable device_map="auto" support
{ "login": "aryanchauhan31", "id": 176995032, "node_id": "U_kgDOCoy62A", "avatar_url": "https://avatars.githubusercontent.com/u/176995032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aryanchauhan31", "html_url": "https://github.com/aryanchauhan31", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
null
[]
2025-05-30T05:22:45
2025-05-30T05:43:24
2025-05-30T05:43:24
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38486", "html_url": "https://github.com/huggingface/transformers/pull/38486", "diff_url": "https://github.com/huggingface/transformers/pull/38486.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38486.patch", "merged_at...
# What does this PR do? This PR adds support for `device_map="auto"` to the Dinov2 model by defining `_no_split_modules = ["Dinov2Layer"]`. This enables offloading and multi-GPU inference using `accelerate` or `from_pretrained(..., device_map="auto")`. ### Highlights - ✅ Added `_no_split_modules = ["Dinov2Laye...
{ "login": "aryanchauhan31", "id": 176995032, "node_id": "U_kgDOCoy62A", "avatar_url": "https://avatars.githubusercontent.com/u/176995032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aryanchauhan31", "html_url": "https://github.com/aryanchauhan31", "followers_url": "https://api.github.c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38486/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38486/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38485
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38485/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38485/comments
https://api.github.com/repos/huggingface/transformers/issues/38485/events
https://github.com/huggingface/transformers/pull/38485
3,102,094,091
PR_kwDOCUB6oc6YNzxM
38,485
[Dinov2] Enable device_map="auto" support
{ "login": "aryanchauhan31", "id": 176995032, "node_id": "U_kgDOCoy62A", "avatar_url": "https://avatars.githubusercontent.com/u/176995032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aryanchauhan31", "html_url": "https://github.com/aryanchauhan31", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
null
[]
2025-05-30T05:02:28
2025-05-30T05:21:48
2025-05-30T05:21:47
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38485", "html_url": "https://github.com/huggingface/transformers/pull/38485", "diff_url": "https://github.com/huggingface/transformers/pull/38485.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38485.patch", "merged_at...
# What does this PR do? This PR adds support for `device_map="auto"` to the Dinov2 model by defining `_no_split_modules = ["Dinov2Layer"]`. This enables multi-GPU and offload capabilities for large model inference. A new test is added (`test_model_parallelism`) to verify `device_map="auto"` functionality in mult...
{ "login": "aryanchauhan31", "id": 176995032, "node_id": "U_kgDOCoy62A", "avatar_url": "https://avatars.githubusercontent.com/u/176995032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aryanchauhan31", "html_url": "https://github.com/aryanchauhan31", "followers_url": "https://api.github.c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38485/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38485/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38484
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38484/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38484/comments
https://api.github.com/repos/huggingface/transformers/issues/38484/events
https://github.com/huggingface/transformers/issues/38484
3,101,907,511
I_kwDOCUB6oc6441o3
38,484
Clarification on per_device_train_batch_size in Trainer
{ "login": "KeshavSingh29", "id": 130352102, "node_id": "U_kgDOB8UD5g", "avatar_url": "https://avatars.githubusercontent.com/u/130352102?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KeshavSingh29", "html_url": "https://github.com/KeshavSingh29", "followers_url": "https://api.github.com/...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" }, { "id": 3817266200, "node_id": "MDU6TGF...
closed
false
null
[]
null
[]
2025-05-30T02:17:12
2025-06-20T02:17:00
2025-06-20T02:17:00
CONTRIBUTOR
null
null
null
null
### System Info - `transformers` version: 4.52.1 - Platform: Linux-5.15.0-1061-nvidia-x86_64-with-glibc2.35 - Python version: 3.10.16 - Huggingface_hub version: 0.30.2 - Safetensors version: 0.5.2 - Accelerate version: 1.7.0 - Accelerate config: - compute_environment: LOCAL_MACHINE - distributed_type: FSDP ...
{ "login": "KeshavSingh29", "id": 130352102, "node_id": "U_kgDOB8UD5g", "avatar_url": "https://avatars.githubusercontent.com/u/130352102?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KeshavSingh29", "html_url": "https://github.com/KeshavSingh29", "followers_url": "https://api.github.com/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38484/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/38484/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/38483
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38483/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38483/comments
https://api.github.com/repos/huggingface/transformers/issues/38483/events
https://github.com/huggingface/transformers/pull/38483
3,101,853,756
PR_kwDOCUB6oc6YNBr-
38,483
Add QuasarV4 model with token temperature mechanism
{ "login": "troy12x", "id": 61633360, "node_id": "MDQ6VXNlcjYxNjMzMzYw", "avatar_url": "https://avatars.githubusercontent.com/u/61633360?v=4", "gravatar_id": "", "url": "https://api.github.com/users/troy12x", "html_url": "https://github.com/troy12x", "followers_url": "https://api.github.com/users/troy12...
[]
closed
false
null
[]
null
[]
2025-05-30T01:35:15
2025-06-02T14:29:45
2025-06-01T20:48:23
NONE
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38483", "html_url": "https://github.com/huggingface/transformers/pull/38483", "diff_url": "https://github.com/huggingface/transformers/pull/38483.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38483.patch", "merged_at...
# What does this PR do? This PR adds the QuasarV4 model to the Transformers library. QuasarV4 is a new language model that introduces a token temperature mechanism, which dynamically adjusts token importance based on context. This mechanism enhances the model's ability to focus on relevant tokens and improves overal...
{ "login": "troy12x", "id": 61633360, "node_id": "MDQ6VXNlcjYxNjMzMzYw", "avatar_url": "https://avatars.githubusercontent.com/u/61633360?v=4", "gravatar_id": "", "url": "https://api.github.com/users/troy12x", "html_url": "https://github.com/troy12x", "followers_url": "https://api.github.com/users/troy12...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38483/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38483/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38482
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38482/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38482/comments
https://api.github.com/repos/huggingface/transformers/issues/38482/events
https://github.com/huggingface/transformers/issues/38482
3,101,722,553
I_kwDOCUB6oc644Ie5
38,482
Transformers 4.41.0 does not recognize 'gemma2' model type for google/gemma-2-2b
{ "login": "Ultiautomation", "id": 86765905, "node_id": "MDQ6VXNlcjg2NzY1OTA1", "avatar_url": "https://avatars.githubusercontent.com/u/86765905?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Ultiautomation", "html_url": "https://github.com/Ultiautomation", "followers_url": "https://api.gi...
[ { "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-05-29T23:49:53
2025-06-29T08:09:13
2025-06-29T08:09:13
NONE
null
null
null
null
### System Info Loading google/gemma-2-2b model raises KeyError: 'gemma2' even with Transformers 4.41.0 and trust_remote_code=True. Error message is as below: --------------------------------------------------------------------------- KeyError Traceback (most recent call last) File /u...
{ "login": "Ultiautomation", "id": 86765905, "node_id": "MDQ6VXNlcjg2NzY1OTA1", "avatar_url": "https://avatars.githubusercontent.com/u/86765905?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Ultiautomation", "html_url": "https://github.com/Ultiautomation", "followers_url": "https://api.gi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38482/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38482/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/38481
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38481/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38481/comments
https://api.github.com/repos/huggingface/transformers/issues/38481/events
https://github.com/huggingface/transformers/issues/38481
3,101,720,460
I_kwDOCUB6oc644H-M
38,481
Token shape issue in LLaVA-onevision fine-tuning
{ "login": "HoinJung", "id": 69782440, "node_id": "MDQ6VXNlcjY5NzgyNDQw", "avatar_url": "https://avatars.githubusercontent.com/u/69782440?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HoinJung", "html_url": "https://github.com/HoinJung", "followers_url": "https://api.github.com/users/Hoi...
[ { "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-05-29T23:48:25
2025-07-07T08:02:38
2025-07-07T08:02:38
NONE
null
null
null
null
### System Info - `transformers` version: 4.52.3 - Platform: Linux-6.8.0-51-generic-x86_64-with-glibc2.39 - Python version: 3.12.0 - Huggingface_hub version: 0.32.2 - Safetensors version: 0.5.3 - Accelerate version: 1.7.0 - Accelerate config: not found - DeepSpeed version: not installed - PyTorch version (GPU?): 2....
{ "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/38481/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38481/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/38480
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38480/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38480/comments
https://api.github.com/repos/huggingface/transformers/issues/38480/events
https://github.com/huggingface/transformers/pull/38480
3,101,357,110
PR_kwDOCUB6oc6YLXJ-
38,480
[Tests] Reduced model size for albert-test model
{ "login": "saqlain2204", "id": 118016760, "node_id": "U_kgDOBwjK-A", "avatar_url": "https://avatars.githubusercontent.com/u/118016760?v=4", "gravatar_id": "", "url": "https://api.github.com/users/saqlain2204", "html_url": "https://github.com/saqlain2204", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
null
[]
2025-05-29T20:01:59
2025-06-11T14:20:02
2025-05-30T14:22:32
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38480", "html_url": "https://github.com/huggingface/transformers/pull/38480", "diff_url": "https://github.com/huggingface/transformers/pull/38480.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38480.patch", "merged_at...
# What does this PR do? Reduces the Model size for ALBERT test model to improve testing speed. Fixes #38344 # Changes Made: - Reduced the number of parameters in the ALBERT test model. - Optimized the model architecture to maintain testing relevance while minimizing resource usage.
{ "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/38480/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38480/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38479
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38479/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38479/comments
https://api.github.com/repos/huggingface/transformers/issues/38479/events
https://github.com/huggingface/transformers/issues/38479
3,101,325,811
I_kwDOCUB6oc642nnz
38,479
ImportError: DLL load failed while importing _safetensors_rust: The specified module could not be found
{ "login": "JamasChuang94", "id": 21274893, "node_id": "MDQ6VXNlcjIxMjc0ODkz", "avatar_url": "https://avatars.githubusercontent.com/u/21274893?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JamasChuang94", "html_url": "https://github.com/JamasChuang94", "followers_url": "https://api.githu...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
null
[]
2025-05-29T19:47:07
2025-07-27T08:03:00
2025-07-27T08:02:59
NONE
null
null
null
null
### System Info - `transformers` version: 4.52.3 - Platform: Windows-11-10.0.26100-SP0 - Python version: 3.13.2 - Huggingface_hub version: 0.31.2 - Safetensors version: 0.5.3 - Accelerate version: 1.7.0 - Accelerate config: not found - DeepSpeed version: not installed - PyTorch version (GPU?): 2.7.0+xpu (False) - ...
{ "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/38479/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38479/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/38478
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38478/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38478/comments
https://api.github.com/repos/huggingface/transformers/issues/38478/events
https://github.com/huggingface/transformers/pull/38478
3,101,158,309
PR_kwDOCUB6oc6YKrc0
38,478
Fix meta tensor copy error
{ "login": "amd-xiaoyu12", "id": 188109516, "node_id": "U_kgDOCzZSzA", "avatar_url": "https://avatars.githubusercontent.com/u/188109516?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amd-xiaoyu12", "html_url": "https://github.com/amd-xiaoyu12", "followers_url": "https://api.github.com/use...
[]
open
false
null
[]
null
[]
2025-05-29T18:33:42
2025-05-30T12:38:01
null
CONTRIBUTOR
null
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38478", "html_url": "https://github.com/huggingface/transformers/pull/38478", "diff_url": "https://github.com/huggingface/transformers/pull/38478.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38478.patch", "merged_at...
# What does this PR do? Fix a issue found in quantized model TP test: Fixes # (issue) [rank0]: Traceback (most recent call last): [rank0]: File "/workspace/transformers_tp_test.py", line 42, in <module> [rank0]: model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=dtype, tp_plan=tp_plan, [ra...
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38478/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38478/timeline
null
null
null
null
true
false
https://api.github.com/repos/huggingface/transformers/issues/38477
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38477/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38477/comments
https://api.github.com/repos/huggingface/transformers/issues/38477/events
https://github.com/huggingface/transformers/pull/38477
3,101,045,952
PR_kwDOCUB6oc6YKScg
38,477
Refactor causal LM tests to inherit from base classes
{ "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-05-29T17:48:32
2025-06-04T16:13:34
2025-06-04T16:13:33
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38477", "html_url": "https://github.com/huggingface/transformers/pull/38477", "diff_url": "https://github.com/huggingface/transformers/pull/38477.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38477.patch", "merged_at...
Test two with Opus 4 + OpenHands, description below ## What does this PR do? This PR refactors the test classes for 5 causal language models to inherit from the base classes CausalLMModelTester and CausalLMModelTest defined in tests/causal_lm_tester.py. This reduces code duplication and ensures consistency across...
{ "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/38477/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38477/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38476
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38476/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38476/comments
https://api.github.com/repos/huggingface/transformers/issues/38476/events
https://github.com/huggingface/transformers/issues/38476
3,100,950,342
I_kwDOCUB6oc641L9G
38,476
Pickle error when downloading DeepSeek model
{ "login": "andrewsykim", "id": 12699319, "node_id": "MDQ6VXNlcjEyNjk5MzE5", "avatar_url": "https://avatars.githubusercontent.com/u/12699319?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andrewsykim", "html_url": "https://github.com/andrewsykim", "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-05-29T17:08:15
2025-07-07T08:02:40
2025-07-07T08:02:40
NONE
null
null
null
null
### System Info I'm consistently running into this pickle error when trying to run DeepSeek R1 models (both R1 and R1-0528): ``` Can't pickle <class 'transformers_modules.deepseek-ai.DeepSeek-R1-0528.4236a6af538feda4548eca9ab308586007567f52.configuration_deepseek.DeepseekV3Config'>: it's not the same object as transfo...
{ "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/38476/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38476/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/38475
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38475/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38475/comments
https://api.github.com/repos/huggingface/transformers/issues/38475/events
https://github.com/huggingface/transformers/pull/38475
3,100,833,843
PR_kwDOCUB6oc6YJj1Y
38,475
Refactor DBRX tests to use CausalLMModelTest base classes
{ "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-05-29T16:21:26
2025-06-13T15:22:14
2025-06-13T15:22:12
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38475", "html_url": "https://github.com/huggingface/transformers/pull/38475", "diff_url": "https://github.com/huggingface/transformers/pull/38475.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38475.patch", "merged_at...
This is a first test of using Opus 4 + OpenHands to do some codebase cleanup! It looks impressive so far. It wrote the description below as well: ## What does this PR do? This PR refactors the DBRX model tests to use the CausalLMModelTester and CausalLMModelTest base classes from tests/causal_lm_tester.py, fol...
{ "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/38475/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38475/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38474
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38474/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38474/comments
https://api.github.com/repos/huggingface/transformers/issues/38474/events
https://github.com/huggingface/transformers/pull/38474
3,100,788,819
PR_kwDOCUB6oc6YJaCr
38,474
Avoid overwrite existing local implementation when loading remote custom model
{ "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-05-29T16:02:27
2025-06-05T13:50:58
2025-06-05T12:54:40
COLLABORATOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38474", "html_url": "https://github.com/huggingface/transformers/pull/38474", "diff_url": "https://github.com/huggingface/transformers/pull/38474.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38474.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": "Isotr0py", "id": 41363108, "node_id": "MDQ6VXNlcjQxMzYzMTA4", "avatar_url": "https://avatars.githubusercontent.com/u/41363108?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Isotr0py", "html_url": "https://github.com/Isotr0py", "followers_url": "https://api.github.com/users/Iso...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38474/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38474/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38473
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38473/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38473/comments
https://api.github.com/repos/huggingface/transformers/issues/38473/events
https://github.com/huggingface/transformers/pull/38473
3,100,669,866
PR_kwDOCUB6oc6YI_mi
38,473
docs: Add Turkish translation for README
{ "login": "sukrucildirr", "id": 32969880, "node_id": "MDQ6VXNlcjMyOTY5ODgw", "avatar_url": "https://avatars.githubusercontent.com/u/32969880?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sukrucildirr", "html_url": "https://github.com/sukrucildirr", "followers_url": "https://api.github.c...
[]
open
false
null
[]
null
[]
2025-05-29T15:20:54
2025-09-10T13:04:27
null
NONE
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38473", "html_url": "https://github.com/huggingface/transformers/pull/38473", "diff_url": "https://github.com/huggingface/transformers/pull/38473.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38473.patch", "merged_at...
Added Turkish translation for README
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38473/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38473/timeline
null
null
null
null
true
false
https://api.github.com/repos/huggingface/transformers/issues/38472
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38472/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38472/comments
https://api.github.com/repos/huggingface/transformers/issues/38472/events
https://github.com/huggingface/transformers/pull/38472
3,100,490,942
PR_kwDOCUB6oc6YIYjZ
38,472
Updated Aria model card
{ "login": "1himan", "id": 140396762, "node_id": "U_kgDOCF5I2g", "avatar_url": "https://avatars.githubusercontent.com/u/140396762?v=4", "gravatar_id": "", "url": "https://api.github.com/users/1himan", "html_url": "https://github.com/1himan", "followers_url": "https://api.github.com/users/1himan/follower...
[]
closed
false
null
[]
null
[]
2025-05-29T14:13:53
2025-06-06T05:27:23
2025-06-05T21:36:54
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38472", "html_url": "https://github.com/huggingface/transformers/pull/38472", "diff_url": "https://github.com/huggingface/transformers/pull/38472.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38472.patch", "merged_at...
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38472/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38472/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38471
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38471/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38471/comments
https://api.github.com/repos/huggingface/transformers/issues/38471/events
https://github.com/huggingface/transformers/pull/38471
3,100,329,765
PR_kwDOCUB6oc6YH02L
38,471
Fix `Gemma3IntegrationTest`
{ "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-05-29T13:21:04
2025-05-29T14:51:14
2025-05-29T14:51:12
COLLABORATOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38471", "html_url": "https://github.com/huggingface/transformers/pull/38471", "diff_url": "https://github.com/huggingface/transformers/pull/38471.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38471.patch", "merged_at...
# What does this PR do? `Gemma3IntegrationTest` is never actually run. Before #36820, no access to gated repo. Before #38093, `@require_read_token` didn't work on test class. All tests are now passing on T4 (with torch 2.7) and A10 (with torch 2.6) - if not skipped by the conditions
{ "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/38471/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38471/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38470
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38470/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38470/comments
https://api.github.com/repos/huggingface/transformers/issues/38470/events
https://github.com/huggingface/transformers/pull/38470
3,099,960,662
PR_kwDOCUB6oc6YGjG-
38,470
Add detailed ConvBERT model card with usage, architecture, and refere…
{ "login": "Aesha19", "id": 198383625, "node_id": "U_kgDOC9MYCQ", "avatar_url": "https://avatars.githubusercontent.com/u/198383625?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Aesha19", "html_url": "https://github.com/Aesha19", "followers_url": "https://api.github.com/users/Aesha19/foll...
[]
open
false
null
[]
null
[]
2025-05-29T10:57:07
2025-06-02T17:23:08
null
NONE
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38470", "html_url": "https://github.com/huggingface/transformers/pull/38470", "diff_url": "https://github.com/huggingface/transformers/pull/38470.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38470.patch", "merged_at...
# What does this PR do? This PR adds a detailed and standardized model card for **ConvBERT** to improve Hugging Face Transformers documentation. Includes: - Model Overview and Architecture - Training objective and dataset details - Use cases and limitations - Code usage examples via `pipeline`, `AutoModel`,...
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38470/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38470/timeline
null
null
null
null
true
false
https://api.github.com/repos/huggingface/transformers/issues/38469
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38469/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38469/comments
https://api.github.com/repos/huggingface/transformers/issues/38469/events
https://github.com/huggingface/transformers/pull/38469
3,099,747,233
PR_kwDOCUB6oc6YF0Ov
38,469
Pin Scipy version to >=1.12.0
{ "login": "ahadnagy", "id": 21314428, "node_id": "MDQ6VXNlcjIxMzE0NDI4", "avatar_url": "https://avatars.githubusercontent.com/u/21314428?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ahadnagy", "html_url": "https://github.com/ahadnagy", "followers_url": "https://api.github.com/users/aha...
[]
closed
false
null
[]
null
[]
2025-05-29T09:32:46
2025-06-04T14:07:15
2025-06-04T14:07:15
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38469", "html_url": "https://github.com/huggingface/transformers/pull/38469", "diff_url": "https://github.com/huggingface/transformers/pull/38469.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38469.patch", "merged_at...
# What does this PR do? Pins Scippy to fix the batch of `TypeError: gaussian_filter() got an unexpected keyword argument 'axes'` issues.
{ "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/38469/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38469/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38468
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38468/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38468/comments
https://api.github.com/repos/huggingface/transformers/issues/38468/events
https://github.com/huggingface/transformers/issues/38468
3,099,549,544
I_kwDOCUB6oc64v19o
38,468
AssertionError: Torch not compiled with CUDA enabled when using device_map="auto" in Ascend NPU
{ "login": "jiaqiw09", "id": 60021713, "node_id": "MDQ6VXNlcjYwMDIxNzEz", "avatar_url": "https://avatars.githubusercontent.com/u/60021713?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jiaqiw09", "html_url": "https://github.com/jiaqiw09", "followers_url": "https://api.github.com/users/jia...
[ { "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-05-29T08:08:15
2025-07-11T08:02:34
2025-07-11T08:02:34
CONTRIBUTOR
null
null
null
null
### System Info Ascend NPU transformers>=4.50.0 torch 2.1 ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details bel...
{ "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/38468/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38468/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/38467
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38467/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38467/comments
https://api.github.com/repos/huggingface/transformers/issues/38467/events
https://github.com/huggingface/transformers/pull/38467
3,099,536,709
PR_kwDOCUB6oc6YFGMT
38,467
[VLMs] support passing embeds along with pixels
{ "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-05-29T08:03:49
2025-07-01T11:33:21
2025-07-01T11:33:21
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38467", "html_url": "https://github.com/huggingface/transformers/pull/38467", "diff_url": "https://github.com/huggingface/transformers/pull/38467.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38467.patch", "merged_at...
# What does this PR do? As per title + some clean up on generation tests Didn't expect this PR to grow so large. Now all vision LLMs can accept `inputs_embeds` as an input along with `pixel_values`. The tests are all passing on my end
{ "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/38467/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38467/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38466
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38466/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38466/comments
https://api.github.com/repos/huggingface/transformers/issues/38466/events
https://github.com/huggingface/transformers/pull/38466
3,099,515,125
PR_kwDOCUB6oc6YFBeb
38,466
Fix HQQ model param device transfer issue
{ "login": "HighCWu", "id": 8385448, "node_id": "MDQ6VXNlcjgzODU0NDg=", "avatar_url": "https://avatars.githubusercontent.com/u/8385448?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HighCWu", "html_url": "https://github.com/HighCWu", "followers_url": "https://api.github.com/users/HighCWu/...
[]
closed
false
null
[]
null
[]
2025-05-29T07:54:17
2025-06-18T13:09:06
2025-06-18T13:09:00
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38466", "html_url": "https://github.com/huggingface/transformers/pull/38466", "diff_url": "https://github.com/huggingface/transformers/pull/38466.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38466.patch", "merged_at...
# What does this PR do? Fixes #36254 And this PR makes it possible to infer bnb-4bit Flux with hqq-4bit quantized T5 model in the diffusers pipeline. I uploaded models to [HighCWu/FLUX.1-dev-bnb-hqq-4bit](https://huggingface.co/HighCWu/FLUX.1-dev-bnb-hqq-4bit). I use hqq-4bit to quantize T5. It seems to qua...
{ "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/38466/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/38466/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38465
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38465/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38465/comments
https://api.github.com/repos/huggingface/transformers/issues/38465/events
https://github.com/huggingface/transformers/pull/38465
3,099,382,079
PR_kwDOCUB6oc6YEknb
38,465
Fix trainer.py not showing signature columns
{ "login": "nenesekai", "id": 66727875, "node_id": "MDQ6VXNlcjY2NzI3ODc1", "avatar_url": "https://avatars.githubusercontent.com/u/66727875?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nenesekai", "html_url": "https://github.com/nenesekai", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
null
[]
2025-05-29T06:53:05
2025-06-13T15:39:55
2025-06-13T15:39:29
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38465", "html_url": "https://github.com/huggingface/transformers/pull/38465", "diff_url": "https://github.com/huggingface/transformers/pull/38465.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38465.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 th...
{ "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/38465/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38465/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38464
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38464/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38464/comments
https://api.github.com/repos/huggingface/transformers/issues/38464/events
https://github.com/huggingface/transformers/issues/38464
3,099,200,771
I_kwDOCUB6oc64ug0D
38,464
We now require users to upgrade torch to at least v2.6 in order to use the function.
{ "login": "mattdornfeld", "id": 4313686, "node_id": "MDQ6VXNlcjQzMTM2ODY=", "avatar_url": "https://avatars.githubusercontent.com/u/4313686?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mattdornfeld", "html_url": "https://github.com/mattdornfeld", "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-05-29T05:13:31
2025-10-16T12:47:30
2025-09-07T08:03:42
NONE
null
null
null
null
### System Info Ran into this bug https://github.com/huggingface/transformers/issues/38329. Tried installing from main to get access to this fix https://github.com/huggingface/transformers/pull/38376, but ran into this bug ``` (python) MacBookPro~/projects/bastet[embedding_app_python L|✚2…1] % python3 embeddingApp/em...
{ "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/38464/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38464/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/38463
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38463/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38463/comments
https://api.github.com/repos/huggingface/transformers/issues/38463/events
https://github.com/huggingface/transformers/pull/38463
3,099,027,535
PR_kwDOCUB6oc6YDXtM
38,463
fix torch_dtype on awq
{ "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-05-29T03:07:42
2025-07-02T05:22:34
2025-06-06T15:14:01
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38463", "html_url": "https://github.com/huggingface/transformers/pull/38463", "diff_url": "https://github.com/huggingface/transformers/pull/38463.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38463.patch", "merged_at...
Hi @SunMarc . The autoawq support CPU and XPU now, we should update the awq torch_dtype because CPU/XPU support both bf16/fp16. For CPU, the performance is better on bf16 in most cases.
{ "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/38463/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38463/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38462
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38462/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38462/comments
https://api.github.com/repos/huggingface/transformers/issues/38462/events
https://github.com/huggingface/transformers/issues/38462
3,098,989,451
I_kwDOCUB6oc64ttOL
38,462
register_quantizer or register_quantization_config does not add new method to QuantizationMethod
{ "login": "Enlion91", "id": 60950051, "node_id": "MDQ6VXNlcjYwOTUwMDUx", "avatar_url": "https://avatars.githubusercontent.com/u/60950051?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Enlion91", "html_url": "https://github.com/Enlion91", "followers_url": "https://api.github.com/users/Enl...
[ { "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-05-29T02:35:21
2025-06-04T02:18:07
2025-06-04T02:18:06
NONE
null
null
null
null
### System Info transformers==4.51.3 Ascend 910B torch==2.5.1 torch-npu==2.5.1 ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dat...
{ "login": "Enlion91", "id": 60950051, "node_id": "MDQ6VXNlcjYwOTUwMDUx", "avatar_url": "https://avatars.githubusercontent.com/u/60950051?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Enlion91", "html_url": "https://github.com/Enlion91", "followers_url": "https://api.github.com/users/Enl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38462/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38462/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/38461
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38461/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38461/comments
https://api.github.com/repos/huggingface/transformers/issues/38461/events
https://github.com/huggingface/transformers/pull/38461
3,098,894,685
PR_kwDOCUB6oc6YC8Rn
38,461
Add glpn fast processor
{ "login": "aryanchauhan31", "id": 176995032, "node_id": "U_kgDOCoy62A", "avatar_url": "https://avatars.githubusercontent.com/u/176995032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aryanchauhan31", "html_url": "https://github.com/aryanchauhan31", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
null
[]
2025-05-29T01:16:09
2025-08-01T16:22:18
2025-08-01T16:22:17
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38461", "html_url": "https://github.com/huggingface/transformers/pull/38461", "diff_url": "https://github.com/huggingface/transformers/pull/38461.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38461.patch", "merged_at...
This PR adds support for `GLPNImageProcessorFast`, enabling fast inference for the GLPN model using TorchVision backends. **Changes:** - Added `GLPNImageProcessorFast` implementation in `image_processing_glpn_fast.py`. - Updated `__init__.py` to include the new fast processor in `import_structure`. - Verified fun...
{ "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/38461/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38461/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38460
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38460/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38460/comments
https://api.github.com/repos/huggingface/transformers/issues/38460/events
https://github.com/huggingface/transformers/pull/38460
3,098,866,650
PR_kwDOCUB6oc6YC2h9
38,460
Add Fast Image Processor for GLPN (GLPNImageProcessorFast)
{ "login": "aryanchauhan31", "id": 176995032, "node_id": "U_kgDOCoy62A", "avatar_url": "https://avatars.githubusercontent.com/u/176995032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aryanchauhan31", "html_url": "https://github.com/aryanchauhan31", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
null
[]
2025-05-29T00:49:56
2025-05-29T12:20:05
2025-05-29T01:15:21
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38460", "html_url": "https://github.com/huggingface/transformers/pull/38460", "diff_url": "https://github.com/huggingface/transformers/pull/38460.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38460.patch", "merged_at...
Summary This PR adds a fast image processor for the GLPN model (GLPNImageProcessorFast) using the PyTorch/TorchVision backend. This brings improved performance for inference workflows using GLPNModel and aligns with fast processor support across other vision models in the library. Changes Introduced GLPNImageProc...
{ "login": "aryanchauhan31", "id": 176995032, "node_id": "U_kgDOCoy62A", "avatar_url": "https://avatars.githubusercontent.com/u/176995032?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aryanchauhan31", "html_url": "https://github.com/aryanchauhan31", "followers_url": "https://api.github.c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38460/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38460/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38459
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38459/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38459/comments
https://api.github.com/repos/huggingface/transformers/issues/38459/events
https://github.com/huggingface/transformers/pull/38459
3,098,761,844
PR_kwDOCUB6oc6YCggo
38,459
Cleanup `BatchFeature` and `BatchEncoding`
{ "login": "lgeiger", "id": 13285808, "node_id": "MDQ6VXNlcjEzMjg1ODA4", "avatar_url": "https://avatars.githubusercontent.com/u/13285808?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lgeiger", "html_url": "https://github.com/lgeiger", "followers_url": "https://api.github.com/users/lgeige...
[]
closed
false
null
[]
null
[]
2025-05-28T23:16:37
2025-05-29T14:16:33
2025-05-29T14:13:44
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38459", "html_url": "https://github.com/huggingface/transformers/pull/38459", "diff_url": "https://github.com/huggingface/transformers/pull/38459.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38459.patch", "merged_at...
Simplifies the implementation of `BatchFeature` and `BatchEncoding` classes: - Use dict comprehension to create dict e9c081ffe9436f65c310fe301da80f31fe4b6b06 - Fix type annotation 0189068023e3724af564e16215d5649b7fb1c36f - Remove methods that are already implemented in the `UserDict` parent class 8b145b46278a776ff7d...
{ "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/38459/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38459/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38458
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38458/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38458/comments
https://api.github.com/repos/huggingface/transformers/issues/38458/events
https://github.com/huggingface/transformers/pull/38458
3,098,553,145
PR_kwDOCUB6oc6YBzFc
38,458
trigger
{ "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-05-28T21:02:56
2025-05-28T21:03:13
2025-05-28T21:03:13
COLLABORATOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38458", "html_url": "https://github.com/huggingface/transformers/pull/38458", "diff_url": "https://github.com/huggingface/transformers/pull/38458.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38458.patch", "merged_at...
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38458/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38458/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38457
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38457/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38457/comments
https://api.github.com/repos/huggingface/transformers/issues/38457/events
https://github.com/huggingface/transformers/issues/38457
3,098,543,840
I_kwDOCUB6oc64sAbg
38,457
Incorrect API call
{ "login": "shashank-shivam", "id": 15519879, "node_id": "MDQ6VXNlcjE1NTE5ODc5", "avatar_url": "https://avatars.githubusercontent.com/u/15519879?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shashank-shivam", "html_url": "https://github.com/shashank-shivam", "followers_url": "https://api...
[ { "id": 3817266200, "node_id": "MDU6TGFiZWwzODE3MjY2MjAw", "url": "https://api.github.com/repos/huggingface/transformers/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": null } ]
closed
false
null
[]
null
[]
2025-05-28T20:59:11
2025-07-06T08:02:29
2025-07-06T08:02:29
NONE
null
null
null
null
### System Info torch.get_default_device() is not an official PyTorch API (even in 2.2), but it’s being called inside modeling_utils.py in version 4.52.1. get_torch_context_manager_or_global_device() function is calling the following API Error - Exception : module 'torch' has no attribute 'get_default_device' ### W...
{ "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/38457/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38457/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/38456
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38456/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38456/comments
https://api.github.com/repos/huggingface/transformers/issues/38456/events
https://github.com/huggingface/transformers/pull/38456
3,098,433,172
PR_kwDOCUB6oc6YBY3L
38,456
Name change AOPermod -> ModuleFqn
{ "login": "drisspg", "id": 32754868, "node_id": "MDQ6VXNlcjMyNzU0ODY4", "avatar_url": "https://avatars.githubusercontent.com/u/32754868?v=4", "gravatar_id": "", "url": "https://api.github.com/users/drisspg", "html_url": "https://github.com/drisspg", "followers_url": "https://api.github.com/users/drissp...
[]
closed
false
null
[]
null
[]
2025-05-28T20:05:14
2025-06-03T15:44:08
2025-06-03T15:43:32
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38456", "html_url": "https://github.com/huggingface/transformers/pull/38456", "diff_url": "https://github.com/huggingface/transformers/pull/38456.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38456.patch", "merged_at...
We did not yet publish this API in a major release, and we have changed the name
{ "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/38456/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38456/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38455
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38455/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38455/comments
https://api.github.com/repos/huggingface/transformers/issues/38455/events
https://github.com/huggingface/transformers/pull/38455
3,098,426,273
PR_kwDOCUB6oc6YBXZz
38,455
Name change AOPermod -> ModuleFqn
{ "login": "drisspg", "id": 32754868, "node_id": "MDQ6VXNlcjMyNzU0ODY4", "avatar_url": "https://avatars.githubusercontent.com/u/32754868?v=4", "gravatar_id": "", "url": "https://api.github.com/users/drisspg", "html_url": "https://github.com/drisspg", "followers_url": "https://api.github.com/users/drissp...
[]
closed
false
null
[]
null
[]
2025-05-28T20:01:39
2025-05-29T12:14:58
2025-05-28T20:04:49
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38455", "html_url": "https://github.com/huggingface/transformers/pull/38455", "diff_url": "https://github.com/huggingface/transformers/pull/38455.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38455.patch", "merged_at...
# What does this PR do? We did not yet publish this API in a major release, and we have changed the name
{ "login": "drisspg", "id": 32754868, "node_id": "MDQ6VXNlcjMyNzU0ODY4", "avatar_url": "https://avatars.githubusercontent.com/u/32754868?v=4", "gravatar_id": "", "url": "https://api.github.com/users/drisspg", "html_url": "https://github.com/drisspg", "followers_url": "https://api.github.com/users/drissp...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38455/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38455/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38454
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38454/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38454/comments
https://api.github.com/repos/huggingface/transformers/issues/38454/events
https://github.com/huggingface/transformers/issues/38454
3,098,402,270
I_kwDOCUB6oc64rd3e
38,454
Torchao quantization has dependency on BitsandBytes
{ "login": "drisspg", "id": 32754868, "node_id": "MDQ6VXNlcjMyNzU0ODY4", "avatar_url": "https://avatars.githubusercontent.com/u/32754868?v=4", "gravatar_id": "", "url": "https://api.github.com/users/drisspg", "html_url": "https://github.com/drisspg", "followers_url": "https://api.github.com/users/drissp...
[ { "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-05-28T19:50:20
2025-05-28T19:52:50
2025-05-28T19:52:48
CONTRIBUTOR
null
null
null
null
### System Info When trying to quantize w/ torchao on 4.52.3 and not having bits and bytes installed I am getting: ```Py python ao/prep_model.py --model_name "facebook/opt-125m" --quant_type "fp8" --granularity per_row --push_to_hub True Using Model name: facebook/opt-125m Quantization type: fp8 Loading and quantizi...
{ "login": "drisspg", "id": 32754868, "node_id": "MDQ6VXNlcjMyNzU0ODY4", "avatar_url": "https://avatars.githubusercontent.com/u/32754868?v=4", "gravatar_id": "", "url": "https://api.github.com/users/drisspg", "html_url": "https://github.com/drisspg", "followers_url": "https://api.github.com/users/drissp...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38454/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38454/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/38453
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38453/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38453/comments
https://api.github.com/repos/huggingface/transformers/issues/38453/events
https://github.com/huggingface/transformers/pull/38453
3,098,334,114
PR_kwDOCUB6oc6YBDRe
38,453
[Qwen2.5-Omni] Fix dtype of cos,sin when used with flash attention
{ "login": "HarryHsing", "id": 36613867, "node_id": "MDQ6VXNlcjM2NjEzODY3", "avatar_url": "https://avatars.githubusercontent.com/u/36613867?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HarryHsing", "html_url": "https://github.com/HarryHsing", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
null
[]
2025-05-28T19:18:37
2025-05-29T18:25:12
2025-05-29T18:24:41
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38453", "html_url": "https://github.com/huggingface/transformers/pull/38453", "diff_url": "https://github.com/huggingface/transformers/pull/38453.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38453.patch", "merged_at...
# What does this PR do? Fixes a dtype mismatch in **Qwen2.5-Omni** models when Flash Attention is enabled: `sin` and `cos` positional embeddings are now explicitly cast to the same dtype as the working tensor. **Related issue:** [#38451](https://github.com/huggingface/transformers/issues/38451) Thanks @zucc...
{ "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/38453/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38453/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38452
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38452/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38452/comments
https://api.github.com/repos/huggingface/transformers/issues/38452/events
https://github.com/huggingface/transformers/issues/38452
3,098,293,224
I_kwDOCUB6oc64rDPo
38,452
Memory saving by upcasting logits for only non-ignored positions
{ "login": "harshit2997", "id": 17030113, "node_id": "MDQ6VXNlcjE3MDMwMTEz", "avatar_url": "https://avatars.githubusercontent.com/u/17030113?v=4", "gravatar_id": "", "url": "https://api.github.com/users/harshit2997", "html_url": "https://github.com/harshit2997", "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-05-28T18:58:52
2025-05-29T12:38:15
null
NONE
null
null
null
null
### Feature request In [`loss_utils.py`](https://github.com/huggingface/transformers/blob/main/src/transformers/loss/loss_utils.py), logits are upcasted for float32 for some losses. This can waste memory for cases where certain labels are `ignore_index`. This is especially true for fine tuning cases where one chooses ...
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38452/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/38452/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/38451
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38451/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38451/comments
https://api.github.com/repos/huggingface/transformers/issues/38451/events
https://github.com/huggingface/transformers/issues/38451
3,098,080,975
I_kwDOCUB6oc64qPbP
38,451
[Bug - Qwen2.5-Omni] FlashAttention 2 BF16 dtype mismatch persists in `apply_rotary_pos_emb_flashatt`
{ "login": "HarryHsing", "id": 36613867, "node_id": "MDQ6VXNlcjM2NjEzODY3", "avatar_url": "https://avatars.githubusercontent.com/u/36613867?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HarryHsing", "html_url": "https://github.com/HarryHsing", "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-05-28T17:36:48
2025-05-29T18:37:10
2025-05-29T18:37:10
CONTRIBUTOR
null
null
null
null
### System Info File: modeling_qwen2_5_omni.py ``` def _apply_rotary_pos_emb_flashatt(self, tensor: torch.Tensor, freqs: torch.Tensor) -> torch.Tensor: tensor_ = tensor.float() cos = freqs.cos() # .type_as(tensor_) sin = freqs.sin() # .type_as(tensor_) output = apply_rotary_emb(tensor_, co...
{ "login": "HarryHsing", "id": 36613867, "node_id": "MDQ6VXNlcjM2NjEzODY3", "avatar_url": "https://avatars.githubusercontent.com/u/36613867?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HarryHsing", "html_url": "https://github.com/HarryHsing", "followers_url": "https://api.github.com/use...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38451/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38451/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/38450
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38450/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38450/comments
https://api.github.com/repos/huggingface/transformers/issues/38450/events
https://github.com/huggingface/transformers/issues/38450
3,097,884,120
I_kwDOCUB6oc64pfXY
38,450
💡 Proposal: Add temporal-grounding pipeline for video-language tasks
{ "login": "mreraser", "id": 33192762, "node_id": "MDQ6VXNlcjMzMTkyNzYy", "avatar_url": "https://avatars.githubusercontent.com/u/33192762?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mreraser", "html_url": "https://github.com/mreraser", "followers_url": "https://api.github.com/users/mre...
[ { "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-05-28T16:11:59
2025-06-01T17:05:37
null
CONTRIBUTOR
null
null
null
null
### Feature request Hi 🤗 team and contributors, I'm currently exploring ways to extend the `transformers` library to support **temporal grounding** — the task of identifying a [start, end] timestamp segment in a video given a natural language query. While Hugging Face already supports pipelines like `video-classifi...
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38450/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/38450/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/38449
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38449/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38449/comments
https://api.github.com/repos/huggingface/transformers/issues/38449/events
https://github.com/huggingface/transformers/pull/38449
3,097,792,002
PR_kwDOCUB6oc6X_MvH
38,449
Fix TypeError in save_pretrained error handling (fixes #38422)
{ "login": "rahulrshetty45", "id": 209668615, "node_id": "U_kgDODH9KBw", "avatar_url": "https://avatars.githubusercontent.com/u/209668615?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rahulrshetty45", "html_url": "https://github.com/rahulrshetty45", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
null
[]
2025-05-28T15:35:04
2025-05-29T13:58:47
2025-05-29T13:58:16
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38449", "html_url": "https://github.com/huggingface/transformers/pull/38449", "diff_url": "https://github.com/huggingface/transformers/pull/38449.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38449.patch", "merged_at...
## Summary Fixes a TypeError in the `save_pretrained` error handling routine that occurs when `shared_names` contains shared tensors. ## Problem In `src/transformers/modeling_utils.py` line 3747, the code attempts to call `set(shared_names)` where `shared_names` is `List[Set[str]]`. This raises: TypeError: ...
{ "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/38449/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38449/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38448
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38448/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38448/comments
https://api.github.com/repos/huggingface/transformers/issues/38448/events
https://github.com/huggingface/transformers/issues/38448
3,097,773,083
I_kwDOCUB6oc64pEQb
38,448
num_items_in_batch larger than the actual useful token when computing loss
{ "login": "SHIFTTTTTTTT", "id": 106221373, "node_id": "U_kgDOBlTPPQ", "avatar_url": "https://avatars.githubusercontent.com/u/106221373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SHIFTTTTTTTT", "html_url": "https://github.com/SHIFTTTTTTTT", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
null
[]
2025-05-28T15:28:05
2025-05-31T02:30:07
2025-05-31T02:30:07
NONE
null
null
null
null
def fixed_cross_entropy(source, target, num_items_in_batch: int = None, ignore_index: int = -100, **kwargs): I check the shape of the inputs and find follows: In [1]: logits.shape Out[1]: torch.Size([4, 896, 152064]) In [2]: labels.shape Out[2]: torch.Size([4, 896]) In [3]: num_items_in_batch Out[3]: 4390 Why is 439...
{ "login": "SHIFTTTTTTTT", "id": 106221373, "node_id": "U_kgDOBlTPPQ", "avatar_url": "https://avatars.githubusercontent.com/u/106221373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SHIFTTTTTTTT", "html_url": "https://github.com/SHIFTTTTTTTT", "followers_url": "https://api.github.com/use...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38448/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38448/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/38447
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38447/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38447/comments
https://api.github.com/repos/huggingface/transformers/issues/38447/events
https://github.com/huggingface/transformers/pull/38447
3,097,671,802
PR_kwDOCUB6oc6X-ygD
38,447
fix: return `next_token` properly when `streaming=True`
{ "login": "McPatate", "id": 9112841, "node_id": "MDQ6VXNlcjkxMTI4NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/9112841?v=4", "gravatar_id": "", "url": "https://api.github.com/users/McPatate", "html_url": "https://github.com/McPatate", "followers_url": "https://api.github.com/users/McPat...
[]
closed
false
null
[]
null
[]
2025-05-28T14:55:28
2025-09-11T14:51:52
2025-09-11T14:51:51
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38447", "html_url": "https://github.com/huggingface/transformers/pull/38447", "diff_url": "https://github.com/huggingface/transformers/pull/38447.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38447.patch", "merged_at...
# What does this PR do? `next_token` was set but not propagated correctly to the `GenerationOutput`, thus making streaming non-functional.
{ "login": "McPatate", "id": 9112841, "node_id": "MDQ6VXNlcjkxMTI4NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/9112841?v=4", "gravatar_id": "", "url": "https://api.github.com/users/McPatate", "html_url": "https://github.com/McPatate", "followers_url": "https://api.github.com/users/McPat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38447/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38447/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38446
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38446/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38446/comments
https://api.github.com/repos/huggingface/transformers/issues/38446/events
https://github.com/huggingface/transformers/pull/38446
3,097,647,090
PR_kwDOCUB6oc6X-tHf
38,446
feat: add cache retention for requests
{ "login": "McPatate", "id": 9112841, "node_id": "MDQ6VXNlcjkxMTI4NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/9112841?v=4", "gravatar_id": "", "url": "https://api.github.com/users/McPatate", "html_url": "https://github.com/McPatate", "followers_url": "https://api.github.com/users/McPat...
[]
closed
false
null
[]
null
[]
2025-05-28T14:47:20
2025-05-28T18:15:11
2025-05-28T18:15:11
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38446", "html_url": "https://github.com/huggingface/transformers/pull/38446", "diff_url": "https://github.com/huggingface/transformers/pull/38446.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38446.patch", "merged_at...
# What does this PR do? Allows for multi-turn style requests in continuous batching. Cache is retained and has to be manually cleared by the owner of the `ContinuousBatchingManager` instance. For power users mostly.
{ "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/38446/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/38446/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38444
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38444/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38444/comments
https://api.github.com/repos/huggingface/transformers/issues/38444/events
https://github.com/huggingface/transformers/pull/38444
3,097,633,086
PR_kwDOCUB6oc6X-qFu
38,444
Add configurable normalization schemes to SigLIP image processors
{ "login": "rahulrshetty45", "id": 209668615, "node_id": "U_kgDODH9KBw", "avatar_url": "https://avatars.githubusercontent.com/u/209668615?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rahulrshetty45", "html_url": "https://github.com/rahulrshetty45", "followers_url": "https://api.github.c...
[]
open
false
null
[]
null
[]
2025-05-28T14:42:39
2025-05-29T13:31:02
null
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38444", "html_url": "https://github.com/huggingface/transformers/pull/38444", "diff_url": "https://github.com/huggingface/transformers/pull/38444.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38444.patch", "merged_at...
## Summary Addresses issue #38318 by adding configurable normalization schemes to SigLIP image processors, allowing users to choose between official SigLIP normalization and traditional ImageNet normalization while maintaining full backwards compatibility. ## Problem Users reported that SigLIP models may perfo...
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38444/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38444/timeline
null
null
null
null
true
false
https://api.github.com/repos/huggingface/transformers/issues/38443
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38443/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38443/comments
https://api.github.com/repos/huggingface/transformers/issues/38443/events
https://github.com/huggingface/transformers/pull/38443
3,097,575,310
PR_kwDOCUB6oc6X-ddz
38,443
Split `transformers chat` and `transformers serve`
{ "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-05-28T14:22:52
2025-07-03T12:49:25
2025-06-30T13:10:53
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38443", "html_url": "https://github.com/huggingface/transformers/pull/38443", "diff_url": "https://github.com/huggingface/transformers/pull/38443.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38443.patch", "merged_at...
This PR splits the `transformers chat` frontend from its backend (now moved to `transformers serve`). We take this opportunity to have `transformers serve` act as a server with an OpenAI-compatible API, via http, using SSE to stream tokens. You can take it for a spin either by spawning a server: ``` transfor...
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38443/reactions", "total_count": 7, "+1": 0, "-1": 0, "laugh": 0, "hooray": 7, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38443/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38442
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38442/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38442/comments
https://api.github.com/repos/huggingface/transformers/issues/38442/events
https://github.com/huggingface/transformers/issues/38442
3,097,571,210
I_kwDOCUB6oc64oS-K
38,442
ImportError: cannot import name 'GenerationMixin' from 'transformers.generation'
{ "login": "qsuzer", "id": 98083104, "node_id": "U_kgDOBdihIA", "avatar_url": "https://avatars.githubusercontent.com/u/98083104?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qsuzer", "html_url": "https://github.com/qsuzer", "followers_url": "https://api.github.com/users/qsuzer/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-05-28T14:21:31
2025-10-14T08:51:00
2025-08-06T08:03:53
NONE
null
null
null
null
### System Info Package Version Editable project location ------------------------- -------------- ------------------------- accelerate 1.7.0 aiohappyeyeballs 2.4.4 aiohttp 3.11.9 aiosignal 1.3.1 altair 5.5.0 annotat...
{ "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/38442/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38442/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/38441
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38441/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38441/comments
https://api.github.com/repos/huggingface/transformers/issues/38441/events
https://github.com/huggingface/transformers/pull/38441
3,097,475,893
PR_kwDOCUB6oc6X-Hvk
38,441
[trainer] ensure special tokens in model configs are aligned with tokenizer at train time
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
null
[]
2025-05-28T13:50:59
2025-08-20T15:13:43
2025-08-12T15:32:07
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38441", "html_url": "https://github.com/huggingface/transformers/pull/38441", "diff_url": "https://github.com/huggingface/transformers/pull/38441.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38441.patch", "merged_at...
# What does this PR do? It's not uncommon to define new special tokens in the tokenizer at fine-tuning time. e.g. for rounds of conversations in a chat LLM. However, this is a source of misalignment: the tokenizer and the model configs (`model.config` and `model.generation_config`) may have different special tokens,...
{ "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/38441/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38441/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38439
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38439/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38439/comments
https://api.github.com/repos/huggingface/transformers/issues/38439/events
https://github.com/huggingface/transformers/issues/38439
3,097,417,732
I_kwDOCUB6oc64ntgE
38,439
quantizer_hqq should not require a gpu/cuda device to run
{ "login": "learning-chip", "id": 80731350, "node_id": "MDQ6VXNlcjgwNzMxMzUw", "avatar_url": "https://avatars.githubusercontent.com/u/80731350?v=4", "gravatar_id": "", "url": "https://api.github.com/users/learning-chip", "html_url": "https://github.com/learning-chip", "followers_url": "https://api.githu...
[]
closed
false
null
[]
null
[]
2025-05-28T13:31:41
2025-07-06T08:02:33
2025-07-06T08:02:33
CONTRIBUTOR
null
null
null
null
`quantizer_hqq.py` requires cuda device: https://github.com/huggingface/transformers/blob/badc71b9f604ca910bb87a43979c795eaf6e7d64/src/transformers/quantizers/quantizer_hqq.py#L74-L75 However the original HQQ library also runs on CPU, by falling back to default aten operators: https://github.com/mobiusml/hqq?tab=read...
{ "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/38439/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38439/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/38438
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38438/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38438/comments
https://api.github.com/repos/huggingface/transformers/issues/38438/events
https://github.com/huggingface/transformers/pull/38438
3,097,411,537
PR_kwDOCUB6oc6X95sM
38,438
Fix MoE gradient test
{ "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-05-28T13:29:51
2025-05-28T15:44:21
2025-05-28T15:44:20
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38438", "html_url": "https://github.com/huggingface/transformers/pull/38438", "diff_url": "https://github.com/huggingface/transformers/pull/38438.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38438.patch", "merged_at...
Some MoE models get flaky failures because the gradient checkpointing test tests that all parameters have gradient, which is not true when some experts are not activated. This PR skips those tests correctly for those models.
{ "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/38438/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38438/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38437
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38437/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38437/comments
https://api.github.com/repos/huggingface/transformers/issues/38437/events
https://github.com/huggingface/transformers/pull/38437
3,097,389,988
PR_kwDOCUB6oc6X90-Y
38,437
Continuous batchin: offer only the next token
{ "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-05-28T13:24:42
2025-05-28T14:49:54
null
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38437", "html_url": "https://github.com/huggingface/transformers/pull/38437", "diff_url": "https://github.com/huggingface/transformers/pull/38437.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38437.patch", "merged_at...
Adds a new `next_token` attribute to the `GenerationOutput` dataclass when streaming. This enables the following: ```py [...] manager: ContinuousBatchingManager = model.init_continuous_batching( generation_config=generation_config, streaming=True ) manager.start() for result in manager: ...
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38437/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38437/timeline
null
null
null
null
true
false
https://api.github.com/repos/huggingface/transformers/issues/38436
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38436/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38436/comments
https://api.github.com/repos/huggingface/transformers/issues/38436/events
https://github.com/huggingface/transformers/pull/38436
3,097,374,789
PR_kwDOCUB6oc6X9xz4
38,436
Remove redundant test_sdpa_equivalence test
{ "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-05-28T13:20:53
2025-05-28T15:22:36
2025-05-28T15:22:26
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38436", "html_url": "https://github.com/huggingface/transformers/pull/38436", "diff_url": "https://github.com/huggingface/transformers/pull/38436.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38436.patch", "merged_at...
#37911 removed a redundant and failing test, but I accidentally added it back in #37590 because they were both open at the same time. This PR removes it again, sorry about that!
{ "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/38436/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38436/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38435
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38435/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38435/comments
https://api.github.com/repos/huggingface/transformers/issues/38435/events
https://github.com/huggingface/transformers/issues/38435
3,097,109,901
I_kwDOCUB6oc64miWN
38,435
[i18n-ro] Translating docs to Romanian
{ "login": "zero-point", "id": 4007299, "node_id": "MDQ6VXNlcjQwMDcyOTk=", "avatar_url": "https://avatars.githubusercontent.com/u/4007299?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zero-point", "html_url": "https://github.com/zero-point", "followers_url": "https://api.github.com/users...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
null
[]
null
[]
2025-05-28T12:01:48
2025-05-28T15:53:39
null
NONE
null
null
null
null
Hi! Let's bring the documentation to all the Romanian-speaking community 🌐 Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main/docs/TRANSLATING.md). Here is a list of the files ready for translation. Let us know in this issue if you'd like to t...
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38435/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38435/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/38434
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38434/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38434/comments
https://api.github.com/repos/huggingface/transformers/issues/38434/events
https://github.com/huggingface/transformers/pull/38434
3,097,031,915
PR_kwDOCUB6oc6X8mla
38,434
[tests] expand flex-attn test for vision models
{ "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-05-28T11:34:22
2025-06-03T07:40:44
2025-06-03T07:40:44
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38434", "html_url": "https://github.com/huggingface/transformers/pull/38434", "diff_url": "https://github.com/huggingface/transformers/pull/38434.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38434.patch", "merged_at...
# What does this PR do? As per title, skips the test unless all sub-models support flex attn. Some models didn't have the flag set even though they can support Flex attn, this PR goes over all recent;y refactored vision models and sets the flags to `True`. Flex attention tests are passing for all models (except Zamb...
{ "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/38434/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38434/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38433
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38433/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38433/comments
https://api.github.com/repos/huggingface/transformers/issues/38433/events
https://github.com/huggingface/transformers/pull/38433
3,096,811,882
PR_kwDOCUB6oc6X72dg
38,433
[`FlexAttn`] Fix models with unique characteristics
{ "login": "vasqu", "id": 73884904, "node_id": "MDQ6VXNlcjczODg0OTA0", "avatar_url": "https://avatars.githubusercontent.com/u/73884904?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vasqu", "html_url": "https://github.com/vasqu", "followers_url": "https://api.github.com/users/vasqu/follow...
[]
closed
false
null
[]
null
[]
2025-05-28T10:10:14
2025-06-04T11:37:30
2025-06-04T11:37:28
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38433", "html_url": "https://github.com/huggingface/transformers/pull/38433", "diff_url": "https://github.com/huggingface/transformers/pull/38433.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38433.patch", "merged_at...
For context, flex attention cannot work with dimensions less than 16; hence, the config was manipulated to ensure the test works. Before, most models failed, including llama. There are some models such as idefics 2+3, smolvlm which do not have the `_is_composite` flag and as I do not want to affect other tests - so,...
{ "login": "vasqu", "id": 73884904, "node_id": "MDQ6VXNlcjczODg0OTA0", "avatar_url": "https://avatars.githubusercontent.com/u/73884904?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vasqu", "html_url": "https://github.com/vasqu", "followers_url": "https://api.github.com/users/vasqu/follow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38433/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38433/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38432
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38432/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38432/comments
https://api.github.com/repos/huggingface/transformers/issues/38432/events
https://github.com/huggingface/transformers/pull/38432
3,096,806,286
PR_kwDOCUB6oc6X71OE
38,432
More coverage for LossKwargs + cleaning
{ "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...
[]
open
false
null
[]
null
[]
2025-05-28T10:08:28
2025-05-28T17:57:42
null
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38432", "html_url": "https://github.com/huggingface/transformers/pull/38432", "diff_url": "https://github.com/huggingface/transformers/pull/38432.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38432.patch", "merged_at...
# What does this PR do? This PR does the following: - Move `FlashAttentionKwargs` and `ForCausalKwargs` to `generic` folder - Better handle kwargs check for gradient accumulation ( now we also check that we have the LossKwargs typing, otherwise, we disable the fix) - Extend forward function with `LossKwargs` typ...
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/38432/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38432/timeline
null
null
null
null
true
false
https://api.github.com/repos/huggingface/transformers/issues/38431
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38431/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38431/comments
https://api.github.com/repos/huggingface/transformers/issues/38431/events
https://github.com/huggingface/transformers/pull/38431
3,096,742,326
PR_kwDOCUB6oc6X7nM5
38,431
GLM-4.1V Model support
{ "login": "zRzRzRzRzRzRzR", "id": 93239683, "node_id": "U_kgDOBY65gw", "avatar_url": "https://avatars.githubusercontent.com/u/93239683?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zRzRzRzRzRzRzR", "html_url": "https://github.com/zRzRzRzRzRzRzR", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
null
[]
2025-05-28T09:47:24
2025-06-26T16:53:28
2025-06-25T08:43:05
CONTRIBUTOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38431", "html_url": "https://github.com/huggingface/transformers/pull/38431", "diff_url": "https://github.com/huggingface/transformers/pull/38431.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38431.patch", "merged_at...
1. This PR aims to support the use of the GLM-4-0414 model for training video understanding and image understanding models GLM-4.1V 2. This PR has completed the refactoring of the related modules. Due to the overlap of F definitions (torch and torchvision), image_processors and videos_processors have not been placed u...
{ "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/38431/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/38431/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38430
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38430/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38430/comments
https://api.github.com/repos/huggingface/transformers/issues/38430/events
https://github.com/huggingface/transformers/pull/38430
3,096,736,741
PR_kwDOCUB6oc6X7l-i
38,430
[seamless_m4t] Skip some tests when speech is not available
{ "login": "remi-or", "id": 83456801, "node_id": "MDQ6VXNlcjgzNDU2ODAx", "avatar_url": "https://avatars.githubusercontent.com/u/83456801?v=4", "gravatar_id": "", "url": "https://api.github.com/users/remi-or", "html_url": "https://github.com/remi-or", "followers_url": "https://api.github.com/users/remi-o...
[]
closed
false
null
[]
null
[]
2025-05-28T09:45:27
2025-06-02T09:17:28
2025-06-02T09:17:28
COLLABORATOR
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38430", "html_url": "https://github.com/huggingface/transformers/pull/38430", "diff_url": "https://github.com/huggingface/transformers/pull/38430.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38430.patch", "merged_at...
This PR adds the `require_speech` decorator and adds it to three tests in `seamless_m4t` and `seamless_m4t_v2` that fail with an ImportError if `is_speech_available() == False`
{ "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/38430/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/38430/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38429
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38429/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38429/comments
https://api.github.com/repos/huggingface/transformers/issues/38429/events
https://github.com/huggingface/transformers/pull/38429
3,096,618,431
PR_kwDOCUB6oc6X7MXH
38,429
Update error when using additional and/or masks
{ "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-05-28T09:06:48
2025-05-28T09:20:06
2025-05-28T09:08:49
MEMBER
null
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/38429", "html_url": "https://github.com/huggingface/transformers/pull/38429", "diff_url": "https://github.com/huggingface/transformers/pull/38429.diff", "patch_url": "https://github.com/huggingface/transformers/pull/38429.patch", "merged_at...
# What does this PR do? The version was correctly fixed before, but the error was not correctly updated
{ "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/38429/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/38429/timeline
null
null
null
null
true
true
https://api.github.com/repos/huggingface/transformers/issues/38428
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/38428/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/38428/comments
https://api.github.com/repos/huggingface/transformers/issues/38428/events
https://github.com/huggingface/transformers/issues/38428
3,096,566,930
I_kwDOCUB6oc64kdyS
38,428
[Question] The logic of data sampler in data parallel.
{ "login": "kxzxvbk", "id": 59834623, "node_id": "MDQ6VXNlcjU5ODM0NjIz", "avatar_url": "https://avatars.githubusercontent.com/u/59834623?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kxzxvbk", "html_url": "https://github.com/kxzxvbk", "followers_url": "https://api.github.com/users/kxzxvb...
[]
closed
false
null
[]
null
[]
2025-05-28T08:49:13
2025-07-06T08:02:36
2025-07-06T08:02:36
NONE
null
null
null
null
Hi, thanks for your attention. When reading the source code of transformers, I cannot understand the implementation of `_get_train_sampler` in `trainer.py`. Why the default data sampler is `RandomSampler` rather than `DistributedSampler`? How does the trainer handle the sampler for data parallel? reference code: http...
{ "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/38428/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/38428/timeline
null
completed
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
false
true