url
stringlengths
62
66
repository_url
stringclasses
1 value
labels_url
stringlengths
76
80
comments_url
stringlengths
71
75
events_url
stringlengths
69
73
html_url
stringlengths
50
56
id
int64
377M
2.15B
node_id
stringlengths
18
32
number
int64
1
29.2k
title
stringlengths
1
487
user
dict
labels
list
state
stringclasses
2 values
locked
bool
2 classes
assignee
dict
assignees
list
comments
list
created_at
int64
1.54k
1.71k
updated_at
int64
1.54k
1.71k
closed_at
int64
1.54k
1.71k
author_association
stringclasses
4 values
active_lock_reason
stringclasses
2 values
body
stringlengths
0
234k
reactions
dict
timeline_url
stringlengths
71
75
state_reason
stringclasses
3 values
draft
bool
2 classes
pull_request
dict
https://api.github.com/repos/huggingface/transformers/issues/28960
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28960/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28960/comments
https://api.github.com/repos/huggingface/transformers/issues/28960/events
https://github.com/huggingface/transformers/pull/28960
2,128,933,003
PR_kwDOCUB6oc5mkumP
28,960
Translated image_captioning from en to es
{ "login": "gisturiz", "id": 48292332, "node_id": "MDQ6VXNlcjQ4MjkyMzMy", "avatar_url": "https://avatars.githubusercontent.com/u/48292332?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gisturiz", "html_url": "https://github.com/gisturiz", "followers_url": "https://api.github.com/users/gis...
[]
closed
false
null
[]
[ "Hi @stevhliu and @gisturiz, yes happy to help🤗. In general is very good, I would comment the following:\r\n\r\n* Using `\"Subtítulos de imagen\"` instead of `\"Subtitulación de Imágenes\"` when translating `\"Image captioning\"`, as it sounds more natural.\r\n* In the same way using `\"el proceso de preprocesamie...
1,707
1,708
1,708
CONTRIBUTOR
null
# What does this PR do? Translated image_captioning from en to es from issue #28936 began by @stevhliu. I will continue to go through the documentation and make the correct translations. <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28960/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28960/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28960", "html_url": "https://github.com/huggingface/transformers/pull/28960", "diff_url": "https://github.com/huggingface/transformers/pull/28960.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28960.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28959
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28959/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28959/comments
https://api.github.com/repos/huggingface/transformers/issues/28959/events
https://github.com/huggingface/transformers/issues/28959
2,128,932,352
I_kwDOCUB6oc5-5O4A
28,959
Misleading ImportError when using JAX tensors without Flax installed
{ "login": "yixiaoer", "id": 33915732, "node_id": "MDQ6VXNlcjMzOTE1NzMy", "avatar_url": "https://avatars.githubusercontent.com/u/33915732?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yixiaoer", "html_url": "https://github.com/yixiaoer", "followers_url": "https://api.github.com/users/yix...
[]
open
false
null
[]
[ "Would you like to open a PR to have a nicer failure?", "Sure! I will do it." ]
1,707
1,707
null
NONE
null
### System Info - `transformers` version: 4.37.2 - Platform: Linux-5.19.0-1027-gcp-x86_64-with-glibc2.35 - Python version: 3.11.4 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.3.0.dev20231228+cpu (F...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28959/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28959/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28958
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28958/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28958/comments
https://api.github.com/repos/huggingface/transformers/issues/28958/events
https://github.com/huggingface/transformers/pull/28958
2,128,919,760
PR_kwDOCUB6oc5mkr_k
28,958
[Docs] Add video section
{ "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
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28958). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? Video models deserve their own section in the docs, as they're currently hidden among the dozens of vision models. cc @stevhliu
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28958/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28958/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28958", "html_url": "https://github.com/huggingface/transformers/pull/28958", "diff_url": "https://github.com/huggingface/transformers/pull/28958.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28958.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28957
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28957/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28957/comments
https://api.github.com/repos/huggingface/transformers/issues/28957/events
https://github.com/huggingface/transformers/pull/28957
2,128,830,520
PR_kwDOCUB6oc5mkcWl
28,957
[`Don't merg`] Tokenizer-release
{ "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
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28957). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
COLLABORATOR
null
# What does this PR do? Test that everything works fine
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28957/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28957/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28957", "html_url": "https://github.com/huggingface/transformers/pull/28957", "diff_url": "https://github.com/huggingface/transformers/pull/28957.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28957.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28956
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28956/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28956/comments
https://api.github.com/repos/huggingface/transformers/issues/28956/events
https://github.com/huggingface/transformers/issues/28956
2,128,828,998
I_kwDOCUB6oc5-41pG
28,956
The Trainer uses all available GPU devices when training but only one when evaluating.
{ "login": "seanswyi", "id": 20367759, "node_id": "MDQ6VXNlcjIwMzY3NzU5", "avatar_url": "https://avatars.githubusercontent.com/u/20367759?v=4", "gravatar_id": "", "url": "https://api.github.com/users/seanswyi", "html_url": "https://github.com/seanswyi", "followers_url": "https://api.github.com/users/sea...
[]
open
false
null
[]
[ "I'll bump this I have the same issue", "I haven't had the time to actually look into this properly, but my intuition is that perhaps this is a design choice since evaluating across multiple devices may result in erroneous results (e.g., errors when gathering). That's why I usually use all devices for evaluating ...
1,707
1,708
null
CONTRIBUTOR
null
### System Info - `transformers` version: 4.37.2 - Platform: Linux-4.15.0-76-generic-x86_64-with-glibc2.35 - Python version: 3.10.10 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.2 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch version (GPU?): 2.0.0+cu118 (True) - Tenso...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28956/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28956/timeline
reopened
null
null
https://api.github.com/repos/huggingface/transformers/issues/28955
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28955/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28955/comments
https://api.github.com/repos/huggingface/transformers/issues/28955/events
https://github.com/huggingface/transformers/pull/28955
2,128,629,986
PR_kwDOCUB6oc5mj2D6
28,955
[Docs] Add language identifiers to fenced code blocks
{ "login": "khipp", "id": 9824526, "node_id": "MDQ6VXNlcjk4MjQ1MjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9824526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/khipp", "html_url": "https://github.com/khipp", "followers_url": "https://api.github.com/users/khipp/follower...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28955). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? This PR adds missing language identifiers to fenced code blocks to ensure consistent syntax highlighting in the generated documentation. For example, see the differences between the first and last block when the identifier is missing: <img width="908" alt="image" src="https://github.com/h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28955/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28955/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28955", "html_url": "https://github.com/huggingface/transformers/pull/28955", "diff_url": "https://github.com/huggingface/transformers/pull/28955.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28955.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28954
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28954/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28954/comments
https://api.github.com/repos/huggingface/transformers/issues/28954/events
https://github.com/huggingface/transformers/pull/28954
2,128,608,484
PR_kwDOCUB6oc5mjx-y
28,954
[i18n-de] Translate CONTRIBUTING.md to German
{ "login": "khipp", "id": 9824526, "node_id": "MDQ6VXNlcjk4MjQ1MjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9824526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/khipp", "html_url": "https://github.com/khipp", "followers_url": "https://api.github.com/users/khipp/follower...
[]
closed
false
null
[]
[ "Thanks for the great suggestions!", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28954). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "> # What does this PR do?\n> \n> This PR ad...
1,707
1,708
1,707
CONTRIBUTOR
null
# What does this PR do? This PR adds a German translation for the CONTRIBUTING.md. ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). ## Who can review? Documentation: @stevhliu Contributors: @flozi00
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28954/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28954/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28954", "html_url": "https://github.com/huggingface/transformers/pull/28954", "diff_url": "https://github.com/huggingface/transformers/pull/28954.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28954.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28953
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28953/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28953/comments
https://api.github.com/repos/huggingface/transformers/issues/28953/events
https://github.com/huggingface/transformers/issues/28953
2,128,545,322
I_kwDOCUB6oc5-3wYq
28,953
Report inconsistent output length from decoder-only model generate with input_ids and inputs_embeds
{ "login": "Hannibal046", "id": 38466901, "node_id": "MDQ6VXNlcjM4NDY2OTAx", "avatar_url": "https://avatars.githubusercontent.com/u/38466901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Hannibal046", "html_url": "https://github.com/Hannibal046", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "cc @zucchini-nlp ", "Hey, @Hannibal046 . Thanks for pointing this out! I added a PR to fix this behavior. When it gets merged, you can install `transformers` from `main` to get the correct generation." ]
1,707
1,708
1,708
NONE
null
### System Info - `transformers` version: 4.35.0.dev0 - Platform: Linux-5.15.0-1050-azure-x86_64-with-glibc2.31 - Python version: 3.10.13 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.4.1 - Accelerate version: 0.22.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (True) - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28953/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28953/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28952
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28952/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28952/comments
https://api.github.com/repos/huggingface/transformers/issues/28952/events
https://github.com/huggingface/transformers/pull/28952
2,128,322,529
PR_kwDOCUB6oc5mixZt
28,952
Add SiglipForImageClassification and CLIPForImageClassification
{ "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
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28952). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@amyeroberts I assume the \"build PR documentation\" check is failing but unrelate...
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? This PR adds 2 new classes to the library, `SiglipForImageClassification` and `CLIPForImageClassification`. This makes it easier to fine-tune SigLIP/CLIP for image classification, as otherwise people had to manually write a class based on SiglipVisionModel/CLIPVisionModel with a head on to...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28952/reactions", "total_count": 4, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/28952/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28952", "html_url": "https://github.com/huggingface/transformers/pull/28952", "diff_url": "https://github.com/huggingface/transformers/pull/28952.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28952.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28951
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28951/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28951/comments
https://api.github.com/repos/huggingface/transformers/issues/28951/events
https://github.com/huggingface/transformers/pull/28951
2,128,295,901
PR_kwDOCUB6oc5mirx8
28,951
[`pipelines`] updated docstring with vqa alias
{ "login": "cmahmut", "id": 159416666, "node_id": "U_kgDOCYCBWg", "avatar_url": "https://avatars.githubusercontent.com/u/159416666?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cmahmut", "html_url": "https://github.com/cmahmut", "followers_url": "https://api.github.com/users/cmahmut/foll...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28951). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
CONTRIBUTOR
null
# 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28951/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28951/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28951", "html_url": "https://github.com/huggingface/transformers/pull/28951", "diff_url": "https://github.com/huggingface/transformers/pull/28951.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28951.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28950
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28950/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28950/comments
https://api.github.com/repos/huggingface/transformers/issues/28950/events
https://github.com/huggingface/transformers/issues/28950
2,128,144,905
I_kwDOCUB6oc5-2OoJ
28,950
return mask of user messages when calling `tokenizer.apply_chat_template(c,tokenize=True)`
{ "login": "yonigottesman", "id": 4004127, "node_id": "MDQ6VXNlcjQwMDQxMjc=", "avatar_url": "https://avatars.githubusercontent.com/u/4004127?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yonigottesman", "html_url": "https://github.com/yonigottesman", "followers_url": "https://api.github....
[ { "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
[]
[ "cc @Rocketknight1 @ArthurZucker ", "Hi @yonigottesman - this would be a useful feature, but how do you plan to implement it?", "> Hi @yonigottesman - this would be a useful feature, but how do you plan to implement it?\r\n\r\nindeed, great feature!\r\n\r\npossible approach: in `apply_chat_template` how about l...
1,707
1,708
null
CONTRIBUTOR
null
### Feature request when training a chat model I want to ignore labels that are "user" generated and only compute the loss on the "assistant" messages. The `tokenizer.apply_chat_template(c,tokenize=True)` should return a list with 0,1 - 1 marking tokens from a "user" message I can then create the `labels` of this in...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28950/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28950/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28949
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28949/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28949/comments
https://api.github.com/repos/huggingface/transformers/issues/28949/events
https://github.com/huggingface/transformers/pull/28949
2,127,940,943
PR_kwDOCUB6oc5mhiTr
28,949
[TPU] Support PyTorch/XLA FSDP via SPMD
{ "login": "alanwaketan", "id": 8573935, "node_id": "MDQ6VXNlcjg1NzM5MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/8573935?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alanwaketan", "html_url": "https://github.com/alanwaketan", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Can HF folks point me on how to add test case in this case and also how to update the documentation?", "cc @yeounoh @jonb377", "Tests should be added in the `tests/trainer/test_trainer.py` file. You should find similar tests! ", "> As @ArthurZucker hinted at, we now don't handle things like this in the train...
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? Summary: This is the first attempt to enable FSDP via SPMD (FSDPv2) on PyTorch/XLA model. More information about FSDPv2 can be found here: 1. A user guide: https://github.com/pytorch/xla/blob/master/docs/fsdpv2.md 2. A RFC: https://github.com/pytorch/xla/issues/6379 Besides the initi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28949/reactions", "total_count": 5, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 5, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28949/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28949", "html_url": "https://github.com/huggingface/transformers/pull/28949", "diff_url": "https://github.com/huggingface/transformers/pull/28949.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28949.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28948
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28948/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28948/comments
https://api.github.com/repos/huggingface/transformers/issues/28948/events
https://github.com/huggingface/transformers/pull/28948
2,127,812,914
PR_kwDOCUB6oc5mhGwQ
28,948
Add tie_weights() to LM heads and set bias in set_output_embeddings()
{ "login": "hackyon", "id": 1557853, "node_id": "MDQ6VXNlcjE1NTc4NTM=", "avatar_url": "https://avatars.githubusercontent.com/u/1557853?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hackyon", "html_url": "https://github.com/hackyon", "followers_url": "https://api.github.com/users/hackyon/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28948). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? This fixes a bug from the wrong bias in prediction heads in some situations. The `predictions.bias` needs to be tied to `predictions.decoder.bias` inside `tie_weights()`. Repro Steps: 1. Sync to HEAD in main 2. Add the following test case to `test_modeling_bert.py` and run it: ``` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28948/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28948/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28948", "html_url": "https://github.com/huggingface/transformers/pull/28948", "diff_url": "https://github.com/huggingface/transformers/pull/28948.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28948.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28947
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28947/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28947/comments
https://api.github.com/repos/huggingface/transformers/issues/28947/events
https://github.com/huggingface/transformers/pull/28947
2,127,800,844
PR_kwDOCUB6oc5mhEJG
28,947
Always initialize tied output_embeddings if it has a bias term
{ "login": "hackyon", "id": 1557853, "node_id": "MDQ6VXNlcjE1NTc4NTM=", "avatar_url": "https://avatars.githubusercontent.com/u/1557853?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hackyon", "html_url": "https://github.com/hackyon", "followers_url": "https://api.github.com/users/hackyon/...
[]
closed
false
null
[]
[ "Hi, I caused the bug. Thanks for catching it! Can confirm this is replicable, very interested in why this wasn't caught in my pull request's CI runs or CI runs after my commit was added.\r\n\r\nCan also confirm that this PR in its current state doesn't undo the improvement to the whisper-v3 loading time that the b...
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? This fixes a bug caused by https://github.com/huggingface/transformers/pull/28192#issuecomment-1934913583. Repro Steps: 1. Sync to HEAD in main 2. Run `python -m pytest tests/models/electra/test_modeling_electra.py` 3. One of the tests fails: `FAILED tests/models/electra/test_modeling...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28947/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28947/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28947", "html_url": "https://github.com/huggingface/transformers/pull/28947", "diff_url": "https://github.com/huggingface/transformers/pull/28947.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28947.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28946
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28946/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28946/comments
https://api.github.com/repos/huggingface/transformers/issues/28946/events
https://github.com/huggingface/transformers/pull/28946
2,127,759,639
PR_kwDOCUB6oc5mg7VT
28,946
Update configuration_llama.py: fixed broken link
{ "login": "AdityaKane2001", "id": 64411306, "node_id": "MDQ6VXNlcjY0NDExMzA2", "avatar_url": "https://avatars.githubusercontent.com/u/64411306?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AdityaKane2001", "html_url": "https://github.com/AdityaKane2001", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28946). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@amyeroberts \r\nCommitted change, thanks!\r\n", "Thanks Amy!" ]
1,707
1,707
1,707
CONTRIBUTOR
null
Placed the correct link in `pretraining_tp` docstring in configuration_llama.py /auto Closes #28939 /cc @amyeroberts
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28946/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28946/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28946", "html_url": "https://github.com/huggingface/transformers/pull/28946", "diff_url": "https://github.com/huggingface/transformers/pull/28946.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28946.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28945
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28945/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28945/comments
https://api.github.com/repos/huggingface/transformers/issues/28945/events
https://github.com/huggingface/transformers/pull/28945
2,127,572,162
PR_kwDOCUB6oc5mgTCC
28,945
Add chat support to text generation pipeline
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28945). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "(and yes we should remove the old `ConversationalPipeline` sooner rather than late...
1,707
1,708
1,708
MEMBER
null
This PR modifies the text generation pipeline to support chats. It does this by inspecting the inputs - if they look like strings, it uses the original causal LM pipeline, and if they look like lists of message dicts, it applies a chat template instead before proceeding with generation. Most changes are in the prepr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28945/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28945/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28945", "html_url": "https://github.com/huggingface/transformers/pull/28945", "diff_url": "https://github.com/huggingface/transformers/pull/28945.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28945.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28944
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28944/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28944/comments
https://api.github.com/repos/huggingface/transformers/issues/28944/events
https://github.com/huggingface/transformers/pull/28944
2,127,532,941
PR_kwDOCUB6oc5mgKhz
28,944
Add feature extraction mapping for automatic metadata update
{ "login": "merveenoyan", "id": 53175384, "node_id": "MDQ6VXNlcjUzMTc1Mzg0", "avatar_url": "https://avatars.githubusercontent.com/u/53175384?v=4", "gravatar_id": "", "url": "https://api.github.com/users/merveenoyan", "html_url": "https://github.com/merveenoyan", "followers_url": "https://api.github.com/...
[]
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28944). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "I have checked that there were changes to change black to ruff, so I made sure I h...
1,707
1,708
null
CONTRIBUTOR
null
This PR automatically adds vision models that can be used with the new feature extraction pipeline to a mapping so that their pipeline tag will change. Note: I only added vision models _and_ the models in which image encoder architecture exists separately (e.g. saw Siglip Vision Model class so I added it)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28944/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/28944/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28944", "html_url": "https://github.com/huggingface/transformers/pull/28944", "diff_url": "https://github.com/huggingface/transformers/pull/28944.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28944.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28943
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28943/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28943/comments
https://api.github.com/repos/huggingface/transformers/issues/28943/events
https://github.com/huggingface/transformers/pull/28943
2,127,528,671
PR_kwDOCUB6oc5mgJme
28,943
[WIP] Benchmark
{ "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/...
[]
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28943). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,708
null
COLLABORATOR
null
# What does this PR do? Benchmark go brrrrrr 🔥 too early to be reviewed
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28943/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/28943/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28943", "html_url": "https://github.com/huggingface/transformers/pull/28943", "diff_url": "https://github.com/huggingface/transformers/pull/28943.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28943.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28942
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28942/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28942/comments
https://api.github.com/repos/huggingface/transformers/issues/28942/events
https://github.com/huggingface/transformers/pull/28942
2,127,215,568
PR_kwDOCUB6oc5mfEs6
28,942
Fix type annotations on neftune_noise_alpha and fsdp_config TrainingArguments parameters
{ "login": "peblair", "id": 4998607, "node_id": "MDQ6VXNlcjQ5OTg2MDc=", "avatar_url": "https://avatars.githubusercontent.com/u/4998607?v=4", "gravatar_id": "", "url": "https://api.github.com/users/peblair", "html_url": "https://github.com/peblair", "followers_url": "https://api.github.com/users/peblair/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28942). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? This PR updates the type annotations on the `neftune_noise_alpha` and `fsdp_config` parameters in `TrainingArguments` to reflect their full range of values. Currently, if one attempts to round-trip a `TrainingArguments` object with a data validation library such as `pydantic`, re-serializatio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28942/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28942/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28942", "html_url": "https://github.com/huggingface/transformers/pull/28942", "diff_url": "https://github.com/huggingface/transformers/pull/28942.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28942.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28941
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28941/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28941/comments
https://api.github.com/repos/huggingface/transformers/issues/28941/events
https://github.com/huggingface/transformers/pull/28941
2,127,151,001
PR_kwDOCUB6oc5me2f_
28,941
Fix a wrong link to CONTRIBUTING.md section in PR template
{ "login": "B-Step62", "id": 31463517, "node_id": "MDQ6VXNlcjMxNDYzNTE3", "avatar_url": "https://avatars.githubusercontent.com/u/31463517?v=4", "gravatar_id": "", "url": "https://api.github.com/users/B-Step62", "html_url": "https://github.com/B-Step62", "followers_url": "https://api.github.com/users/B-S...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28941). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? The link https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests in the PR template is pointing to the deleted section. This PR replaces it to the correct one: https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#create-a-pull-requ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28941/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28941/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28941", "html_url": "https://github.com/huggingface/transformers/pull/28941", "diff_url": "https://github.com/huggingface/transformers/pull/28941.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28941.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28940
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28940/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28940/comments
https://api.github.com/repos/huggingface/transformers/issues/28940/events
https://github.com/huggingface/transformers/pull/28940
2,127,004,602
PR_kwDOCUB6oc5meVvo
28,940
Populate torch_dtype from model to pipeline
{ "login": "B-Step62", "id": 31463517, "node_id": "MDQ6VXNlcjMxNDYzNTE3", "avatar_url": "https://avatars.githubusercontent.com/u/31463517?v=4", "gravatar_id": "", "url": "https://api.github.com/users/B-Step62", "html_url": "https://github.com/B-Step62", "followers_url": "https://api.github.com/users/B-S...
[]
open
false
null
[]
[]
1,707
1,707
null
CONTRIBUTOR
null
# What does this PR do? When constructing a pipeline from a model, it doesn't inherit the `torch_dtype` attribute from the model's dtype. This causes asymmetry of pipeline and model, as the model always inherit the `torch_dtype` when the pipeline is created with `torch_dtype` param. Sometimes it's a bit confusing th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28940/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28940/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28940", "html_url": "https://github.com/huggingface/transformers/pull/28940", "diff_url": "https://github.com/huggingface/transformers/pull/28940.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28940.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28938
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28938/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28938/comments
https://api.github.com/repos/huggingface/transformers/issues/28938/events
https://github.com/huggingface/transformers/issues/28938
2,126,827,214
I_kwDOCUB6oc5-xM7O
28,938
Evaluation loop breaks after a certain number of samples
{ "login": "megiandoni", "id": 21020497, "node_id": "MDQ6VXNlcjIxMDIwNDk3", "avatar_url": "https://avatars.githubusercontent.com/u/21020497?v=4", "gravatar_id": "", "url": "https://api.github.com/users/megiandoni", "html_url": "https://github.com/megiandoni", "followers_url": "https://api.github.com/use...
[]
open
false
null
[]
[ "Hi @megiandoni, thanks for raising an issue! \r\n\r\nSo that we can best help you could you please: \r\n* Provide information about the running environment: run `transformers-cli env` in the terminal and copy-paste the output\r\n* Provide a minimal code snippet to reproduce the error? At the moment, important info...
1,707
1,708
null
NONE
null
Hi everyone, I'm using the Trainer (and SFT Trainer, I get the error with both) to finetune/evaluate on gsm8k. Training works well enough but evaluation stops after 100-200 out of 1300 samples and I get no error. The rest of the code simply doesn't run. I tried setting eval_accumulations_steps and per_eval_batch_s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28938/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28938/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28937
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28937/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28937/comments
https://api.github.com/repos/huggingface/transformers/issues/28937/events
https://github.com/huggingface/transformers/pull/28937
2,126,532,214
PR_kwDOCUB6oc5mcu72
28,937
Fix static generation when compiling!
{ "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
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28937). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "I'm not sure adding a new argument `cache_position` to the forward call of the mod...
1,707
1,707
1,707
COLLABORATOR
null
# What does this PR do? Fixes the static cache generation. Comes with #27931 thanks @OlivierDehaene for the insight https://gist.github.com/ArthurZucker/ae0a86ef8f841c0ef69aaa52ccbc0b03 benchmark - fixes issue with FlashAttention: when the cache is padded you need the full attention mask, otherwise generati...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28937/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/28937/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28937", "html_url": "https://github.com/huggingface/transformers/pull/28937", "diff_url": "https://github.com/huggingface/transformers/pull/28937.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28937.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28936
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28936/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28936/comments
https://api.github.com/repos/huggingface/transformers/issues/28936/events
https://github.com/huggingface/transformers/issues/28936
2,126,161,751
I_kwDOCUB6oc5-uqdX
28,936
[i18n-es] Translating docs to Spanish
{ "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...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
null
[]
[ "Happy to help, I can begin with the 4 files under Multimodal", "Hey @stevhliu, I would love to translate chat_templating.md, trainer.md, and torchscript.md under Developer guides to Spanish.", "Awesome! Thanks for your interest, I've assigned those docs to you. Happy translating! 🤗 \r\n\r\nWould it be ok with...
1,707
1,708
null
MEMBER
null
Hi! Let's bring the documentation to all the Spanish-speaking community 🌐 Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main/docs/TRANSLATING.md). Here is a list of the files ready for translation. Let us know in this issue if you'd like t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28936/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28936/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28935
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28935/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28935/comments
https://api.github.com/repos/huggingface/transformers/issues/28935/events
https://github.com/huggingface/transformers/issues/28935
2,126,135,649
I_kwDOCUB6oc5-ukFh
28,935
Add support for prefix_allowed_tokens_fn to maintain a state throughout decoding
{ "login": "John-Boccio", "id": 39712041, "node_id": "MDQ6VXNlcjM5NzEyMDQx", "avatar_url": "https://avatars.githubusercontent.com/u/39712041?v=4", "gravatar_id": "", "url": "https://api.github.com/users/John-Boccio", "html_url": "https://github.com/John-Boccio", "followers_url": "https://api.github.com/...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" }, { "id": 5818563521, ...
open
false
null
[]
[ "cc @gante ", "Hi @John-Boccio 👋 \r\n\r\nWe don't need `transformers` changes to enable your request :D You can parameterize an arbitrary function with a mutable input and use that mutable input as the state in your `prefix_allowed_tokens_fn`.\r\n\r\nHere's an example of how to create a function with state:\r\n`...
1,707
1,707
null
NONE
null
### Feature request Add an optional argument in `prefix_allow_tokens_fn` to allow for state to maintained throughout decoding or add a stateful alternative to `prefix_allowed_tokens_fn`. ### Motivation `prefix_allowed_tokens_fn` is great but has one major downfall which is that you cannot maintain a state throughout...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28935/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28935/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28934
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28934/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28934/comments
https://api.github.com/repos/huggingface/transformers/issues/28934/events
https://github.com/huggingface/transformers/issues/28934
2,126,008,914
I_kwDOCUB6oc5-uFJS
28,934
Cannot load transformer model from hugging face in remote server
{ "login": "nikhilajoshy", "id": 37141775, "node_id": "MDQ6VXNlcjM3MTQxNzc1", "avatar_url": "https://avatars.githubusercontent.com/u/37141775?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nikhilajoshy", "html_url": "https://github.com/nikhilajoshy", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "* are you using the library inside a docker container ? \r\n* do you have a `https_proxy` or a `HTTPS_PROXY` envirenmental variables set ?\r\n* which python version of `urllib3` are you using\r\n* do you have VPN enabled ? ", "@not-lain \r\n\r\n- it's not inside docker, just a vent\r\n- I have a http_proxy set ...
1,707
1,708
1,708
NONE
null
### System Info `transformers` version: 4.37.2 - Platform: Linux-5.15.0-92-generic-x86_64-with-glibc2.31 - Python version: 3.11.7 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.2 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch version (GPU?): 2.2.0+cu121 (True) - Tensorf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28934/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28934/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28939
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28939/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28939/comments
https://api.github.com/repos/huggingface/transformers/issues/28939/events
https://github.com/huggingface/transformers/issues/28939
2,126,954,797
I_kwDOCUB6oc5-xsEt
28,939
[Broken link] Link not working in LLaMA-2 pretraining_tp doc
{ "login": "AdityaKane2001", "id": 64411306, "node_id": "MDQ6VXNlcjY0NDExMzA2", "avatar_url": "https://avatars.githubusercontent.com/u/64411306?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AdityaKane2001", "html_url": "https://github.com/AdityaKane2001", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "transferring you to the transformers repo instead!", "@AdityaKane2001 Indeed! Thanks for flagging this. Would you like to open a PR to fix this? This way you get the github contribution. ", "Sure" ]
1,707
1,707
1,707
CONTRIBUTOR
null
The `this document` link on [LLaMA2 doc page](https://huggingface.co/docs/transformers/model_doc/llama2#transformers.LlamaConfig.pretraining_tp) does not work.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28939/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28939/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28933
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28933/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28933/comments
https://api.github.com/repos/huggingface/transformers/issues/28933/events
https://github.com/huggingface/transformers/pull/28933
2,125,959,348
PR_kwDOCUB6oc5mazdp
28,933
[i18n-de] Translate README.md to German
{ "login": "khipp", "id": 9824526, "node_id": "MDQ6VXNlcjk4MjQ1MjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9824526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/khipp", "html_url": "https://github.com/khipp", "followers_url": "https://api.github.com/users/khipp/follower...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28933). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "I don't know anyone in particular, I'm afraid.\r\n\r\nMaybe @flozi00 can help me s...
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? This PR adds a German translation for the README.md. The text is written in accordance with the [translation guidelines](https://github.com/huggingface/course/blob/main/chapters/de/TRANSLATING.txt) of the German Hugging Face course, and translations for technical terms are taken from the cor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28933/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28933/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28933", "html_url": "https://github.com/huggingface/transformers/pull/28933", "diff_url": "https://github.com/huggingface/transformers/pull/28933.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28933.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28932
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28932/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28932/comments
https://api.github.com/repos/huggingface/transformers/issues/28932/events
https://github.com/huggingface/transformers/pull/28932
2,125,755,227
PR_kwDOCUB6oc5maGXC
28,932
Terminator strings for generate()
{ "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...
[]
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28932). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@Rocketknight1 , hey! I liked the feature, a very useful one I think. Just a coupl...
1,707
1,708
null
MEMBER
null
`generate()` stops when it encounters `eos_token_id`, but there are various circumstances when we want it to stop for other tokens too. The ideal situation would be to allow a set of strings that halts generation, and then include this information with the model, so model authors can set e.g. custom tokens like `<|im_e...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28932/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28932/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28932", "html_url": "https://github.com/huggingface/transformers/pull/28932", "diff_url": "https://github.com/huggingface/transformers/pull/28932.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28932.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28931
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28931/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28931/comments
https://api.github.com/repos/huggingface/transformers/issues/28931/events
https://github.com/huggingface/transformers/pull/28931
2,125,652,215
PR_kwDOCUB6oc5mZvWg
28,931
[Whisper] Use Attention Cache
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28931). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "I have a fully functional working solution for static shaped Whisper, which we hav...
1,707
1,707
null
CONTRIBUTOR
null
# What does this PR do? Refactors the Whisper model to use the attention cache abstraction proposed in #26681. This is required to have consistency with the `StaticCache` attention class proposed in #27931. The complexity with the current `Cache` abstraction comes from the fact that Whisper is an encoder-decoder ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28931/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28931/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28931", "html_url": "https://github.com/huggingface/transformers/pull/28931", "diff_url": "https://github.com/huggingface/transformers/pull/28931.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28931.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28930
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28930/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28930/comments
https://api.github.com/repos/huggingface/transformers/issues/28930/events
https://github.com/huggingface/transformers/pull/28930
2,125,515,291
PR_kwDOCUB6oc5mZRHl
28,930
Tests: tag `test_save_load_fast_init_from_base` as flaky
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28930). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "> no matter what the text is put I will accept :-)\r\n\r\n@ydshieh \r\n\r\n```\r\...
1,707
1,707
1,707
MEMBER
null
# What does this PR do? As discussed [internally on slack](https://huggingface.slack.com/archives/C01NE71C4F7/p1707407250079089) with @ydshieh -- this test is known to be flaky for a while.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28930/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28930/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28930", "html_url": "https://github.com/huggingface/transformers/pull/28930", "diff_url": "https://github.com/huggingface/transformers/pull/28930.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28930.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28929
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28929/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28929/comments
https://api.github.com/repos/huggingface/transformers/issues/28929/events
https://github.com/huggingface/transformers/issues/28929
2,125,454,462
I_kwDOCUB6oc5-r9x-
28,929
unable to load using pipe = pipeline("image-classification", model= MODEL_REPO_ID) my custom class derived from Dinov2ForImageClassification
{ "login": "yuragenetika", "id": 157500144, "node_id": "U_kgDOCWNC8A", "avatar_url": "https://avatars.githubusercontent.com/u/157500144?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuragenetika", "html_url": "https://github.com/yuragenetika", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @yuragenetika, thanks for raising this issue! \r\n\r\nIn order for you to be able to use your custom class in pipelines, you have to register it with its corresponding auto class, such that the following would load your model:\r\n\r\n```py\r\nfrom transformers import AutoModelForImageClassification\r\n\r\nmodel...
1,707
1,707
1,707
NONE
null
### System Info - `transformers` version: 4.37.2 - Platform: macOS-14.2.1-arm64-arm-64bit - Python version: 3.11.7 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.2 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch version (GPU?): 2.2.0 (False) - Tensorflow version (GPU?): not...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28929/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28929/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28928
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28928/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28928/comments
https://api.github.com/repos/huggingface/transformers/issues/28928/events
https://github.com/huggingface/transformers/pull/28928
2,125,380,442
PR_kwDOCUB6oc5mYyzU
28,928
AQLM quantizer support
{ "login": "BlackSamorez", "id": 16901341, "node_id": "MDQ6VXNlcjE2OTAxMzQx", "avatar_url": "https://avatars.githubusercontent.com/u/16901341?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BlackSamorez", "html_url": "https://github.com/BlackSamorez", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "A model to test it: [BlackSamorez/Mixtral-8x7b-AQLM-2Bit-1x16-hf-test-dispatch](https://huggingface.co/BlackSamorez/Mixtral-8x7b-AQLM-2Bit-1x16-hf-test-dispatch)", "A Google Colab demo: [Mixtral in 2 bits](https://colab.research.google.com/drive/1-xZmBRXT5Fm3Ghn4Mwa2KRypORXb855X?usp=sharing).", "The docs for t...
1,707
1,707
1,707
CONTRIBUTOR
null
# 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28928/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 3, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28928/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28928", "html_url": "https://github.com/huggingface/transformers/pull/28928", "diff_url": "https://github.com/huggingface/transformers/pull/28928.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28928.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28927
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28927/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28927/comments
https://api.github.com/repos/huggingface/transformers/issues/28927/events
https://github.com/huggingface/transformers/pull/28927
2,125,311,162
PR_kwDOCUB6oc5mYjh-
28,927
pass kwargs in stopping criteria list
{ "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
[]
[ "@zucchini-nlp Thanks for opening this PR! Can you provide some more context on why this is necessary? Passing around kwargs is a behaviour we try to avoid if possible. ", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28927). All of your documentation changes will be r...
1,707
1,707
1,707
MEMBER
null
# What does this PR do? This PR passes kwargs to each criteria when calling `StoppingCriteriaList`. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [X] Did you read the [contributor guideline](https://github.com/huggingface/transforme...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28927/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28927/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28927", "html_url": "https://github.com/huggingface/transformers/pull/28927", "diff_url": "https://github.com/huggingface/transformers/pull/28927.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28927.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28926
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28926/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28926/comments
https://api.github.com/repos/huggingface/transformers/issues/28926/events
https://github.com/huggingface/transformers/pull/28926
2,125,199,850
PR_kwDOCUB6oc5mYLBY
28,926
Remove dead TF loading code
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "I don't think those are major concerns - they're not in the public API, so the only way to exploit that code would be to get users to run those scripts manually. In general, I think `pickle.load` is fine in:\r\n\r\n- The test suite\r\n- Conversion scripts like these\r\n- Scripts and examples\r\n\r\nIn all of those...
1,707
1,707
1,707
MEMBER
null
This PR removes the dead `load_repo_checkpoint` method which as far as I know is unsupported and unused anywhere. This was discussed on Slack and because it's a potential security vulnerability and we don't even know what it could be used for anymore, we decided no deprecation cycle was needed
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28926/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28926/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28926", "html_url": "https://github.com/huggingface/transformers/pull/28926", "diff_url": "https://github.com/huggingface/transformers/pull/28926.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28926.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28925
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28925/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28925/comments
https://api.github.com/repos/huggingface/transformers/issues/28925/events
https://github.com/huggingface/transformers/issues/28925
2,125,098,272
I_kwDOCUB6oc5-qm0g
28,925
Starcoder has higher eval loss with flash attention 2
{ "login": "lidingsnyk", "id": 139234713, "node_id": "U_kgDOCEyNmQ", "avatar_url": "https://avatars.githubusercontent.com/u/139234713?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lidingsnyk", "html_url": "https://github.com/lidingsnyk", "followers_url": "https://api.github.com/users/lid...
[]
closed
false
null
[]
[ "Hi @lidingsnyk, thanks for raising this issue! \r\n\r\nThere was a similar issue posted - #28891, which was resolved. Could you try [installing from source](https://huggingface.co/docs/transformers/en/installation#install-from-source) to confirm if this resolves your issue? ", "Thanks a lot @amyeroberts . Indeed...
1,707
1,707
1,707
NONE
null
### System Info transformers version: 4.36.2 flash-attn: 2.5.2 `flash_attn-2.5.2+cu118torch2.1cxx11abiFALSE-cp310-cp310-linux_x86_64` Platform: linux_x86_64 cp310 ubuntu-22.04 Python version: 3.10 Huggingface_hub version: 0.20.3 Safetensors version: 0.4.2 Accelerate version: 0.26.1 Accelerate config: not foun...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28925/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28925/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28924
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28924/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28924/comments
https://api.github.com/repos/huggingface/transformers/issues/28924/events
https://github.com/huggingface/transformers/issues/28924
2,124,811,095
I_kwDOCUB6oc5-pgtX
28,924
How to disable log history from getting printed every logging_steps
{ "login": "arnavgarg1", "id": 106701836, "node_id": "U_kgDOBlwkDA", "avatar_url": "https://avatars.githubusercontent.com/u/106701836?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arnavgarg1", "html_url": "https://github.com/arnavgarg1", "followers_url": "https://api.github.com/users/arn...
[]
closed
false
null
[]
[ "Hi, thanks for raising an issue! \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports.", "@amyeroberts Totally makes sense! Will close with a comment! \r\n\r\nIn case anyone else comes searching for it in...
1,707
1,707
1,707
NONE
null
I'm writing a custom ProgressCallback that modifies the original ProgressCallback transformers implementation and adds some additional information/data to the tqdm progress bar. Here's what I have so far, and it works nicely and as intended. ```python class ProgressCallback(TrainerCallback): """A [`TrainerCall...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28924/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28924/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28923
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28923/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28923/comments
https://api.github.com/repos/huggingface/transformers/issues/28923/events
https://github.com/huggingface/transformers/pull/28923
2,124,744,848
PR_kwDOCUB6oc5mWmAi
28,923
Fix flaky test vision encoder-decoder generate
{ "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
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28923). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
MEMBER
null
# What does this PR do? Fixes #28841. I could not exactly reproduce the failing test, but the issue seems to be the `EOS` stopping generation earlier than it reaches max_length. Before adding the fix I checked that `EOS` was indeed indicated in the generation_config as not `None`. ## Before submitting - [ ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28923/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28923/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28923", "html_url": "https://github.com/huggingface/transformers/pull/28923", "diff_url": "https://github.com/huggingface/transformers/pull/28923.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28923.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28922
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28922/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28922/comments
https://api.github.com/repos/huggingface/transformers/issues/28922/events
https://github.com/huggingface/transformers/issues/28922
2,124,492,473
I_kwDOCUB6oc5-oS65
28,922
Model doesn't generate output of prefix_allowed_tokens_fn.
{ "login": "Chanwhistle", "id": 81608527, "node_id": "MDQ6VXNlcjgxNjA4NTI3", "avatar_url": "https://avatars.githubusercontent.com/u/81608527?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Chanwhistle", "html_url": "https://github.com/Chanwhistle", "followers_url": "https://api.github.com/...
[]
open
false
null
[]
[ "Hi @Chanwhistle, thanks for opening this issue! \r\n\r\nIn terms of reproduction, could you provide a minimal code snippet which reproduces the error? We get many issues and requests per day, so that we can address them in a timely manner, we need you to help us help you 🤗 \r\n\r\ncc @gante ", "Thank you!\r\n\r...
1,707
1,707
null
NONE
null
### System Info Hi, I use constrained decoding with prefix_allowed_tokens_fn.([GENRE github](https://github.com/facebookresearch/GENRE)) However, if prefix_allowed_tokens_fn function returns specific token like [1437], model generate other tokens like [0] or [16] ...etc For example input_sent = [35524, 646] ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28922/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28922/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28921
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28921/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28921/comments
https://api.github.com/repos/huggingface/transformers/issues/28921/events
https://github.com/huggingface/transformers/issues/28921
2,124,236,887
I_kwDOCUB6oc5-nUhX
28,921
Trainer only saves model in FP16 when using mixed precision together with DeepSpeed
{ "login": "andstor", "id": 21249611, "node_id": "MDQ6VXNlcjIxMjQ5NjEx", "avatar_url": "https://avatars.githubusercontent.com/u/21249611?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andstor", "html_url": "https://github.com/andstor", "followers_url": "https://api.github.com/users/andsto...
[]
open
false
null
[]
[ "Hello @andstor, \r\n\r\nThe model is saved in the selected half-precision when using mixed-precision training, i.e., `fp16` if mixed-precision is using `fp16` else `bf16` if mixed-precision is using `bf16`. Earlier there was logic to convert the state_dict to FP32 but users complained about the increase in the ckp...
1,707
1,707
null
CONTRIBUTOR
null
Normally when saving a model using the Trainer class, the `dtype` of the saved model is (and should be) the same as the original model. This is also true when using mixed precision, and when using DeepSpeed. However, when using mixed precision **together** with DeepSpeed, the output is in float16 no matter the model in...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28921/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28921/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28920
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28920/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28920/comments
https://api.github.com/repos/huggingface/transformers/issues/28920/events
https://github.com/huggingface/transformers/pull/28920
2,124,230,644
PR_kwDOCUB6oc5mU3mY
28,920
Set the dataset format used by `test_trainer` to float32
{ "login": "statelesshz", "id": 28150734, "node_id": "MDQ6VXNlcjI4MTUwNzM0", "avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/statelesshz", "html_url": "https://github.com/statelesshz", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28920). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "cc @amyeroberts " ]
1,707
1,707
1,707
CONTRIBUTOR
null
# 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28920/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28920/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28920", "html_url": "https://github.com/huggingface/transformers/pull/28920", "diff_url": "https://github.com/huggingface/transformers/pull/28920.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28920.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28919
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28919/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28919/comments
https://api.github.com/repos/huggingface/transformers/issues/28919/events
https://github.com/huggingface/transformers/issues/28919
2,124,224,877
I_kwDOCUB6oc5-nRlt
28,919
dependency issue when working with a custom architecture in a repo that has a dot in its name
{ "login": "not-lain", "id": 70411813, "node_id": "MDQ6VXNlcjcwNDExODEz", "avatar_url": "https://avatars.githubusercontent.com/u/70411813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/not-lain", "html_url": "https://github.com/not-lain", "followers_url": "https://api.github.com/users/not...
[]
open
false
null
[]
[ "cc @Rocketknight1 I can do it if you are low on bandwidth! Think it makes sense as a lot of models have `2.5B` or such names! ", "I can take this one, I think!", "to anyone reading this in the future: \r\nI found a work around this, **if you cannot rename your repo and remove the dot from its name**, you can f...
1,707
1,707
null
CONTRIBUTOR
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-6.1.58+-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.2 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu121 (False) - Tensorflow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28919/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28919/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28918
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28918/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28918/comments
https://api.github.com/repos/huggingface/transformers/issues/28918/events
https://github.com/huggingface/transformers/pull/28918
2,124,095,961
PR_kwDOCUB6oc5mUadM
28,918
[Docs] Fix broken links and syntax issues
{ "login": "khipp", "id": 9824526, "node_id": "MDQ6VXNlcjk4MjQ1MjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9824526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/khipp", "html_url": "https://github.com/khipp", "followers_url": "https://api.github.com/users/khipp/follower...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28918). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? This PR fixes various external links that were broken due to syntax issues and updates several section links that specified incorrect anchor names. It also corrects some comment tags and misspelled headings. ## Before submitting - [x] This PR fixes a typo or improves the docs (you can ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28918/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28918/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28918", "html_url": "https://github.com/huggingface/transformers/pull/28918", "diff_url": "https://github.com/huggingface/transformers/pull/28918.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28918.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28917
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28917/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28917/comments
https://api.github.com/repos/huggingface/transformers/issues/28917/events
https://github.com/huggingface/transformers/issues/28917
2,124,048,477
I_kwDOCUB6oc5-mmhd
28,917
Add Flash Attention 2 support for Flan-T5
{ "login": "mrticker", "id": 111009212, "node_id": "U_kgDOBp3dvA", "avatar_url": "https://avatars.githubusercontent.com/u/111009212?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrticker", "html_url": "https://github.com/mrticker", "followers_url": "https://api.github.com/users/mrticker/...
[ { "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
[]
[ "The main Flash Attention 2 discussion tracking issue and discussion seems to be https://github.com/huggingface/transformers/issues/26350" ]
1,707
1,708
null
NONE
null
### Feature request Add Flash Attention 2 support for Flan-T5 ### Motivation ``` loading weights file model.safetensors from cache at /pretrained/models--google--flan-t5-large/snapshots/0613663d0d48ea86ba8cb3d7a44f0f65dc596a2a/model.safetensors Instantiating T5ForConditionalGeneration model under default dtype tor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28917/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/28917/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28916
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28916/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28916/comments
https://api.github.com/repos/huggingface/transformers/issues/28916/events
https://github.com/huggingface/transformers/issues/28916
2,123,687,789
I_kwDOCUB6oc5-lOdt
28,916
Whisper Fine-Tuning significantly slower on multiple GPUs
{ "login": "gcervantes8", "id": 21228908, "node_id": "MDQ6VXNlcjIxMjI4OTA4", "avatar_url": "https://avatars.githubusercontent.com/u/21228908?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gcervantes8", "html_url": "https://github.com/gcervantes8", "followers_url": "https://api.github.com/...
[]
open
false
null
[]
[]
1,707
1,707
null
NONE
null
### System Info - `transformers` version: 4.37.2 - Platform: Linux-5.15.0-92-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.4.1 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch version (GPU?): 2.2.0+cu121 (True) - Tensor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28916/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28916/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28915
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28915/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28915/comments
https://api.github.com/repos/huggingface/transformers/issues/28915/events
https://github.com/huggingface/transformers/issues/28915
2,123,652,716
I_kwDOCUB6oc5-lF5s
28,915
Implement SWA (Sliding Window Attention) for Llama-2 7B
{ "login": "gangaraju09", "id": 116831270, "node_id": "U_kgDOBva0Jg", "avatar_url": "https://avatars.githubusercontent.com/u/116831270?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gangaraju09", "html_url": "https://github.com/gangaraju09", "followers_url": "https://api.github.com/users/...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
closed
false
null
[]
[ "Hey! This can be easily done with a custom `SlidingWindowLlamaAttention` that you register to the `LLAMA_ATTENTION_CLASSES` 😉 ", "Hey @ArthurZucker,\r\n\r\nDo you think this feature is actually useful? If we just replace the standard attention with SWA as a drop-in replacement, without any finetuning; won't the...
1,707
1,707
1,707
NONE
null
### Feature request Hi, I have access to Llama-2 7B weights and am wondering how to write a wrapper which replaces the standard vanilla attention (or Grouped Attention) present in Llama-2 to SWA (as explained in Longformer (https://arxiv.org/abs/2004.05150v2) and implemented in Mistral-7B - https://github.com/mistr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28915/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28915/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28914
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28914/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28914/comments
https://api.github.com/repos/huggingface/transformers/issues/28914/events
https://github.com/huggingface/transformers/issues/28914
2,123,613,598
I_kwDOCUB6oc5-k8We
28,914
Observed_masks not behaving as expected
{ "login": "dparr005", "id": 116039731, "node_id": "U_kgDOBuqgMw", "avatar_url": "https://avatars.githubusercontent.com/u/116039731?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dparr005", "html_url": "https://github.com/dparr005", "followers_url": "https://api.github.com/users/dparr005/...
[]
open
false
null
[]
[ "Sorry, wrong mueller. Can't really help you😄 But thanks for suggesting me!", "Oops, sorry. I hope I fixed it now.", "cc @niels as well 🤗 ", "Hi @dparr005, thanks for opening this issue! \r\n\r\nCould you share a minimal code snippet to reproduce the error? \r\n\r\ncc @kashif \r\n\r\n", "checking thanks!"...
1,707
1,708
null
NONE
null
### System Info compute_environment: LOCAL_MACHINE deepspeed_config: {} distributed_type: MULTI_GPU fsdp_config: {} machine_rank: 0 main_process_ip: null main_process_port: null main_training_function: main mixed_precision: fp16 num_machines: 1 num_processes: 4 use_cpu: false ### Who can help? @pacm...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28914/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28914/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28913
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28913/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28913/comments
https://api.github.com/repos/huggingface/transformers/issues/28913/events
https://github.com/huggingface/transformers/pull/28913
2,123,559,161
PR_kwDOCUB6oc5mSlB7
28,913
[Docs] Fix placement of tilde character
{ "login": "khipp", "id": 9824526, "node_id": "MDQ6VXNlcjk4MjQ1MjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9824526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/khipp", "html_url": "https://github.com/khipp", "followers_url": "https://api.github.com/users/khipp/follower...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28913). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Force pushed since tests were not running." ]
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? This PR fixes the placement of the tilde character in examples for the internal link syntax. ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). ## Who can review? Documentation: @stevhliu
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28913/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28913/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28913", "html_url": "https://github.com/huggingface/transformers/pull/28913", "diff_url": "https://github.com/huggingface/transformers/pull/28913.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28913.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28912
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28912/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28912/comments
https://api.github.com/repos/huggingface/transformers/issues/28912/events
https://github.com/huggingface/transformers/pull/28912
2,123,538,918
PR_kwDOCUB6oc5mSgnd
28,912
[Docs] Revert translation of '@slow' decorator
{ "login": "khipp", "id": 9824526, "node_id": "MDQ6VXNlcjk4MjQ1MjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9824526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/khipp", "html_url": "https://github.com/khipp", "followers_url": "https://api.github.com/users/khipp/follower...
[]
closed
false
null
[]
[]
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? This PR reverts the accidental translation of the '@<!-- -->slow' decorator to '@<!-- -->langsam' in the German documentation.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28912/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28912/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28912", "html_url": "https://github.com/huggingface/transformers/pull/28912", "diff_url": "https://github.com/huggingface/transformers/pull/28912.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28912.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28911
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28911/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28911/comments
https://api.github.com/repos/huggingface/transformers/issues/28911/events
https://github.com/huggingface/transformers/issues/28911
2,123,503,943
I_kwDOCUB6oc5-khlH
28,911
T5 fine-tuning `.generate()` issue
{ "login": "oozeren", "id": 159306195, "node_id": "U_kgDOCX7R0w", "avatar_url": "https://avatars.githubusercontent.com/u/159306195?v=4", "gravatar_id": "", "url": "https://api.github.com/users/oozeren", "html_url": "https://github.com/oozeren", "followers_url": "https://api.github.com/users/oozeren/foll...
[]
open
false
null
[]
[ "This the error : \"/opt/omniai/software/Miniconda/lib/python3.8/site-packages/transformers/generation/utils.py in _validate_model_class(self)\r\n 1063 if generate_compatible_classes:\r\n 1064 exception_message += f\" Please use one of the following classes instead: {generate_compati...
1,707
1,707
null
NONE
null
### System Info ```shell i am trying to create own T5 fine-tuner but i get "TypeError: The current model class (ALGORITHMIAT5) is not compatible with `.generate()`, as it doesn't have a language model head." ``` ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An of...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28911/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28911/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28910
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28910/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28910/comments
https://api.github.com/repos/huggingface/transformers/issues/28910/events
https://github.com/huggingface/transformers/pull/28910
2,123,387,940
PR_kwDOCUB6oc5mR_x_
28,910
Fix links in README translations for Llama2 Models
{ "login": "JuanFKurucz", "id": 31422367, "node_id": "MDQ6VXNlcjMxNDIyMzY3", "avatar_url": "https://avatars.githubusercontent.com/u/31422367?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JuanFKurucz", "html_url": "https://github.com/JuanFKurucz", "followers_url": "https://api.github.com/...
[]
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28910). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
null
CONTRIBUTOR
null
# What does this PR do? Following the fixes on the #26640 PR, we should fix those same links in the translations for each README file. ## Before submitting - [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). ## Who can review? Anyone in the community is ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28910/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28910/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28910", "html_url": "https://github.com/huggingface/transformers/pull/28910", "diff_url": "https://github.com/huggingface/transformers/pull/28910.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28910.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28909
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28909/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28909/comments
https://api.github.com/repos/huggingface/transformers/issues/28909/events
https://github.com/huggingface/transformers/issues/28909
2,123,281,779
I_kwDOCUB6oc5-jrVz
28,909
Potential error for llava generation
{ "login": "ByungKwanLee", "id": 50401429, "node_id": "MDQ6VXNlcjUwNDAxNDI5", "avatar_url": "https://avatars.githubusercontent.com/u/50401429?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ByungKwanLee", "html_url": "https://github.com/ByungKwanLee", "followers_url": "https://api.github.c...
[]
open
false
null
[]
[ "In transformers the input ids cannot be negative 😉 ", "However, I have experienced the negative input ids for the batch-generating text", "Can you share a reproducer? 🤗 " ]
1,707
1,707
null
NONE
null
https://github.com/huggingface/transformers/blame/abf8f54a019ce14b5eaffa68c6dd883be13fe66e/src/transformers/models/llava/modeling_llava.py#L412 This line has potentially critical bug when they do not exist such that input_ids has -100 index unexpectedly. Therefore I edit that part ![image](https://github.com/h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28909/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28909/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28908
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28908/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28908/comments
https://api.github.com/repos/huggingface/transformers/issues/28908/events
https://github.com/huggingface/transformers/issues/28908
2,123,230,114
I_kwDOCUB6oc5-jeui
28,908
Add MistralForQuestionAnswering
{ "login": "nakranivaibhav", "id": 67785830, "node_id": "MDQ6VXNlcjY3Nzg1ODMw", "avatar_url": "https://avatars.githubusercontent.com/u/67785830?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nakranivaibhav", "html_url": "https://github.com/nakranivaibhav", "followers_url": "https://api.gi...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[]
1,707
1,707
null
CONTRIBUTOR
null
### Feature request Add a MistralForQuestionAnswering class to the [modeling_mistral.py](https://github.com/huggingface/transformers/blob/main/src/transformers/models/mistral/modeling_mistral.py) so Mistral models have AutoModelForQuestionAnswering support (by also adding Mistral models to the MODEL_FOR_QUESTION_ANSWE...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28908/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28908/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28907
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28907/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28907/comments
https://api.github.com/repos/huggingface/transformers/issues/28907/events
https://github.com/huggingface/transformers/issues/28907
2,123,081,563
I_kwDOCUB6oc5-i6db
28,907
wrongly annotated configuration when saving a model that has a custom pipeline
{ "login": "not-lain", "id": 70411813, "node_id": "MDQ6VXNlcjcwNDExODEz", "avatar_url": "https://avatars.githubusercontent.com/u/70411813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/not-lain", "html_url": "https://github.com/not-lain", "followers_url": "https://api.github.com/users/not...
[]
open
false
null
[]
[ "to understand more about this try checking these 2 checkpoints\r\n```python\r\n# checkpoint that doesn't have a custom pipeline\r\nmodel_without_custom_pipeline = AutoModelForImageClassification.from_pretrained(\"not-lain/MyRepo\", trust_remote_code=True, revision=\"dba8d15072d743b6cb4a707246f801699897fb72\")\r\nm...
1,707
1,707
null
CONTRIBUTOR
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-6.1.58+-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.2 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu121 (False) - Tensorfl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28907/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28907/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28906
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28906/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28906/comments
https://api.github.com/repos/huggingface/transformers/issues/28906/events
https://github.com/huggingface/transformers/issues/28906
2,122,875,914
I_kwDOCUB6oc5-iIQK
28,906
-inf scores when generating with do_sample
{ "login": "fColangelo", "id": 22350076, "node_id": "MDQ6VXNlcjIyMzUwMDc2", "avatar_url": "https://avatars.githubusercontent.com/u/22350076?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fColangelo", "html_url": "https://github.com/fColangelo", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @fColangelo 👋 \r\n\r\nThat happens because `top_k` sets the scores of all but the `top_k` most likely tokens to `-inf` (50 in your case). If you want the model logits, and not the post-processed scores before sampling, have a look at this feature that is about to get merged: https://github.com/huggingface/tran...
1,707
1,707
1,707
NONE
null
### System Info - `transformers` version: 4.37.1 - Platform: Linux-5.4.0-169-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.0 - Accelerate version: 0.24.1 - Accelerate config: not found - PyTorch version (GPU?): 1.14.0a0+44dac51 (True) - T...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28906/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28906/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28905
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28905/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28905/comments
https://api.github.com/repos/huggingface/transformers/issues/28905/events
https://github.com/huggingface/transformers/pull/28905
2,122,615,566
PR_kwDOCUB6oc5mPXLn
28,905
Update the cache number
{ "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
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28905). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Yes, I thought changing cache number will fix all, but unfortunately no. There are...
1,707
1,707
1,707
COLLABORATOR
null
# What does this PR do? To git rid of the issues comes from torch stuff (torch vs torchaudio versions). See #28899
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28905/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28905/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28905", "html_url": "https://github.com/huggingface/transformers/pull/28905", "diff_url": "https://github.com/huggingface/transformers/pull/28905.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28905.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28904
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28904/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28904/comments
https://api.github.com/repos/huggingface/transformers/issues/28904/events
https://github.com/huggingface/transformers/issues/28904
2,122,218,958
I_kwDOCUB6oc5-fn3O
28,904
`trainer.train()` cannot rename a folder when run in Jupyter Notebook on Conda on Windows
{ "login": "kwon0408", "id": 31509569, "node_id": "MDQ6VXNlcjMxNTA5NTY5", "avatar_url": "https://avatars.githubusercontent.com/u/31509569?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kwon0408", "html_url": "https://github.com/kwon0408", "followers_url": "https://api.github.com/users/kwo...
[ { "id": 5616426447, "node_id": "LA_kwDOCUB6oc8AAAABTsPdzw", "url": "https://api.github.com/repos/huggingface/transformers/labels/solved", "name": "solved", "color": "B1D6DC", "default": false, "description": "" } ]
open
false
null
[]
[ "cc @muellerzr ", "@kwon0408 please update your transformers version, this was fixed in the next patch that was released ~1 week ago" ]
1,707
1,707
null
NONE
null
### System Info - `transformers` version: 4.37.1 - Platform: Windows-10-10.0.19045-SP0 - Python version: 3.11.7 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.3.3 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch version (GPU?): 2.2.0 (True) - Tensorflow version (GPU?): not i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28904/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28904/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28903
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28903/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28903/comments
https://api.github.com/repos/huggingface/transformers/issues/28903/events
https://github.com/huggingface/transformers/issues/28903
2,121,826,350
I_kwDOCUB6oc5-eIAu
28,903
Mistral with flash attention cannot return `attention_weights`
{ "login": "Junyoungpark", "id": 3063343, "node_id": "MDQ6VXNlcjMwNjMzNDM=", "avatar_url": "https://avatars.githubusercontent.com/u/3063343?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Junyoungpark", "html_url": "https://github.com/Junyoungpark", "followers_url": "https://api.github.com...
[]
open
false
null
[]
[ "Hi @Junyoungpark \r\nDue to the fact the returned attention might not be correct (e.g.: https://github.com/Dao-AILab/flash-attention/blob/61a777247900f6c2a37376f3ffd7134385fdc95c/flash_attn/flash_attn_interface.py#L668) unfortunately we had to force-disable `output_attention` to `False` for all FA-2 models. We can...
1,707
1,707
null
NONE
null
Hi all, I’ve discovered that Mistral models with flash attention cannot return attention_weights due to a reference error. I anticipate that we can address this issue by passing `return_attn_probs=True` to the flash attention API, but there’s still some uncertainty. It appears that `flash_attn_func` can return the `...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28903/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28903/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28902
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28902/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28902/comments
https://api.github.com/repos/huggingface/transformers/issues/28902/events
https://github.com/huggingface/transformers/issues/28902
2,121,504,616
I_kwDOCUB6oc5-c5do
28,902
Small Bug in Encoder Implementation
{ "login": "manoja328", "id": 5164615, "node_id": "MDQ6VXNlcjUxNjQ2MTU=", "avatar_url": "https://avatars.githubusercontent.com/u/5164615?v=4", "gravatar_id": "", "url": "https://api.github.com/users/manoja328", "html_url": "https://github.com/manoja328", "followers_url": "https://api.github.com/users/ma...
[]
open
false
null
[]
[ "Got and error when tried to pass embeddings \r\n\r\noutput = encoder(embeddings)\r\n", "Hi @manoja328 \r\nThanks for the issue! This is I think expected as this class is not meant to be used as a standalone class, `head_mask` is automatically created as a list of `None` here: https://github.com/huggingface/trans...
1,707
1,707
null
NONE
null
### System Info any version , latest version ### Who can help? @ArthurZucker @younesbelkada ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [x] My own task or dataset (give details...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28902/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28902/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28901
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28901/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28901/comments
https://api.github.com/repos/huggingface/transformers/issues/28901/events
https://github.com/huggingface/transformers/pull/28901
2,121,446,216
PR_kwDOCUB6oc5mLddv
28,901
Add custom loss to Informer
{ "login": "ntakouris", "id": 5436722, "node_id": "MDQ6VXNlcjU0MzY3MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/5436722?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ntakouris", "html_url": "https://github.com/ntakouris", "followers_url": "https://api.github.com/users/nt...
[]
closed
false
null
[]
[ "Hey! Thanks for opening the PR, we try to leave things such as custom loss computation to the user (not providing the labels should do the trick) 🤗 " ]
1,707
1,707
1,707
NONE
null
# What does this PR do? This PR adds a custom loss capability to the informer configuration and the informer model. Currently, there is also the ability to specify an `nll` loss, but any loss of type `Callable[[torch.distributions.Distribution, torch.Tensor, float], torch.Tensor]` can be used. ## Before submitti...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28901/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28901/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28901", "html_url": "https://github.com/huggingface/transformers/pull/28901", "diff_url": "https://github.com/huggingface/transformers/pull/28901.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28901.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28900
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28900/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28900/comments
https://api.github.com/repos/huggingface/transformers/issues/28900/events
https://github.com/huggingface/transformers/issues/28900
2,121,262,222
I_kwDOCUB6oc5-b-SO
28,900
BertTokenizer and BertTokenizerFast have different behavior when requested "return_overflowing_tokens"
{ "login": "ivlcic", "id": 14951829, "node_id": "MDQ6VXNlcjE0OTUxODI5", "avatar_url": "https://avatars.githubusercontent.com/u/14951829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ivlcic", "html_url": "https://github.com/ivlcic", "followers_url": "https://api.github.com/users/ivlcic/fo...
[]
open
false
null
[]
[ "Hey! Thanks for opening this issue. Would you like to dive in this and open a PR for a fix? It might be a known bug + overflowing tokens are not supported on all slow tokenizer. The fast is probably right behaviour", "I don't know what is the correct behaviour. You can get the overflowing tokens from both tokeni...
1,707
1,707
null
NONE
null
### System Info - `transformers` version: 4.37.2 - Platform: Linux-6.5.5-arch1-1-x86_64-with-glibc2.38 - Python version: 3.11.5 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.2 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.2.0+cu121 (True) - Tensor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28900/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28900/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28899
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28899/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28899/comments
https://api.github.com/repos/huggingface/transformers/issues/28899/events
https://github.com/huggingface/transformers/pull/28899
2,121,255,630
PR_kwDOCUB6oc5mKz2d
28,899
Hotfix - make `torchaudio` get the correct version in `torch_and_flax_job`
{ "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
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28899). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
COLLABORATOR
null
# What does this PR do? Apply one more hot fix to make the torchaudio get's the correct version . (failing job run [here](https://app.circleci.com/pipelines/github/huggingface/transformers/83910/workflows/023ecc92-20eb-44b5-8f09-98f3d9459f53/jobs/1083262)) (not identified on the previous PR, because of the cac...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28899/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28899/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28899", "html_url": "https://github.com/huggingface/transformers/pull/28899", "diff_url": "https://github.com/huggingface/transformers/pull/28899.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28899.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28898
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28898/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28898/comments
https://api.github.com/repos/huggingface/transformers/issues/28898/events
https://github.com/huggingface/transformers/pull/28898
2,121,077,734
PR_kwDOCUB6oc5mKMXa
28,898
Revert "[WIP] Hard error when ignoring tensors."
{ "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
[]
[ "The failing will disappear after the unpin torch PR is merged", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28898). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "cc @Narsil and ...
1,707
1,707
1,707
COLLABORATOR
null
Reverts huggingface/transformers#27484 Causing failing in TF/Flax vs torch equivalence tests https://app.circleci.com/pipelines/github/huggingface/transformers/83829/workflows/a864e1cf-46bc-4643-9a2f-9ba65ee7074e
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28898/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28898/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28898", "html_url": "https://github.com/huggingface/transformers/pull/28898", "diff_url": "https://github.com/huggingface/transformers/pull/28898.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28898.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28897
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28897/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28897/comments
https://api.github.com/repos/huggingface/transformers/issues/28897/events
https://github.com/huggingface/transformers/pull/28897
2,120,968,166
PR_kwDOCUB6oc5mJ0bs
28,897
Mask Generation Task Guide
{ "login": "merveenoyan", "id": 53175384, "node_id": "MDQ6VXNlcjUzMTc1Mzg0", "avatar_url": "https://avatars.githubusercontent.com/u/53175384?v=4", "gravatar_id": "", "url": "https://api.github.com/users/merveenoyan", "html_url": "https://github.com/merveenoyan", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28897). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@MKhalusova thanks, I addressed your comments I think", "@ArthurZucker please ta...
1,707
1,707
1,707
CONTRIBUTOR
null
Added mask generation task guide.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28897/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28897/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28897", "html_url": "https://github.com/huggingface/transformers/pull/28897", "diff_url": "https://github.com/huggingface/transformers/pull/28897.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28897.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28896
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28896/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28896/comments
https://api.github.com/repos/huggingface/transformers/issues/28896/events
https://github.com/huggingface/transformers/issues/28896
2,120,965,767
I_kwDOCUB6oc5-a16H
28,896
ValueError is raised when `num_return_sequences > num_beams` even if `do_sample` is True
{ "login": "JohnnieDavidov", "id": 68687085, "node_id": "MDQ6VXNlcjY4Njg3MDg1", "avatar_url": "https://avatars.githubusercontent.com/u/68687085?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JohnnieDavidov", "html_url": "https://github.com/JohnnieDavidov", "followers_url": "https://api.gi...
[]
open
false
null
[]
[ "I personally don't think this is a bug but rather a correct behavior because this error is only triggered when the param `num_beams` is set, which means the user either opt `beam search` or `beam sample`. Both the two sampling methods only keep `num_beams` candidate during searching so they really can not return m...
1,707
1,707
null
NONE
null
### System Info In [configuration_utils.py](https://github.com/huggingface/transformers/blob/main/src/transformers/generation/configuration_utils.py#L506) an error is raised if `num_return_sequences > num_beams`, but I think that this error should be raised only when do_sample is False. This is because in [utils.py](h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28896/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28896/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28895
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28895/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28895/comments
https://api.github.com/repos/huggingface/transformers/issues/28895/events
https://github.com/huggingface/transformers/pull/28895
2,120,954,065
PR_kwDOCUB6oc5mJxaT
28,895
Fix Keras scheduler import so it works for older versions of Keras
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28895). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
MEMBER
null
See bug report [here](https://github.com/huggingface/transformers/pull/28588#issuecomment-1924842630) This one caught me out - we used to import from `tf.keras.optimizers.schedules`, which worked on older versions of Keras. However, as part of the Keras 3 compatibility patch, we moved all `tf.keras` imports to `kera...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28895/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/28895/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28895", "html_url": "https://github.com/huggingface/transformers/pull/28895", "diff_url": "https://github.com/huggingface/transformers/pull/28895.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28895.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28894
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28894/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28894/comments
https://api.github.com/repos/huggingface/transformers/issues/28894/events
https://github.com/huggingface/transformers/pull/28894
2,120,948,570
PR_kwDOCUB6oc5mJwOs
28,894
Explicit server error on gated model
{ "login": "Wauplin", "id": 11801849, "node_id": "MDQ6VXNlcjExODAxODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Wauplin", "html_url": "https://github.com/Wauplin", "followers_url": "https://api.github.com/users/Waupli...
[]
closed
false
null
[]
[ "sounds like a good idea to more clearly throw `huggingface_hub` specific errors", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28894). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", ...
1,707
1,707
1,707
CONTRIBUTOR
null
When a `GatedRepoError` error is raised while accessing a file, `transformers` catches the error to set a custom message inside a `EnvironmentError` (i.e. OSError) exception. This can be confusing since the underlying error (the `GatedRepoError`) contains more information on why the model cannot be accessed. Even thoug...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28894/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28894/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28894", "html_url": "https://github.com/huggingface/transformers/pull/28894", "diff_url": "https://github.com/huggingface/transformers/pull/28894.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28894.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28893
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28893/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28893/comments
https://api.github.com/repos/huggingface/transformers/issues/28893/events
https://github.com/huggingface/transformers/issues/28893
2,120,906,955
I_kwDOCUB6oc5-anjL
28,893
trainer.evaluate gives different loss values for object detection depending on batch size
{ "login": "erickrf", "id": 294483, "node_id": "MDQ6VXNlcjI5NDQ4Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/294483?v=4", "gravatar_id": "", "url": "https://api.github.com/users/erickrf", "html_url": "https://github.com/erickrf", "followers_url": "https://api.github.com/users/erickrf/fo...
[]
open
false
null
[]
[ "cc @NielsRogge maybe padding? ", "Seems to be the same problem as #28153 ", "@erickrf #28153 has now been merged into main. Could you install from source and retry? ", " I managed to install from source, but to do this, I had to:\r\n- upgrade mlflow to 2.10.2\r\n- upgrade torch to 2.20 to avoid having this e...
1,707
1,708
null
CONTRIBUTOR
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-5.15.133+-x86_64-with-glibc2.35 - Python version: 3.10.10 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.4.1 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu121 (True) - Tensorflow ve...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28893/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28893/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28892
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28892/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28892/comments
https://api.github.com/repos/huggingface/transformers/issues/28892/events
https://github.com/huggingface/transformers/pull/28892
2,120,726,088
PR_kwDOCUB6oc5mI-_g
28,892
unpin torch
{ "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
[]
[ "Let's see what CI says.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28892). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "The failing tests are already on `main`. I have no id...
1,707
1,707
1,707
COLLABORATOR
null
# What does this PR do? So we can use torch 2.2
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28892/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28892/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28892", "html_url": "https://github.com/huggingface/transformers/pull/28892", "diff_url": "https://github.com/huggingface/transformers/pull/28892.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28892.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28891
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28891/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28891/comments
https://api.github.com/repos/huggingface/transformers/issues/28891/events
https://github.com/huggingface/transformers/pull/28891
2,120,619,628
PR_kwDOCUB6oc5mInWF
28,891
fix Starcoder FA2 implementation
{ "login": "pacman100", "id": 13534540, "node_id": "MDQ6VXNlcjEzNTM0NTQw", "avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pacman100", "html_url": "https://github.com/pacman100", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28891). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? Fixes https://github.com/huggingface/transformers/issues/28889 With this PR, SDPA and FA2 gives almost similar outputs: 1. Code from the above issue: ``` import os os.environ["CUDA_VISIBLE_DEVICES"] = "1" import torch from transformers import AutoModelForCausalLM, AutoTokenizer ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28891/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28891/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28891", "html_url": "https://github.com/huggingface/transformers/pull/28891", "diff_url": "https://github.com/huggingface/transformers/pull/28891.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28891.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28890
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28890/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28890/comments
https://api.github.com/repos/huggingface/transformers/issues/28890/events
https://github.com/huggingface/transformers/issues/28890
2,120,525,642
I_kwDOCUB6oc5-ZKdK
28,890
Returning history prompt from BarkModel.generate()
{ "login": "sourabharsh", "id": 5606701, "node_id": "MDQ6VXNlcjU2MDY3MDE=", "avatar_url": "https://avatars.githubusercontent.com/u/5606701?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sourabharsh", "html_url": "https://github.com/sourabharsh", "followers_url": "https://api.github.com/us...
[ { "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
[]
[ "FYI @ylacombe ", "Hey @sourabharsh, I'd be happy to help you understand how to do that. Have you checked the difference between the input `history_prompt` that you get with the processor and the output `history_prompt` that you get with your code ? " ]
1,707
1,708
null
NONE
null
### Feature request Hi, I have noticed that the original implementation of Bark (https://github.com/suno-ai/bark) has added a feature where one can get the history_prompt for the audio being currently generated using the parameter output_full. history_prompt, out_arr = generate_audio(text_prompt, output_full=True...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28890/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28890/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28889
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28889/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28889/comments
https://api.github.com/repos/huggingface/transformers/issues/28889/events
https://github.com/huggingface/transformers/issues/28889
2,120,428,607
I_kwDOCUB6oc5-Yyw_
28,889
Extremely degenerated performance of StarCoder (GPTBigCodeForCausalLM) when using flash attention 2
{ "login": "yzhang1918", "id": 12315942, "node_id": "MDQ6VXNlcjEyMzE1OTQy", "avatar_url": "https://avatars.githubusercontent.com/u/12315942?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yzhang1918", "html_url": "https://github.com/yzhang1918", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "cc @younesbelkada and unsubscribing myself", "Hello, the above PR should resolve this issue.", "Wow! Thanks for your quick response and fix!" ]
1,707
1,707
1,707
NONE
null
### System Info - `transformers` version: 4.37.2 - Platform: Linux-5.15.0-26-generic-x86_64-with-glibc2.31 - Python version: 3.10.12 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.2 - PyTorch version (GPU?): 2.2.0+cu121 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28889/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28889/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28888
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28888/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28888/comments
https://api.github.com/repos/huggingface/transformers/issues/28888/events
https://github.com/huggingface/transformers/pull/28888
2,120,336,585
PR_kwDOCUB6oc5mHpXa
28,888
Fix `FastSpeech2ConformerModelTest` and skip it on CPU
{ "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
[]
[ "use device directly in `torch.ones`. Let me know if you insist to use torch full", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28888). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ...
1,707
1,707
1,707
COLLABORATOR
null
# What does this PR do? - There is device issue on GPU. - There is low level (C++) issue with torch 2.2 (we have to report to torch team) - Skip this `FastSpeech2ConformerModelTest` on CPU. - (It is still tested on GPU, and it pass)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28888/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28888/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28888", "html_url": "https://github.com/huggingface/transformers/pull/28888", "diff_url": "https://github.com/huggingface/transformers/pull/28888.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28888.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28887
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28887/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28887/comments
https://api.github.com/repos/huggingface/transformers/issues/28887/events
https://github.com/huggingface/transformers/pull/28887
2,120,295,264
PR_kwDOCUB6oc5mHgac
28,887
Support batched input for decoder start ids
{ "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
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28887). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@amyeroberts or @ArthurZucker Hi, PR is ready to review", "@amyeroberts it shoul...
1,707
1,707
1,707
MEMBER
null
# What does this PR do? This PR addresses [issue #28763 ](https://github.com/huggingface/transformers/issues/28763). The requested feature already work out of the box, I just made it explicit and added one line in the docs. The changes were tested with `pytest -k generate_input tests/generation/test_utils.py` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28887/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28887/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28887", "html_url": "https://github.com/huggingface/transformers/pull/28887", "diff_url": "https://github.com/huggingface/transformers/pull/28887.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28887.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28886
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28886/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28886/comments
https://api.github.com/repos/huggingface/transformers/issues/28886/events
https://github.com/huggingface/transformers/issues/28886
2,120,236,746
I_kwDOCUB6oc5-YD7K
28,886
token-classification
{ "login": "AdrianRemo14", "id": 159118361, "node_id": "U_kgDOCXv0GQ", "avatar_url": "https://avatars.githubusercontent.com/u/159118361?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AdrianRemo14", "html_url": "https://github.com/AdrianRemo14", "followers_url": "https://api.github.com/use...
[]
open
false
null
[]
[ "Hey 🤗 thanks for opening an issue! We try to keep the github issues for bugs/feature requests! The example scrips should be adapted to each's use case, and I suppose that is what you did. As such I would recommend 2 things:\r\n- ask your question on the [forum](https://discuss.huggingface.co/) \r\n- track the w...
1,707
1,707
null
NONE
null
### System Info everything necessary for the operation of the program ### Who can help? @ArthurZucker @younesbelkada ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28886/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28886/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28885
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28885/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28885/comments
https://api.github.com/repos/huggingface/transformers/issues/28885/events
https://github.com/huggingface/transformers/pull/28885
2,120,070,494
PR_kwDOCUB6oc5mGvoC
28,885
Add npu device for pipeline
{ "login": "statelesshz", "id": 28150734, "node_id": "MDQ6VXNlcjI4MTUwNzM0", "avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/statelesshz", "html_url": "https://github.com/statelesshz", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28885). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
CONTRIBUTOR
null
# 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28885/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28885/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28885", "html_url": "https://github.com/huggingface/transformers/pull/28885", "diff_url": "https://github.com/huggingface/transformers/pull/28885.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28885.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28884
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28884/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28884/comments
https://api.github.com/repos/huggingface/transformers/issues/28884/events
https://github.com/huggingface/transformers/pull/28884
2,119,990,836
PR_kwDOCUB6oc5mGeLq
28,884
fix: Fixed the documentation for `logging_first_step` by removing "evaluate"
{ "login": "Sai-Suraj-27", "id": 87087741, "node_id": "MDQ6VXNlcjg3MDg3NzQx", "avatar_url": "https://avatars.githubusercontent.com/u/87087741?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sai-Suraj-27", "html_url": "https://github.com/Sai-Suraj-27", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hey, @ArthurZucker. Can you look into this?\r\nThank you.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28884). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? Document says that [logging_first_step](https://huggingface.co/docs/transformers/main_classes/trainer#transformers.TrainingArguments.logging_first_step) will evaluate on the first global_step. But it only logs on the first step, not evaluate. Fixes #27902 ## Before submitting - [x] Thi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28884/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28884/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28884", "html_url": "https://github.com/huggingface/transformers/pull/28884", "diff_url": "https://github.com/huggingface/transformers/pull/28884.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28884.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28883
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28883/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28883/comments
https://api.github.com/repos/huggingface/transformers/issues/28883/events
https://github.com/huggingface/transformers/pull/28883
2,119,931,096
PR_kwDOCUB6oc5mGRUK
28,883
fix: torch.int32 instead of torch.torch.int32
{ "login": "vodkaslime", "id": 25757520, "node_id": "MDQ6VXNlcjI1NzU3NTIw", "avatar_url": "https://avatars.githubusercontent.com/u/25757520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vodkaslime", "html_url": "https://github.com/vodkaslime", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "@ArthurZucker it's gonna be great if you could take a look if you have time.", " torch.torch.int32 is a redundant type hint indicating that both the first torch refers to the PyTorch library and the second torch refers to the int32 data type within that library. The actual conversion to int32 happens within tor...
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? Hi transformers newbie here. When reading the model codes, I found there might be a minor place where we could improve: ``` cu_seqlens = F.pad(torch.cumsum(seqlens_in_batch, dim=0, dtype=torch.torch.int32), (1, 0)) ``` where the `dtype` is `torch.torch.int32`. Dunno why but wondering mayb...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28883/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28883/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28883", "html_url": "https://github.com/huggingface/transformers/pull/28883", "diff_url": "https://github.com/huggingface/transformers/pull/28883.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28883.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28882
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28882/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28882/comments
https://api.github.com/repos/huggingface/transformers/issues/28882/events
https://github.com/huggingface/transformers/issues/28882
2,119,914,676
I_kwDOCUB6oc5-W1S0
28,882
`BatchEncoding` won't prepend batch axis to python list, even `prepend_batch_axis` is `True`
{ "login": "scruel", "id": 16933298, "node_id": "MDQ6VXNlcjE2OTMzMjk4", "avatar_url": "https://avatars.githubusercontent.com/u/16933298?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scruel", "html_url": "https://github.com/scruel", "followers_url": "https://api.github.com/users/scruel/fo...
[]
open
false
null
[]
[ "We shall copy https://github.com/huggingface/transformers/blob/ee2a3400f2a7038a23b83a39c5d0e24f7f699561/src/transformers/tokenization_utils_base.py#L742-L745 above https://github.com/huggingface/transformers/blob/ee2a3400f2a7038a23b83a39c5d0e24f7f699561/src/transformers/tokenization_utils_base.py#L693-L694\r\n\r\n...
1,707
1,707
null
CONTRIBUTOR
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-6.5.0-14-generic-x86_64-with-glibc2.35 - Python version: 3.11.6 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.4.1 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu117 (True) - Ten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28882/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28882/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28881
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28881/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28881/comments
https://api.github.com/repos/huggingface/transformers/issues/28881/events
https://github.com/huggingface/transformers/pull/28881
2,119,895,969
PR_kwDOCUB6oc5mGJpe
28,881
[`LlamaTokenizerFast`] Refactor default llama
{ "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...
[]
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28881). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,708
null
COLLABORATOR
null
# What does this PR do? ```python from transformers import LlamaTokenizerFast, AddedToken tokenizer = LlamaTokenizerFast.from_pretrained("huggyllama/llama-7b", legacy=False, from_slow=True) tokenizer.add_tokens([AddedToken("<REPR_END>", rstrip=True, lstrip=True)], special_tokens=False) tokenizer.tokenize("<REPR_EN...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28881/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28881/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28881", "html_url": "https://github.com/huggingface/transformers/pull/28881", "diff_url": "https://github.com/huggingface/transformers/pull/28881.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28881.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28880
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28880/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28880/comments
https://api.github.com/repos/huggingface/transformers/issues/28880/events
https://github.com/huggingface/transformers/issues/28880
2,119,820,399
I_kwDOCUB6oc5-WeRv
28,880
[pipeline][video-classification] a question about the use of decord in VideoClassificationPipeline
{ "login": "Tyx-main", "id": 134379153, "node_id": "U_kgDOCAJ2kQ", "avatar_url": "https://avatars.githubusercontent.com/u/134379153?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Tyx-main", "html_url": "https://github.com/Tyx-main", "followers_url": "https://api.github.com/users/Tyx-main/...
[]
open
false
null
[]
[ "@Narsil @sanchit-gandhi" ]
1,707
1,707
null
NONE
null
### System Info transformers:4.37.2 platform: aarch ### Who can help? @Narsil@sanchit-gandhi ### Information - [x] The official example scripts - [ ] My own modified scripts ### Tasks - [x] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give detai...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28880/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28880/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28879
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28879/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28879/comments
https://api.github.com/repos/huggingface/transformers/issues/28879/events
https://github.com/huggingface/transformers/pull/28879
2,119,811,488
PR_kwDOCUB6oc5mF3Ai
28,879
Bump cryptography from 41.0.2 to 42.0.0 in /examples/research_projects/decision_transformer
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" }, { "id": 6410...
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28879). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
CONTRIBUTOR
null
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.2 to 42.0.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst">cryptography's changelog</a>.</em></p> <blockquote> <p>42.0.0 - 2024-01-22</p> <pre><code> * **BACKWARDS INC...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28879/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28879/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28879", "html_url": "https://github.com/huggingface/transformers/pull/28879", "diff_url": "https://github.com/huggingface/transformers/pull/28879.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28879.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28878
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28878/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28878/comments
https://api.github.com/repos/huggingface/transformers/issues/28878/events
https://github.com/huggingface/transformers/pull/28878
2,119,420,581
PR_kwDOCUB6oc5mEhN0
28,878
[Docs] Update project names and links in awesome-transformers
{ "login": "khipp", "id": 9824526, "node_id": "MDQ6VXNlcjk4MjQ1MjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9824526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/khipp", "html_url": "https://github.com/khipp", "followers_url": "https://api.github.com/users/khipp/follower...
[]
closed
false
null
[]
[]
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? This PR updates the linked projects in awesome-transformers: * "Lama Cleaner" has been renamed to "IOPaint" ([Commit](https://github.com/Sanster/IOPaint/commit/a73e2a531f54c693763c61f611f453add42e5c8d)) * "LLaMA Efficient Tuning" has been renamed to "LLaMA Factory" ([Commit](https://githu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28878/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28878/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28878", "html_url": "https://github.com/huggingface/transformers/pull/28878", "diff_url": "https://github.com/huggingface/transformers/pull/28878.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28878.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28877
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28877/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28877/comments
https://api.github.com/repos/huggingface/transformers/issues/28877/events
https://github.com/huggingface/transformers/issues/28877
2,119,418,547
I_kwDOCUB6oc5-U8Kz
28,877
Llama2 and CodeLlama Better Transformer Error
{ "login": "HamidShojanazeri", "id": 9162336, "node_id": "MDQ6VXNlcjkxNjIzMzY=", "avatar_url": "https://avatars.githubusercontent.com/u/9162336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HamidShojanazeri", "html_url": "https://github.com/HamidShojanazeri", "followers_url": "https://ap...
[]
open
false
null
[]
[ "Hey! Thanks for reporting. As the error mentions, people should use the native implementation in `transformers` that supports `attn_implementation=\"sdpa\"` or `attn_implementation=\"flash_attention\"` to enable these feature. BetterTransformers API is deprecated. \r\nfyi @fxmarty as well ", "thanks @ArthurZucke...
1,707
1,707
null
CONTRIBUTOR
null
### System Info - `transformers` version: 4.38.0.dev0 - Platform: Linux-5.15.0-1048-aws-x86_64-with-glibc2.31 - Python version: 3.10.13 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.2 - Accelerate version: 0.26.1 - Accelerate config: - compute_environment: LOCAL_MACHINE - distributed...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28877/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28877/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28876
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28876/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28876/comments
https://api.github.com/repos/huggingface/transformers/issues/28876/events
https://github.com/huggingface/transformers/pull/28876
2,119,326,232
PR_kwDOCUB6oc5mEMWr
28,876
Alternative way of creating decoder_attention_mask to avoid torch warning about new_tensor()
{ "login": "kmartiny", "id": 45049440, "node_id": "MDQ6VXNlcjQ1MDQ5NDQw", "avatar_url": "https://avatars.githubusercontent.com/u/45049440?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kmartiny", "html_url": "https://github.com/kmartiny", "followers_url": "https://api.github.com/users/kma...
[]
open
false
null
[]
[]
1,707
1,707
null
NONE
null
# What does this PR do? Replace the method of creating `decoder_attention_mask` in `modeling_encoder_decoder.py` to avoid a pytorch warning. Masks were created as ```python decoder_attention_mask = torch.tensor(decoder_input_ids != self.config.pad_token_id) ``` but this results in a torch warning: > transfor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28876/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28876/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28876", "html_url": "https://github.com/huggingface/transformers/pull/28876", "diff_url": "https://github.com/huggingface/transformers/pull/28876.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28876.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28875
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28875/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28875/comments
https://api.github.com/repos/huggingface/transformers/issues/28875/events
https://github.com/huggingface/transformers/pull/28875
2,119,253,546
PR_kwDOCUB6oc5mD8X8
28,875
[Docs] Fix backticks in inline code and documentation links
{ "login": "khipp", "id": 9824526, "node_id": "MDQ6VXNlcjk4MjQ1MjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9824526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/khipp", "html_url": "https://github.com/khipp", "followers_url": "https://api.github.com/users/khipp/follower...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28875). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? This PR adds missing backticks to inline code segments and documentation links that were not wrapped properly. ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). ## Who can review? Documentation: @stevhliu
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28875/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28875/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28875", "html_url": "https://github.com/huggingface/transformers/pull/28875", "diff_url": "https://github.com/huggingface/transformers/pull/28875.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28875.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28874
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28874/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28874/comments
https://api.github.com/repos/huggingface/transformers/issues/28874/events
https://github.com/huggingface/transformers/pull/28874
2,119,212,448
PR_kwDOCUB6oc5mDzN8
28,874
Streamlining bnb quantizer interfaces [bnb]
{ "login": "poedator", "id": 24738311, "node_id": "MDQ6VXNlcjI0NzM4MzEx", "avatar_url": "https://avatars.githubusercontent.com/u/24738311?v=4", "gravatar_id": "", "url": "https://api.github.com/users/poedator", "html_url": "https://github.com/poedator", "followers_url": "https://api.github.com/users/poe...
[]
open
false
null
[]
[]
1,707
1,707
null
CONTRIBUTOR
null
This is a follow-up to #26610 . The Bnb classes require few additional calls in the middle of `_load_state_dict_into_meta_model()`. This PR makes the class interface comparable to that of GPTQ and AWQ: - creating buffers to load quantization params in `_process_model_before_weight_loading()` - load weights from st...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28874/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28874/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28874", "html_url": "https://github.com/huggingface/transformers/pull/28874", "diff_url": "https://github.com/huggingface/transformers/pull/28874.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28874.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28873
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28873/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28873/comments
https://api.github.com/repos/huggingface/transformers/issues/28873/events
https://github.com/huggingface/transformers/pull/28873
2,119,113,129
PR_kwDOCUB6oc5mDc52
28,873
Fix LongT5ForConditionalGeneration initialization of lm_head
{ "login": "eranhirs", "id": 3372820, "node_id": "MDQ6VXNlcjMzNzI4MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/3372820?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eranhirs", "html_url": "https://github.com/eranhirs", "followers_url": "https://api.github.com/users/eranh...
[]
closed
false
null
[]
[ "Flax has a different init scheme we should be alright with cross PT FLax tests", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28873). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
CONTRIBUTOR
null
# 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28873/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28873/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28873", "html_url": "https://github.com/huggingface/transformers/pull/28873", "diff_url": "https://github.com/huggingface/transformers/pull/28873.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28873.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28872
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28872/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28872/comments
https://api.github.com/repos/huggingface/transformers/issues/28872/events
https://github.com/huggingface/transformers/issues/28872
2,118,914,315
I_kwDOCUB6oc5-TBEL
28,872
Out of Memory at Seemingly Inconsistent Steps Using Trainer and Deepspeed with Llama2 7b
{ "login": "ianmcampbell", "id": 12883769, "node_id": "MDQ6VXNlcjEyODgzNzY5", "avatar_url": "https://avatars.githubusercontent.com/u/12883769?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ianmcampbell", "html_url": "https://github.com/ianmcampbell", "followers_url": "https://api.github.c...
[]
open
false
null
[]
[]
1,707
1,707
null
NONE
null
### System Info - `transformers` version: 4.37.2 - Platform: Linux-5.14.0-162.6.1.el9_1.x86_64-x86_64-with-glibc2.34 - Python version: 3.11.7 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.2 - Accelerate version: 0.26.1 - Deepspeed version: 0.13.1 - Flash-attention version: 2.5.2 - Datasets ve...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28872/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28872/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28871
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28871/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28871/comments
https://api.github.com/repos/huggingface/transformers/issues/28871/events
https://github.com/huggingface/transformers/issues/28871
2,118,905,622
I_kwDOCUB6oc5-S-8W
28,871
Unable to load models from HF Hub repos without main
{ "login": "versipellis", "id": 6579034, "node_id": "MDQ6VXNlcjY1NzkwMzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/6579034?v=4", "gravatar_id": "", "url": "https://api.github.com/users/versipellis", "html_url": "https://github.com/versipellis", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Hi @versipellis \r\nYou are trying to load adapter weights from a different branch than main, for that you need to pass the `revision` argument through `adapter_kwargs` as follows:\r\n```python\r\nfrom transformers import AutoModelForCausalLM\r\n\r\nmodel = AutoModelForCausalLM.from_pretrained(model_id, adapter_kw...
1,707
1,707
1,707
NONE
null
### System Info transformers 4.37.2 on Python 3.11.6. ### Who can help? @ArthurZucker @younesbelkada ### 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28871/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28871/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28870
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28870/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28870/comments
https://api.github.com/repos/huggingface/transformers/issues/28870/events
https://github.com/huggingface/transformers/pull/28870
2,118,764,511
PR_kwDOCUB6oc5mCP3-
28,870
Add `push_to_hub( )` to pipeline
{ "login": "not-lain", "id": 70411813, "node_id": "MDQ6VXNlcjcwNDExODEz", "avatar_url": "https://avatars.githubusercontent.com/u/70411813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/not-lain", "html_url": "https://github.com/not-lain", "followers_url": "https://api.github.com/users/not...
[]
open
false
null
[]
[ "the docstring will need more cleaning, I'll leave it to another pull request since it does not affect the workflow\r\n\r\n![image](https://github.com/huggingface/transformers/assets/70411813/caccfd26-2c53-4d40-baee-d7ccf347ade4)\r\n", "cc @ArthurZucker can I ask for a review on this one ?", "@ArthurZucker what...
1,707
1,707
null
CONTRIBUTOR
null
# What does this PR do? this will add a push_to_hub( ) method when working with pipelines. this is a fix for #28857 allowing for easier way to push custom pipelines to huggingface Fixes #28857 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28870/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 1, "hooray": 0, "confused": 0, "heart": 1, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28870/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28870", "html_url": "https://github.com/huggingface/transformers/pull/28870", "diff_url": "https://github.com/huggingface/transformers/pull/28870.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28870.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28869
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28869/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28869/comments
https://api.github.com/repos/huggingface/transformers/issues/28869/events
https://github.com/huggingface/transformers/pull/28869
2,118,671,471
PR_kwDOCUB6oc5mB7kf
28,869
feat&fix(tokenization): add new consistent API for encoding and decoding related methods.
{ "login": "scruel", "id": 16933298, "node_id": "MDQ6VXNlcjE2OTMzMjk4", "avatar_url": "https://avatars.githubusercontent.com/u/16933298?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scruel", "html_url": "https://github.com/scruel", "followers_url": "https://api.github.com/users/scruel/fo...
[]
open
false
null
[]
[]
1,707
1,707
null
CONTRIBUTOR
null
Add new methods `consistent_encode`/`consistenct_decode` and `consistent_encode_batch`/`consistent_decode_batch` to make the public API consistent. Notice#1: To prevent to create a PR bomb, I decide to create this PR as a "new feature", consider that we have many code and tests which are using tokenization related m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28869/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28869/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28869", "html_url": "https://github.com/huggingface/transformers/pull/28869", "diff_url": "https://github.com/huggingface/transformers/pull/28869.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28869.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28868
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28868/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28868/comments
https://api.github.com/repos/huggingface/transformers/issues/28868/events
https://github.com/huggingface/transformers/issues/28868
2,118,553,011
I_kwDOCUB6oc5-Ro2z
28,868
DINOv2 not support bf16
{ "login": "Richar-Du", "id": 55051961, "node_id": "MDQ6VXNlcjU1MDUxOTYx", "avatar_url": "https://avatars.githubusercontent.com/u/55051961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Richar-Du", "html_url": "https://github.com/Richar-Du", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi @Richar-Du, thanks for raising this issue! \r\n\r\nThe issue is arising because torch's implementation of `upsample_bicubic2d` doesn't support bf16. If you'd like to have this supported, I'd suggest opening a feature request on the pytorch repo. ", "Thanks for your reply, I'll try to open a feature request on...
1,707
1,707
1,707
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-4.18.0-147.mt20200626.413.el8_1.x86_64-x86_64-with-glibc2.17 - Python version: 3.8.18 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.3.1 - Accelerate version: 0.21.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28868/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28868/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28867
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28867/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28867/comments
https://api.github.com/repos/huggingface/transformers/issues/28867/events
https://github.com/huggingface/transformers/issues/28867
2,118,548,992
I_kwDOCUB6oc5-Rn4A
28,867
Training arguments are not applied when resuming from a checkpoint
{ "login": "jonflynng", "id": 91546670, "node_id": "U_kgDOBXTkLg", "avatar_url": "https://avatars.githubusercontent.com/u/91546670?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jonflynng", "html_url": "https://github.com/jonflynng", "followers_url": "https://api.github.com/users/jonflynn...
[ { "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
[]
[ "https://github.com/huggingface/transformers/issues/7198\r\n\r\n\"That feature is not supported, you should resume training with the exact same hyperparameters or start a new training if you want to change them.\"\r\n\r\nI understand certain hyperparameters that shouldn't be changed (or would be difficult to change...
1,707
1,708
null
NONE
null
### System Info I noticed when resuming the training of a model from a checkpoint changing properties like `save_steps` and `per_device_train_batch_size` has no effect. I'm wondering if there's something syntactically wrong here or technically the config of the model checkpoint overrides everything? I've seen a thread...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28867/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28867/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28866
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28866/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28866/comments
https://api.github.com/repos/huggingface/transformers/issues/28866/events
https://github.com/huggingface/transformers/pull/28866
2,118,530,922
PR_kwDOCUB6oc5mBcKp
28,866
Raise error when using `save_only_model` with `load_best_model_at_end` for DeepSpeed/FSDP
{ "login": "pacman100", "id": 13534540, "node_id": "MDQ6VXNlcjEzNTM0NTQw", "avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pacman100", "html_url": "https://github.com/pacman100", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28866). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Thank you! Addressed the comment in the latest commit." ]
1,707
1,707
1,707
CONTRIBUTOR
null
### What does this PR do? 1. `save_only_model` can't be used with DeepSpeed/FSDP along with `load_best_model_at_end`. This is because the models are wrapped in DeepSpeed Engine or FSDP units and require the ckpts in their respective formats which isn't the case when saving only the model as it is in transformers forma...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28866/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28866/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28866", "html_url": "https://github.com/huggingface/transformers/pull/28866", "diff_url": "https://github.com/huggingface/transformers/pull/28866.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28866.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28865
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28865/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28865/comments
https://api.github.com/repos/huggingface/transformers/issues/28865/events
https://github.com/huggingface/transformers/issues/28865
2,118,469,512
I_kwDOCUB6oc5-RUeI
28,865
Detr models crashes when changing the num_queries parameter in the config
{ "login": "erickrf", "id": 294483, "node_id": "MDQ6VXNlcjI5NDQ4Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/294483?v=4", "gravatar_id": "", "url": "https://api.github.com/users/erickrf", "html_url": "https://github.com/erickrf", "followers_url": "https://api.github.com/users/erickrf/fo...
[]
open
false
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[ { "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "htt...
[ "Hi @erickrf, thanks for raising this issue! \r\n\r\nCould you provide some more information about the crashing behaviour? Specifically, are you seeing any error messages, or is the processor just killed? \r\n\r\nCould you provide a minimal code snippet we can run to reproduce the error e.g. with a sample of data b...
1,707
1,707
null
CONTRIBUTOR
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-5.15.133+-x86_64-with-glibc2.35 - Python version: 3.10.10 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.4.1 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu121 (True) - Tensorflow ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28865/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28865/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28864
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28864/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28864/comments
https://api.github.com/repos/huggingface/transformers/issues/28864/events
https://github.com/huggingface/transformers/pull/28864
2,118,386,939
PR_kwDOCUB6oc5mA8FH
28,864
[Docs] Update README and default pipelines
{ "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
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28864). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? This PR makes sure the main README is a bit more up-to-date, and updates the default recommendations for depth estimation and zero-shot image classification/object detection. Fixes #28762
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28864/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28864/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28864", "html_url": "https://github.com/huggingface/transformers/pull/28864", "diff_url": "https://github.com/huggingface/transformers/pull/28864.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28864.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28863
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28863/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28863/comments
https://api.github.com/repos/huggingface/transformers/issues/28863/events
https://github.com/huggingface/transformers/issues/28863
2,118,315,033
I_kwDOCUB6oc5-QuwZ
28,863
Saving Transformers model as binary instead of `safetensors` format?
{ "login": "StatsGary", "id": 44023992, "node_id": "MDQ6VXNlcjQ0MDIzOTky", "avatar_url": "https://avatars.githubusercontent.com/u/44023992?v=4", "gravatar_id": "", "url": "https://api.github.com/users/StatsGary", "html_url": "https://github.com/StatsGary", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "➡️💡 SOLUTION ➡️💡 \r\n\r\nI dig some digging of the parameters of the `save_pretrained` and `trainer` methods and you can actually 🔧 turn off the storing of the safetensors format models, by using the following example: \r\n```python\r\nmodel.save_pretrained(<PATH_TO_SAVE_MODEL>, safe_serialization=False) #Repla...
1,707
1,707
1,707
NONE
null
I am trying to Torchserve (https://pytorch.org/serve/) a Transformers model to be deployed as a prediction API on GCP as a custom prediction service. However, torchserve requires that the model be in either `.bin` format or `.pt` format. Is there a way to deactivate safetensors and return the .bin PyTorch file? ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28863/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28863/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28862
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28862/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28862/comments
https://api.github.com/repos/huggingface/transformers/issues/28862/events
https://github.com/huggingface/transformers/pull/28862
2,118,043,699
PR_kwDOCUB6oc5l_whf
28,862
Do not use mtime for checkpoint rotation.
{ "login": "xkszltl", "id": 5203025, "node_id": "MDQ6VXNlcjUyMDMwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/5203025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xkszltl", "html_url": "https://github.com/xkszltl", "followers_url": "https://api.github.com/users/xkszltl/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28862). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,707
1,707
1,707
CONTRIBUTOR
null
mtime is not reliable across all filesystems. Some fs do not have mtime support, may fake mtime, or use mount time as mtime. Resolve https://github.com/huggingface/transformers/issues/26961
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28862/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28862/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28862", "html_url": "https://github.com/huggingface/transformers/pull/28862", "diff_url": "https://github.com/huggingface/transformers/pull/28862.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28862.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28861
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28861/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28861/comments
https://api.github.com/repos/huggingface/transformers/issues/28861/events
https://github.com/huggingface/transformers/issues/28861
2,117,916,157
I_kwDOCUB6oc5-PNX9
28,861
Support FlashAttention2 on torch2.2
{ "login": "luohao123", "id": 49749220, "node_id": "MDQ6VXNlcjQ5NzQ5MjIw", "avatar_url": "https://avatars.githubusercontent.com/u/49749220?v=4", "gravatar_id": "", "url": "https://api.github.com/users/luohao123", "html_url": "https://github.com/luohao123", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[ "You should already be able to use this with `attn_implementation=\"sdpa\"`", "@ArthurZucker waoo, so high efficiency, is 3.37 support now? BTW, what will it fallback when enable it but on V100?", "I don't know the exact details but it should still used fused operations ! \r\ntransformers 4.35 already supported...
1,707
1,707
null
NONE
null
Flasshattn2 didn't support V100, and it just throws error on V100 gpus. Since torch2.2 has built in flashatten2 support ,consider suppor t it?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28861/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28861/timeline
null
null
null