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/38123 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38123/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38123/comments | https://api.github.com/repos/huggingface/transformers/issues/38123/events | https://github.com/huggingface/transformers/pull/38123 | 3,062,338,916 | PR_kwDOCUB6oc6WHzTb | 38,123 | Minor llama4 fixes | {
"login": "molbap",
"id": 39954772,
"node_id": "MDQ6VXNlcjM5OTU0Nzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/39954772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/molbap",
"html_url": "https://github.com/molbap",
"followers_url": "https://api.github.com/users/molbap/fo... | [] | closed | false | null | [] | null | [] | 2025-05-14T08:50:17 | 2025-05-20T13:15:55 | 2025-05-20T13:15:55 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38123",
"html_url": "https://github.com/huggingface/transformers/pull/38123",
"diff_url": "https://github.com/huggingface/transformers/pull/38123.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38123.patch",
"merged_at... | # What does this PR do?
Fixes a couple nits/wrong defaults in Llama4 code for DynamicCache init - not sure we should even default to it, I think.
The scaling however has to be passed else `eager_attention_forward" will fail. | {
"login": "molbap",
"id": 39954772,
"node_id": "MDQ6VXNlcjM5OTU0Nzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/39954772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/molbap",
"html_url": "https://github.com/molbap",
"followers_url": "https://api.github.com/users/molbap/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38123/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/38123/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38122 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38122/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38122/comments | https://api.github.com/repos/huggingface/transformers/issues/38122/events | https://github.com/huggingface/transformers/issues/38122 | 3,062,197,481 | I_kwDOCUB6oc62hWzp | 38,122 | Tensor Parallelism with Quantized Models | {
"login": "HuangBugWei",
"id": 67520151,
"node_id": "MDQ6VXNlcjY3NTIwMTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/67520151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HuangBugWei",
"html_url": "https://github.com/HuangBugWei",
"followers_url": "https://api.github.com/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-05-14T07:57:42 | 2025-05-14T15:27:03 | 2025-05-14T15:27:03 | CONTRIBUTOR | null | null | null | null | ### System Info
- `transformers` version: 4.52.0.dev0
- Platform: Linux-5.4.17-2136.339.5.el8uek.x86_64-x86_64-with-glibc2.35
- Python version: 3.10.13
- Huggingface_hub version: 0.30.1
- Safetensors version: 0.5.2
- Accelerate version: 1.6.0
- Accelerate config: not found
- DeepSpeed version: 0.16.3
- PyTorch vers... | {
"login": "HuangBugWei",
"id": 67520151,
"node_id": "MDQ6VXNlcjY3NTIwMTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/67520151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HuangBugWei",
"html_url": "https://github.com/HuangBugWei",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38122/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38122/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/38121 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38121/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38121/comments | https://api.github.com/repos/huggingface/transformers/issues/38121/events | https://github.com/huggingface/transformers/issues/38121 | 3,062,139,707 | I_kwDOCUB6oc62hIs7 | 38,121 | Emu3 precision regression | {
"login": "jiqing-feng",
"id": 107918818,
"node_id": "U_kgDOBm614g",
"avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiqing-feng",
"html_url": "https://github.com/jiqing-feng",
"followers_url": "https://api.github.com/users/... | [
{
"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-14T07:38:04 | 2025-06-03T05:40:36 | 2025-05-23T07:49:57 | CONTRIBUTOR | null | null | null | null | ### System Info
I run the tests `RUN_SLOW=1 pytest tests/models/emu3/test_modeling_emu3.py::Emu3IntegrationTest::tes
t_model_generate_images` on A100.
The groud truth image is like:

In the latest main branch. The output images ... | {
"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/38121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38121/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/38120 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38120/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38120/comments | https://api.github.com/repos/huggingface/transformers/issues/38120/events | https://github.com/huggingface/transformers/issues/38120 | 3,062,091,561 | I_kwDOCUB6oc62g88p | 38,120 | phi-4-mm HF format | {
"login": "lifuhuang",
"id": 3427331,
"node_id": "MDQ6VXNlcjM0MjczMzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3427331?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lifuhuang",
"html_url": "https://github.com/lifuhuang",
"followers_url": "https://api.github.com/users/li... | [
{
"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-05-14T07:19:41 | 2025-05-29T07:09:39 | 2025-05-29T07:09:39 | NONE | null | null | null | null | ### Model description
I noticed from https://github.com/huggingface/transformers/issues/37849#issuecomment-2837928929 that huggingface plans to convert phi4 MM model to HF format. However, I noticed the PR has been inactive for a while: https://huggingface.co/microsoft/Phi-4-multimodal-instruct/discussions/70. I wonde... | {
"login": "lifuhuang",
"id": 3427331,
"node_id": "MDQ6VXNlcjM0MjczMzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3427331?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lifuhuang",
"html_url": "https://github.com/lifuhuang",
"followers_url": "https://api.github.com/users/li... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38120/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38120/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/38119 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38119/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38119/comments | https://api.github.com/repos/huggingface/transformers/issues/38119/events | https://github.com/huggingface/transformers/issues/38119 | 3,061,857,038 | I_kwDOCUB6oc62gDsO | 38,119 | Unable to quantize a pretrained SegFormer-B0 to int8 using Quanto | {
"login": "shubham-beri",
"id": 29382306,
"node_id": "MDQ6VXNlcjI5MzgyMzA2",
"avatar_url": "https://avatars.githubusercontent.com/u/29382306?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shubham-beri",
"html_url": "https://github.com/shubham-beri",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-05-14T05:27:27 | 2025-06-22T08:02:40 | 2025-06-22T08:02:40 | NONE | null | null | null | null | Does it support Conv2d? Here's my complete script:
```
import os
import argparse
import torch
from torch.utils.data import Dataset, DataLoader
from torchvision import transforms
from PIL import Image
from transformers import SegformerConfig, SegformerForSemanticSegmentation
from optimum.quanto import quantize, qint8,... | {
"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/38119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38119/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/38118 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38118/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38118/comments | https://api.github.com/repos/huggingface/transformers/issues/38118/events | https://github.com/huggingface/transformers/issues/38118 | 3,061,739,840 | I_kwDOCUB6oc62fnFA | 38,118 | Llama4 inference encounter unsupported op in dynamo ? | {
"login": "HuangChiEn",
"id": 52521165,
"node_id": "MDQ6VXNlcjUyNTIxMTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/52521165?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HuangChiEn",
"html_url": "https://github.com/HuangChiEn",
"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-14T04:00:01 | 2025-08-06T00:06:14 | 2025-08-06T00:06:14 | NONE | null | null | null | null | ### System Info
transformers==4.51.2
torch==2.5.0
torchvision==0.20.0
Miscellnous pkg version
Package Version
------------------------- -----------
accelerate 1.6.0
aiofiles 23.2.1
aiohappyeyeballs 2.6.1
aiohttp 3.11.16
aiosignal ... | {
"login": "HuangChiEn",
"id": 52521165,
"node_id": "MDQ6VXNlcjUyNTIxMTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/52521165?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HuangChiEn",
"html_url": "https://github.com/HuangChiEn",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38118/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38118/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/38117 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38117/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38117/comments | https://api.github.com/repos/huggingface/transformers/issues/38117/events | https://github.com/huggingface/transformers/issues/38117 | 3,061,470,592 | I_kwDOCUB6oc62elWA | 38,117 | OLMo and OLMo 2 models do not match original models for low precisions | {
"login": "2015aroras",
"id": 19700980,
"node_id": "MDQ6VXNlcjE5NzAwOTgw",
"avatar_url": "https://avatars.githubusercontent.com/u/19700980?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/2015aroras",
"html_url": "https://github.com/2015aroras",
"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-14T00:04:27 | 2025-05-19T13:35:24 | 2025-05-19T13:35:24 | CONTRIBUTOR | null | null | null | null | ### System Info
- `transformers` version: 4.52.0.dev0
- Platform: macOS-14.5-arm64-arm-64bit
- Python version: 3.12.9
- Huggingface_hub version: 0.31.2
- Safetensors version: 0.5.2
- Accelerate version: 1.6.0
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU?): 2.6.0 (False)
-... | {
"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/38117/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38117/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/38116 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38116/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38116/comments | https://api.github.com/repos/huggingface/transformers/issues/38116/events | https://github.com/huggingface/transformers/issues/38116 | 3,061,407,094 | I_kwDOCUB6oc62eV12 | 38,116 | [Bug in Generate] 4.51.2 vs 4.46 Beam search results are sometimes different, not sure if beam search or T5 model change is the reason? | {
"login": "Oxi84",
"id": 25420033,
"node_id": "MDQ6VXNlcjI1NDIwMDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/25420033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Oxi84",
"html_url": "https://github.com/Oxi84",
"followers_url": "https://api.github.com/users/Oxi84/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-05-13T23:01:12 | 2025-06-24T08:02:43 | 2025-06-24T08:02:43 | NONE | null | null | null | null | I get different results in version 4.51.2 compared to 4.46. Diverse beam works well, normal beam search does not, it sometimes just generates all the same sequences when generating multiple beams (4-8).
Some small bug just generate first 2 beams ok, and after just repeats the second one. It happens in around 5 percent... | {
"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/38116/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38116/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/38115 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38115/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38115/comments | https://api.github.com/repos/huggingface/transformers/issues/38115/events | https://github.com/huggingface/transformers/issues/38115 | 3,061,345,978 | I_kwDOCUB6oc62eG66 | 38,115 | support static kv cache with torch.compile for qwen2vl | {
"login": "ChuyaoShen",
"id": 73958412,
"node_id": "MDQ6VXNlcjczOTU4NDEy",
"avatar_url": "https://avatars.githubusercontent.com/u/73958412?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ChuyaoShen",
"html_url": "https://github.com/ChuyaoShen",
"followers_url": "https://api.github.com/use... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | 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-05-13T22:10:20 | 2025-05-21T09:50:41 | 2025-05-21T09:50:41 | NONE | null | null | null | null | ### Feature request
It is claimed that qwen2-vl supports static KV cache and `torch.compile` in this issue: https://github.com/huggingface/transformers/issues/28981. However, this is not true: the `_supports_static_cache` attribute is disabled in `modeling_qwen2_vl.py` (see: https://github.com/huggingface/transformers... | {
"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/38115/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/38115/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/38114 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38114/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38114/comments | https://api.github.com/repos/huggingface/transformers/issues/38114/events | https://github.com/huggingface/transformers/pull/38114 | 3,061,161,121 | PR_kwDOCUB6oc6WD2rQ | 38,114 | Force real tensors and clone state_dict in src/transformers/modeling_utils.py | {
"login": "MutugiD",
"id": 61890059,
"node_id": "MDQ6VXNlcjYxODkwMDU5",
"avatar_url": "https://avatars.githubusercontent.com/u/61890059?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MutugiD",
"html_url": "https://github.com/MutugiD",
"followers_url": "https://api.github.com/users/Mutugi... | [
{
"id": 2934977194,
"node_id": "MDU6TGFiZWwyOTM0OTc3MTk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Flax",
"name": "Flax",
"color": "4862AD",
"default": false,
"description": ""
}
] | open | false | null | [] | null | [] | 2025-05-13T20:31:09 | 2025-07-15T09:55:55 | null | NONE | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38114",
"html_url": "https://github.com/huggingface/transformers/pull/38114",
"diff_url": "https://github.com/huggingface/transformers/pull/38114.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38114.patch",
"merged_at... | What does this PR do?
This PR changes the default behavior of Flax→PyTorch conversion to always allocate real CPU tensors (by setting ```low_cpu_mem_usage=False``` in ```from_pretrained)``` and replaces the old offload logic in ```save_pretrained``` with an up-front detach-and-clone of the entire state_dict. This gu... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38114/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38114/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/38113 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38113/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38113/comments | https://api.github.com/repos/huggingface/transformers/issues/38113/events | https://github.com/huggingface/transformers/pull/38113 | 3,061,007,168 | PR_kwDOCUB6oc6WDWdS | 38,113 | Update trainer.md | {
"login": "guspuffygit",
"id": 85897841,
"node_id": "MDQ6VXNlcjg1ODk3ODQx",
"avatar_url": "https://avatars.githubusercontent.com/u/85897841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guspuffygit",
"html_url": "https://github.com/guspuffygit",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-05-13T19:22:09 | 2025-05-14T13:33:00 | 2025-05-14T12:40:01 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38113",
"html_url": "https://github.com/huggingface/transformers/pull/38113",
"diff_url": "https://github.com/huggingface/transformers/pull/38113.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38113.patch",
"merged_at... | Fix typo in torch.compile method parameters
# 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 aweso... | {
"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/38113/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38113/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38112 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38112/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38112/comments | https://api.github.com/repos/huggingface/transformers/issues/38112/events | https://github.com/huggingface/transformers/pull/38112 | 3,060,690,792 | PR_kwDOCUB6oc6WCR8d | 38,112 | Add CausalLM support for ModernBert | {
"login": "yijun-lee",
"id": 119404328,
"node_id": "U_kgDOBx33KA",
"avatar_url": "https://avatars.githubusercontent.com/u/119404328?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yijun-lee",
"html_url": "https://github.com/yijun-lee",
"followers_url": "https://api.github.com/users/yijun-... | [] | closed | false | null | [] | null | [] | 2025-05-13T16:58:24 | 2025-05-14T12:52:21 | 2025-05-14T12:52:21 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38112",
"html_url": "https://github.com/huggingface/transformers/pull/38112",
"diff_url": "https://github.com/huggingface/transformers/pull/38112.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38112.patch",
"merged_at... | # What does this PR do?
Added CausalLM support for ModernBert as part of #35385. If there are no issues, I plan to follow up with a commit enabling its use in EncoderDecoderModel.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the rele... | {
"login": "yijun-lee",
"id": 119404328,
"node_id": "U_kgDOBx33KA",
"avatar_url": "https://avatars.githubusercontent.com/u/119404328?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yijun-lee",
"html_url": "https://github.com/yijun-lee",
"followers_url": "https://api.github.com/users/yijun-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38112/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/38112/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38111 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38111/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38111/comments | https://api.github.com/repos/huggingface/transformers/issues/38111/events | https://github.com/huggingface/transformers/pull/38111 | 3,060,664,888 | PR_kwDOCUB6oc6WCMWw | 38,111 | Support TP for save_pretrained() | {
"login": "amd-xiaoyu12",
"id": 188109516,
"node_id": "U_kgDOCzZSzA",
"avatar_url": "https://avatars.githubusercontent.com/u/188109516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amd-xiaoyu12",
"html_url": "https://github.com/amd-xiaoyu12",
"followers_url": "https://api.github.com/use... | [] | open | false | null | [] | null | [] | 2025-05-13T16:46:17 | 2025-05-15T07:33:26 | null | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38111",
"html_url": "https://github.com/huggingface/transformers/pull/38111",
"diff_url": "https://github.com/huggingface/transformers/pull/38111.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38111.patch",
"merged_at... | # What does this PR do?
When a model is quantized using TP, the save_pretrained() need to support TP when quantization is done and export to model to safetensor file.
The modification will combine the DTensor to full tensor in process which rank = 0 and export the result, for process with other rank number, the e... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38111/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38111/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/38110 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38110/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38110/comments | https://api.github.com/repos/huggingface/transformers/issues/38110/events | https://github.com/huggingface/transformers/pull/38110 | 3,060,512,632 | PR_kwDOCUB6oc6WBrG7 | 38,110 | [CSM] update test for t4 runners | {
"login": "eustlb",
"id": 94853470,
"node_id": "U_kgDOBadZXg",
"avatar_url": "https://avatars.githubusercontent.com/u/94853470?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eustlb",
"html_url": "https://github.com/eustlb",
"followers_url": "https://api.github.com/users/eustlb/followers"... | [] | closed | false | null | [] | null | [] | 2025-05-13T15:44:40 | 2025-05-13T15:59:26 | 2025-05-13T15:59:26 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38110",
"html_url": "https://github.com/huggingface/transformers/pull/38110",
"diff_url": "https://github.com/huggingface/transformers/pull/38110.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38110.patch",
"merged_at... | This updates the tests for our CI T4 runners.
I obtained the values using the original code reproducer scripts (see test descriptions), which I ran on T4 runners.
cc @ydshieh 😊
| {
"login": "eustlb",
"id": 94853470,
"node_id": "U_kgDOBadZXg",
"avatar_url": "https://avatars.githubusercontent.com/u/94853470?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eustlb",
"html_url": "https://github.com/eustlb",
"followers_url": "https://api.github.com/users/eustlb/followers"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38110/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38110/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38109 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38109/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38109/comments | https://api.github.com/repos/huggingface/transformers/issues/38109/events | https://github.com/huggingface/transformers/pull/38109 | 3,060,493,836 | PR_kwDOCUB6oc6WBnCf | 38,109 | try | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | null | [] | 2025-05-13T15:37:46 | 2025-05-13T17:27:23 | 2025-05-13T17:27:23 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38109",
"html_url": "https://github.com/huggingface/transformers/pull/38109",
"diff_url": "https://github.com/huggingface/transformers/pull/38109.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38109.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38109/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38109/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38108 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38108/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38108/comments | https://api.github.com/repos/huggingface/transformers/issues/38108/events | https://github.com/huggingface/transformers/pull/38108 | 3,060,411,315 | PR_kwDOCUB6oc6WBVBg | 38,108 | 🔴🔴🔴 [`Attention`] Refactor Attention Interface for Bart-based Models | {
"login": "vasqu",
"id": 73884904,
"node_id": "MDQ6VXNlcjczODg0OTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/73884904?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vasqu",
"html_url": "https://github.com/vasqu",
"followers_url": "https://api.github.com/users/vasqu/follow... | [] | closed | false | null | [] | null | [] | 2025-05-13T15:10:28 | 2025-05-22T15:13:01 | 2025-05-22T15:12:59 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38108",
"html_url": "https://github.com/huggingface/transformers/pull/38108",
"diff_url": "https://github.com/huggingface/transformers/pull/38108.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38108.patch",
"merged_at... | This PR is gonna tackle two things in general:
- [x] Flex Attention for all base attention types (encoder, decoder, encoder-decoder cross)
- [x] New Attention Interface for a bunch of models (mostly based on Bart's implementation)
- [x] As a bonus, some models have already been refactored into modular if seen fit, e... | {
"login": "vasqu",
"id": 73884904,
"node_id": "MDQ6VXNlcjczODg0OTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/73884904?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vasqu",
"html_url": "https://github.com/vasqu",
"followers_url": "https://api.github.com/users/vasqu/follow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38108/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38108/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38107 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38107/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38107/comments | https://api.github.com/repos/huggingface/transformers/issues/38107/events | https://github.com/huggingface/transformers/pull/38107 | 3,060,328,466 | PR_kwDOCUB6oc6WBDHW | 38,107 | fix `check_bad commit.py` gives wrong results | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | null | [] | 2025-05-13T14:42:24 | 2025-05-13T14:59:11 | 2025-05-13T14:58:22 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38107",
"html_url": "https://github.com/huggingface/transformers/pull/38107",
"diff_url": "https://github.com/huggingface/transformers/pull/38107.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38107.patch",
"merged_at... | # What does this PR do?
During bisecting, it uses
> elif f"{target_test} FAILED" in result.stdout:
to determine a commit fails a test or not.
However, since #35912, the output is kind altered with `live log call`, and the results are wrong (it think every commit passes).
This PR fixes the issue by checki... | {
"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/38107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38107/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38106 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38106/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38106/comments | https://api.github.com/repos/huggingface/transformers/issues/38106/events | https://github.com/huggingface/transformers/pull/38106 | 3,060,246,316 | PR_kwDOCUB6oc6WAxRo | 38,106 | More typing in src/transformers/training_args.py | {
"login": "cyyever",
"id": 17618148,
"node_id": "MDQ6VXNlcjE3NjE4MTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/17618148?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyyever",
"html_url": "https://github.com/cyyever",
"followers_url": "https://api.github.com/users/cyyeve... | [] | closed | false | null | [] | null | [] | 2025-05-13T14:16:50 | 2025-07-17T13:46:13 | 2025-05-22T11:14:33 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38106",
"html_url": "https://github.com/huggingface/transformers/pull/38106",
"diff_url": "https://github.com/huggingface/transformers/pull/38106.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38106.patch",
"merged_at... | # What does this PR do?
More typing in `TrainingArguments` | {
"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/38106/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38106/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38105 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38105/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38105/comments | https://api.github.com/repos/huggingface/transformers/issues/38105/events | https://github.com/huggingface/transformers/pull/38105 | 3,060,226,529 | PR_kwDOCUB6oc6WAs_o | 38,105 | [video processors] support frame sampling within 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-13T14:10:18 | 2025-06-12T09:34:31 | 2025-06-12T09:34:30 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38105",
"html_url": "https://github.com/huggingface/transformers/pull/38105",
"diff_url": "https://github.com/huggingface/transformers/pull/38105.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38105.patch",
"merged_at... | # What does this PR do?
Now that we have video processors separate from image processors, the next step is to keep all video-specific processing there. This PR refactors how we sample video frames
Before:
- Frames can be sampled only with `apply_chat_template` and require one to pass a callable `sampling_fn` for... | {
"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/38105/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38105/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38104 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38104/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38104/comments | https://api.github.com/repos/huggingface/transformers/issues/38104/events | https://github.com/huggingface/transformers/pull/38104 | 3,060,054,047 | PR_kwDOCUB6oc6WAHkY | 38,104 | [video processor] fix tests | {
"login": "zucchini-nlp",
"id": 100715397,
"node_id": "U_kgDOBgDLhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100715397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zucchini-nlp",
"html_url": "https://github.com/zucchini-nlp",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-05-13T13:16:15 | 2025-05-14T10:24:08 | 2025-05-14T10:24:08 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38104",
"html_url": "https://github.com/huggingface/transformers/pull/38104",
"diff_url": "https://github.com/huggingface/transformers/pull/38104.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38104.patch",
"merged_at... | # What does this PR do?
Fixes a few tests that started failing after https://github.com/huggingface/transformers/pull/35206 | {
"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/38104/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38104/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38103 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38103/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38103/comments | https://api.github.com/repos/huggingface/transformers/issues/38103/events | https://github.com/huggingface/transformers/pull/38103 | 3,060,022,562 | PR_kwDOCUB6oc6WAAsJ | 38,103 | Fix incorrect batching audio index calculation for Phi-4-Multimodal | {
"login": "Isotr0py",
"id": 41363108,
"node_id": "MDQ6VXNlcjQxMzYzMTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/41363108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Isotr0py",
"html_url": "https://github.com/Isotr0py",
"followers_url": "https://api.github.com/users/Iso... | [] | closed | false | null | [] | null | [] | 2025-05-13T13:06:05 | 2025-05-26T13:41:02 | 2025-05-26T12:41:31 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38103",
"html_url": "https://github.com/huggingface/transformers/pull/38103",
"diff_url": "https://github.com/huggingface/transformers/pull/38103.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38103.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "Isotr0py",
"id": 41363108,
"node_id": "MDQ6VXNlcjQxMzYzMTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/41363108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Isotr0py",
"html_url": "https://github.com/Isotr0py",
"followers_url": "https://api.github.com/users/Iso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38103/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38103/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38102 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38102/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38102/comments | https://api.github.com/repos/huggingface/transformers/issues/38102/events | https://github.com/huggingface/transformers/pull/38102 | 3,060,005,585 | PR_kwDOCUB6oc6V_862 | 38,102 | Add style bot | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | [] | closed | false | null | [] | null | [] | 2025-05-13T13:01:30 | 2025-05-13T17:07:19 | 2025-05-13T17:07:18 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38102",
"html_url": "https://github.com/huggingface/transformers/pull/38102",
"diff_url": "https://github.com/huggingface/transformers/pull/38102.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38102.patch",
"merged_at... | # What does this PR do ?
This PR adds the style bot from `huggingface_hub` (same as in accelerate / diffusers)
To run, in a PR call @bot /style
cc @hanouticelina @Wauplin @ydshieh @ArthurZucker | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38102/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/38102/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38101 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38101/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38101/comments | https://api.github.com/repos/huggingface/transformers/issues/38101/events | https://github.com/huggingface/transformers/pull/38101 | 3,059,897,088 | PR_kwDOCUB6oc6V_lA9 | 38,101 | disable deepspeed when setting up fake trainer | {
"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-05-13T12:25:57 | 2025-05-15T13:34:05 | 2025-05-15T13:34:05 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38101",
"html_url": "https://github.com/huggingface/transformers/pull/38101",
"diff_url": "https://github.com/huggingface/transformers/pull/38101.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38101.patch",
"merged_at... | # What does this PR do?
When training with deepspeed and `WANDB_LOG_MODEL` is enabled, on train end, a fake trainer is created on the train end to create artifacts, but results in https://gist.github.com/winglian/e4640bb86860678ba2415cde54d986f4
This removes deepspeed from the args to workaround that issue.
<!--... | {
"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/38101/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38101/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38100 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38100/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38100/comments | https://api.github.com/repos/huggingface/transformers/issues/38100/events | https://github.com/huggingface/transformers/pull/38100 | 3,059,722,986 | PR_kwDOCUB6oc6V--N9 | 38,100 | Fix amp deprecation issue | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | [] | closed | false | null | [] | null | [] | 2025-05-13T11:29:51 | 2025-06-02T14:15:43 | 2025-06-02T14:15:41 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38100",
"html_url": "https://github.com/huggingface/transformers/pull/38100",
"diff_url": "https://github.com/huggingface/transformers/pull/38100.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38100.patch",
"merged_at... | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/38095
`apex.amp` is deprecated, so we need to make sure the user have access to `amp` when they set `half_precision_backend = "apex"`. Also we remove import at the beginning of trainer.py file and import it when needed. | {
"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/38100/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38100/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38099 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38099/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38099/comments | https://api.github.com/repos/huggingface/transformers/issues/38099/events | https://github.com/huggingface/transformers/pull/38099 | 3,059,670,797 | PR_kwDOCUB6oc6V-yoQ | 38,099 | [smolvlm] skip the test | {
"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-13T11:12:17 | 2025-05-13T12:50:44 | 2025-05-13T12:50:43 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38099",
"html_url": "https://github.com/huggingface/transformers/pull/38099",
"diff_url": "https://github.com/huggingface/transformers/pull/38099.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38099.patch",
"merged_at... | # What does this PR do?
As per title, we should skip the test and fix later | {
"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/38099/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38099/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38098 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38098/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38098/comments | https://api.github.com/repos/huggingface/transformers/issues/38098/events | https://github.com/huggingface/transformers/issues/38098 | 3,059,507,113 | I_kwDOCUB6oc62XF-p | 38,098 | [Bug] Phi-4-multimodal audio processor failed to process multiple audios with close length | {
"login": "Isotr0py",
"id": 41363108,
"node_id": "MDQ6VXNlcjQxMzYzMTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/41363108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Isotr0py",
"html_url": "https://github.com/Isotr0py",
"followers_url": "https://api.github.com/users/Iso... | [
{
"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-13T10:12:04 | 2025-05-26T12:41:32 | 2025-05-26T12:41:32 | COLLABORATOR | null | null | null | null | ### System Info
None
### Who can help?
@zucchini-nlp @eustlb
### Information
- [x] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
When ... | {
"login": "Isotr0py",
"id": 41363108,
"node_id": "MDQ6VXNlcjQxMzYzMTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/41363108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Isotr0py",
"html_url": "https://github.com/Isotr0py",
"followers_url": "https://api.github.com/users/Iso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38098/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/38098/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/38097 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38097/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38097/comments | https://api.github.com/repos/huggingface/transformers/issues/38097/events | https://github.com/huggingface/transformers/pull/38097 | 3,058,834,826 | PR_kwDOCUB6oc6V78eY | 38,097 | BatchEncoding.to() get dtype | {
"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... | [] | closed | false | null | [] | null | [] | 2025-05-13T05:48:39 | 2025-05-13T06:09:50 | 2025-05-13T06:07:39 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38097",
"html_url": "https://github.com/huggingface/transformers/pull/38097",
"diff_url": "https://github.com/huggingface/transformers/pull/38097.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38097.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": "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/38097/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38097/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38096 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38096/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38096/comments | https://api.github.com/repos/huggingface/transformers/issues/38096/events | https://github.com/huggingface/transformers/issues/38096 | 3,058,805,797 | I_kwDOCUB6oc62Uawl | 38,096 | BatchEncoding.to(device, dtype) could be worked!! | {
"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": 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-05-13T05:31:03 | 2025-05-15T02:55:14 | 2025-05-15T02:06:11 | CONTRIBUTOR | null | null | null | null | ### Feature request
BatchEncoding.to() only takes ```device``` and ```non_blocking```. but need to take ```dtype``` also
### Motivation
I tested qwen2.5-3B-instruct model.
but
```python
inputs = processor(**input, return_tensors='pt').to(device=model.device, dtype=model.dtype)
```
can't work. because processor re... | {
"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/38096/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38096/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/38095 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38095/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38095/comments | https://api.github.com/repos/huggingface/transformers/issues/38095/events | https://github.com/huggingface/transformers/issues/38095 | 3,058,649,883 | I_kwDOCUB6oc62T0sb | 38,095 | ImportError: cannot import name 'amp' from 'apex' | {
"login": "Jintao-Huang",
"id": 45290347,
"node_id": "MDQ6VXNlcjQ1MjkwMzQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/45290347?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jintao-Huang",
"html_url": "https://github.com/Jintao-Huang",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-05-13T03:15:56 | 2025-06-02T14:15:42 | 2025-06-02T14:15:42 | CONTRIBUTOR | null | null | null | null | hello!
https://github.com/NVIDIA/apex/issues/1902 | {
"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/38095/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/38095/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/38094 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38094/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38094/comments | https://api.github.com/repos/huggingface/transformers/issues/38094/events | https://github.com/huggingface/transformers/pull/38094 | 3,058,143,660 | PR_kwDOCUB6oc6V5oXC | 38,094 | In Llama4 fix wrongly inverted causal attention mask when using SDPA implementation | {
"login": "sogartar",
"id": 3050579,
"node_id": "MDQ6VXNlcjMwNTA1Nzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3050579?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sogartar",
"html_url": "https://github.com/sogartar",
"followers_url": "https://api.github.com/users/sogar... | [] | closed | false | null | [] | null | [] | 2025-05-12T21:05:58 | 2025-05-20T12:47:59 | 2025-05-20T12:47:59 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38094",
"html_url": "https://github.com/huggingface/transformers/pull/38094",
"diff_url": "https://github.com/huggingface/transformers/pull/38094.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38094.patch",
"merged_at... | When preparing the causal attention mask at this point the mask comes in as a float tensor with min value as a masked value.
It is not correct to convert it to bool and treat it as a bool mask as this inverts the mask. `torch.nn.functional.scaled_dot_product_attention` expects that a bool masked value is `False`.
I... | {
"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/38094/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38094/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38093 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38093/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38093/comments | https://api.github.com/repos/huggingface/transformers/issues/38093/events | https://github.com/huggingface/transformers/pull/38093 | 3,058,002,323 | PR_kwDOCUB6oc6V5Jsz | 38,093 | update `require_read_token` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | null | [] | 2025-05-12T20:06:55 | 2025-05-13T10:07:09 | 2025-05-13T10:07:07 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38093",
"html_url": "https://github.com/huggingface/transformers/pull/38093",
"diff_url": "https://github.com/huggingface/transformers/pull/38093.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38093.patch",
"merged_at... | # What does this PR do?
update `require_read_token`.
Currently, that decorator only works with function/method, but not for a class. The usage of it on classes will skip all the tests in those classes.
This PR fixes this issue. | {
"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/38093/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/38093/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38092 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38092/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38092/comments | https://api.github.com/repos/huggingface/transformers/issues/38092/events | https://github.com/huggingface/transformers/pull/38092 | 3,057,849,726 | PR_kwDOCUB6oc6V4oeG | 38,092 | Fix InternVL interpolate_pos_encoding and add to video_processing_auto | {
"login": "yonigozlan",
"id": 74535834,
"node_id": "MDQ6VXNlcjc0NTM1ODM0",
"avatar_url": "https://avatars.githubusercontent.com/u/74535834?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yonigozlan",
"html_url": "https://github.com/yonigozlan",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-05-12T18:52:47 | 2025-05-13T15:18:41 | 2025-05-13T15:18:40 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38092",
"html_url": "https://github.com/huggingface/transformers/pull/38092",
"diff_url": "https://github.com/huggingface/transformers/pull/38092.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38092.patch",
"merged_at... | # What does this PR do?
Fix small issue with InternVL interpolate_pos_encoding function, and add InternVL to video_processing_auto (currently all integration tests are crashing on main).
Cc @zucchini-nlp for video processor | {
"login": "yonigozlan",
"id": 74535834,
"node_id": "MDQ6VXNlcjc0NTM1ODM0",
"avatar_url": "https://avatars.githubusercontent.com/u/74535834?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yonigozlan",
"html_url": "https://github.com/yonigozlan",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38092/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38092/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38091 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38091/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38091/comments | https://api.github.com/repos/huggingface/transformers/issues/38091/events | https://github.com/huggingface/transformers/pull/38091 | 3,057,830,018 | PR_kwDOCUB6oc6V4keD | 38,091 | Don't drop dataset columns for custom collate functions | {
"login": "yaswanth19",
"id": 82788246,
"node_id": "MDQ6VXNlcjgyNzg4MjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/82788246?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaswanth19",
"html_url": "https://github.com/yaswanth19",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-05-12T18:44:09 | 2025-05-13T12:49:58 | 2025-05-13T12:49:58 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38091",
"html_url": "https://github.com/huggingface/transformers/pull/38091",
"diff_url": "https://github.com/huggingface/transformers/pull/38091.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38091.patch",
"merged_at... | # What does this PR do?
The existing logic is we inspect model's forward and dataset's return dict keys() and drop unused keys. A simplest scenario where this logic will fail is if I return raw text and label from dataset class and then tokenize in collate_fn. Since model is not expecting the raw text as an input, w... | {
"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/38091/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38091/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38090 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38090/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38090/comments | https://api.github.com/repos/huggingface/transformers/issues/38090/events | https://github.com/huggingface/transformers/pull/38090 | 3,057,683,592 | PR_kwDOCUB6oc6V4E5s | 38,090 | Refactor `get_XXX_dataloader` from Trainer | {
"login": "yaswanth19",
"id": 82788246,
"node_id": "MDQ6VXNlcjgyNzg4MjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/82788246?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaswanth19",
"html_url": "https://github.com/yaswanth19",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-05-12T17:42:45 | 2025-05-19T08:43:27 | 2025-05-19T08:43:27 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38090",
"html_url": "https://github.com/huggingface/transformers/pull/38090",
"diff_url": "https://github.com/huggingface/transformers/pull/38090.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38090.patch",
"merged_at... | # What does this PR do?
Refactors dataloader functions in Trainer | {
"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/38090/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38090/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38089 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38089/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38089/comments | https://api.github.com/repos/huggingface/transformers/issues/38089/events | https://github.com/huggingface/transformers/pull/38089 | 3,057,574,329 | PR_kwDOCUB6oc6V3tN6 | 38,089 | Omit creation of positional IDs within ESM if applicable | {
"login": "simonlevine",
"id": 50503513,
"node_id": "MDQ6VXNlcjUwNTAzNTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/50503513?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/simonlevine",
"html_url": "https://github.com/simonlevine",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-05-12T16:55:26 | 2025-05-15T14:10:18 | 2025-05-15T14:09:21 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38089",
"html_url": "https://github.com/huggingface/transformers/pull/38089",
"diff_url": "https://github.com/huggingface/transformers/pull/38089.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38089.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/38089/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38089/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38088 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38088/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38088/comments | https://api.github.com/repos/huggingface/transformers/issues/38088/events | https://github.com/huggingface/transformers/pull/38088 | 3,057,561,140 | PR_kwDOCUB6oc6V3qY6 | 38,088 | Disable report callbacks for certain training tests | {
"login": "ivarflakstad",
"id": 69173633,
"node_id": "MDQ6VXNlcjY5MTczNjMz",
"avatar_url": "https://avatars.githubusercontent.com/u/69173633?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ivarflakstad",
"html_url": "https://github.com/ivarflakstad",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-05-12T16:49:29 | 2025-05-13T12:49:58 | 2025-05-13T12:49:56 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38088",
"html_url": "https://github.com/huggingface/transformers/pull/38088",
"diff_url": "https://github.com/huggingface/transformers/pull/38088.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38088.patch",
"merged_at... | This fixes the `No module named 'pynvml'` error in the affected tests on non-cuda devices.
~It does not address `test_auto_batch_size_finder` however, as that test runs `run_glue.py` directly.~
I tried adding `--report_to none` as an argument to the `run_glue.py` call. I'll check if it actually works. | {
"login": "ivarflakstad",
"id": 69173633,
"node_id": "MDQ6VXNlcjY5MTczNjMz",
"avatar_url": "https://avatars.githubusercontent.com/u/69173633?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ivarflakstad",
"html_url": "https://github.com/ivarflakstad",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38088/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38088/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38087 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38087/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38087/comments | https://api.github.com/repos/huggingface/transformers/issues/38087/events | https://github.com/huggingface/transformers/pull/38087 | 3,057,325,406 | PR_kwDOCUB6oc6V23qH | 38,087 | Add optional RMSNorm support to BitNet quantization (config + layers) | {
"login": "Codys12",
"id": 41397239,
"node_id": "MDQ6VXNlcjQxMzk3MjM5",
"avatar_url": "https://avatars.githubusercontent.com/u/41397239?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Codys12",
"html_url": "https://github.com/Codys12",
"followers_url": "https://api.github.com/users/Codys1... | [] | closed | false | null | [] | null | [] | 2025-05-12T15:15:43 | 2025-05-16T10:38:21 | 2025-05-16T10:38:06 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38087",
"html_url": "https://github.com/huggingface/transformers/pull/38087",
"diff_url": "https://github.com/huggingface/transformers/pull/38087.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38087.patch",
"merged_at... | # What does this PR do?
**Adds optional RMSNorm support to BitNet-style quantisation.**
* Introduces `use_rms_norm` (bool, default False) and `rms_norm_eps` (float, default `1e-6`) to **`BitNetQuantConfig`** so the flag is serialisable via `save_pretrained / from_pretrained`.
* Updates **`BitLinear`** and **`Aut... | {
"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/38087/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38087/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38086 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38086/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38086/comments | https://api.github.com/repos/huggingface/transformers/issues/38086/events | https://github.com/huggingface/transformers/pull/38086 | 3,057,322,778 | PR_kwDOCUB6oc6V23GR | 38,086 | Refactor `MambaCache` to `modeling_mamba.py` | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | null | [] | 2025-05-12T15:14:46 | 2025-07-21T12:59:36 | 2025-07-21T12:59:36 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38086",
"html_url": "https://github.com/huggingface/transformers/pull/38086",
"diff_url": "https://github.com/huggingface/transformers/pull/38086.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38086.patch",
"merged_at... | This PR moves the specialized `MambaCache` class from `cache_utils.py` to `src/transformers/models/mamba/modeling_mamba.py`. This is preliminary work for #38077.
**Changes:**
- Moved `MambaCache` to its own file, aligning with Zamba, Bamba, etc.
- Removed unnecessary Mamba-specific code from `generate`.
- Added M... | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38086/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38086/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38085 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38085/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38085/comments | https://api.github.com/repos/huggingface/transformers/issues/38085/events | https://github.com/huggingface/transformers/pull/38085 | 3,057,274,957 | PR_kwDOCUB6oc6V2sot | 38,085 | Add CB | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-05-12T14:59:10 | 2025-05-23T15:25:14 | 2025-05-22T15:43:49 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38085",
"html_url": "https://github.com/huggingface/transformers/pull/38085",
"diff_url": "https://github.com/huggingface/transformers/pull/38085.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38085.patch",
"merged_at... | # What does this PR do?
Snippet:
```python
import time
import datasets
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from transformers.generation import GenerationConfig
torch.set_float32_matmul_precision("high")
model_id = "meta-llama/Llama-3.2-3b-Instruct"
model = Auto... | {
"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/38085/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38085/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38084 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38084/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38084/comments | https://api.github.com/repos/huggingface/transformers/issues/38084/events | https://github.com/huggingface/transformers/pull/38084 | 3,057,253,233 | PR_kwDOCUB6oc6V2n5o | 38,084 | fix multi-image case for llava-onevision | {
"login": "cyr0930",
"id": 14088169,
"node_id": "MDQ6VXNlcjE0MDg4MTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/14088169?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyr0930",
"html_url": "https://github.com/cyr0930",
"followers_url": "https://api.github.com/users/cyr093... | [] | closed | false | null | [] | null | [] | 2025-05-12T14:51:41 | 2025-05-21T09:52:54 | 2025-05-21T09:50:46 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38084",
"html_url": "https://github.com/huggingface/transformers/pull/38084",
"diff_url": "https://github.com/huggingface/transformers/pull/38084.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38084.patch",
"merged_at... | # What does this PR do?
llava-onevision should not use anyres patching for multi-image case
Fixes https://github.com/huggingface/transformers/issues/34585
## 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 [contri... | {
"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/38084/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38084/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38083 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38083/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38083/comments | https://api.github.com/repos/huggingface/transformers/issues/38083/events | https://github.com/huggingface/transformers/pull/38083 | 3,056,985,228 | PR_kwDOCUB6oc6V1tJw | 38,083 | uninstall `kernels` from docker images | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | null | [] | 2025-05-12T13:28:44 | 2025-05-12T16:03:48 | 2025-05-12T16:03:47 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38083",
"html_url": "https://github.com/huggingface/transformers/pull/38083",
"diff_url": "https://github.com/huggingface/transformers/pull/38083.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38083.patch",
"merged_at... | # What does this PR do?
`kernels` may give different outputs (within 1e-5 range) even with the same model (weights) and the same inputs.
https://huggingface.slack.com/archives/C01NE71C4F7/p1747055897244909 | {
"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/38083/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38083/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38081 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38081/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38081/comments | https://api.github.com/repos/huggingface/transformers/issues/38081/events | https://github.com/huggingface/transformers/pull/38081 | 3,056,632,055 | PR_kwDOCUB6oc6V0f-H | 38,081 | Fix mt5 test on AMD devices | {
"login": "ivarflakstad",
"id": 69173633,
"node_id": "MDQ6VXNlcjY5MTczNjMz",
"avatar_url": "https://avatars.githubusercontent.com/u/69173633?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ivarflakstad",
"html_url": "https://github.com/ivarflakstad",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-05-12T11:27:11 | 2025-05-12T14:59:02 | 2025-05-12T14:59:00 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38081",
"html_url": "https://github.com/huggingface/transformers/pull/38081",
"diff_url": "https://github.com/huggingface/transformers/pull/38081.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38081.patch",
"merged_at... | The result of this test on AMD is 0.000103, which the test correctly catches as being larger than 0.0001, but it's close enough for the purposes of this test so I simply increased the limit to 0.0002. | {
"login": "ivarflakstad",
"id": 69173633,
"node_id": "MDQ6VXNlcjY5MTczNjMz",
"avatar_url": "https://avatars.githubusercontent.com/u/69173633?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ivarflakstad",
"html_url": "https://github.com/ivarflakstad",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38081/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38081/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38080 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38080/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38080/comments | https://api.github.com/repos/huggingface/transformers/issues/38080/events | https://github.com/huggingface/transformers/pull/38080 | 3,056,575,600 | PR_kwDOCUB6oc6V0TpD | 38,080 | [gemma3] fix bidirectional attention mask | {
"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-12T11:05:06 | 2025-05-20T15:35:05 | 2025-05-20T15:35:05 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38080",
"html_url": "https://github.com/huggingface/transformers/pull/38080",
"diff_url": "https://github.com/huggingface/transformers/pull/38080.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38080.patch",
"merged_at... | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/38053. Images cannot attend to future images but in current implementation we unmask attention within all images
| {
"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/38080/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38080/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38079 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38079/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38079/comments | https://api.github.com/repos/huggingface/transformers/issues/38079/events | https://github.com/huggingface/transformers/pull/38079 | 3,056,566,834 | PR_kwDOCUB6oc6V0Rsb | 38,079 | Add AMD expectation to test_gpt2_sample | {
"login": "ivarflakstad",
"id": 69173633,
"node_id": "MDQ6VXNlcjY5MTczNjMz",
"avatar_url": "https://avatars.githubusercontent.com/u/69173633?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ivarflakstad",
"html_url": "https://github.com/ivarflakstad",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-05-12T11:01:52 | 2025-05-12T14:51:24 | 2025-05-12T14:51:22 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38079",
"html_url": "https://github.com/huggingface/transformers/pull/38079",
"diff_url": "https://github.com/huggingface/transformers/pull/38079.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38079.patch",
"merged_at... | Fixes failing test via expectations util | {
"login": "ivarflakstad",
"id": 69173633,
"node_id": "MDQ6VXNlcjY5MTczNjMz",
"avatar_url": "https://avatars.githubusercontent.com/u/69173633?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ivarflakstad",
"html_url": "https://github.com/ivarflakstad",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38079/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38079/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38078 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38078/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38078/comments | https://api.github.com/repos/huggingface/transformers/issues/38078/events | https://github.com/huggingface/transformers/issues/38078 | 3,056,155,847 | I_kwDOCUB6oc62KTzH | 38,078 | autoawq has been deprecated. Is it possible to support the use of llm-compresser as an alternative to autoawq | {
"login": "0O0OwO0O0",
"id": 169051867,
"node_id": "U_kgDOChOG2w",
"avatar_url": "https://avatars.githubusercontent.com/u/169051867?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/0O0OwO0O0",
"html_url": "https://github.com/0O0OwO0O0",
"followers_url": "https://api.github.com/users/0O0OwO... | [] | closed | false | null | [] | null | [] | 2025-05-12T08:45:53 | 2025-07-30T11:53:30 | 2025-06-12T12:04:36 | NONE | null | null | null | null | autoawq has been deprecated. Is it possible to support the use of llm-compresser as an alternative to autoawq, or can another alternative be provided
</br></br>
from [Autoawq](https://github.com/casper-hansen/AutoAWQ)
```markdown
Important Notice:
- AutoAWQ is officially deprecated and will no longer be maintained.
- T... | {
"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/38078/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38078/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/38077 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38077/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38077/comments | https://api.github.com/repos/huggingface/transformers/issues/38077/events | https://github.com/huggingface/transformers/pull/38077 | 3,056,010,977 | PR_kwDOCUB6oc6VyXuC | 38,077 | Cache System Refactor: Layered Architecture | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | null | [] | 2025-05-12T08:00:44 | 2025-09-18T13:46:53 | 2025-09-18T13:46:53 | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38077",
"html_url": "https://github.com/huggingface/transformers/pull/38077",
"diff_url": "https://github.com/huggingface/transformers/pull/38077.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38077.patch",
"merged_at... | ## Overview
This PR introduces a layered architecture for the cache system, allowing for better composition of caches.
## Current class structure
```mermaid
graph TD
B[Cache]
B --> F[StaticCache]
B --> I[HybridCache]
B --> G[DynamicCache]
F --> H[SlidingWindowCache]
F --> P[Offload... | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38077/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/38077/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38076 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38076/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38076/comments | https://api.github.com/repos/huggingface/transformers/issues/38076/events | https://github.com/huggingface/transformers/pull/38076 | 3,055,859,678 | PR_kwDOCUB6oc6Vx2sc | 38,076 | Fix temporal padding in Qwen2VLImageProcessor when the number of frames is not divisible by temporal_patch_size | {
"login": "ritwickchaudhry",
"id": 11583361,
"node_id": "MDQ6VXNlcjExNTgzMzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/11583361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ritwickchaudhry",
"html_url": "https://github.com/ritwickchaudhry",
"followers_url": "https://api... | [] | closed | false | null | [] | null | [] | 2025-05-12T07:01:10 | 2025-05-14T10:28:22 | 2025-05-14T10:28:22 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38076",
"html_url": "https://github.com/huggingface/transformers/pull/38076",
"diff_url": "https://github.com/huggingface/transformers/pull/38076.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38076.patch",
"merged_at... | This PR fixes an issue in Qwen2VLImageProcessor where the current implementation does not correctly handle cases when the number of video frames is not divisible by `temporal_patch_size`.
### Problem:
The existing logic repeats the last frame `temporal_patch_size` - 1 times. This works correctly when `temporal_patc... | {
"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/38076/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/38076/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38075 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38075/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38075/comments | https://api.github.com/repos/huggingface/transformers/issues/38075/events | https://github.com/huggingface/transformers/pull/38075 | 3,055,596,874 | PR_kwDOCUB6oc6Vw9lp | 38,075 | [typo] qwen2_5_vl in modeling_utils.py | {
"login": "JJJYmmm",
"id": 92386084,
"node_id": "U_kgDOBYGzJA",
"avatar_url": "https://avatars.githubusercontent.com/u/92386084?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JJJYmmm",
"html_url": "https://github.com/JJJYmmm",
"followers_url": "https://api.github.com/users/JJJYmmm/follow... | [] | closed | false | null | [] | null | [] | 2025-05-12T04:31:21 | 2025-05-12T09:45:52 | 2025-05-12T09:45:52 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38075",
"html_url": "https://github.com/huggingface/transformers/pull/38075",
"diff_url": "https://github.com/huggingface/transformers/pull/38075.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38075.patch",
"merged_at... | # What does this PR do?
Fixes https://github.com/QwenLM/Qwen2.5-VL/issues/1195 just a small typo🤗
Related PR #37033 @zucchini-nlp | {
"login": "JJJYmmm",
"id": 92386084,
"node_id": "U_kgDOBYGzJA",
"avatar_url": "https://avatars.githubusercontent.com/u/92386084?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JJJYmmm",
"html_url": "https://github.com/JJJYmmm",
"followers_url": "https://api.github.com/users/JJJYmmm/follow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38075/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38075/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38074 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38074/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38074/comments | https://api.github.com/repos/huggingface/transformers/issues/38074/events | https://github.com/huggingface/transformers/pull/38074 | 3,055,515,019 | PR_kwDOCUB6oc6Vwr6N | 38,074 | Fix description and formatting errors in code docs | {
"login": "bilibili12433014",
"id": 73748897,
"node_id": "MDQ6VXNlcjczNzQ4ODk3",
"avatar_url": "https://avatars.githubusercontent.com/u/73748897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bilibili12433014",
"html_url": "https://github.com/bilibili12433014",
"followers_url": "https://... | [] | closed | false | null | [] | null | [] | 2025-05-12T03:19:18 | 2025-05-13T17:17:16 | 2025-05-13T17:17:16 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38074",
"html_url": "https://github.com/huggingface/transformers/pull/38074",
"diff_url": "https://github.com/huggingface/transformers/pull/38074.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38074.patch",
"merged_at... | # What does this PR do?
Fix description and formatting errors:
1. Fix: Two `True` exists in one conditional statement.
2. Removed line breaks to comply with the doc guideline: 'No need to indent further for the elements building the return.'
Origin:
```
Return:
`torch.BoolTensor`. (`torch.BoolTen... | {
"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/38074/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38074/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38073 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38073/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38073/comments | https://api.github.com/repos/huggingface/transformers/issues/38073/events | https://github.com/huggingface/transformers/pull/38073 | 3,055,432,647 | PR_kwDOCUB6oc6VwaPt | 38,073 | add timeout for downloading the `librispeech_asr` dataset | {
"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-05-12T02:06:06 | 2025-05-13T10:50:13 | 2025-05-13T10:50:13 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38073",
"html_url": "https://github.com/huggingface/transformers/pull/38073",
"diff_url": "https://github.com/huggingface/transformers/pull/38073.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38073.patch",
"merged_at... | ## What does this PR do?
When running the `run_wav2vec2_pretraining_no_trainer.py` example, I got `fsspec.exceptions.FSTimeoutError`.
The reason is that the default timeout (5 * 60s) for the `aiohttp` library used internally by fsspec is too short for large files, e.g. 5.9G.
I also found an issue discussed in 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/38073/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38073/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38072 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38072/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38072/comments | https://api.github.com/repos/huggingface/transformers/issues/38072/events | https://github.com/huggingface/transformers/pull/38072 | 3,055,248,292 | PR_kwDOCUB6oc6Vv0dz | 38,072 | Updated the Model docs - for the ALIGN model | {
"login": "1himan",
"id": 140396762,
"node_id": "U_kgDOCF5I2g",
"avatar_url": "https://avatars.githubusercontent.com/u/140396762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/1himan",
"html_url": "https://github.com/1himan",
"followers_url": "https://api.github.com/users/1himan/follower... | [] | closed | false | null | [] | null | [] | 2025-05-11T22:04:43 | 2025-05-29T09:13:30 | 2025-05-28T16:19:09 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38072",
"html_url": "https://github.com/huggingface/transformers/pull/38072",
"diff_url": "https://github.com/huggingface/transformers/pull/38072.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38072.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/38072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38072/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38071 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38071/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38071/comments | https://api.github.com/repos/huggingface/transformers/issues/38071/events | https://github.com/huggingface/transformers/issues/38071 | 3,055,176,870 | I_kwDOCUB6oc62Gkym | 38,071 | transformers showing decoder model architecture detected so padding should be left | {
"login": "sleepingcat4",
"id": 81933585,
"node_id": "MDQ6VXNlcjgxOTMzNTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/81933585?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sleepingcat4",
"html_url": "https://github.com/sleepingcat4",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-05-11T19:45:23 | 2025-07-09T08:02:51 | 2025-07-09T08:02:51 | NONE | null | null | null | null | ### System Info
I had implemented some batching both using pipeline and model.generate method and for Qwen3 and Llama4 models it shows decoder only model detected so padding should mentioned in left. Which is weird as I inspected the model output and it was totally fine.
However when I mentioned padding to be left, ... | {
"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/38071/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38071/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/38070 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38070/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38070/comments | https://api.github.com/repos/huggingface/transformers/issues/38070/events | https://github.com/huggingface/transformers/issues/38070 | 3,055,052,194 | I_kwDOCUB6oc62GGWi | 38,070 | Typo in modeling_utils.py causing checkpoint loading error with Qwen2.5-VL | {
"login": "tanghme0w",
"id": 67302932,
"node_id": "MDQ6VXNlcjY3MzAyOTMy",
"avatar_url": "https://avatars.githubusercontent.com/u/67302932?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanghme0w",
"html_url": "https://github.com/tanghme0w",
"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-11T15:24:42 | 2025-05-12T10:14:05 | 2025-05-12T10:14:05 | NONE | null | null | null | null | ### System Info
Version: 4.52.0.dev0
In modeling_utils.py, line 236, qwen2_5_vl is misspelled as qwem2_5_vl
<img width="487" alt="Image" src="https://github.com/user-attachments/assets/9a0a6c2b-fc6f-4c17-9a5c-926c67cea597" />
This will cause the load of _checkpoint_conversion_mapping in line 4113 being skipped and ... | {
"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/38070/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/38070/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/38069 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38069/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38069/comments | https://api.github.com/repos/huggingface/transformers/issues/38069/events | https://github.com/huggingface/transformers/pull/38069 | 3,054,917,772 | PR_kwDOCUB6oc6Vuzm5 | 38,069 | fix the inconsist docstring in apply_chat_template | {
"login": "lenijwp",
"id": 32331828,
"node_id": "MDQ6VXNlcjMyMzMxODI4",
"avatar_url": "https://avatars.githubusercontent.com/u/32331828?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lenijwp",
"html_url": "https://github.com/lenijwp",
"followers_url": "https://api.github.com/users/lenijw... | [] | closed | false | null | [] | null | [] | 2025-05-11T11:05:51 | 2025-05-12T15:32:02 | 2025-05-12T15:32:02 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38069",
"html_url": "https://github.com/huggingface/transformers/pull/38069",
"diff_url": "https://github.com/huggingface/transformers/pull/38069.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38069.patch",
"merged_at... |
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace th... | {
"login": "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/38069/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38069/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38068 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38068/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38068/comments | https://api.github.com/repos/huggingface/transformers/issues/38068/events | https://github.com/huggingface/transformers/pull/38068 | 3,054,764,568 | PR_kwDOCUB6oc6VuUxw | 38,068 | Confidenet | {
"login": "Onkarsus13",
"id": 46415298,
"node_id": "MDQ6VXNlcjQ2NDE1Mjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/46415298?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Onkarsus13",
"html_url": "https://github.com/Onkarsus13",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-05-11T06:21:37 | 2025-05-11T06:23:44 | 2025-05-11T06:23:44 | NONE | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38068",
"html_url": "https://github.com/huggingface/transformers/pull/38068",
"diff_url": "https://github.com/huggingface/transformers/pull/38068.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38068.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": "Onkarsus13",
"id": 46415298,
"node_id": "MDQ6VXNlcjQ2NDE1Mjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/46415298?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Onkarsus13",
"html_url": "https://github.com/Onkarsus13",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38068/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38068/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38067 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38067/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38067/comments | https://api.github.com/repos/huggingface/transformers/issues/38067/events | https://github.com/huggingface/transformers/pull/38067 | 3,054,657,577 | PR_kwDOCUB6oc6Vt-rM | 38,067 | Fix bug in prefill_chunk_size that ignores disable_compile flag | {
"login": "xmarva",
"id": 137751976,
"node_id": "U_kgDOCDXtqA",
"avatar_url": "https://avatars.githubusercontent.com/u/137751976?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xmarva",
"html_url": "https://github.com/xmarva",
"followers_url": "https://api.github.com/users/xmarva/follower... | [] | closed | false | null | [] | null | [] | 2025-05-11T02:36:38 | 2025-05-13T13:23:54 | 2025-05-13T13:23:23 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38067",
"html_url": "https://github.com/huggingface/transformers/pull/38067",
"diff_url": "https://github.com/huggingface/transformers/pull/38067.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38067.patch",
"merged_at... | This PR fixes a bug in the `prefill_chunking` function where the compilation check is not performed before calling `get_compiled_call()`.
When using `prefill_chunk_size > 0` in a `GenerationConfig`, the model's forward function is always compiled, even if `disable_compile=True` is specified. This happens because th... | {
"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/38067/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/38067/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38066 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38066/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38066/comments | https://api.github.com/repos/huggingface/transformers/issues/38066/events | https://github.com/huggingface/transformers/issues/38066 | 3,054,509,355 | I_kwDOCUB6oc62EB0r | 38,066 | `AutoModel.from_pretrained(...)` (with explicit `device_map` unset) fails under `with torch.device("meta")` with PyTorch 2.6.0 and 2.7.0 | {
"login": "vadimkantorov",
"id": 1041752,
"node_id": "MDQ6VXNlcjEwNDE3NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1041752?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vadimkantorov",
"html_url": "https://github.com/vadimkantorov",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | null | [] | 2025-05-10T20:35:19 | 2025-08-18T14:15:32 | 2025-07-12T08:03:15 | NONE | null | null | null | null | ```python
# from torch.nn.attention.flex_attention import BlockMask, flex_attention
from transformers import AutoModel
import torch
with torch.device('meta'):
AutoModel.from_pretrained('Qwen/Qwen2.5-0.5B', trust_remote_code=True)
````
I found this code in the wild in https://github.com/Open-Reasoner-Zero/Open-Rea... | {
"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/38066/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/38066/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/38065 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38065/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38065/comments | https://api.github.com/repos/huggingface/transformers/issues/38065/events | https://github.com/huggingface/transformers/issues/38065 | 3,054,490,539 | I_kwDOCUB6oc62D9Or | 38,065 | [minor] Protect against broken/missing torchvision installations and do not hard-fail at timm/torchvision import (many text models don't need any timm/torchvision as hard dependencies) | {
"login": "vadimkantorov",
"id": 1041752,
"node_id": "MDQ6VXNlcjEwNDE3NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1041752?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vadimkantorov",
"html_url": "https://github.com/vadimkantorov",
"followers_url": "https://api.github.... | [
{
"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-10T19:48:25 | 2025-06-16T11:29:57 | 2025-06-10T08:12:29 | NONE | null | null | null | null | Also, transformers import fails when no torchvision is installed at all. I think it should be no-error, especially if I'm working with text models only. timm/friends should not be imported at all...
### System Info
Google Colab, uses pytorch 2.6.0 for now
### Who can help?
_No response_
### Information
- [ ] The ... | {
"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/38065/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38065/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/38064 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38064/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38064/comments | https://api.github.com/repos/huggingface/transformers/issues/38064/events | https://github.com/huggingface/transformers/pull/38064 | 3,054,476,222 | PR_kwDOCUB6oc6Vta9d | 38,064 | Added scores in the streamer classes based on generation flag | {
"login": "LuisCarlos-104171",
"id": 101110269,
"node_id": "U_kgDOBgbR_Q",
"avatar_url": "https://avatars.githubusercontent.com/u/101110269?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LuisCarlos-104171",
"html_url": "https://github.com/LuisCarlos-104171",
"followers_url": "https://api... | [] | open | false | null | [] | null | [] | 2025-05-10T19:12:41 | 2025-05-13T10:47:51 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38064",
"html_url": "https://github.com/huggingface/transformers/pull/38064",
"diff_url": "https://github.com/huggingface/transformers/pull/38064.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38064.patch",
"merged_at... | This PR works on a personal issue I had when creating a JSON formatter.
I needed to know the tokens' scores as soon as they were ready; as such, I created 2 new classes that inherit BaseStreamer to support Immediate token output and forwarded the scores from each generate function into the streamer put method.
## B... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38064/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38064/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/38063 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38063/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38063/comments | https://api.github.com/repos/huggingface/transformers/issues/38063/events | https://github.com/huggingface/transformers/issues/38063 | 3,054,470,178 | I_kwDOCUB6oc62D4Qi | 38,063 | Adding native support to load GGUF models using transformers | {
"login": "sleepingcat4",
"id": 81933585,
"node_id": "MDQ6VXNlcjgxOTMzNTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/81933585?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sleepingcat4",
"html_url": "https://github.com/sleepingcat4",
"followers_url": "https://api.github.c... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | null | [] | 2025-05-10T19:02:53 | 2025-07-31T08:21:08 | null | NONE | null | null | null | null | ### Feature request
GGUF recently became a popular model format that can be used to load ridiculously large models in 2x3090 (48GB) cards. While loading the original models are still better and HF supports 4bit and 8bit but those quant aren't much practical for very large models unlike GGUF.
Llama CPP exists and its... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38063/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/38063/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/38062 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38062/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38062/comments | https://api.github.com/repos/huggingface/transformers/issues/38062/events | https://github.com/huggingface/transformers/pull/38062 | 3,054,457,959 | PR_kwDOCUB6oc6VtW-d | 38,062 | Fix broken example generation script for Llama3 | {
"login": "sarckk",
"id": 48474650,
"node_id": "MDQ6VXNlcjQ4NDc0NjUw",
"avatar_url": "https://avatars.githubusercontent.com/u/48474650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sarckk",
"html_url": "https://github.com/sarckk",
"followers_url": "https://api.github.com/users/sarckk/fo... | [] | closed | false | null | [] | null | [] | 2025-05-10T18:49:41 | 2025-05-20T16:39:37 | 2025-05-20T08:53:43 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38062",
"html_url": "https://github.com/huggingface/transformers/pull/38062",
"diff_url": "https://github.com/huggingface/transformers/pull/38062.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38062.patch",
"merged_at... | # What does this PR do?
Running this script with Llama3 fails with error:
```
...
--> 316 return _sentencepiece.SentencePieceProcessor_LoadFromFile(self, arg)
TypeError: not a string
```
As mentioned in #30607 this is because Llama3 tokenizer is not based on sentencepiece. The fix is to use `AutoTokenize... | {
"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/38062/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38062/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38061 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38061/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38061/comments | https://api.github.com/repos/huggingface/transformers/issues/38061/events | https://github.com/huggingface/transformers/issues/38061 | 3,054,425,289 | I_kwDOCUB6oc62DtTJ | 38,061 | Weights not initialized correctly when instantiating model with a pretrained backbone | {
"login": "matteot11",
"id": 15927868,
"node_id": "MDQ6VXNlcjE1OTI3ODY4",
"avatar_url": "https://avatars.githubusercontent.com/u/15927868?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/matteot11",
"html_url": "https://github.com/matteot11",
"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-10T18:04:19 | 2025-07-03T08:02:48 | 2025-07-03T08:02:48 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.51.3
- Platform: macOS-14.4.1-arm64-arm-64bit
- Python version: 3.9.19
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.4.3
- Accelerate version: 1.2.1
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU?): 2.7.0 (False)
- Tens... | {
"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/38061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38061/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/38060 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38060/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38060/comments | https://api.github.com/repos/huggingface/transformers/issues/38060/events | https://github.com/huggingface/transformers/pull/38060 | 3,054,005,813 | PR_kwDOCUB6oc6Vr01N | 38,060 | Improved cache docs | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | null | [] | 2025-05-10T10:33:49 | 2025-05-26T13:53:41 | 2025-05-26T13:53:41 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38060",
"html_url": "https://github.com/huggingface/transformers/pull/38060",
"diff_url": "https://github.com/huggingface/transformers/pull/38060.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38060.patch",
"merged_at... | Improved documentation for cache. Draft to be improved with the per-layer cache refactor.
EDIT: submitting this for review since the per-layer refactor is a thing on its own. Happy to merge this small improvement. | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38060/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38060/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38059 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38059/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38059/comments | https://api.github.com/repos/huggingface/transformers/issues/38059/events | https://github.com/huggingface/transformers/pull/38059 | 3,053,964,484 | PR_kwDOCUB6oc6VrsAF | 38,059 | Add cuda graphs | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-05-10T09:38:03 | 2025-05-12T14:58:04 | 2025-05-12T14:58:01 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38059",
"html_url": "https://github.com/huggingface/transformers/pull/38059",
"diff_url": "https://github.com/huggingface/transformers/pull/38059.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38059.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/38059/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38059/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38058 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38058/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38058/comments | https://api.github.com/repos/huggingface/transformers/issues/38058/events | https://github.com/huggingface/transformers/pull/38058 | 3,053,958,720 | PR_kwDOCUB6oc6Vrqt8 | 38,058 | [SAM-HQ] Update names in the docs | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-05-10T09:33:11 | 2025-05-19T16:21:14 | 2025-05-19T16:21:14 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38058",
"html_url": "https://github.com/huggingface/transformers/pull/38058",
"diff_url": "https://github.com/huggingface/transformers/pull/38058.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38058.patch",
"merged_at... | # What does this PR do?
This PR updates the `repo_id` used in the docs of SAM-HQ (as it was updated to https://huggingface.co/syscv-community/sam-hq-vit-base)
| {
"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/38058/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38058/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38057 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38057/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38057/comments | https://api.github.com/repos/huggingface/transformers/issues/38057/events | https://github.com/huggingface/transformers/pull/38057 | 3,053,870,116 | PR_kwDOCUB6oc6VrXhc | 38,057 | docs: fix md style | {
"login": "imba-tjd",
"id": 24759802,
"node_id": "MDQ6VXNlcjI0NzU5ODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/24759802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/imba-tjd",
"html_url": "https://github.com/imba-tjd",
"followers_url": "https://api.github.com/users/imb... | [] | closed | false | null | [] | null | [] | 2025-05-10T07:49:11 | 2025-05-12T14:56:32 | 2025-05-12T14:56:32 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38057",
"html_url": "https://github.com/huggingface/transformers/pull/38057",
"diff_url": "https://github.com/huggingface/transformers/pull/38057.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38057.patch",
"merged_at... | trivial

| {
"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/38057/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38057/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38056 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38056/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38056/comments | https://api.github.com/repos/huggingface/transformers/issues/38056/events | https://github.com/huggingface/transformers/issues/38056 | 3,053,840,078 | I_kwDOCUB6oc62BebO | 38,056 | Qwen/Qwen2.5-VL-7B-Instruct not work [2025-05-10] | {
"login": "kekxv",
"id": 15551108,
"node_id": "MDQ6VXNlcjE1NTUxMTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/15551108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kekxv",
"html_url": "https://github.com/kekxv",
"followers_url": "https://api.github.com/users/kekxv/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-05-10T07:10:21 | 2025-05-12T10:14:05 | 2025-05-12T10:14:05 | NONE | null | null | null | null | ### System Info
work for `pip install git+https://github.com/huggingface/transformers@7a3e208892c06a5e278144eaf38c8599a42f53e7`
not work `main`
https://github.com/QwenLM/Qwen2.5-VL/issues/1192
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tas... | {
"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/38056/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38056/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/38055 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38055/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38055/comments | https://api.github.com/repos/huggingface/transformers/issues/38055/events | https://github.com/huggingface/transformers/pull/38055 | 3,053,289,147 | PR_kwDOCUB6oc6VpW-u | 38,055 | SQuat cache implementation | {
"login": "phymhan",
"id": 6815830,
"node_id": "MDQ6VXNlcjY4MTU4MzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6815830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/phymhan",
"html_url": "https://github.com/phymhan",
"followers_url": "https://api.github.com/users/phymhan/... | [] | open | false | null | [] | null | [] | 2025-05-09T22:13:40 | 2025-07-11T15:21:10 | null | CONTRIBUTOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38055",
"html_url": "https://github.com/huggingface/transformers/pull/38055",
"diff_url": "https://github.com/huggingface/transformers/pull/38055.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38055.patch",
"merged_at... | # What does this PR do?
This PR implements our recent work **SQuat** ([arXiv:2503.24358](https://arxiv.org/abs/2503.24358)) for **KV cache quantization** in Transformers. SQuat introduces a method for orthogonally projecting keys to a query subspace, improving the accuracy of quantized attention computation.
Key ... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38055/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38055/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/38054 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38054/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38054/comments | https://api.github.com/repos/huggingface/transformers/issues/38054/events | https://github.com/huggingface/transformers/pull/38054 | 3,053,200,004 | PR_kwDOCUB6oc6VpDXW | 38,054 | fix-mask2former-overlapping-annotations | {
"login": "Ahmed-G-ElTaher",
"id": 124341899,
"node_id": "U_kgDOB2lOiw",
"avatar_url": "https://avatars.githubusercontent.com/u/124341899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ahmed-G-ElTaher",
"html_url": "https://github.com/Ahmed-G-ElTaher",
"followers_url": "https://api.githu... | [] | open | false | null | [] | null | [] | 2025-05-09T21:12:05 | 2025-08-27T02:05:21 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38054",
"html_url": "https://github.com/huggingface/transformers/pull/38054",
"diff_url": "https://github.com/huggingface/transformers/pull/38054.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38054.patch",
"merged_at... | ## Pull Request: Add Support for Handling Overlapping Annotations in Mask2Former
### Problem
The current image processing pipeline for Mask2Former doesn't handle overlapping annotations correctly. When annotations overlap, the processing order is arbitrary, causing larger objects to sometimes be overwritten by sm... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38054/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38054/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/38053 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38053/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38053/comments | https://api.github.com/repos/huggingface/transformers/issues/38053/events | https://github.com/huggingface/transformers/issues/38053 | 3,052,974,401 | I_kwDOCUB6oc61-LFB | 38,053 | Attention mask for multi-image input in gemma3 | {
"login": "deval281shah",
"id": 20773043,
"node_id": "MDQ6VXNlcjIwNzczMDQz",
"avatar_url": "https://avatars.githubusercontent.com/u/20773043?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deval281shah",
"html_url": "https://github.com/deval281shah",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-05-09T19:05:33 | 2025-05-20T15:35:06 | 2025-05-20T15:35:06 | NONE | null | null | null | null | ### System Info
As per the attention mask example in the Gemma3 blog (https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/gemma3/attention-ascii.png), it looks like there is non-causal attention within the image and causal attention across images (i.e., an image does not attend to a futu... | {
"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/38053/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38053/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/38052 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38052/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38052/comments | https://api.github.com/repos/huggingface/transformers/issues/38052/events | https://github.com/huggingface/transformers/issues/38052 | 3,052,965,570 | I_kwDOCUB6oc61-I7C | 38,052 | `.to` on a `PreTrainedModel` throws a Pyright type check error. What is the correct way to put a model to the device that does not throw type check errors? | {
"login": "nickeisenberg",
"id": 64921400,
"node_id": "MDQ6VXNlcjY0OTIxNDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/64921400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nickeisenberg",
"html_url": "https://github.com/nickeisenberg",
"followers_url": "https://api.githu... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-05-09T19:01:15 | 2025-06-29T08:03:07 | 2025-06-29T08:03:07 | NONE | null | null | null | null | ### System Info
(venv) nicholas@B367309:tmp(master)$ transformers-cli env
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.51.1
- Platform: Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.39
- Python version: 3.12.3
- Huggingface_hub version:... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38052/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38052/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/38051 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38051/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38051/comments | https://api.github.com/repos/huggingface/transformers/issues/38051/events | https://github.com/huggingface/transformers/pull/38051 | 3,052,878,782 | PR_kwDOCUB6oc6Vn92H | 38,051 | [VLM] fix loading issues | {
"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-09T18:17:50 | 2025-05-12T10:14:04 | 2025-05-12T10:14:04 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38051",
"html_url": "https://github.com/huggingface/transformers/pull/38051",
"diff_url": "https://github.com/huggingface/transformers/pull/38051.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38051.patch",
"merged_at... | # What does this PR do?
As per title, the recent refactor broke loading for some models. The tests were ran before the last commit when a restriction on model names was added, thus the issue went unnoticed while merging 🥲
fixes https://github.com/huggingface/transformers/issues/38056, and fixes https://gith... | {
"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/38051/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38051/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38050 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38050/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38050/comments | https://api.github.com/repos/huggingface/transformers/issues/38050/events | https://github.com/huggingface/transformers/issues/38050 | 3,052,716,004 | I_kwDOCUB6oc619L_k | 38,050 | Removing GenerateMixin inheritance from PreTrainedModel class results in Phi4 load fail | {
"login": "yatindrav",
"id": 28916236,
"node_id": "MDQ6VXNlcjI4OTE2MjM2",
"avatar_url": "https://avatars.githubusercontent.com/u/28916236?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yatindrav",
"html_url": "https://github.com/yatindrav",
"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-09T16:58:40 | 2025-05-26T07:34:38 | 2025-05-10T05:14:14 | NONE | null | null | null | null | ### System Info
transformers==4.52.0.dev0 (Top of the Trunk)
Platform: Rocky Linux
Traceback (most recent call last):
File ".local/lib/python3.9/site-packages/peft/tuners/lora/model.py", line 359, in __getattr__
return super().__getattr__(name) # defer to nn.Module's logic
File ".local/lib/python3.9/site-pac... | {
"login": "yatindrav",
"id": 28916236,
"node_id": "MDQ6VXNlcjI4OTE2MjM2",
"avatar_url": "https://avatars.githubusercontent.com/u/28916236?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yatindrav",
"html_url": "https://github.com/yatindrav",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38050/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38050/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/38049 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38049/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38049/comments | https://api.github.com/repos/huggingface/transformers/issues/38049/events | https://github.com/huggingface/transformers/pull/38049 | 3,052,650,009 | PR_kwDOCUB6oc6VnMRF | 38,049 | Better pipeline type hints ✨ | {
"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... | [
{
"id": 8882772041,
"node_id": "LA_kwDOCUB6oc8AAAACEXRYSQ",
"url": "https://api.github.com/repos/huggingface/transformers/labels/typing",
"name": "typing",
"color": "DBA272",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2025-05-09T16:30:29 | 2025-07-17T11:28:55 | 2025-06-13T12:44:07 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38049",
"html_url": "https://github.com/huggingface/transformers/pull/38049",
"diff_url": "https://github.com/huggingface/transformers/pull/38049.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38049.patch",
"merged_at... | # What does this PR do?
With the power of `@overload` this PR adds several features to make our pipelines more IDE-friendly (and as a bonus more Curosor, Copilot and autocompletion friendly).
### 1. Correctly resolve pipeline `type` in case `task` is specified for pipeline function
 [docs intr... | {
"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/38047/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38047/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38046 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38046/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38046/comments | https://api.github.com/repos/huggingface/transformers/issues/38046/events | https://github.com/huggingface/transformers/pull/38046 | 3,052,405,485 | PR_kwDOCUB6oc6VmXQB | 38,046 | Fix cache update! | {
"login": "Cyrilvallez",
"id": 71554963,
"node_id": "MDQ6VXNlcjcxNTU0OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/71554963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cyrilvallez",
"html_url": "https://github.com/Cyrilvallez",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | [] | 2025-05-09T14:46:08 | 2025-05-20T14:37:47 | 2025-05-09T15:54:48 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38046",
"html_url": "https://github.com/huggingface/transformers/pull/38046",
"diff_url": "https://github.com/huggingface/transformers/pull/38046.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38046.patch",
"merged_at... | # What does this PR do?
As per the title. https://github.com/huggingface/transformers/pull/37873 broke the cache update when going beyond the sliding window, see my comment [here](https://github.com/huggingface/transformers/pull/37873#discussion_r2081837193).
This PR fixes it.
This also incorporates the issue men... | {
"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/38046/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38046/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38045 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38045/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38045/comments | https://api.github.com/repos/huggingface/transformers/issues/38045/events | https://github.com/huggingface/transformers/pull/38045 | 3,052,277,960 | PR_kwDOCUB6oc6Vl8l5 | 38,045 | [fix] sliding window attention mask | {
"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-09T14:02:30 | 2025-05-20T09:32:19 | 2025-05-20T09:32:19 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38045",
"html_url": "https://github.com/huggingface/transformers/pull/38045",
"diff_url": "https://github.com/huggingface/transformers/pull/38045.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38045.patch",
"merged_at... | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/38002. Sliding mask should not be applied when `config.use_sliding_window = False`
Added a small test as well
| {
"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/38045/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38045/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38044 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38044/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38044/comments | https://api.github.com/repos/huggingface/transformers/issues/38044/events | https://github.com/huggingface/transformers/pull/38044 | 3,052,195,651 | PR_kwDOCUB6oc6VlqsW | 38,044 | check github actions 3 | {
"login": "ydshieh2",
"id": 183479141,
"node_id": "U_kgDOCu-rZQ",
"avatar_url": "https://avatars.githubusercontent.com/u/183479141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh2",
"html_url": "https://github.com/ydshieh2",
"followers_url": "https://api.github.com/users/ydshieh2/... | [] | closed | false | null | [] | null | [] | 2025-05-09T13:31:35 | 2025-05-28T21:12:19 | 2025-05-28T21:12:18 | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38044",
"html_url": "https://github.com/huggingface/transformers/pull/38044",
"diff_url": "https://github.com/huggingface/transformers/pull/38044.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38044.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": "ydshieh2",
"id": 183479141,
"node_id": "U_kgDOCu-rZQ",
"avatar_url": "https://avatars.githubusercontent.com/u/183479141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh2",
"html_url": "https://github.com/ydshieh2",
"followers_url": "https://api.github.com/users/ydshieh2/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38044/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38043 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38043/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38043/comments | https://api.github.com/repos/huggingface/transformers/issues/38043/events | https://github.com/huggingface/transformers/pull/38043 | 3,052,134,219 | PR_kwDOCUB6oc6Vlc_s | 38,043 | trigger CI | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | null | [] | 2025-05-09T13:12:28 | 2025-05-09T13:30:30 | 2025-05-09T13:25:37 | COLLABORATOR | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38043",
"html_url": "https://github.com/huggingface/transformers/pull/38043",
"diff_url": "https://github.com/huggingface/transformers/pull/38043.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38043.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38043/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38043/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38042 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38042/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38042/comments | https://api.github.com/repos/huggingface/transformers/issues/38042/events | https://github.com/huggingface/transformers/pull/38042 | 3,052,130,421 | PR_kwDOCUB6oc6VlcIk | 38,042 | Fix reduce-labels in BEIT Fast Image Processor | {
"login": "simonreise",
"id": 43753582,
"node_id": "MDQ6VXNlcjQzNzUzNTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/43753582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/simonreise",
"html_url": "https://github.com/simonreise",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | [] | 2025-05-09T13:11:23 | 2025-05-09T15:53:38 | 2025-05-09T15:51:47 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38042",
"html_url": "https://github.com/huggingface/transformers/pull/38042",
"diff_url": "https://github.com/huggingface/transformers/pull/38042.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38042.patch",
"merged_at... | # What does this PR do?
When running `BeitImageProcessorFast` with `do_reduce_labels=True`, it not only reduces labels in segmentation map, but also applies `reduce_label` to the image itself
`reduce_label` should be applied only to segmentation maps
### Test
```py
import transformers
import torch
pr... | {
"login": "yonigozlan",
"id": 74535834,
"node_id": "MDQ6VXNlcjc0NTM1ODM0",
"avatar_url": "https://avatars.githubusercontent.com/u/74535834?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yonigozlan",
"html_url": "https://github.com/yonigozlan",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38042/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38042/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38041 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38041/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38041/comments | https://api.github.com/repos/huggingface/transformers/issues/38041/events | https://github.com/huggingface/transformers/pull/38041 | 3,051,907,440 | PR_kwDOCUB6oc6VkrVj | 38,041 | Re-Enable `Trigger CircleCI via GitHub Actions when "ready for review" (#37885)` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | null | [] | 2025-05-09T11:48:03 | 2025-05-09T14:57:56 | 2025-05-09T14:57:54 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38041",
"html_url": "https://github.com/huggingface/transformers/pull/38041",
"diff_url": "https://github.com/huggingface/transformers/pull/38041.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38041.patch",
"merged_at... | # What does this PR do?
With `CircleCI-Public/trigger-circleci-pipeline-action@v1.2.0`, we could specify `target-branch` 🎉 | {
"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/38041/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38041/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38040 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38040/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38040/comments | https://api.github.com/repos/huggingface/transformers/issues/38040/events | https://github.com/huggingface/transformers/issues/38040 | 3,051,851,905 | I_kwDOCUB6oc6155CB | 38,040 | Modernbert 3D attention mask | {
"login": "meetdoshi-iitb",
"id": 109983579,
"node_id": "U_kgDOBo43Ww",
"avatar_url": "https://avatars.githubusercontent.com/u/109983579?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/meetdoshi-iitb",
"html_url": "https://github.com/meetdoshi-iitb",
"followers_url": "https://api.github.c... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | null | [] | 2025-05-09T11:21:56 | 2025-07-16T09:24:53 | null | NONE | null | null | null | null | ### Feature request
Support request for passing a custom 3D attention mask to a modernbert model.
Currently it only supports 2D attention mask of bs, seq_len [modeling_modernbert.py#L859](https://github.com/huggingface/transformers/blob/774dc274ac966f4bccbcd90d55bba23f6cca37ae/src/transformers/models/modernbert/modeli... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38040/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38040/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/38039 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38039/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38039/comments | https://api.github.com/repos/huggingface/transformers/issues/38039/events | https://github.com/huggingface/transformers/issues/38039 | 3,051,824,880 | I_kwDOCUB6oc615ybw | 38,039 | Trainer API doesnt stop after the training has been completed | {
"login": "Awaisn25",
"id": 64905568,
"node_id": "MDQ6VXNlcjY0OTA1NTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/64905568?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Awaisn25",
"html_url": "https://github.com/Awaisn25",
"followers_url": "https://api.github.com/users/Awa... | [
{
"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-09T11:09:40 | 2025-06-17T08:02:46 | 2025-06-17T08:02:46 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.51.3
- Platform: Linux-6.11.0-25-generic-x86_64-with-glibc2.39
- Python version: 3.12.3
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU?): 2... | {
"login": "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/38039/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38039/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/38038 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38038/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38038/comments | https://api.github.com/repos/huggingface/transformers/issues/38038/events | https://github.com/huggingface/transformers/pull/38038 | 3,051,641,934 | PR_kwDOCUB6oc6Vjx4x | 38,038 | Disable `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-05-09T09:50:28 | 2025-05-09T10:27:55 | 2025-05-09T10:27:54 | COLLABORATOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38038",
"html_url": "https://github.com/huggingface/transformers/pull/38038",
"diff_url": "https://github.com/huggingface/transformers/pull/38038.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38038.patch",
"merged_at... | # What does this PR do?
In #37885, we use a Github Action workflow file to trigger CircleCI via API. We use `pull_requesttarget` event to allow the Github Actions workflow being triggered without an approval, but this leads to the triggered CircleCI checkout to the `main` branch, which is the wrong target to test ag... | {
"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/38038/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38038/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38037 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38037/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38037/comments | https://api.github.com/repos/huggingface/transformers/issues/38037/events | https://github.com/huggingface/transformers/pull/38037 | 3,051,341,451 | PR_kwDOCUB6oc6ViwvX | 38,037 | Fix an error in STOPPING_CRITERIA_INPUTS_DOCSTRING | {
"login": "bilibili12433014",
"id": 73748897,
"node_id": "MDQ6VXNlcjczNzQ4ODk3",
"avatar_url": "https://avatars.githubusercontent.com/u/73748897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bilibili12433014",
"html_url": "https://github.com/bilibili12433014",
"followers_url": "https://... | [] | closed | false | null | [] | null | [] | 2025-05-09T07:57:25 | 2025-05-12T02:27:58 | 2025-05-12T02:27:40 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38037",
"html_url": "https://github.com/huggingface/transformers/pull/38037",
"diff_url": "https://github.com/huggingface/transformers/pull/38037.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38037.patch",
"merged_at... | # What does this PR do?
There is an error in the comment `STOPPING_CRITERIA_INPUTS_DOCSTRING` for `StoppingCriteria`:
```
`True` indicates we should continue.
```
Should be
```
`False` indicates we should continue.
```
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss t... | {
"login": "bilibili12433014",
"id": 73748897,
"node_id": "MDQ6VXNlcjczNzQ4ODk3",
"avatar_url": "https://avatars.githubusercontent.com/u/73748897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bilibili12433014",
"html_url": "https://github.com/bilibili12433014",
"followers_url": "https://... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38037/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38037/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38036 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38036/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38036/comments | https://api.github.com/repos/huggingface/transformers/issues/38036/events | https://github.com/huggingface/transformers/pull/38036 | 3,051,278,321 | PR_kwDOCUB6oc6VikJf | 38,036 | enable finegrained_fp8 and granite_speech cases on XPU | {
"login": "yao-matrix",
"id": 7245027,
"node_id": "MDQ6VXNlcjcyNDUwMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7245027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yao-matrix",
"html_url": "https://github.com/yao-matrix",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | [] | 2025-05-09T07:30:12 | 2025-05-14T23:02:42 | 2025-05-14T08:58:41 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38036",
"html_url": "https://github.com/huggingface/transformers/pull/38036",
"diff_url": "https://github.com/huggingface/transformers/pull/38036.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38036.patch",
"merged_at... | @ydshieh @IlyasMoutawwakil , 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/38036/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38036/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38035 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38035/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38035/comments | https://api.github.com/repos/huggingface/transformers/issues/38035/events | https://github.com/huggingface/transformers/issues/38035 | 3,051,150,804 | I_kwDOCUB6oc613N3U | 38,035 | Setting average_tokens_across_devices to True caused an error because it attempted to gather CPU tensors using NCCL. | {
"login": "Jintao-Huang",
"id": 45290347,
"node_id": "MDQ6VXNlcjQ1MjkwMzQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/45290347?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jintao-Huang",
"html_url": "https://github.com/Jintao-Huang",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | [] | 2025-05-09T06:48:58 | 2025-05-18T08:40:17 | 2025-05-18T08:40:05 | CONTRIBUTOR | null | null | null | null | ERROR: type should be string, got "\n\nhttps://github.com/huggingface/transformers/blob/1dfad4beb2273b82e91c45a9cb2511028d4e0e24/src/transformers/trainer.py#L5288-L5297\n\n" | {
"login": "Jintao-Huang",
"id": 45290347,
"node_id": "MDQ6VXNlcjQ1MjkwMzQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/45290347?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jintao-Huang",
"html_url": "https://github.com/Jintao-Huang",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38035/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/38035/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/38034 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38034/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38034/comments | https://api.github.com/repos/huggingface/transformers/issues/38034/events | https://github.com/huggingface/transformers/issues/38034 | 3,050,820,550 | I_kwDOCUB6oc6119PG | 38,034 | transformers require torch >= 2.1.0 to run fp8 model, but im using 2.7.0 | {
"login": "O5-7",
"id": 40710644,
"node_id": "MDQ6VXNlcjQwNzEwNjQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/40710644?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/O5-7",
"html_url": "https://github.com/O5-7",
"followers_url": "https://api.github.com/users/O5-7/followers"... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2025-05-09T04:57:05 | 2025-05-12T15:39:41 | 2025-05-12T15:39:41 | NONE | null | null | null | null | ### System Info
python = 3.9
torch = 2.7.0+cu128
transformers = 4.51.3
### Who can help?
_No response_
### 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 (g... | {
"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/38034/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38034/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/38033 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38033/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38033/comments | https://api.github.com/repos/huggingface/transformers/issues/38033/events | https://github.com/huggingface/transformers/issues/38033 | 3,050,714,135 | I_kwDOCUB6oc611jQX | 38,033 | RuntimeError when loading InternVL3-14B model: Embedding size mismatch | {
"login": "wkzcml-1",
"id": 92250356,
"node_id": "U_kgDOBX-g9A",
"avatar_url": "https://avatars.githubusercontent.com/u/92250356?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wkzcml-1",
"html_url": "https://github.com/wkzcml-1",
"followers_url": "https://api.github.com/users/wkzcml-1/fo... | [] | closed | false | null | [] | null | [] | 2025-05-09T04:15:50 | 2025-05-12T03:37:19 | 2025-05-12T03:37:19 | NONE | null | null | null | null | ## Problem Description
When trying to load the [InternVL3-14B](https://huggingface.co/OpenGVLab/InternVL3-14B) model using the `transformers` library, I encountered the following error:
```
RuntimeError: Error(s) in loading state_dict for Embedding:
size mismatch for weight: copying a param with shape torch.Size([1516... | {
"login": "wkzcml-1",
"id": 92250356,
"node_id": "U_kgDOBX-g9A",
"avatar_url": "https://avatars.githubusercontent.com/u/92250356?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wkzcml-1",
"html_url": "https://github.com/wkzcml-1",
"followers_url": "https://api.github.com/users/wkzcml-1/fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38033/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38033/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/38032 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38032/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38032/comments | https://api.github.com/repos/huggingface/transformers/issues/38032/events | https://github.com/huggingface/transformers/issues/38032 | 3,050,443,945 | I_kwDOCUB6oc610hSp | 38,032 | Removing the modification of loss value due to rounding off to 4 digits | {
"login": "harish6696",
"id": 45898676,
"node_id": "MDQ6VXNlcjQ1ODk4Njc2",
"avatar_url": "https://avatars.githubusercontent.com/u/45898676?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harish6696",
"html_url": "https://github.com/harish6696",
"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-09T00:42:01 | 2025-07-12T08:03:18 | 2025-07-12T08:03:18 | NONE | null | null | null | null | ### System Info
transformers version: 4.50.2
python version: 3.13.1
### Who can help?
@zach-huggingface @SunMarc
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [x] My own task or d... | {
"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/38032/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/38032/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/38031 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38031/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38031/comments | https://api.github.com/repos/huggingface/transformers/issues/38031/events | https://github.com/huggingface/transformers/pull/38031 | 3,050,399,932 | PR_kwDOCUB6oc6VgiuJ | 38,031 | Fix: Use deep copy for bbox_embed layers when decoder_bbox_embed_share is False | {
"login": "byteakp",
"id": 116947899,
"node_id": "U_kgDOBvh7uw",
"avatar_url": "https://avatars.githubusercontent.com/u/116947899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/byteakp",
"html_url": "https://github.com/byteakp",
"followers_url": "https://api.github.com/users/byteakp/foll... | [] | closed | false | null | [] | null | [] | 2025-05-08T23:57:35 | 2025-05-09T00:00:31 | 2025-05-09T00:00:31 | NONE | null | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38031",
"html_url": "https://github.com/huggingface/transformers/pull/38031",
"diff_url": "https://github.com/huggingface/transformers/pull/38031.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38031.patch",
"merged_at... | # What does this PR do?
This PR fixes a bug in the `GroundingDino` model implementation related to how the `bbox_embed` layers are instantiated when `decoder_bbox_embed_share=False`.
In the previous code, the same `GroundingDinoMLPPredictionHead` instance was reused across decoder layers, resulting in a shallow c... | {
"login": "byteakp",
"id": 116947899,
"node_id": "U_kgDOBvh7uw",
"avatar_url": "https://avatars.githubusercontent.com/u/116947899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/byteakp",
"html_url": "https://github.com/byteakp",
"followers_url": "https://api.github.com/users/byteakp/foll... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38031/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38031/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38030 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38030/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38030/comments | https://api.github.com/repos/huggingface/transformers/issues/38030/events | https://github.com/huggingface/transformers/pull/38030 | 3,050,338,132 | PR_kwDOCUB6oc6VgWtj | 38,030 | Add `TemplateConstraint` and `OrdredConstraint` features (#27706) | {
"login": "jychen630",
"id": 36392136,
"node_id": "MDQ6VXNlcjM2MzkyMTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/36392136?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jychen630",
"html_url": "https://github.com/jychen630",
"followers_url": "https://api.github.com/users/... | [] | open | false | null | [] | null | [] | 2025-05-08T23:20:24 | 2025-05-13T13:10:43 | null | NONE | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38030",
"html_url": "https://github.com/huggingface/transformers/pull/38030",
"diff_url": "https://github.com/huggingface/transformers/pull/38030.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38030.patch",
"merged_at... | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38030/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38030/timeline | null | null | null | null | true | false |
https://api.github.com/repos/huggingface/transformers/issues/38029 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38029/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38029/comments | https://api.github.com/repos/huggingface/transformers/issues/38029/events | https://github.com/huggingface/transformers/pull/38029 | 3,050,246,743 | PR_kwDOCUB6oc6VgHP5 | 38,029 | Update Loss Functions to Accept Tensor num_items_in_batch | {
"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-08T22:46:56 | 2025-06-02T19:04:39 | 2025-06-02T09:31:44 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38029",
"html_url": "https://github.com/huggingface/transformers/pull/38029",
"diff_url": "https://github.com/huggingface/transformers/pull/38029.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38029.patch",
"merged_at... | This PR updates the ForCausalLMLoss and ForMaskedLMLoss functions to handle num_items_in_batch as a torch.Tensor instead of an int, aligning with how the parameter is actually passed during training.
Changes:
Updated num_items_in_batch: Optional[int] → Optional[torch.Tensor] in both functions.
Applied .item() ... | {
"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/38029/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38029/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38028 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38028/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38028/comments | https://api.github.com/repos/huggingface/transformers/issues/38028/events | https://github.com/huggingface/transformers/issues/38028 | 3,050,087,597 | I_kwDOCUB6oc61zKSt | 38,028 | bug in new prefill_chunk_size implementation | {
"login": "SmerkyG",
"id": 8826350,
"node_id": "MDQ6VXNlcjg4MjYzNTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8826350?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SmerkyG",
"html_url": "https://github.com/SmerkyG",
"followers_url": "https://api.github.com/users/SmerkyG/... | [
{
"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-08T21:04:35 | 2025-05-31T15:43:03 | 2025-05-31T15:43:01 | NONE | null | null | null | null | ### System Info
Hi, I noticed a bug in the new chunked prefill code: the implementation does not check whether or not the forward method is compilable, as is done elsewhere in the code.
Specifically, https://github.com/huggingface/transformers/blob/d231f5a7d4d110fffe91ba31b4995c8574036c14/src/transformers/generation/... | {
"login": "SmerkyG",
"id": 8826350,
"node_id": "MDQ6VXNlcjg4MjYzNTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8826350?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SmerkyG",
"html_url": "https://github.com/SmerkyG",
"followers_url": "https://api.github.com/users/SmerkyG/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38028/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38028/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/38027 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38027/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38027/comments | https://api.github.com/repos/huggingface/transformers/issues/38027/events | https://github.com/huggingface/transformers/issues/38027 | 3,049,598,465 | I_kwDOCUB6oc61xS4B | 38,027 | TimeSformer assumes a fixed number of frames in its layers even though it interpolates temporal embeddings based on the input | {
"login": "kamila-chay",
"id": 201148875,
"node_id": "U_kgDOC_1Jyw",
"avatar_url": "https://avatars.githubusercontent.com/u/201148875?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kamila-chay",
"html_url": "https://github.com/kamila-chay",
"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-08T17:02:12 | 2025-06-16T08:02:29 | 2025-06-16T08:02:29 | NONE | null | null | null | null | ### System Info
- `transformers` version: 4.52.0.dev0
- Platform: Linux-6.11.0-24-generic-x86_64-with-glibc2.39
- Python version: 3.12.3
- Huggingface_hub version: 0.30.2
- Safetensors version: 0.5.3
- Accelerate version: 1.6.0
- Accelerate config: not found
- DeepSpeed version: not installed
- PyTorch version (GPU?)... | {
"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/38027/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38027/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/38026 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38026/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38026/comments | https://api.github.com/repos/huggingface/transformers/issues/38026/events | https://github.com/huggingface/transformers/pull/38026 | 3,049,367,030 | PR_kwDOCUB6oc6VdHch | 38,026 | Pass `eps` to `Mistral3RMSNorm` | {
"login": "sergiopaniego",
"id": 17179696,
"node_id": "MDQ6VXNlcjE3MTc5Njk2",
"avatar_url": "https://avatars.githubusercontent.com/u/17179696?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sergiopaniego",
"html_url": "https://github.com/sergiopaniego",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | [] | 2025-05-08T15:28:54 | 2025-05-19T13:09:44 | 2025-05-19T13:09:26 | MEMBER | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38026",
"html_url": "https://github.com/huggingface/transformers/pull/38026",
"diff_url": "https://github.com/huggingface/transformers/pull/38026.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38026.patch",
"merged_at... | # What does this PR do?
Fixes #38025
This solution is part of the investigation detailed [here](https://huggingface.co/mistralai/Mistral-Small-3.1-24B-Instruct-2503/discussions/74)
@qubvel
| {
"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/38026/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/38026/timeline | null | null | null | null | true | true |
https://api.github.com/repos/huggingface/transformers/issues/38025 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38025/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38025/comments | https://api.github.com/repos/huggingface/transformers/issues/38025/events | https://github.com/huggingface/transformers/issues/38025 | 3,049,356,202 | I_kwDOCUB6oc61wXuq | 38,025 | `eps` is not passed in `Mistral3RMSNorm` | {
"login": "sergiopaniego",
"id": 17179696,
"node_id": "MDQ6VXNlcjE3MTc5Njk2",
"avatar_url": "https://avatars.githubusercontent.com/u/17179696?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sergiopaniego",
"html_url": "https://github.com/sergiopaniego",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | [] | 2025-05-08T15:24:30 | 2025-05-19T13:09:27 | 2025-05-19T13:09:27 | MEMBER | null | null | null | null | The class `Mistral3RMSNorm` can receive `eps`:
https://github.com/huggingface/transformers/blob/f2909e024cca9b7846030a91d7d4cafbf0f6208d/src/transformers/models/mistral3/modeling_mistral3.py#L49
but when used in the creation of the Mistral3 model, it is not actually passed
https://github.com/huggingface/transformers... | {
"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/38025/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38025/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/38024 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38024/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38024/comments | https://api.github.com/repos/huggingface/transformers/issues/38024/events | https://github.com/huggingface/transformers/issues/38024 | 3,049,277,563 | I_kwDOCUB6oc61wEh7 | 38,024 | while using trainer to train mnist model, 'ValueError: Found input variables with inconsistent numbers of samples: [10000, 8750]' | {
"login": "HaoyaWHL",
"id": 20349520,
"node_id": "MDQ6VXNlcjIwMzQ5NTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/20349520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HaoyaWHL",
"html_url": "https://github.com/HaoyaWHL",
"followers_url": "https://api.github.com/users/Hao... | [
{
"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-08T15:00:00 | 2025-05-14T02:41:57 | 2025-05-14T02:41:57 | NONE | null | null | null | null | It was the problem with the data processing during the training process that led to the inconsistent shapes. | {
"login": "HaoyaWHL",
"id": 20349520,
"node_id": "MDQ6VXNlcjIwMzQ5NTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/20349520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HaoyaWHL",
"html_url": "https://github.com/HaoyaWHL",
"followers_url": "https://api.github.com/users/Hao... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/38024/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38024/timeline | null | not_planned | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | {
"blocked_by": 0,
"total_blocked_by": 0,
"blocking": 0,
"total_blocking": 0
} | false | true |
https://api.github.com/repos/huggingface/transformers/issues/38023 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/38023/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/38023/comments | https://api.github.com/repos/huggingface/transformers/issues/38023/events | https://github.com/huggingface/transformers/pull/38023 | 3,049,151,697 | PR_kwDOCUB6oc6VcYKU | 38,023 | [ESM] Add flash-attention-2 backend for ESM-2 | {
"login": "pstjohn",
"id": 2576846,
"node_id": "MDQ6VXNlcjI1NzY4NDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2576846?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pstjohn",
"html_url": "https://github.com/pstjohn",
"followers_url": "https://api.github.com/users/pstjohn/... | [] | closed | false | null | [] | null | [] | 2025-05-08T14:16:36 | 2025-05-16T13:15:34 | 2025-05-16T13:11:56 | CONTRIBUTOR | null | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/38023",
"html_url": "https://github.com/huggingface/transformers/pull/38023",
"diff_url": "https://github.com/huggingface/transformers/pull/38023.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/38023.patch",
"merged_at... | # What does this PR do?
Implements the flash-attention-2 attention backend for ESM-2.
ESM-2 is a BERT-based protein language model from facebook research. While the model is undoubtedly a bit old at this point - there are now ESM-3 and ESM-C models available, they remain very popular on the huggingface hub with ... | {
"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/38023/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/38023/timeline | null | null | null | null | true | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.