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/37922 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37922/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37922/comments | https://api.github.com/repos/huggingface/transformers/issues/37922/events | https://github.com/huggingface/transformers/pull/37922 | 3,035,588,795 | PR_kwDOCUB6oc6UuyPD | 37,922 | [tests] Smaller model in slow cache tests | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | null | [] | 2025-05-02T09:31:29 | 2025-05-06T10:15:51 | 2025-05-06T10:15:25 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37922",
"html_url": "https://github.com/huggingface/transformers/pull/37922",
"diff_url": "https://github.com/huggingface/transformers/pull/37922.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37922.patch",
"merged_at... | # What does this PR do?
Our CI is failing due to OOM in some slow tests (see `CacheHardIntegrationTest` failures [here](https://github.com/huggingface/transformers/actions/runs/14768710814/job/41465309462)).
This PR replaces the 7B model (requires ~15GB VRAM) with a 4B model (requires ~9GB VRAM) in tests that wer... | {
"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/37922/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37922/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37921 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37921/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37921/comments | https://api.github.com/repos/huggingface/transformers/issues/37921/events | https://github.com/huggingface/transformers/pull/37921 | 3,035,136,915 | PR_kwDOCUB6oc6UtSns | 37,921 | Fix wrong example in grounding dino | {
"login": "developer0hye",
"id": 35001605,
"node_id": "MDQ6VXNlcjM1MDAxNjA1",
"avatar_url": "https://avatars.githubusercontent.com/u/35001605?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/developer0hye",
"html_url": "https://github.com/developer0hye",
"followers_url": "https://api.githu... | [] | open | false | null | [] | null | [] | 2025-05-02T04:08:17 | 2025-05-10T01:30:48 | null | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37921",
"html_url": "https://github.com/huggingface/transformers/pull/37921",
"diff_url": "https://github.com/huggingface/transformers/pull/37921.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37921.patch",
"merged_at... | # What does this PR do?
Fix wrong example in grounding dino. the more objects can be detected with this modification.
Test Input Image:

With `text_labels` in example, it only can detect cats when using grounding-dino... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37921/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37921/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37920 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37920/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37920/comments | https://api.github.com/repos/huggingface/transformers/issues/37920/events | https://github.com/huggingface/transformers/pull/37920 | 3,034,465,273 | PR_kwDOCUB6oc6UrE4Y | 37,920 | [core] reuse unused reserved cuda memory when loading models | {
"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-01T18:48:50 | 2025-05-06T15:20:15 | 2025-05-05T14:14:05 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37920",
"html_url": "https://github.com/huggingface/transformers/pull/37920",
"diff_url": "https://github.com/huggingface/transformers/pull/37920.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37920.patch",
"merged_at... | # What does this PR do?
TL;DR checks for unused reserved CUDA memory before preallocating more memory or deciding to do CPU offload.
Missing: benchmark whether this has a speed impact in `from_pretrained` on e.g. TP
### Context
(first commit containing the issue: https://github.com/huggingface/transformers/pu... | {
"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/37920/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37920/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37919 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37919/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37919/comments | https://api.github.com/repos/huggingface/transformers/issues/37919/events | https://github.com/huggingface/transformers/pull/37919 | 3,034,233,640 | PR_kwDOCUB6oc6UqTAb | 37,919 | Feat: save_pretrained for tensor parallel (and other parallelisms) models | {
"login": "S1ro1",
"id": 54212263,
"node_id": "MDQ6VXNlcjU0MjEyMjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/54212263?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/S1ro1",
"html_url": "https://github.com/S1ro1",
"followers_url": "https://api.github.com/users/S1ro1/follow... | [] | closed | false | null | [] | null | [] | 2025-05-01T16:37:52 | 2025-06-03T10:16:20 | 2025-05-19T18:16:22 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37919",
"html_url": "https://github.com/huggingface/transformers/pull/37919",
"diff_url": "https://github.com/huggingface/transformers/pull/37919.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37919.patch",
"merged_at... | Save_pretrained that works on models that tensor parallelism was applied to. Works both on local tensors and Dtensors.

Memory snapshot dump timeline, `meta-llama/Meta-Llama-3-8B-Instruct` in fp32 on 2 GPUs. The spikes on top... | {
"login": "S1ro1",
"id": 54212263,
"node_id": "MDQ6VXNlcjU0MjEyMjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/54212263?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/S1ro1",
"html_url": "https://github.com/S1ro1",
"followers_url": "https://api.github.com/users/S1ro1/follow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37919/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37919/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37918 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37918/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37918/comments | https://api.github.com/repos/huggingface/transformers/issues/37918/events | https://github.com/huggingface/transformers/issues/37918 | 3,034,167,505 | I_kwDOCUB6oc602bjR | 37,918 | Inconsistent shape of logits in `GenerateBeamDecoderOnlyOutput` | {
"login": "kurzdev",
"id": 29333826,
"node_id": "MDQ6VXNlcjI5MzMzODI2",
"avatar_url": "https://avatars.githubusercontent.com/u/29333826?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kurzdev",
"html_url": "https://github.com/kurzdev",
"followers_url": "https://api.github.com/users/kurzde... | [
{
"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-01T16:01:19 | 2025-05-02T15:38:52 | 2025-05-02T15:38:36 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.48.3
- Platform: Linux-4.18.0-513.5.1.el8_9.x86_64-x86_64-with-glibc2.35
- Python version: 3.11.11
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.6.0+cu124 (True)
- Tens... | {
"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/37918/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37918/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/37917 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37917/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37917/comments | https://api.github.com/repos/huggingface/transformers/issues/37917/events | https://github.com/huggingface/transformers/pull/37917 | 3,034,152,874 | PR_kwDOCUB6oc6UqBoZ | 37,917 | support MiniCPM-o2.6 | {
"login": "tc-mb",
"id": 157115220,
"node_id": "U_kgDOCV1jVA",
"avatar_url": "https://avatars.githubusercontent.com/u/157115220?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tc-mb",
"html_url": "https://github.com/tc-mb",
"followers_url": "https://api.github.com/users/tc-mb/followers",
... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | null | [] | 2025-05-01T15:53:28 | 2025-09-12T06:57:52 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37917",
"html_url": "https://github.com/huggingface/transformers/pull/37917",
"diff_url": "https://github.com/huggingface/transformers/pull/37917.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37917.patch",
"merged_at... | support Minicpm-o2.6 | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37917/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 5,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37917/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37916 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37916/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37916/comments | https://api.github.com/repos/huggingface/transformers/issues/37916/events | https://github.com/huggingface/transformers/pull/37916 | 3,034,007,542 | PR_kwDOCUB6oc6Upi7k | 37,916 | Fix device mismatch by moving num_items_in_batch to loss device in fixed_cross_entropy (#37886) | {
"login": "NEREUScode",
"id": 174478950,
"node_id": "U_kgDOCmZWZg",
"avatar_url": "https://avatars.githubusercontent.com/u/174478950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NEREUScode",
"html_url": "https://github.com/NEREUScode",
"followers_url": "https://api.github.com/users/NER... | [] | closed | false | null | [] | null | [] | 2025-05-01T14:37:38 | 2025-05-08T13:41:59 | 2025-05-08T13:41:59 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37916",
"html_url": "https://github.com/huggingface/transformers/pull/37916",
"diff_url": "https://github.com/huggingface/transformers/pull/37916.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37916.patch",
"merged_at... | Fixes: https://github.com/huggingface/transformers/issues/37886
This PR ensures that the num_items_in_batch tensor is moved to the same device as the loss tensor before performing division inside the fixed_cross_entropy function. This prevents runtime device mismatch errors when models are trained on non-default dev... | {
"login": "NEREUScode",
"id": 174478950,
"node_id": "U_kgDOCmZWZg",
"avatar_url": "https://avatars.githubusercontent.com/u/174478950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NEREUScode",
"html_url": "https://github.com/NEREUScode",
"followers_url": "https://api.github.com/users/NER... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37916/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37916/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37915 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37915/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37915/comments | https://api.github.com/repos/huggingface/transformers/issues/37915/events | https://github.com/huggingface/transformers/pull/37915 | 3,033,832,902 | PR_kwDOCUB6oc6Uo884 | 37,915 | [transformers x vLLM] standardize processors | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-05-01T13:04:42 | 2025-05-27T09:30:30 | 2025-05-27T09:30:30 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37915",
"html_url": "https://github.com/huggingface/transformers/pull/37915",
"diff_url": "https://github.com/huggingface/transformers/pull/37915.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37915.patch",
"merged_at... | # What does this PR do?
Part of https://github.com/huggingface/transformers/issues/37780. The design was tested on different model types:
Oke, I verified that the inference works for all models, unless I forgot about some new ones. Here is the list I tested. A few models (blip2, gotOcr, gemma3) won't be supported... | {
"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/37915/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37915/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37914 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37914/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37914/comments | https://api.github.com/repos/huggingface/transformers/issues/37914/events | https://github.com/huggingface/transformers/issues/37914 | 3,033,676,923 | I_kwDOCUB6oc600jx7 | 37,914 | Training Qwen2.5 VL with dynamic image size using more balanced Sampler for each GPU mem usage | {
"login": "OpenJarvisAI",
"id": 136460643,
"node_id": "U_kgDOCCI5Yw",
"avatar_url": "https://avatars.githubusercontent.com/u/136460643?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OpenJarvisAI",
"html_url": "https://github.com/OpenJarvisAI",
"followers_url": "https://api.github.com/use... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | null | [] | 2025-05-01T11:34:46 | 2025-05-04T03:36:25 | null | NONE | null | null | null | null | ### Feature request
HI, currently training Qwen2.5 VL with peft, the dataloader using lazy load.
But since Qwen2.5 VL uses dynamic input size, each training sample actually will have very divesity training length (very image tokens are not same)
This make training very tricky, the GPU mem usage extremly imbalanced.
... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37914/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37914/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/37913 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37913/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37913/comments | https://api.github.com/repos/huggingface/transformers/issues/37913/events | https://github.com/huggingface/transformers/pull/37913 | 3,033,586,105 | PR_kwDOCUB6oc6UoHlg | 37,913 | [tests] fix `test_cache_copy` | {
"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-01T10:18:55 | 2025-05-01T14:11:13 | 2025-05-01T14:11:12 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37913",
"html_url": "https://github.com/huggingface/transformers/pull/37913",
"diff_url": "https://github.com/huggingface/transformers/pull/37913.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37913.patch",
"merged_at... | # What does this PR do?
[Failure reported recently](https://huggingface.co/datasets/hf-internal-testing/transformers_daily_ci/raw/dbea6f08c0ef4104bcdb1e405085f40354a006c1/2025-05-01/ci_results_run_models_gpu/new_model_failures_with_bad_commit_grouped_by_authors.json).
👀 `test_cache_copy` has a different generati... | {
"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/37913/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37913/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37912 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37912/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37912/comments | https://api.github.com/repos/huggingface/transformers/issues/37912/events | https://github.com/huggingface/transformers/issues/37912 | 3,033,583,107 | I_kwDOCUB6oc600M4D | 37,912 | maybe a bug on phi3 model after refactor or not ? | {
"login": "Onverra-sudo",
"id": 207627867,
"node_id": "U_kgDODGAmWw",
"avatar_url": "https://avatars.githubusercontent.com/u/207627867?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Onverra-sudo",
"html_url": "https://github.com/Onverra-sudo",
"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-01T10:16:25 | 2025-05-01T15:44:15 | 2025-05-01T15:08:42 | NONE | null | null | null | null | ### System Info
for your information after the refactor https://github.com/huggingface/transformers/commit/2c47618c1a282f925446506d53108dc6e82d9ef0
the omnigen node for comfui is broken.
https://github.com/set-soft/ComfyUI_OmniGen_Nodes
I patch manualy transformer to restor the old phi3 model
[transformers_patch_... | {
"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/37912/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37912/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/37911 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37911/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37911/comments | https://api.github.com/repos/huggingface/transformers/issues/37911/events | https://github.com/huggingface/transformers/pull/37911 | 3,033,554,344 | PR_kwDOCUB6oc6UoA1J | 37,911 | [tests] remove `test_sdpa_equivalence` (redundant) | {
"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-01T09:54:59 | 2025-05-16T17:37:31 | 2025-05-16T17:37:28 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37911",
"html_url": "https://github.com/huggingface/transformers/pull/37911",
"diff_url": "https://github.com/huggingface/transformers/pull/37911.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37911.patch",
"merged_at... | # What does this PR do?
Was checking our [daily failed tests assigned to me from a few days ago](https://huggingface.co/datasets/hf-internal-testing/transformers_daily_ci/raw/85eefceda5a3c3c4949209389bcd719670188cf8/2025-04-30/ci_results_run_models_gpu/new_model_failures_with_bad_commit_grouped_by_authors.json), and... | {
"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/37911/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37911/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37910 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37910/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37910/comments | https://api.github.com/repos/huggingface/transformers/issues/37910/events | https://github.com/huggingface/transformers/pull/37910 | 3,033,252,923 | PR_kwDOCUB6oc6UnArm | 37,910 | Fix typos in strings and comments | {
"login": "co63oc",
"id": 4617245,
"node_id": "MDQ6VXNlcjQ2MTcyNDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4617245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/co63oc",
"html_url": "https://github.com/co63oc",
"followers_url": "https://api.github.com/users/co63oc/foll... | [] | closed | false | null | [] | null | [] | 2025-05-01T06:19:05 | 2025-05-15T05:29:07 | 2025-05-01T13:58:58 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37910",
"html_url": "https://github.com/huggingface/transformers/pull/37910",
"diff_url": "https://github.com/huggingface/transformers/pull/37910.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37910.patch",
"merged_at... | # What does this PR do?
Fix typos in strings and comments found by codespell.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your... | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37910/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37910/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37909 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37909/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37909/comments | https://api.github.com/repos/huggingface/transformers/issues/37909/events | https://github.com/huggingface/transformers/issues/37909 | 3,033,233,069 | I_kwDOCUB6oc60y3at | 37,909 | `Mask2Former`: Several typos and unused (may unexpected) function parameters. | {
"login": "Kamichanw",
"id": 13182866,
"node_id": "MDQ6VXNlcjEzMTgyODY2",
"avatar_url": "https://avatars.githubusercontent.com/u/13182866?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kamichanw",
"html_url": "https://github.com/Kamichanw",
"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-01T05:59:42 | 2025-05-05T18:00:51 | 2025-05-05T18:00:51 | NONE | null | null | null | null | ### System Info
The newest version.
### Who can help?
@amyeroberts, @qubvel @stevhliu
### Information
- [x] The official example scripts
- [ ] My own modified scripts
### Tasks
- [x] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)... | {
"login": "qubvel",
"id": 31920396,
"node_id": "MDQ6VXNlcjMxOTIwMzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/31920396?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qubvel",
"html_url": "https://github.com/qubvel",
"followers_url": "https://api.github.com/users/qubvel/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37909/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37909/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/37908 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37908/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37908/comments | https://api.github.com/repos/huggingface/transformers/issues/37908/events | https://github.com/huggingface/transformers/issues/37908 | 3,033,227,812 | I_kwDOCUB6oc60y2Ik | 37,908 | DynamicCache results in too many torch recompiles after 4.51 | {
"login": "flishwang",
"id": 8001982,
"node_id": "MDQ6VXNlcjgwMDE5ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8001982?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flishwang",
"html_url": "https://github.com/flishwang",
"followers_url": "https://api.github.com/users/fl... | [
{
"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-01T05:54:10 | 2025-07-21T08:04:16 | 2025-07-21T08:04:16 | NONE | null | null | null | null | ### System Info
accelerate=1.6.0, OS=ubuntu 22.04, numpy=1.26.4, torch=2.6.0+cu124, python=3.10
### Who can help?
@ArthurZucker
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [x] ... | {
"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/37908/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37908/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/37907 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37907/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37907/comments | https://api.github.com/repos/huggingface/transformers/issues/37907/events | https://github.com/huggingface/transformers/issues/37907 | 3,033,189,265 | I_kwDOCUB6oc60ysuR | 37,907 | `RuntimeError` in `Siglip2Model` Attention with NaFlex when `actual_patches != max_num_patches` | {
"login": "Enferlain",
"id": 15861396,
"node_id": "MDQ6VXNlcjE1ODYxMzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/15861396?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Enferlain",
"html_url": "https://github.com/Enferlain",
"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-01T05:13:04 | 2025-05-01T09:27:55 | 2025-05-01T09:27:47 | NONE | null | null | null | null | ### System Info
* Transformers version: 4.52.0.dev0 but same occurs on 4.51.3
* Platform: Win 11
* Python version: 3.11.5
* PyTorch version: 2.6.0+cu126
* Using GPU? Yes/No: Yes
* GPU type: NVIDIA RTX 3090
* CUDA/cuDNN version: cuda 12.6, cudnn 9.8
* Using `accelerate`? No
### Issue description
When ... | {
"login": "Enferlain",
"id": 15861396,
"node_id": "MDQ6VXNlcjE1ODYxMzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/15861396?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Enferlain",
"html_url": "https://github.com/Enferlain",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37907/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37907/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/37906 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37906/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37906/comments | https://api.github.com/repos/huggingface/transformers/issues/37906/events | https://github.com/huggingface/transformers/issues/37906 | 3,033,120,001 | I_kwDOCUB6oc60yb0B | 37,906 | Gemma3 doesn't support passing past_key_values | {
"login": "Patchwork53",
"id": 83033987,
"node_id": "MDQ6VXNlcjgzMDMzOTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/83033987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Patchwork53",
"html_url": "https://github.com/Patchwork53",
"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-01T04:13:02 | 2025-05-01T16:47:03 | 2025-05-01T16:47:03 | CONTRIBUTOR | null | null | null | null | ### System Info
OS: Ubuntu 24
Python: 3.11.10
Pytorch: 2.1.2
Transformers: 4.51.3
I tried to write a manual `my_generate()` function to emulate `model.generate()`. However, passing the `past_key_values` argument throws an out-of-bounds error.
I tried the same code with other models (`Qwen2_5_VL`) and those worked.
... | {
"login": "Patchwork53",
"id": 83033987,
"node_id": "MDQ6VXNlcjgzMDMzOTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/83033987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Patchwork53",
"html_url": "https://github.com/Patchwork53",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37906/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37906/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/37905 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37905/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37905/comments | https://api.github.com/repos/huggingface/transformers/issues/37905/events | https://github.com/huggingface/transformers/pull/37905 | 3,032,853,777 | PR_kwDOCUB6oc6UlrqZ | 37,905 | Break weight tying when quantizing input embedding | {
"login": "jerryzh168",
"id": 4958441,
"node_id": "MDQ6VXNlcjQ5NTg0NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4958441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jerryzh168",
"html_url": "https://github.com/jerryzh168",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-05-01T00:21:22 | 2025-05-02T08:53:23 | 2025-05-02T08:53:23 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37905",
"html_url": "https://github.com/huggingface/transformers/pull/37905",
"diff_url": "https://github.com/huggingface/transformers/pull/37905.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37905.patch",
"merged_at... | Summary:
Currently when we try to quantize input_embedding for some models, the output embedding (lm_head) will also be quantized the same way, since they are tied, and this may not be what we want. To break the tie, we added the option to allow people to
1. load unquantized weight
2. tie weights
3. quantize
so ... | {
"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/37905/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/37905/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37904 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37904/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37904/comments | https://api.github.com/repos/huggingface/transformers/issues/37904/events | https://github.com/huggingface/transformers/pull/37904 | 3,032,645,662 | PR_kwDOCUB6oc6Uk9q2 | 37,904 | Feat: Add class_proba option to semantic segmentation post-processing | {
"login": "demoncoder-crypto",
"id": 174311533,
"node_id": "U_kgDOCmPIbQ",
"avatar_url": "https://avatars.githubusercontent.com/u/174311533?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/demoncoder-crypto",
"html_url": "https://github.com/demoncoder-crypto",
"followers_url": "https://api... | [] | open | false | null | [] | null | [] | 2025-04-30T22:01:32 | 2025-05-13T15:35:32 | null | NONE | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37904",
"html_url": "https://github.com/huggingface/transformers/pull/37904",
"diff_url": "https://github.com/huggingface/transformers/pull/37904.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37904.patch",
"merged_at... | Addresses #37715, this is my first implementation, if my direction is correct please do let me know I will iteratively fix everything | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37904/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37904/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37903 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37903/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37903/comments | https://api.github.com/repos/huggingface/transformers/issues/37903/events | https://github.com/huggingface/transformers/pull/37903 | 3,032,590,680 | PR_kwDOCUB6oc6UkxFg | 37,903 | Fix: Optimize safetensors load by moving dtype check for meta device | {
"login": "demoncoder-crypto",
"id": 174311533,
"node_id": "U_kgDOCmPIbQ",
"avatar_url": "https://avatars.githubusercontent.com/u/174311533?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/demoncoder-crypto",
"html_url": "https://github.com/demoncoder-crypto",
"followers_url": "https://api... | [] | closed | false | null | [] | null | [] | 2025-04-30T21:40:37 | 2025-05-01T13:46:04 | 2025-05-01T13:46:03 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37903",
"html_url": "https://github.com/huggingface/transformers/pull/37903",
"diff_url": "https://github.com/huggingface/transformers/pull/37903.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37903.patch",
"merged_at... | Addresses #37887, This is first implementation if the said path is correct I will iteratively fix the changes requested | {
"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/37903/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37903/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37902 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37902/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37902/comments | https://api.github.com/repos/huggingface/transformers/issues/37902/events | https://github.com/huggingface/transformers/pull/37902 | 3,032,528,666 | PR_kwDOCUB6oc6UkjJ7 | 37,902 | Improve performance of `load_state_dict` | {
"login": "woct0rdho",
"id": 23053399,
"node_id": "MDQ6VXNlcjIzMDUzMzk5",
"avatar_url": "https://avatars.githubusercontent.com/u/23053399?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/woct0rdho",
"html_url": "https://github.com/woct0rdho",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-30T21:11:35 | 2025-05-03T01:28:13 | 2025-05-01T14:35:17 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37902",
"html_url": "https://github.com/huggingface/transformers/pull/37902",
"diff_url": "https://github.com/huggingface/transformers/pull/37902.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37902.patch",
"merged_at... | # What does this PR do?
We avoid executing `get_slice` unless `map_location == "meta"` to improve the performance when loading a model with a large number of tensors.
Even though we avoid the dtype check in Python, the dtype will be checked at https://github.com/huggingface/safetensors/blob/7d5af853631628137a7934... | {
"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/37902/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37902/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37901 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37901/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37901/comments | https://api.github.com/repos/huggingface/transformers/issues/37901/events | https://github.com/huggingface/transformers/pull/37901 | 3,032,336,502 | PR_kwDOCUB6oc6Uj5NZ | 37,901 | fix-do_sample-default | {
"login": "Lynsoo",
"id": 157243525,
"node_id": "U_kgDOCV9YhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/157243525?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lynsoo",
"html_url": "https://github.com/Lynsoo",
"followers_url": "https://api.github.com/users/Lynsoo/follower... | [] | open | false | null | [] | null | [] | 2025-04-30T19:49:17 | 2025-05-02T09:23:23 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37901",
"html_url": "https://github.com/huggingface/transformers/pull/37901",
"diff_url": "https://github.com/huggingface/transformers/pull/37901.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37901.patch",
"merged_at... | # What does this PR do?
Fixes the do_sample default issue. It should normally be set to `False` as default but it was reported that if it's not explicitly defined, it defaults to `True`.
Fixes #37891
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that'... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37901/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/37901/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37900 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37900/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37900/comments | https://api.github.com/repos/huggingface/transformers/issues/37900/events | https://github.com/huggingface/transformers/issues/37900 | 3,032,205,541 | I_kwDOCUB6oc60u8jl | 37,900 | Error in input expansion for `generate` with `num_return_sequences` > 1 for multi-image inputs to `AutoModelForImageTextToText` | {
"login": "saujasv",
"id": 14196644,
"node_id": "MDQ6VXNlcjE0MTk2NjQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/14196644?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saujasv",
"html_url": "https://github.com/saujasv",
"followers_url": "https://api.github.com/users/saujas... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | [
{
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https:... | null | [] | 2025-04-30T18:59:49 | 2025-06-08T08:02:25 | 2025-06-08T08:02:25 | NONE | null | null | null | null | ### System Info
```
- `transformers` version: 4.51.3
- Platform: Linux-5.14.0-427.40.1.el9_4.x86_64-x86_64-with-glibc2.34
- Python version: 3.12.7
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.4.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distribute... | {
"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/37900/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37900/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/37899 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37899/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37899/comments | https://api.github.com/repos/huggingface/transformers/issues/37899/events | https://github.com/huggingface/transformers/pull/37899 | 3,032,042,810 | PR_kwDOCUB6oc6Ui4_3 | 37,899 | fixed gemma3 collection path pointing to llama 2 collection. | {
"login": "dmgcsilva",
"id": 43959937,
"node_id": "MDQ6VXNlcjQzOTU5OTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/43959937?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dmgcsilva",
"html_url": "https://github.com/dmgcsilva",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-30T17:50:09 | 2025-04-30T19:50:54 | 2025-04-30T19:50:54 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37899",
"html_url": "https://github.com/huggingface/transformers/pull/37899",
"diff_url": "https://github.com/huggingface/transformers/pull/37899.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37899.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/37899/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37899/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37898 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37898/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37898/comments | https://api.github.com/repos/huggingface/transformers/issues/37898/events | https://github.com/huggingface/transformers/pull/37898 | 3,032,033,447 | PR_kwDOCUB6oc6Ui28B | 37,898 | Updated Zoedepth model card | {
"login": "miniMaddy",
"id": 77185670,
"node_id": "MDQ6VXNlcjc3MTg1Njcw",
"avatar_url": "https://avatars.githubusercontent.com/u/77185670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miniMaddy",
"html_url": "https://github.com/miniMaddy",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-30T17:45:54 | 2025-05-27T17:06:54 | 2025-05-27T17:06:54 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37898",
"html_url": "https://github.com/huggingface/transformers/pull/37898",
"diff_url": "https://github.com/huggingface/transformers/pull/37898.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37898.patch",
"merged_at... | # What does this PR do?
Updated zoedepth model card
Fixes #36979
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#cr... | {
"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/37898/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37898/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37897 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37897/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37897/comments | https://api.github.com/repos/huggingface/transformers/issues/37897/events | https://github.com/huggingface/transformers/pull/37897 | 3,031,705,934 | PR_kwDOCUB6oc6UhuTB | 37,897 | Add LlamaForSequenceClassification example to docs | {
"login": "suryaprasanthcse",
"id": 208653497,
"node_id": "U_kgDODG_MuQ",
"avatar_url": "https://avatars.githubusercontent.com/u/208653497?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suryaprasanthcse",
"html_url": "https://github.com/suryaprasanthcse",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | null | [] | 2025-04-30T15:44:46 | 2025-05-03T12:35:29 | 2025-05-03T12:35:28 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37897",
"html_url": "https://github.com/huggingface/transformers/pull/37897",
"diff_url": "https://github.com/huggingface/transformers/pull/37897.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37897.patch",
"merged_at... | # What does this PR do?
Ref #36979
Added a minimal working example for `LlamaForSequenceClassification` in the LLaMA documentation.
**Motivation**:
This helps users understand how to use LLaMA for classification tasks, as requested in the issue.
**Changes**:
- Added Python code example showing:
- M... | {
"login": "suryaprasanthcse",
"id": 208653497,
"node_id": "U_kgDODG_MuQ",
"avatar_url": "https://avatars.githubusercontent.com/u/208653497?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suryaprasanthcse",
"html_url": "https://github.com/suryaprasanthcse",
"followers_url": "https://api.gi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37897/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37897/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37896 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37896/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37896/comments | https://api.github.com/repos/huggingface/transformers/issues/37896/events | https://github.com/huggingface/transformers/pull/37896 | 3,031,646,582 | PR_kwDOCUB6oc6UhhQw | 37,896 | [tests] remove overload for deleted test (`test_offloaded_cache_implementation`) | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | null | [] | 2025-04-30T15:25:12 | 2025-05-27T15:45:18 | 2025-05-27T15:45:15 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37896",
"html_url": "https://github.com/huggingface/transformers/pull/37896",
"diff_url": "https://github.com/huggingface/transformers/pull/37896.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37896.patch",
"merged_at... | # What does this PR do?
`test_offloaded_cache_implementation` was deleted in #37724
This PR deletes stray overloads (which were skipping the test) | {
"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/37896/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37896/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37895 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37895/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37895/comments | https://api.github.com/repos/huggingface/transformers/issues/37895/events | https://github.com/huggingface/transformers/issues/37895 | 3,031,586,571 | I_kwDOCUB6oc60slcL | 37,895 | How to backpropagate the gradients of the embeddings output by the image processor to the input image tensor? | {
"login": "weiminbai",
"id": 186148186,
"node_id": "U_kgDOCxhlWg",
"avatar_url": "https://avatars.githubusercontent.com/u/186148186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/weiminbai",
"html_url": "https://github.com/weiminbai",
"followers_url": "https://api.github.com/users/weimin... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | null | [] | 2025-04-30T15:06:40 | 2025-05-01T13:36:24 | null | NONE | null | null | null | null | ### Feature request
I'm using the processor of Qwen2.5-VL, and the image processor within it should be Qwen2ImageProcessor. The input image I provide is a PyTorch tensor with gradients, and the processor outputs the feature embeddings of the image. How can I ensure that the gradient flow is not interrupted during this... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37895/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37895/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/37894 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37894/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37894/comments | https://api.github.com/repos/huggingface/transformers/issues/37894/events | https://github.com/huggingface/transformers/pull/37894 | 3,031,529,355 | PR_kwDOCUB6oc6UhHuY | 37,894 | [tests] reset logs in `torch.compile` test | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | null | [] | 2025-04-30T14:48:12 | 2025-04-30T15:04:33 | 2025-04-30T15:04:28 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37894",
"html_url": "https://github.com/huggingface/transformers/pull/37894",
"diff_url": "https://github.com/huggingface/transformers/pull/37894.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37894.patch",
"merged_at... | # What does this PR do?
We set special log options in `test_generate_compile_model_forward`, but we don't reset them. This PR ensures we reset them.
(thank you @ydshieh for noticing it! https://github.com/huggingface/transformers/pull/37629#discussion_r2068663475) | {
"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/37894/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37894/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37893 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37893/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37893/comments | https://api.github.com/repos/huggingface/transformers/issues/37893/events | https://github.com/huggingface/transformers/pull/37893 | 3,031,272,158 | PR_kwDOCUB6oc6UgPYt | 37,893 | Feat: add warnings for unused keys and rules in tensor parallel | {
"login": "S1ro1",
"id": 54212263,
"node_id": "MDQ6VXNlcjU0MjEyMjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/54212263?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/S1ro1",
"html_url": "https://github.com/S1ro1",
"followers_url": "https://api.github.com/users/S1ro1/follow... | [] | closed | false | null | [] | null | [] | 2025-04-30T13:22:14 | 2025-05-16T12:52:48 | 2025-05-16T12:52:47 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37893",
"html_url": "https://github.com/huggingface/transformers/pull/37893",
"diff_url": "https://github.com/huggingface/transformers/pull/37893.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37893.patch",
"merged_at... | # What does this PR do?
Implements extra warnings when tensor parallelism was applied on the model. To be exact it
prints out unused rules in the tp_plan and layers that were not sharded by tp.
First from the serie of PRs making TP more user friendly.
cc @ArthurZucker
## Before submitting
- [ ] This PR f... | {
"login": "S1ro1",
"id": 54212263,
"node_id": "MDQ6VXNlcjU0MjEyMjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/54212263?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/S1ro1",
"html_url": "https://github.com/S1ro1",
"followers_url": "https://api.github.com/users/S1ro1/follow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37893/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37893/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37892 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37892/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37892/comments | https://api.github.com/repos/huggingface/transformers/issues/37892/events | https://github.com/huggingface/transformers/pull/37892 | 3,031,248,444 | PR_kwDOCUB6oc6UgKWl | 37,892 | [chat] clean code and add base help | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | null | [] | 2025-04-30T13:13:24 | 2025-05-01T14:12:21 | 2025-05-01T14:12:18 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37892",
"html_url": "https://github.com/huggingface/transformers/pull/37892",
"diff_url": "https://github.com/huggingface/transformers/pull/37892.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37892.patch",
"merged_at... | # What does this PR do?
Cleans `chat.py` before start adding features. There are no functional changes, except for this short help message that is now printed at the start of the chat session.

... | {
"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/37892/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37892/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37891 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37891/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37891/comments | https://api.github.com/repos/huggingface/transformers/issues/37891/events | https://github.com/huggingface/transformers/issues/37891 | 3,031,202,896 | I_kwDOCUB6oc60rHxQ | 37,891 | do_sample does not default to False | {
"login": "edmondja",
"id": 11833428,
"node_id": "MDQ6VXNlcjExODMzNDI4",
"avatar_url": "https://avatars.githubusercontent.com/u/11833428?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/edmondja",
"html_url": "https://github.com/edmondja",
"followers_url": "https://api.github.com/users/edm... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-30T12:56:02 | 2025-05-02T13:53:33 | 2025-05-01T07:30:07 | NONE | null | null | null | null | ### System Info
My colleague Amine made me notice that if do_sample is not explicitly defined, unlike what the documentation says, it defaults to True.
### Who can help?
_No response_
### Information
- [x] The official example scripts
- [x] My own modified scripts
### Tasks
- [x] An officially supported task in... | {
"login": "edmondja",
"id": 11833428,
"node_id": "MDQ6VXNlcjExODMzNDI4",
"avatar_url": "https://avatars.githubusercontent.com/u/11833428?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/edmondja",
"html_url": "https://github.com/edmondja",
"followers_url": "https://api.github.com/users/edm... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37891/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37891/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/37890 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37890/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37890/comments | https://api.github.com/repos/huggingface/transformers/issues/37890/events | https://github.com/huggingface/transformers/pull/37890 | 3,031,182,053 | PR_kwDOCUB6oc6Uf75z | 37,890 | Fix device mismatch by moving num_items_in_batch to loss device in fixed_cross_entropy (#37886) | {
"login": "NEREUScode",
"id": 174478950,
"node_id": "U_kgDOCmZWZg",
"avatar_url": "https://avatars.githubusercontent.com/u/174478950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NEREUScode",
"html_url": "https://github.com/NEREUScode",
"followers_url": "https://api.github.com/users/NER... | [] | closed | false | null | [] | null | [] | 2025-04-30T12:48:06 | 2025-04-30T14:13:17 | 2025-04-30T14:13:17 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37890",
"html_url": "https://github.com/huggingface/transformers/pull/37890",
"diff_url": "https://github.com/huggingface/transformers/pull/37890.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37890.patch",
"merged_at... | Fixes: #37886
This PR ensures that the num_items_in_batch tensor is moved to the same device as the loss tensor before performing division inside the fixed_cross_entropy function. This prevents runtime device mismatch errors when models are trained on non-default devices (e.g., CUDA).
🔧 Changes made:
Updated f... | {
"login": "NEREUScode",
"id": 174478950,
"node_id": "U_kgDOCmZWZg",
"avatar_url": "https://avatars.githubusercontent.com/u/174478950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NEREUScode",
"html_url": "https://github.com/NEREUScode",
"followers_url": "https://api.github.com/users/NER... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37890/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37890/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37889 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37889/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37889/comments | https://api.github.com/repos/huggingface/transformers/issues/37889/events | https://github.com/huggingface/transformers/pull/37889 | 3,031,029,492 | PR_kwDOCUB6oc6UfaUQ | 37,889 | add profiler to trainer | {
"login": "re-imagined",
"id": 11422477,
"node_id": "MDQ6VXNlcjExNDIyNDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/11422477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/re-imagined",
"html_url": "https://github.com/re-imagined",
"followers_url": "https://api.github.com/... | [] | open | false | null | [] | null | [] | 2025-04-30T11:44:57 | 2025-07-29T06:36:30 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37889",
"html_url": "https://github.com/huggingface/transformers/pull/37889",
"diff_url": "https://github.com/huggingface/transformers/pull/37889.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37889.patch",
"merged_at... | # What does this PR do?
add profiler to trainer
related issue:
https://github.com/huggingface/transformers/issues/36360#issuecomment-2844195069
| null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37889/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37889/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37888 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37888/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37888/comments | https://api.github.com/repos/huggingface/transformers/issues/37888/events | https://github.com/huggingface/transformers/pull/37888 | 3,030,962,550 | PR_kwDOCUB6oc6UfLm5 | 37,888 | Fix duplicate init self attention in Qwen3 MoE | {
"login": "yzlnew",
"id": 4904877,
"node_id": "MDQ6VXNlcjQ5MDQ4Nzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4904877?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzlnew",
"html_url": "https://github.com/yzlnew",
"followers_url": "https://api.github.com/users/yzlnew/foll... | [] | closed | false | null | [] | null | [] | 2025-04-30T11:14:22 | 2025-04-30T12:29:07 | 2025-04-30T12:29:06 | NONE | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37888",
"html_url": "https://github.com/huggingface/transformers/pull/37888",
"diff_url": "https://github.com/huggingface/transformers/pull/37888.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37888.patch",
"merged_at... | # What does this PR do?
Remove the duplicated lines, maybe due to a manual error.
| {
"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/37888/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37888/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37887 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37887/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37887/comments | https://api.github.com/repos/huggingface/transformers/issues/37887/events | https://github.com/huggingface/transformers/issues/37887 | 3,030,850,481 | I_kwDOCUB6oc60pxux | 37,887 | Performance of `load_state_dict` with large number of tensors (Qwen3 MoE) | {
"login": "woct0rdho",
"id": 23053399,
"node_id": "MDQ6VXNlcjIzMDUzMzk5",
"avatar_url": "https://avatars.githubusercontent.com/u/23053399?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/woct0rdho",
"html_url": "https://github.com/woct0rdho",
"followers_url": "https://api.github.com/users/... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | closed | false | null | [] | null | [] | 2025-04-30T10:26:05 | 2025-05-01T14:40:31 | 2025-05-01T14:35:18 | CONTRIBUTOR | null | null | null | null | ### Feature request
It takes a long time to load a model with a large number of tensors. Can we improve its performance?
### Motivation
For example, [Unsloth's Qwen3-30B-A3B](https://huggingface.co/unsloth/Qwen3-30B-A3B-bnb-4bit) has 31337 tensors in a file, because there are 128 experts in each layer, and it takes ... | {
"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/37887/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37887/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/37886 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37886/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37886/comments | https://api.github.com/repos/huggingface/transformers/issues/37886/events | https://github.com/huggingface/transformers/issues/37886 | 3,030,737,676 | I_kwDOCUB6oc60pWMM | 37,886 | num_items_in_batch should be moved to logits.device in ForCausalLMLoss too | {
"login": "situqingyun",
"id": 22349162,
"node_id": "MDQ6VXNlcjIyMzQ5MTYy",
"avatar_url": "https://avatars.githubusercontent.com/u/22349162?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/situqingyun",
"html_url": "https://github.com/situqingyun",
"followers_url": "https://api.github.com/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-30T09:42:16 | 2025-06-02T15:48:36 | 2025-06-02T15:48:36 | NONE | null | null | null | null | ### System Info
fransformers version: 4.51.1
If different layers of the model are placed on multiple GPUs, logtis and num_items_in_batch may be placed on different devices. In ForCausalLMLoss, shift_labes is moved to logits.device, but the same operation is not done for num_items_in_batch, which will lead to the foll... | {
"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/37886/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37886/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/37885 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37885/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37885/comments | https://api.github.com/repos/huggingface/transformers/issues/37885/events | https://github.com/huggingface/transformers/pull/37885 | 3,030,669,857 | PR_kwDOCUB6oc6UeLeu | 37,885 | Trigger CircleCI via GitHub Actions when `ready for review` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | null | [] | 2025-04-30T09:19:58 | 2025-05-09T09:45:06 | 2025-05-09T09:45:04 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37885",
"html_url": "https://github.com/huggingface/transformers/pull/37885",
"diff_url": "https://github.com/huggingface/transformers/pull/37885.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37885.patch",
"merged_at... | # What does this PR do?
So far we are using another approach that will prevent PRs from forked repositories not trigger CircleCI when `ready for review`. This PRs try to use a GitHub Actions workflow with `pull_request_review: ready_for_review` that will trigger CircleCI pipeline. | {
"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/37885/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37885/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37884 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37884/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37884/comments | https://api.github.com/repos/huggingface/transformers/issues/37884/events | https://github.com/huggingface/transformers/pull/37884 | 3,030,529,606 | PR_kwDOCUB6oc6UdtAV | 37,884 | Get our efficiency back | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | open | false | null | [] | null | [] | 2025-04-30T08:23:52 | 2025-05-09T13:26:29 | null | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37884",
"html_url": "https://github.com/huggingface/transformers/pull/37884",
"diff_url": "https://github.com/huggingface/transformers/pull/37884.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37884.patch",
"merged_at... | jedi is unfortunately extremely slow at parsing the imports such as `from .models import *`; in order to have it be faster, we have no choice but to put the individual objects back in the main init.
These are only necessary for intellisense/static type checkers -> it doesn't impact actual importable objects.
Thes... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37884/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37884/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37883 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37883/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37883/comments | https://api.github.com/repos/huggingface/transformers/issues/37883/events | https://github.com/huggingface/transformers/issues/37883 | 3,030,494,500 | I_kwDOCUB6oc60oa0k | 37,883 | ModernBert Tokenizer flag `is_split_into_words` not working | {
"login": "bablf",
"id": 57184353,
"node_id": "MDQ6VXNlcjU3MTg0MzUz",
"avatar_url": "https://avatars.githubusercontent.com/u/57184353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bablf",
"html_url": "https://github.com/bablf",
"followers_url": "https://api.github.com/users/bablf/follow... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-30T08:11:16 | 2025-06-08T08:02:27 | 2025-06-08T08:02:27 | NONE | null | null | null | null | ### System Info
Using the Tokenizer for ModernBERT does not work as expected when using the `is_split_into_words` flag. The Tokenizer does not insert spaces, like other tokenizers do.
Minimal sample to reproduce:
`transformers` version: 4.50.1
- Platform: Linux-6.11.0-21-generic-x86_64-with-glibc2.39
- Python v... | {
"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/37883/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/37883/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/37882 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37882/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37882/comments | https://api.github.com/repos/huggingface/transformers/issues/37882/events | https://github.com/huggingface/transformers/pull/37882 | 3,030,475,545 | PR_kwDOCUB6oc6UdhKW | 37,882 | make mistral3 pass on xpu | {
"login": "yao-matrix",
"id": 7245027,
"node_id": "MDQ6VXNlcjcyNDUwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7245027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yao-matrix",
"html_url": "https://github.com/yao-matrix",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-04-30T08:03:06 | 2025-05-09T07:06:56 | 2025-05-09T06:41:12 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37882",
"html_url": "https://github.com/huggingface/transformers/pull/37882",
"diff_url": "https://github.com/huggingface/transformers/pull/37882.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37882.patch",
"merged_at... | @ydshieh , pls help review, thx | {
"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/37882/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37882/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37881 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37881/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37881/comments | https://api.github.com/repos/huggingface/transformers/issues/37881/events | https://github.com/huggingface/transformers/pull/37881 | 3,030,207,248 | PR_kwDOCUB6oc6UcnH2 | 37,881 | make sure lr is not a tensor | {
"login": "winglian",
"id": 381258,
"node_id": "MDQ6VXNlcjM4MTI1OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/381258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/winglian",
"html_url": "https://github.com/winglian",
"followers_url": "https://api.github.com/users/winglia... | [] | closed | false | null | [] | null | [] | 2025-04-30T05:50:38 | 2025-04-30T12:23:40 | 2025-04-30T12:23:40 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37881",
"html_url": "https://github.com/huggingface/transformers/pull/37881",
"diff_url": "https://github.com/huggingface/transformers/pull/37881.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37881.patch",
"merged_at... | # What does this PR do?
There seems to be a slight regression where using deepspeed is completely broken and saving checkpoints will fail during the trainer state save step because the LR is still a tensor. This is probably also the root cause that also would fix #37704. The is Tensor check is used in the `else` part ... | {
"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/37881/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37881/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37880 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37880/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37880/comments | https://api.github.com/repos/huggingface/transformers/issues/37880/events | https://github.com/huggingface/transformers/pull/37880 | 3,030,074,670 | PR_kwDOCUB6oc6UcKyi | 37,880 | Fix bugs in DynamicCache | {
"login": "tugsbayasgalan",
"id": 16603271,
"node_id": "MDQ6VXNlcjE2NjAzMjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/16603271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tugsbayasgalan",
"html_url": "https://github.com/tugsbayasgalan",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | null | [] | 2025-04-30T04:14:40 | 2025-06-24T17:43:40 | 2025-06-24T17:43:40 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37880",
"html_url": "https://github.com/huggingface/transformers/pull/37880",
"diff_url": "https://github.com/huggingface/transformers/pull/37880.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37880.patch",
"merged_at... | # What does this PR do?
When we flatten DynamicCache for export, we never end up flattening the inner tensors of DynamicCache because when we start, there are 0 tensors initialized. As a result, we didn't correctly test the ep.module()(*args, **kwargs) behaviour when we do export when cache is populated.
<!--
C... | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37880/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/37880/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37879 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37879/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37879/comments | https://api.github.com/repos/huggingface/transformers/issues/37879/events | https://github.com/huggingface/transformers/pull/37879 | 3,029,854,779 | PR_kwDOCUB6oc6UbcIe | 37,879 | Fix qwen2-vl-docs. | {
"login": "zhanluxianshen",
"id": 161462588,
"node_id": "U_kgDOCZ-5PA",
"avatar_url": "https://avatars.githubusercontent.com/u/161462588?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhanluxianshen",
"html_url": "https://github.com/zhanluxianshen",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-04-30T01:02:35 | 2025-04-30T15:31:52 | 2025-04-30T12:32:22 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37879",
"html_url": "https://github.com/huggingface/transformers/pull/37879",
"diff_url": "https://github.com/huggingface/transformers/pull/37879.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37879.patch",
"merged_at... | null | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37879/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37879/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37878 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37878/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37878/comments | https://api.github.com/repos/huggingface/transformers/issues/37878/events | https://github.com/huggingface/transformers/pull/37878 | 3,029,747,417 | PR_kwDOCUB6oc6UbE1b | 37,878 | PerceptionLM | {
"login": "shuminghu",
"id": 2934295,
"node_id": "MDQ6VXNlcjI5MzQyOTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2934295?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shuminghu",
"html_url": "https://github.com/shuminghu",
"followers_url": "https://api.github.com/users/sh... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2025-04-29T23:39:54 | 2025-07-11T09:07:33 | 2025-07-11T09:07:33 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37878",
"html_url": "https://github.com/huggingface/transformers/pull/37878",
"diff_url": "https://github.com/huggingface/transformers/pull/37878.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37878.patch",
"merged_at... | This PR implements PerceptionLM released by Meta:
https://github.com/facebookresearch/perception_models
| {
"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/37878/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37878/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37877 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37877/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37877/comments | https://api.github.com/repos/huggingface/transformers/issues/37877/events | https://github.com/huggingface/transformers/pull/37877 | 3,029,652,294 | PR_kwDOCUB6oc6UawZU | 37,877 | parallelism goes brrr | {
"login": "NouamaneTazi",
"id": 29777165,
"node_id": "MDQ6VXNlcjI5Nzc3MTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/29777165?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NouamaneTazi",
"html_url": "https://github.com/NouamaneTazi",
"followers_url": "https://api.github.c... | [
{
"id": 1834056761,
"node_id": "MDU6TGFiZWwxODM0MDU2NzYx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Modeling",
"name": "Core: Modeling",
"color": "FF8446",
"default": false,
"description": "Internals of the library; Models."
},
{
"id": 27608221... | closed | false | null | [] | null | [] | 2025-04-29T22:22:27 | 2025-05-21T14:29:35 | 2025-05-20T14:22:52 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37877",
"html_url": "https://github.com/huggingface/transformers/pull/37877",
"diff_url": "https://github.com/huggingface/transformers/pull/37877.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37877.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37877/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 5,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37877/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37876 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37876/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37876/comments | https://api.github.com/repos/huggingface/transformers/issues/37876/events | https://github.com/huggingface/transformers/issues/37876 | 3,029,475,207 | I_kwDOCUB6oc60kh-H | 37,876 | Qwen model export regression | {
"login": "guangy10",
"id": 42389959,
"node_id": "MDQ6VXNlcjQyMzg5OTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/42389959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guangy10",
"html_url": "https://github.com/guangy10",
"followers_url": "https://api.github.com/users/gua... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-29T20:32:09 | 2025-05-07T07:13:09 | 2025-05-07T07:13:09 | CONTRIBUTOR | null | null | null | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.52.0.dev0
- Platform: macOS-15.4.1-arm64-arm-64bit
- Python version: 3.11.11
- Huggingface_hub version: 0.30.1
- Safetensors version: 0.5.2
- Accelerate version: 1.4.0
- Accelerate config: ... | {
"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/37876/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37876/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/37875 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37875/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37875/comments | https://api.github.com/repos/huggingface/transformers/issues/37875/events | https://github.com/huggingface/transformers/pull/37875 | 3,029,391,629 | PR_kwDOCUB6oc6UZ3Dl | 37,875 | Add DEIM object detection model | {
"login": "sushmanthreddy",
"id": 73489688,
"node_id": "MDQ6VXNlcjczNDg5Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/73489688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sushmanthreddy",
"html_url": "https://github.com/sushmanthreddy",
"followers_url": "https://api.gi... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 5769473378,
"node_id": "LA_kwDOCUB6oc8AAAABV-Mt... | open | false | null | [] | null | [] | 2025-04-29T19:57:05 | 2025-09-01T16:19:50 | null | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37875",
"html_url": "https://github.com/huggingface/transformers/pull/37875",
"diff_url": "https://github.com/huggingface/transformers/pull/37875.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37875.patch",
"merged_at... | close #36204
https://github.com/ShihuaHuang95/DEIM/tree/main
| null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37875/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37875/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37874 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37874/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37874/comments | https://api.github.com/repos/huggingface/transformers/issues/37874/events | https://github.com/huggingface/transformers/issues/37874 | 3,029,237,898 | I_kwDOCUB6oc60joCK | 37,874 | Speech2TextForConditionalGeneration broken in transformers 4.51.x | {
"login": "aaron-siegel",
"id": 2014957,
"node_id": "MDQ6VXNlcjIwMTQ5NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2014957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aaron-siegel",
"html_url": "https://github.com/aaron-siegel",
"followers_url": "https://api.github.com... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-29T18:55:13 | 2025-06-17T17:53:18 | 2025-05-06T13:49:01 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.51.3
- Platform: macOS-15.3.1-arm64-arm-64bit
- Python version: 3.12.9
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: not installed
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU?): 2.7.0 (False)... | {
"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/37874/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37874/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/37873 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37873/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37873/comments | https://api.github.com/repos/huggingface/transformers/issues/37873/events | https://github.com/huggingface/transformers/pull/37873 | 3,029,158,867 | PR_kwDOCUB6oc6UZFVA | 37,873 | [tests] Test all cache implementations | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | null | [] | 2025-04-29T18:18:41 | 2025-05-09T14:54:15 | 2025-04-30T14:37:00 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37873",
"html_url": "https://github.com/huggingface/transformers/pull/37873",
"diff_url": "https://github.com/huggingface/transformers/pull/37873.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37873.patch",
"merged_at... | # What does this PR do?
The main purpose of this PR is to convert a few slow tests targeted at one cache implementation into fast tests that run on ALL cache implementations.
Secondarily, makes `RUN_SLOW=1 py.test tests/utils/test_cache_utils.py` green 🟢 These tests also become much, much faster (3 mins -> 1 mi... | {
"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/37873/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37873/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37872 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37872/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37872/comments | https://api.github.com/repos/huggingface/transformers/issues/37872/events | https://github.com/huggingface/transformers/pull/37872 | 3,029,119,406 | PR_kwDOCUB6oc6UY8tu | 37,872 | Llama Guard updates | {
"login": "pcuenca",
"id": 1177582,
"node_id": "MDQ6VXNlcjExNzc1ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1177582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pcuenca",
"html_url": "https://github.com/pcuenca",
"followers_url": "https://api.github.com/users/pcuenca/... | [] | closed | false | null | [] | null | [] | 2025-04-29T18:00:43 | 2025-05-20T14:12:58 | 2025-04-30T08:34:44 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37872",
"html_url": "https://github.com/huggingface/transformers/pull/37872",
"diff_url": "https://github.com/huggingface/transformers/pull/37872.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37872.patch",
"merged_at... | Reviewed by @molbap privately.
#37852 should be merged too. | {
"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/37872/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37872/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37871 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37871/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37871/comments | https://api.github.com/repos/huggingface/transformers/issues/37871/events | https://github.com/huggingface/transformers/pull/37871 | 3,028,972,893 | PR_kwDOCUB6oc6UYdS7 | 37,871 | Fix Qwen3 tp plan with FP8 | {
"login": "MekkCyber",
"id": 93391238,
"node_id": "U_kgDOBZEJhg",
"avatar_url": "https://avatars.githubusercontent.com/u/93391238?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MekkCyber",
"html_url": "https://github.com/MekkCyber",
"followers_url": "https://api.github.com/users/MekkCybe... | [] | closed | false | null | [] | null | [] | 2025-04-29T16:51:49 | 2025-04-30T16:14:12 | 2025-04-30T16:14:10 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37871",
"html_url": "https://github.com/huggingface/transformers/pull/37871",
"diff_url": "https://github.com/huggingface/transformers/pull/37871.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37871.patch",
"merged_at... | # What does this PR do?
This PR :
- Enables the device context for the FP8 activation kernel (if disabled, it causes a triton memory error)
- Updates the tp plan for the qwen3 fp8 models (since they use finegrained fp8, the scales will follow the sharding strategy of the weights) | {
"login": "MekkCyber",
"id": 93391238,
"node_id": "U_kgDOBZEJhg",
"avatar_url": "https://avatars.githubusercontent.com/u/93391238?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MekkCyber",
"html_url": "https://github.com/MekkCyber",
"followers_url": "https://api.github.com/users/MekkCybe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37871/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/37871/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37870 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37870/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37870/comments | https://api.github.com/repos/huggingface/transformers/issues/37870/events | https://github.com/huggingface/transformers/pull/37870 | 3,028,949,258 | PR_kwDOCUB6oc6UYYKw | 37,870 | Bump transformers from 4.48.0 to 4.50.0 in /examples/tensorflow/language-modeling-tpu | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
},
{
"id": 6410... | open | false | null | [] | null | [] | 2025-04-29T16:41:26 | 2025-06-05T12:38:06 | null | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37870",
"html_url": "https://github.com/huggingface/transformers/pull/37870",
"diff_url": "https://github.com/huggingface/transformers/pull/37870.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37870.patch",
"merged_at... | Bumps [transformers](https://github.com/huggingface/transformers) from 4.48.0 to 4.50.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/huggingface/transformers/releases">transformers's releases</a>.</em></p>
<blockquote>
<h1>Release v4.50.0</h1>
<h2>New Model Additions</h2>
... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37870/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37870/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37869 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37869/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37869/comments | https://api.github.com/repos/huggingface/transformers/issues/37869/events | https://github.com/huggingface/transformers/pull/37869 | 3,028,782,641 | PR_kwDOCUB6oc6UX0R8 | 37,869 | Hybrid cache v2 | {
"login": "tugsbayasgalan",
"id": 16603271,
"node_id": "MDQ6VXNlcjE2NjAzMjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/16603271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tugsbayasgalan",
"html_url": "https://github.com/tugsbayasgalan",
"followers_url": "https://api.gi... | [] | open | false | null | [] | null | [] | 2025-04-29T15:34:52 | 2025-05-08T14:41:07 | null | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37869",
"html_url": "https://github.com/huggingface/transformers/pull/37869",
"diff_url": "https://github.com/huggingface/transformers/pull/37869.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37869.patch",
"merged_at... | Reapply of https://github.com/huggingface/transformers/pull/37623 .
<!--
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 ... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37869/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37869/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37868 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37868/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37868/comments | https://api.github.com/repos/huggingface/transformers/issues/37868/events | https://github.com/huggingface/transformers/pull/37868 | 3,028,667,946 | PR_kwDOCUB6oc6UXbIV | 37,868 | Add xcodec2 model | {
"login": "Deep-unlearning",
"id": 58599908,
"node_id": "MDQ6VXNlcjU4NTk5OTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/58599908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Deep-unlearning",
"html_url": "https://github.com/Deep-unlearning",
"followers_url": "https://api... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 6470596964,
"node_id": "LA_kwDOCUB6oc8AAAABga15... | open | false | null | [] | null | [] | 2025-04-29T14:58:31 | 2025-10-21T01:11:37 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37868",
"html_url": "https://github.com/huggingface/transformers/pull/37868",
"diff_url": "https://github.com/huggingface/transformers/pull/37868.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37868.patch",
"merged_at... | # What does this PR do?
This PR adds support for [XCodec2](https://github.com/zhenye234/X-Codec-2.0) a high fidelity general neural audio codec used in [Llasa](https://huggingface.co/collections/HKUSTAudio/llasa-679b87dbd06ac556cc0e0f44) a Text-to-Speech model, to the Transformers library.
This model is composed ... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37868/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37868/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37867 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37867/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37867/comments | https://api.github.com/repos/huggingface/transformers/issues/37867/events | https://github.com/huggingface/transformers/issues/37867 | 3,028,621,723 | I_kwDOCUB6oc60hRmb | 37,867 | Option for save_pretrained() to Export Model Source Code Files | {
"login": "WhenMelancholy",
"id": 21274779,
"node_id": "MDQ6VXNlcjIxMjc0Nzc5",
"avatar_url": "https://avatars.githubusercontent.com/u/21274779?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WhenMelancholy",
"html_url": "https://github.com/WhenMelancholy",
"followers_url": "https://api.gi... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | null | [] | 2025-04-29T14:42:46 | 2025-04-30T11:40:40 | null | NONE | null | null | null | null | ### Feature request
Add an optional flag (e.g., include_source_code=True) to PreTrainedModel.save_pretrained() / PreTrainedTokenizer.save_pretrained() that copies the currently-used Python implementation files (e.g., modeling_xxx.py, configuration_xxx.py, tokenization_xxx.py) into the target directory—even when those ... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37867/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37867/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/37866 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37866/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37866/comments | https://api.github.com/repos/huggingface/transformers/issues/37866/events | https://github.com/huggingface/transformers/pull/37866 | 3,028,568,628 | PR_kwDOCUB6oc6UXFze | 37,866 | 🚨🚨[core] Completely rewrite the masking logic for all attentions | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-29T14:26:21 | 2025-06-10T18:01:39 | 2025-05-22T09:38:26 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37866",
"html_url": "https://github.com/huggingface/transformers/pull/37866",
"diff_url": "https://github.com/huggingface/transformers/pull/37866.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37866.patch",
"merged_at... | # What does this PR do?
As per the title. The goal is to properly separate masking logic from modeling code itself, to continue our objective of simplifying the library.
- Code is much simpler to understand
- Much more general: always work for all lengths, and all attention implementations, e.g.:
- flex atte... | {
"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/37866/reactions",
"total_count": 8,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 8,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37866/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37865 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37865/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37865/comments | https://api.github.com/repos/huggingface/transformers/issues/37865/events | https://github.com/huggingface/transformers/pull/37865 | 3,028,427,724 | PR_kwDOCUB6oc6UWmy9 | 37,865 | update Clean_up_tokenization_spaces typos. | {
"login": "zhanluxianshen",
"id": 161462588,
"node_id": "U_kgDOCZ-5PA",
"avatar_url": "https://avatars.githubusercontent.com/u/161462588?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhanluxianshen",
"html_url": "https://github.com/zhanluxianshen",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-04-29T13:47:12 | 2025-04-30T15:32:38 | 2025-04-30T12:04:49 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37865",
"html_url": "https://github.com/huggingface/transformers/pull/37865",
"diff_url": "https://github.com/huggingface/transformers/pull/37865.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37865.patch",
"merged_at... | null | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37865/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37865/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37864 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37864/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37864/comments | https://api.github.com/repos/huggingface/transformers/issues/37864/events | https://github.com/huggingface/transformers/pull/37864 | 3,028,384,528 | PR_kwDOCUB6oc6UWdFI | 37,864 | update comment in image_processing_base.py to reference image_process… | {
"login": "arjunaskykok",
"id": 32124593,
"node_id": "MDQ6VXNlcjMyMTI0NTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/32124593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arjunaskykok",
"html_url": "https://github.com/arjunaskykok",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-04-29T13:35:36 | 2025-04-30T13:31:30 | 2025-04-30T13:31:29 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37864",
"html_url": "https://github.com/huggingface/transformers/pull/37864",
"diff_url": "https://github.com/huggingface/transformers/pull/37864.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37864.patch",
"merged_at... | …ing_utils_fast
Fixes #37815
## Who can review?
@Rocketknight1
| {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37864/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37864/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37863 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37863/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37863/comments | https://api.github.com/repos/huggingface/transformers/issues/37863/events | https://github.com/huggingface/transformers/pull/37863 | 3,028,376,766 | PR_kwDOCUB6oc6UWbVZ | 37,863 | Update Model Card for Mamba | {
"login": "ParagEkbote",
"id": 69567729,
"node_id": "MDQ6VXNlcjY5NTY3NzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/69567729?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ParagEkbote",
"html_url": "https://github.com/ParagEkbote",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-29T13:33:36 | 2025-05-21T17:59:52 | 2025-05-21T17:58:23 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37863",
"html_url": "https://github.com/huggingface/transformers/pull/37863",
"diff_url": "https://github.com/huggingface/transformers/pull/37863.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37863.patch",
"merged_at... | # What does this PR do?
As described in the issue, this PR updates the model card for Mamba. Please let me know if any modifications are required and I will make the necessary changes.
Refs #36979
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the cas... | {
"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/37863/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37863/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37862 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37862/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37862/comments | https://api.github.com/repos/huggingface/transformers/issues/37862/events | https://github.com/huggingface/transformers/issues/37862 | 3,028,202,862 | I_kwDOCUB6oc60frVu | 37,862 | Llama2 can output scores normally, but Llama3 outputs full inf | {
"login": "Huangshuo621",
"id": 179484761,
"node_id": "U_kgDOCrK4WQ",
"avatar_url": "https://avatars.githubusercontent.com/u/179484761?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Huangshuo621",
"html_url": "https://github.com/Huangshuo621",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-29T12:45:48 | 2025-06-23T04:15:06 | 2025-06-08T08:02:29 | NONE | null | null | null | null | ### System Info
transformers:4.44.2
`outputs = self.model.generate(
input_ids=input_ids,
attention_mask=attention_mask,
max_new_tokens=max_length,
return_dict_in_generate=True,
output_scores=True,
)
print("outputs.scores:", outputs.scores)
`
我在生成内容时同时获取scores,并且在使用llama2-chat可以正常输出score,llama3... | {
"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/37862/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37862/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/37861 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37861/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37861/comments | https://api.github.com/repos/huggingface/transformers/issues/37861/events | https://github.com/huggingface/transformers/pull/37861 | 3,028,143,962 | PR_kwDOCUB6oc6UVogF | 37,861 | Fix Bitnet tokenizer in pipeline | {
"login": "MekkCyber",
"id": 93391238,
"node_id": "U_kgDOBZEJhg",
"avatar_url": "https://avatars.githubusercontent.com/u/93391238?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MekkCyber",
"html_url": "https://github.com/MekkCyber",
"followers_url": "https://api.github.com/users/MekkCybe... | [] | closed | false | null | [] | null | [] | 2025-04-29T12:29:15 | 2025-04-29T13:35:04 | 2025-04-29T13:35:02 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37861",
"html_url": "https://github.com/huggingface/transformers/pull/37861",
"diff_url": "https://github.com/huggingface/transformers/pull/37861.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37861.patch",
"merged_at... | # What does this PR do?
Adds tokenizer for bitnet to use it with text-generation pipeline
| {
"login": "MekkCyber",
"id": 93391238,
"node_id": "U_kgDOBZEJhg",
"avatar_url": "https://avatars.githubusercontent.com/u/93391238?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MekkCyber",
"html_url": "https://github.com/MekkCyber",
"followers_url": "https://api.github.com/users/MekkCybe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37861/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37861/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37860 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37860/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37860/comments | https://api.github.com/repos/huggingface/transformers/issues/37860/events | https://github.com/huggingface/transformers/pull/37860 | 3,028,060,656 | PR_kwDOCUB6oc6UVWaX | 37,860 | Update attention_visualizer.py | {
"login": "tanuj-rai",
"id": 84439872,
"node_id": "MDQ6VXNlcjg0NDM5ODcy",
"avatar_url": "https://avatars.githubusercontent.com/u/84439872?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanuj-rai",
"html_url": "https://github.com/tanuj-rai",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-29T12:01:11 | 2025-06-24T14:21:37 | 2025-06-24T14:21:37 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37860",
"html_url": "https://github.com/huggingface/transformers/pull/37860",
"diff_url": "https://github.com/huggingface/transformers/pull/37860.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37860.patch",
"merged_at... | # What does this PR do?
Fixes #37851,
This PR (Pull Request) removes the hardcoded sliding_window = 5 value in the AttentionMaskVisualizer and instead makes the sliding window configurable. | {
"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/37860/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37860/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37859 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37859/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37859/comments | https://api.github.com/repos/huggingface/transformers/issues/37859/events | https://github.com/huggingface/transformers/issues/37859 | 3,027,980,426 | I_kwDOCUB6oc60e1CK | 37,859 | BUG: ModernBERT flash-attention2 incompatible on Ascend NPU | {
"login": "wakaka6",
"id": 48764488,
"node_id": "MDQ6VXNlcjQ4NzY0NDg4",
"avatar_url": "https://avatars.githubusercontent.com/u/48764488?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wakaka6",
"html_url": "https://github.com/wakaka6",
"followers_url": "https://api.github.com/users/wakaka... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-29T11:32:00 | 2025-06-08T08:02:31 | 2025-06-08T08:02:31 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.51.3
- Platform: Linux-5.4.0-125-generic-aarch64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: not installed
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (G... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37859/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37859/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/37858 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37858/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37858/comments | https://api.github.com/repos/huggingface/transformers/issues/37858/events | https://github.com/huggingface/transformers/pull/37858 | 3,027,939,122 | PR_kwDOCUB6oc6UU72z | 37,858 | New bart 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-04-29T11:15:09 | 2025-05-27T18:51:42 | 2025-05-27T18:51:42 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37858",
"html_url": "https://github.com/huggingface/transformers/pull/37858",
"diff_url": "https://github.com/huggingface/transformers/pull/37858.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37858.patch",
"merged_at... | # What does this PR do?
As mentioned in the issue #36979 this PR updates the documentation of the BART model, which will now be aligned with the standardized format for all the docs.
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [... | {
"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/37858/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37858/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37857 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37857/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37857/comments | https://api.github.com/repos/huggingface/transformers/issues/37857/events | https://github.com/huggingface/transformers/issues/37857 | 3,027,811,335 | I_kwDOCUB6oc60eLwH | 37,857 | ImageInput doesn't include JAX ndarray and TensorFlow tensor | {
"login": "arjunaskykok",
"id": 32124593,
"node_id": "MDQ6VXNlcjMyMTI0NTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/32124593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arjunaskykok",
"html_url": "https://github.com/arjunaskykok",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-04-29T10:23:02 | 2025-06-08T08:02:33 | 2025-06-08T08:02:33 | CONTRIBUTOR | null | null | null | null | In the [`image_utils.py`](https://github.com/huggingface/transformers/blob/main/src/transformers/image_utils.py) file, we can see the following code:
```python
class ImageType(ExplicitEnum):
PIL = "pillow"
TORCH = "torch"
NUMPY = "numpy"
TENSORFLOW = "tensorflow"
JAX = "jax"
def get_image_type(im... | {
"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/37857/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37857/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/37856 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37856/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37856/comments | https://api.github.com/repos/huggingface/transformers/issues/37856/events | https://github.com/huggingface/transformers/pull/37856 | 3,027,755,001 | PR_kwDOCUB6oc6UUT6q | 37,856 | Use torch 2.7.1 on CircleCI jobs | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | null | [] | 2025-04-29T09:59:52 | 2025-06-06T08:16:58 | 2025-06-06T08:16:57 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37856",
"html_url": "https://github.com/huggingface/transformers/pull/37856",
"diff_url": "https://github.com/huggingface/transformers/pull/37856.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37856.patch",
"merged_at... | # What does this PR do?
Use torch 2.7 on CircleCI jobs | {
"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/37856/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37856/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37855 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37855/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37855/comments | https://api.github.com/repos/huggingface/transformers/issues/37855/events | https://github.com/huggingface/transformers/pull/37855 | 3,027,735,209 | PR_kwDOCUB6oc6UUPkA | 37,855 | Add Intel Gaudi doc | {
"login": "regisss",
"id": 15324346,
"node_id": "MDQ6VXNlcjE1MzI0MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/regisss",
"html_url": "https://github.com/regisss",
"followers_url": "https://api.github.com/users/regiss... | [] | closed | false | null | [] | null | [] | 2025-04-29T09:52:06 | 2025-04-30T06:54:34 | 2025-04-29T20:28:06 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37855",
"html_url": "https://github.com/huggingface/transformers/pull/37855",
"diff_url": "https://github.com/huggingface/transformers/pull/37855.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37855.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/37855/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37855/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37854 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37854/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37854/comments | https://api.github.com/repos/huggingface/transformers/issues/37854/events | https://github.com/huggingface/transformers/pull/37854 | 3,027,709,776 | PR_kwDOCUB6oc6UUJ_i | 37,854 | Support for version spec in requires & arbitrary mismatching depths across folders | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-29T09:43:31 | 2025-05-09T13:26:29 | 2025-05-09T13:26:27 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37854",
"html_url": "https://github.com/huggingface/transformers/pull/37854",
"diff_url": "https://github.com/huggingface/transformers/pull/37854.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37854.patch",
"merged_at... | This PR adds two features:
### Version specification in `@requires`
Specific versions can now be specified in each backend. For example, this is how you would specify
a requirement on torch>=2.6, as well as `accelerate`, on the `Trainer` class:
```python
from .utils.import_utils import requires
@require... | {
"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/37854/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/37854/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37853 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37853/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37853/comments | https://api.github.com/repos/huggingface/transformers/issues/37853/events | https://github.com/huggingface/transformers/pull/37853 | 3,027,676,992 | PR_kwDOCUB6oc6UUCpD | 37,853 | fix `DbrxModelTest::test_offloaded_cache_implementation_0_offloaded` | {
"login": "faaany",
"id": 24477841,
"node_id": "MDQ6VXNlcjI0NDc3ODQx",
"avatar_url": "https://avatars.githubusercontent.com/u/24477841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/faaany",
"html_url": "https://github.com/faaany",
"followers_url": "https://api.github.com/users/faaany/fo... | [] | closed | false | null | [] | null | [] | 2025-04-29T09:34:29 | 2025-05-06T01:11:52 | 2025-05-06T01:11:41 | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37853",
"html_url": "https://github.com/huggingface/transformers/pull/37853",
"diff_url": "https://github.com/huggingface/transformers/pull/37853.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37853.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": "faaany",
"id": 24477841,
"node_id": "MDQ6VXNlcjI0NDc3ODQx",
"avatar_url": "https://avatars.githubusercontent.com/u/24477841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/faaany",
"html_url": "https://github.com/faaany",
"followers_url": "https://api.github.com/users/faaany/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37853/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37853/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37852 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37852/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37852/comments | https://api.github.com/repos/huggingface/transformers/issues/37852/events | https://github.com/huggingface/transformers/pull/37852 | 3,027,620,939 | PR_kwDOCUB6oc6UT2Wx | 37,852 | Processor chat template: pass custom kwargs | {
"login": "pcuenca",
"id": 1177582,
"node_id": "MDQ6VXNlcjExNzc1ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1177582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pcuenca",
"html_url": "https://github.com/pcuenca",
"followers_url": "https://api.github.com/users/pcuenca/... | [] | closed | false | null | [] | null | [] | 2025-04-29T09:15:16 | 2025-04-29T19:22:12 | 2025-04-29T19:22:10 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37852",
"html_url": "https://github.com/huggingface/transformers/pull/37852",
"diff_url": "https://github.com/huggingface/transformers/pull/37852.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37852.patch",
"merged_at... | cc @Rocketknight1
Custom template-specific kwargs that are not part of `AllKwargsForChatTemplate` get ignored.
Reproduction:
```py
from transformers import AutoProcessor, AutoTokenizer
model_id = "meta-llama/Llama-Guard-3-11B-Vision"
t = AutoTokenizer.from_pretrained(model_id)
p = AutoProcessor.from_pre... | {
"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/37852/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37852/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37851 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37851/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37851/comments | https://api.github.com/repos/huggingface/transformers/issues/37851/events | https://github.com/huggingface/transformers/issues/37851 | 3,027,416,936 | I_kwDOCUB6oc60crdo | 37,851 | AttentionMaskVisualizer hard-code sliding_window to 5 in transformers code. | {
"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-04-29T07:54:21 | 2025-06-06T08:03:00 | 2025-06-06T08:03:00 | CONTRIBUTOR | null | null | null | null | ### System Info
title is all. you may check it in code in https://github.com/huggingface/transformers/blob/32c12aaec3665882d1fa8dd79964a423a0be6e62/src/transformers/utils/attention_visualizer.py#L143.
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
... | {
"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/37851/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37851/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/37850 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37850/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37850/comments | https://api.github.com/repos/huggingface/transformers/issues/37850/events | https://github.com/huggingface/transformers/issues/37850 | 3,027,330,342 | I_kwDOCUB6oc60cWUm | 37,850 | No such file or directory: '/root/.cache/torch/hub/huggingface_pytorch-transformers_main/hubconf.py' | {
"login": "jzju",
"id": 9774380,
"node_id": "MDQ6VXNlcjk3NzQzODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9774380?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jzju",
"html_url": "https://github.com/jzju",
"followers_url": "https://api.github.com/users/jzju/followers",
... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-29T07:15:53 | 2025-04-29T11:35:13 | 2025-04-29T11:35:12 | NONE | null | null | null | null | ### Reproduction
open https://colab.research.google.com/github/pytorch/pytorch.github.io/blob/master/assets/hub/huggingface_pytorch-transformers.ipynb
run cells until `tokenizer = torch.hub.load('huggingface/pytorch-transformers', 'tokenizer', 'bert-base-uncased') `
Error: `No such file or directory: '/root/.cache/t... | {
"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/37850/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37850/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/37849 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37849/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37849/comments | https://api.github.com/repos/huggingface/transformers/issues/37849/events | https://github.com/huggingface/transformers/issues/37849 | 3,027,297,808 | I_kwDOCUB6oc60cOYQ | 37,849 | phi-4-multimodal-instruct mode's forward num_logits_to_keep is None | {
"login": "HERIUN",
"id": 25131767,
"node_id": "MDQ6VXNlcjI1MTMxNzY3",
"avatar_url": "https://avatars.githubusercontent.com/u/25131767?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HERIUN",
"html_url": "https://github.com/HERIUN",
"followers_url": "https://api.github.com/users/HERIUN/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-29T07:05:31 | 2025-04-29T16:09:12 | 2025-04-29T16:09:11 | CONTRIBUTOR | null | null | null | null | I tried phi-4-multimodal-instruct's [example](https://huggingface.co/microsoft/Phi-4-multimodal-instruct)
I got error on ```class Phi4MMForCausalLM's forward()``` method..
In default ```num_logits_to_keep=0``` but None and error happened. i don't know why num_logits_to_keep=None..
### System Info
- `transformers` ... | {
"login": "HERIUN",
"id": 25131767,
"node_id": "MDQ6VXNlcjI1MTMxNzY3",
"avatar_url": "https://avatars.githubusercontent.com/u/25131767?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HERIUN",
"html_url": "https://github.com/HERIUN",
"followers_url": "https://api.github.com/users/HERIUN/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37849/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37849/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/37848 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37848/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37848/comments | https://api.github.com/repos/huggingface/transformers/issues/37848/events | https://github.com/huggingface/transformers/pull/37848 | 3,027,146,278 | PR_kwDOCUB6oc6USRxE | 37,848 | Fix: reassign in qwen3 moe model | {
"login": "linkedlist771",
"id": 72634327,
"node_id": "MDQ6VXNlcjcyNjM0MzI3",
"avatar_url": "https://avatars.githubusercontent.com/u/72634327?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/linkedlist771",
"html_url": "https://github.com/linkedlist771",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | [] | 2025-04-29T06:00:32 | 2025-04-30T12:50:34 | 2025-04-30T12:50:00 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37848",
"html_url": "https://github.com/huggingface/transformers/pull/37848",
"diff_url": "https://github.com/huggingface/transformers/pull/37848.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37848.patch",
"merged_at... | Fix: reassign in qwen3 moe model
# 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 contribu... | {
"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/37848/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37848/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37847 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37847/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37847/comments | https://api.github.com/repos/huggingface/transformers/issues/37847/events | https://github.com/huggingface/transformers/pull/37847 | 3,027,097,604 | PR_kwDOCUB6oc6USIK3 | 37,847 | Fix cache get item return type hints | {
"login": "ChengLyu",
"id": 5308679,
"node_id": "MDQ6VXNlcjUzMDg2Nzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5308679?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ChengLyu",
"html_url": "https://github.com/ChengLyu",
"followers_url": "https://api.github.com/users/Cheng... | [] | closed | false | null | [] | null | [] | 2025-04-29T05:32:48 | 2025-04-29T13:23:52 | 2025-04-29T13:23:52 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37847",
"html_url": "https://github.com/huggingface/transformers/pull/37847",
"diff_url": "https://github.com/huggingface/transformers/pull/37847.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37847.patch",
"merged_at... | # What does this PR do?
Fix __getitem__ return types hints for cache classes.
Fix issue #37818
## Before submitting
- [✅ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [✅ ] Did you read the [contributor guideline](https://github.com/huggingface/transform... | {
"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/37847/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37847/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37846 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37846/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37846/comments | https://api.github.com/repos/huggingface/transformers/issues/37846/events | https://github.com/huggingface/transformers/pull/37846 | 3,027,027,092 | PR_kwDOCUB6oc6UR40v | 37,846 | Integrating Kimi-Audio | {
"login": "SeungyounShin",
"id": 20262536,
"node_id": "MDQ6VXNlcjIwMjYyNTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/20262536?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeungyounShin",
"html_url": "https://github.com/SeungyounShin",
"followers_url": "https://api.githu... | [] | open | false | null | [] | null | [] | 2025-04-29T04:42:24 | 2025-06-27T13:23:28 | null | NONE | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37846",
"html_url": "https://github.com/huggingface/transformers/pull/37846",
"diff_url": "https://github.com/huggingface/transformers/pull/37846.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37846.patch",
"merged_at... | # What does this PR do?
Integrating [Kimi-Audio](https://huggingface.co/moonshotai/Kimi-Audio-7B-Instruct) to transformers
TODO
- [x] update `KimiAudioConfig`, `KimiAudioForCausalLM`
+ just copied from [official code](https://huggingface.co/moonshotai/Kimi-Audio-7B-Instruct/blob/main/modeling_moonshot_kim... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37846/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37846/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37845 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37845/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37845/comments | https://api.github.com/repos/huggingface/transformers/issues/37845/events | https://github.com/huggingface/transformers/pull/37845 | 3,026,943,956 | PR_kwDOCUB6oc6URmll | 37,845 | Remove redundancies for Qwen3MoeDecoderLayer | {
"login": "guoqingbao",
"id": 27915071,
"node_id": "MDQ6VXNlcjI3OTE1MDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/27915071?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guoqingbao",
"html_url": "https://github.com/guoqingbao",
"followers_url": "https://api.github.com/use... | [] | open | false | null | [] | null | [] | 2025-04-29T03:46:14 | 2025-04-30T14:15:08 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37845",
"html_url": "https://github.com/huggingface/transformers/pull/37845",
"diff_url": "https://github.com/huggingface/transformers/pull/37845.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37845.patch",
"merged_at... | # What does this PR do?
There are duplicate constructions for mlp and self attention layer in Qwen3MoeDecoderLayer. This PR remove those redundancies @ArthurZucker
**From**
```python
class Qwen3MoeDecoderLayer(nn.Module):
def __init__(self, config: Qwen3MoeConfig, layer_idx: int):
super().__init__(... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37845/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37845/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37844 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37844/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37844/comments | https://api.github.com/repos/huggingface/transformers/issues/37844/events | https://github.com/huggingface/transformers/issues/37844 | 3,026,826,002 | I_kwDOCUB6oc60abMS | 37,844 | Qwen3 is ExecuTorch compatible | {
"login": "guangy10",
"id": 42389959,
"node_id": "MDQ6VXNlcjQyMzg5OTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/42389959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guangy10",
"html_url": "https://github.com/guangy10",
"followers_url": "https://api.github.com/users/gua... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | closed | false | null | [] | null | [] | 2025-04-29T02:37:04 | 2025-04-29T03:04:52 | 2025-04-29T03:04:51 | CONTRIBUTOR | null | null | null | null | ### Feature request
Enable Qwen3 model for ExecuTorch
### Motivation
See details in https://github.com/huggingface/transformers/issues/32253
### Your contribution
Enablement | {
"login": "guangy10",
"id": 42389959,
"node_id": "MDQ6VXNlcjQyMzg5OTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/42389959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guangy10",
"html_url": "https://github.com/guangy10",
"followers_url": "https://api.github.com/users/gua... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37844/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37844/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/37843 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37843/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37843/comments | https://api.github.com/repos/huggingface/transformers/issues/37843/events | https://github.com/huggingface/transformers/issues/37843 | 3,026,527,201 | I_kwDOCUB6oc60ZSPh | 37,843 | Cant Load example from IP Adapters | {
"login": "AeroDEmi",
"id": 44657733,
"node_id": "MDQ6VXNlcjQ0NjU3NzMz",
"avatar_url": "https://avatars.githubusercontent.com/u/44657733?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AeroDEmi",
"html_url": "https://github.com/AeroDEmi",
"followers_url": "https://api.github.com/users/Aer... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-28T23:46:24 | 2025-06-28T08:02:46 | 2025-06-28T08:02:46 | NONE | null | null | null | null | ### System Info
I'm trying to run the following snippet with Diffusers 0.33.1 and Transformers 4.51.3
```
import torch
from diffusers import FluxPipeline
from diffusers.utils import load_image
pipe = FluxPipeline.from_pretrained(
"black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16
).to("cuda")
image = load_... | {
"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/37843/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37843/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/37842 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37842/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37842/comments | https://api.github.com/repos/huggingface/transformers/issues/37842/events | https://github.com/huggingface/transformers/pull/37842 | 3,026,365,350 | PR_kwDOCUB6oc6UPm2k | 37,842 | Add z-loss to Bamba for v2 | {
"login": "daviswer",
"id": 9604893,
"node_id": "MDQ6VXNlcjk2MDQ4OTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9604893?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daviswer",
"html_url": "https://github.com/daviswer",
"followers_url": "https://api.github.com/users/davis... | [] | closed | false | null | [] | null | [] | 2025-04-28T22:14:12 | 2025-06-11T21:26:34 | 2025-06-11T13:29:18 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37842",
"html_url": "https://github.com/huggingface/transformers/pull/37842",
"diff_url": "https://github.com/huggingface/transformers/pull/37842.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37842.patch",
"merged_at... | # What does this PR do?
Adds support for auxiliary z-loss when tuning Bamba v2. Also fixes some typos in the checkpoint conversion utility script.
## 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 guid... | {
"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/37842/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37842/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37841 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37841/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37841/comments | https://api.github.com/repos/huggingface/transformers/issues/37841/events | https://github.com/huggingface/transformers/pull/37841 | 3,025,869,714 | PR_kwDOCUB6oc6UN5HG | 37,841 | Update modeling_llama4.py | {
"login": "monk1337",
"id": 17107749,
"node_id": "MDQ6VXNlcjE3MTA3NzQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/17107749?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/monk1337",
"html_url": "https://github.com/monk1337",
"followers_url": "https://api.github.com/users/mon... | [] | closed | false | null | [] | null | [] | 2025-04-28T18:57:56 | 2025-04-29T22:36:03 | 2025-04-29T22:36:03 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37841",
"html_url": "https://github.com/huggingface/transformers/pull/37841",
"diff_url": "https://github.com/huggingface/transformers/pull/37841.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37841.patch",
"merged_at... | # What does this PR do?
Fixes an error in Llama4TextModel._prepare_4d_causal_attention_mask_with_cache_position() by adding the missing device parameter. This resolves TypeError #37840 that occurs when trying to evaluate Llama-4 models.
Fixes #37840
## Before submitting
- [x] Did you read the [contributor... | {
"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/37841/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37841/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37840 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37840/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37840/comments | https://api.github.com/repos/huggingface/transformers/issues/37840/events | https://github.com/huggingface/transformers/issues/37840 | 3,025,820,116 | I_kwDOCUB6oc60WlnU | 37,840 | TypeError: Llama4TextModel._prepare_4d_causal_attention_mask_with_cache_position() missing 1 required positional argument: 'device' | {
"login": "monk1337",
"id": 17107749,
"node_id": "MDQ6VXNlcjE3MTA3NzQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/17107749?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/monk1337",
"html_url": "https://github.com/monk1337",
"followers_url": "https://api.github.com/users/mon... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-28T18:38:09 | 2025-04-29T22:36:04 | 2025-04-29T22:36:04 | CONTRIBUTOR | null | null | null | null | ### System Info
I am trying to evaluate the latest Llama-4 model but keep getting this error
File "/root/miniconda3/envs/py3.11/lib/python3.11/site-packages/accelerate/hooks.py", line 170, in new_forward
output = module._old_forward(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/roo... | {
"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/37840/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37840/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/37839 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37839/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37839/comments | https://api.github.com/repos/huggingface/transformers/issues/37839/events | https://github.com/huggingface/transformers/pull/37839 | 3,025,800,218 | PR_kwDOCUB6oc6UNpl_ | 37,839 | fix error for _register_pytree_node in torch2.1.0 and fix bf16 assertion in xpu and 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... | [] | closed | false | null | [] | null | [] | 2025-04-28T18:32:25 | 2025-04-30T12:22:54 | 2025-04-30T12:22:53 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37839",
"html_url": "https://github.com/huggingface/transformers/pull/37839",
"diff_url": "https://github.com/huggingface/transformers/pull/37839.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37839.patch",
"merged_at... | # What does this PR do?
fix issue #37838
## fix error for _register_pytree_node
The PR [Apply torchfix to replace deprecated functions: `_pytree._register_pytree_node` and `torch.cpu.amp.autocast`](https://github.com/huggingface/transformers/commit/71b35387fd6d71487bd29e694ed10d925203e031) introduced a compati... | {
"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/37839/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37839/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37838 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37838/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37838/comments | https://api.github.com/repos/huggingface/transformers/issues/37838/events | https://github.com/huggingface/transformers/issues/37838 | 3,025,794,316 | I_kwDOCUB6oc60WfUM | 37,838 | _register_pytree_node error in torch2.1.0 and bf16 assertion error for XPU and 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-04-28T18:30:15 | 2025-05-29T03:48:52 | 2025-05-29T03:48:52 | CONTRIBUTOR | null | null | null | null | ### System Info
latest transformers
### Who can help?
No response
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
... | {
"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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37838/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37838/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/37837 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37837/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37837/comments | https://api.github.com/repos/huggingface/transformers/issues/37837/events | https://github.com/huggingface/transformers/pull/37837 | 3,025,616,701 | PR_kwDOCUB6oc6UNCTD | 37,837 | feat: Add ConvaiCausalLM model for Hindi Causal Language Modeling | {
"login": "NandhaKishorM",
"id": 48623612,
"node_id": "MDQ6VXNlcjQ4NjIzNjEy",
"avatar_url": "https://avatars.githubusercontent.com/u/48623612?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NandhaKishorM",
"html_url": "https://github.com/NandhaKishorM",
"followers_url": "https://api.githu... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | null | [] | 2025-04-28T17:16:41 | 2025-07-16T14:07:26 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37837",
"html_url": "https://github.com/huggingface/transformers/pull/37837",
"diff_url": "https://github.com/huggingface/transformers/pull/37837.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37837.patch",
"merged_at... | # What does this PR do?
This PR introduces the `ConvaiCausalLM` model, a causal language model specifically designed and trained for Hindi text generation by Convai Innovations. The reference checkpoint is available on the Hub at [convaiinnovations/hindi-causal-lm](https://huggingface.co/convaiinnovations/hindi-caus... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37837/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37837/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/37836 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37836/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37836/comments | https://api.github.com/repos/huggingface/transformers/issues/37836/events | https://github.com/huggingface/transformers/pull/37836 | 3,025,440,846 | PR_kwDOCUB6oc6UMcVt | 37,836 | 🚨🚨🚨 Fix forward of Dinov2ForImageClassification for models with registers | {
"login": "psandovalsegura",
"id": 16195975,
"node_id": "MDQ6VXNlcjE2MTk1OTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/16195975?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/psandovalsegura",
"html_url": "https://github.com/psandovalsegura",
"followers_url": "https://api... | [] | closed | false | null | [] | null | [] | 2025-04-28T16:03:50 | 2025-05-06T09:55:53 | 2025-05-06T09:55:53 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37836",
"html_url": "https://github.com/huggingface/transformers/pull/37836",
"diff_url": "https://github.com/huggingface/transformers/pull/37836.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37836.patch",
"merged_at... | # What does this PR do?
Redefined the forward of `Dinov2WithRegistersForImageClassification` so that we properly access the patch tokens and skip over registers.
Fixes #37817
Additional details:
- Change was made to `src/transformers/models/dinov2_with_registers/modular_dinov2_with_registers.py` then I ran... | {
"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/37836/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37836/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37835 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37835/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37835/comments | https://api.github.com/repos/huggingface/transformers/issues/37835/events | https://github.com/huggingface/transformers/issues/37835 | 3,025,348,585 | I_kwDOCUB6oc60Uyfp | 37,835 | Add HindiCausalLM: A specialized Hindi language model (~102M parameters) | {
"login": "NandhaKishorM",
"id": 48623612,
"node_id": "MDQ6VXNlcjQ4NjIzNjEy",
"avatar_url": "https://avatars.githubusercontent.com/u/48623612?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NandhaKishorM",
"html_url": "https://github.com/NandhaKishorM",
"followers_url": "https://api.githu... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | null | [] | 2025-04-28T15:30:32 | 2025-04-28T16:25:53 | null | NONE | null | null | null | null | ### Model description
HindiCausalLM model, a causal language model specifically designed for Hindi text generation. The model was developed by ConvaiInnovations and the original implementation is available on the [Hugging Face Hub](https://huggingface.co/convaiinnovations/hindi-causal-lm).
HindiCausalLM addresses the... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37835/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37835/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/37834 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37834/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37834/comments | https://api.github.com/repos/huggingface/transformers/issues/37834/events | https://github.com/huggingface/transformers/pull/37834 | 3,025,275,002 | PR_kwDOCUB6oc6UL33W | 37,834 | Update modular_qwen3_moe.py | {
"login": "tanuj-rai",
"id": 84439872,
"node_id": "MDQ6VXNlcjg0NDM5ODcy",
"avatar_url": "https://avatars.githubusercontent.com/u/84439872?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanuj-rai",
"html_url": "https://github.com/tanuj-rai",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-28T15:11:14 | 2025-04-30T14:48:07 | 2025-04-30T12:28:08 | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37834",
"html_url": "https://github.com/huggingface/transformers/pull/37834",
"diff_url": "https://github.com/huggingface/transformers/pull/37834.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37834.patch",
"merged_at... | # What does this PR do?
Fixes #37813,
This PR removed redundant initializations of self.self_attn and self.mlp in Qwen3MoeDecoderLayer in modular_qwen3_moe.py.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [con... | {
"login": "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/37834/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37834/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37833 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37833/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37833/comments | https://api.github.com/repos/huggingface/transformers/issues/37833/events | https://github.com/huggingface/transformers/pull/37833 | 3,025,230,327 | PR_kwDOCUB6oc6ULt8k | 37,833 | Fix Dinov2 With Registers patch tokens in Image Classification | {
"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-04-28T14:58:37 | 2025-04-30T07:08:00 | 2025-04-30T01:43:29 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37833",
"html_url": "https://github.com/huggingface/transformers/pull/37833",
"diff_url": "https://github.com/huggingface/transformers/pull/37833.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37833.patch",
"merged_at... | # What does this PR do?
Fixes #37817
Thanks @psandovalsegura for the Fix 🤗
<!--
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 o... | {
"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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37833/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37833/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37832 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37832/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37832/comments | https://api.github.com/repos/huggingface/transformers/issues/37832/events | https://github.com/huggingface/transformers/pull/37832 | 3,025,176,745 | PR_kwDOCUB6oc6ULiRm | 37,832 | Add dia model | {
"login": "buttercrab",
"id": 34997549,
"node_id": "MDQ6VXNlcjM0OTk3NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/34997549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/buttercrab",
"html_url": "https://github.com/buttercrab",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-28T14:42:07 | 2025-05-27T14:39:51 | 2025-05-27T14:39:50 | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37832",
"html_url": "https://github.com/huggingface/transformers/pull/37832",
"diff_url": "https://github.com/huggingface/transformers/pull/37832.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37832.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": "buttercrab",
"id": 34997549,
"node_id": "MDQ6VXNlcjM0OTk3NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/34997549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/buttercrab",
"html_url": "https://github.com/buttercrab",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37832/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37832/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37831 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37831/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37831/comments | https://api.github.com/repos/huggingface/transformers/issues/37831/events | https://github.com/huggingface/transformers/pull/37831 | 3,025,059,773 | PR_kwDOCUB6oc6ULI5S | 37,831 | remove duplicate self_attn setup for qwen3 moe | {
"login": "winglian",
"id": 381258,
"node_id": "MDQ6VXNlcjM4MTI1OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/381258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/winglian",
"html_url": "https://github.com/winglian",
"followers_url": "https://api.github.com/users/winglia... | [] | closed | false | null | [] | null | [] | 2025-04-28T14:05:30 | 2025-06-02T09:27:12 | 2025-06-02T09:27:12 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37831",
"html_url": "https://github.com/huggingface/transformers/pull/37831",
"diff_url": "https://github.com/huggingface/transformers/pull/37831.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37831.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37831/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37831/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37830 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37830/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37830/comments | https://api.github.com/repos/huggingface/transformers/issues/37830/events | https://github.com/huggingface/transformers/pull/37830 | 3,024,855,488 | PR_kwDOCUB6oc6UKdTK | 37,830 | Fixed a bug calculating cross entropy loss in `JetMoeForCausalLM` | {
"login": "Phoenix-Shen",
"id": 56379418,
"node_id": "MDQ6VXNlcjU2Mzc5NDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/56379418?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Phoenix-Shen",
"html_url": "https://github.com/Phoenix-Shen",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-04-28T12:58:28 | 2025-07-16T09:22:01 | 2025-07-16T09:22:01 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37830",
"html_url": "https://github.com/huggingface/transformers/pull/37830",
"diff_url": "https://github.com/huggingface/transformers/pull/37830.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37830.patch",
"merged_at... | In the original code, we shift the logits and pass `shift_logits` into the `self.loss_function`, but in `self.loss_function`, the `shift_logits` will be shifted again, so we are actually doing **next next token prediction**, which is incorrect. I have removed the logits shifting before calling `self.loss_function`.
... | {
"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/37830/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37830/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37829 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37829/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37829/comments | https://api.github.com/repos/huggingface/transformers/issues/37829/events | https://github.com/huggingface/transformers/pull/37829 | 3,024,559,501 | PR_kwDOCUB6oc6UJcxV | 37,829 | [modular] Fix the prefix-based renaming if the old and new model share a common name suffix | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-04-28T10:58:46 | 2025-04-30T10:19:46 | 2025-04-29T08:43:23 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37829",
"html_url": "https://github.com/huggingface/transformers/pull/37829",
"diff_url": "https://github.com/huggingface/transformers/pull/37829.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37829.patch",
"merged_at... | # What does this PR do?
As per the title. See https://github.com/huggingface/transformers/pull/36895#issuecomment-2815598690 for details. It's mostly an issue for all the `detr` models, as they share the suffix in the base name.
cc @qubvel for viz!
| {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37829/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/37829/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37828 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37828/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37828/comments | https://api.github.com/repos/huggingface/transformers/issues/37828/events | https://github.com/huggingface/transformers/pull/37828 | 3,024,359,522 | PR_kwDOCUB6oc6UIwpa | 37,828 | Enhance documentation to explain chat-based few-shot prompting | {
"login": "MostHumble",
"id": 56939432,
"node_id": "MDQ6VXNlcjU2OTM5NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/56939432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MostHumble",
"html_url": "https://github.com/MostHumble",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-04-28T09:46:01 | 2025-04-30T18:00:10 | 2025-04-30T18:00:10 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37828",
"html_url": "https://github.com/huggingface/transformers/pull/37828",
"diff_url": "https://github.com/huggingface/transformers/pull/37828.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37828.patch",
"merged_at... | Updates the documentation on few-shot prompting to illustrate how to structure examples using the chat-based format for instruction-tuned models.
# 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 note... | {
"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/37828/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37828/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37827 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37827/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37827/comments | https://api.github.com/repos/huggingface/transformers/issues/37827/events | https://github.com/huggingface/transformers/pull/37827 | 3,024,343,307 | PR_kwDOCUB6oc6UItIy | 37,827 | Add HindiCausalLM: A specialized Hindi language model with grouped query attention (~102M parameters) | {
"login": "NandhaKishorM",
"id": 48623612,
"node_id": "MDQ6VXNlcjQ4NjIzNjEy",
"avatar_url": "https://avatars.githubusercontent.com/u/48623612?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NandhaKishorM",
"html_url": "https://github.com/NandhaKishorM",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | [] | 2025-04-28T09:39:38 | 2025-04-28T17:37:46 | 2025-04-28T17:37:46 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37827",
"html_url": "https://github.com/huggingface/transformers/pull/37827",
"diff_url": "https://github.com/huggingface/transformers/pull/37827.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37827.patch",
"merged_at... | # What does this PR do?
This PR adds complete support for the HindiCausalLM model, a causal language model specifically designed for Hindi text generation. The model was developed by ConvaiInnovations and the original implementation is available on the [Hugging Face Hub](https://huggingface.co/convaiinnovations/hind... | {
"login": "NandhaKishorM",
"id": 48623612,
"node_id": "MDQ6VXNlcjQ4NjIzNjEy",
"avatar_url": "https://avatars.githubusercontent.com/u/48623612?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NandhaKishorM",
"html_url": "https://github.com/NandhaKishorM",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37827/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37827/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37826 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37826/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37826/comments | https://api.github.com/repos/huggingface/transformers/issues/37826/events | https://github.com/huggingface/transformers/pull/37826 | 3,024,337,265 | PR_kwDOCUB6oc6UIr1F | 37,826 | Update modeling_qwen3_moe.py | {
"login": "tanuj-rai",
"id": 84439872,
"node_id": "MDQ6VXNlcjg0NDM5ODcy",
"avatar_url": "https://avatars.githubusercontent.com/u/84439872?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanuj-rai",
"html_url": "https://github.com/tanuj-rai",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | [] | 2025-04-28T09:37:09 | 2025-04-29T14:56:14 | 2025-04-29T14:56:14 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37826",
"html_url": "https://github.com/huggingface/transformers/pull/37826",
"diff_url": "https://github.com/huggingface/transformers/pull/37826.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37826.patch",
"merged_at... | # What does this PR do?
Fixes #37813,
This PR removed redundant initializations of `self.self_attn` and `self.mlp` in `Qwen3MoeDecoderLayer`.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline... | {
"login": "tanuj-rai",
"id": 84439872,
"node_id": "MDQ6VXNlcjg0NDM5ODcy",
"avatar_url": "https://avatars.githubusercontent.com/u/84439872?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanuj-rai",
"html_url": "https://github.com/tanuj-rai",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/37826/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37826/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37825 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37825/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37825/comments | https://api.github.com/repos/huggingface/transformers/issues/37825/events | https://github.com/huggingface/transformers/pull/37825 | 3,024,285,073 | PR_kwDOCUB6oc6UIgVZ | 37,825 | Fix check of unecessary packages (issue #37626) | {
"login": "HichTala",
"id": 98521878,
"node_id": "U_kgDOBd9TFg",
"avatar_url": "https://avatars.githubusercontent.com/u/98521878?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HichTala",
"html_url": "https://github.com/HichTala",
"followers_url": "https://api.github.com/users/HichTala/fo... | [] | closed | false | null | [] | null | [] | 2025-04-28T09:19:16 | 2025-04-29T13:44:43 | 2025-04-29T13:21:06 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/37825",
"html_url": "https://github.com/huggingface/transformers/pull/37825",
"diff_url": "https://github.com/huggingface/transformers/pull/37825.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/37825.patch",
"merged_at... | # What does this PR do?
This pull request updates the `get_imports` function in `src/transformers/dynamic_module_utils.py` to improve how conditional imports are handled. The most important change introduces a check for functions in `transformers.utils.import_utils` to ensure imports in specific conditional blocks are... | {
"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/37825/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37825/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/37824 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37824/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37824/comments | https://api.github.com/repos/huggingface/transformers/issues/37824/events | https://github.com/huggingface/transformers/issues/37824 | 3,024,265,982 | I_kwDOCUB6oc60QqL- | 37,824 | Support for B200 (`sm_100` with `pytorch>=2.7.0`) | {
"login": "dominiquegarmier",
"id": 42445422,
"node_id": "MDQ6VXNlcjQyNDQ1NDIy",
"avatar_url": "https://avatars.githubusercontent.com/u/42445422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dominiquegarmier",
"html_url": "https://github.com/dominiquegarmier",
"followers_url": "https://... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | closed | false | null | [] | null | [] | 2025-04-28T09:11:40 | 2025-06-12T14:34:15 | 2025-06-12T14:34:15 | NONE | null | null | null | null | Is there already an open issue addressing/discussing https://github.com/huggingface/transformers/pull/37760 (I could not find any)? Looks like there is an issue open on the pytorch repo https://github.com/pytorch/pytorch/issues/152275
Feel free to close if this is a duplicate.
| {
"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/37824/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37824/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/37823 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/37823/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/37823/comments | https://api.github.com/repos/huggingface/transformers/issues/37823/events | https://github.com/huggingface/transformers/issues/37823 | 3,024,134,194 | I_kwDOCUB6oc60QKAy | 37,823 | Decoder Attention Mask is not passed to the VisionEncoderDecoderModel during training!! | {
"login": "AhmadM-DL",
"id": 52525688,
"node_id": "MDQ6VXNlcjUyNTI1Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/52525688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AhmadM-DL",
"html_url": "https://github.com/AhmadM-DL",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-04-28T08:25:54 | 2025-06-06T08:03:05 | 2025-06-06T08:03:05 | NONE | null | null | null | null | ### System Info
latest transformers
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
... | {
"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/37823/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/37823/timeline | null | completed | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.