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/28155
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28155/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28155/comments
https://api.github.com/repos/huggingface/transformers/issues/28155/events
https://github.com/huggingface/transformers/issues/28155
2,049,695,852
I_kwDOCUB6oc56K-Bs
28,155
What is the minimum video card with large memory required to run the mixtral-8x7b model
{ "login": "zysNLP", "id": 45376689, "node_id": "MDQ6VXNlcjQ1Mzc2Njg5", "avatar_url": "https://avatars.githubusercontent.com/u/45376689?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zysNLP", "html_url": "https://github.com/zysNLP", "followers_url": "https://api.github.com/users/zysNLP/fo...
[]
closed
false
null
[]
[ "Hi @zysNLP, 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.", "This issue has been automatically marked as stale because it has not had recent activity. If you think thi...
1,703
1,706
1,706
NONE
null
I mean the model that just came out:mistralai/Mixtral-8x7B-Instruct-v0.1,looks like a lot of parameter files,what is the minimum nvidia graphics card video memory required?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28155/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28155/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28154
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28154/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28154/comments
https://api.github.com/repos/huggingface/transformers/issues/28154/events
https://github.com/huggingface/transformers/issues/28154
2,049,630,196
I_kwDOCUB6oc56Kt_0
28,154
ffmpeg_microphone does not use current input device on Mac/Darwin
{ "login": "ruisilvestre", "id": 1216164, "node_id": "MDQ6VXNlcjEyMTYxNjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1216164?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ruisilvestre", "html_url": "https://github.com/ruisilvestre", "followers_url": "https://api.github.com...
[]
open
false
null
[]
[ "cc @sanchit-gandhi @ylacombe ", "Hey @ruisilvestre, sorry for the long delay, I unfortunately don't have a Mac to try this on.\r\nCould you open a PR and we'll discuss this with @sanchit-gandhi ?\r\n\r\nAlso cc @Narsil as you might have better experience with ffmpeg !" ]
1,703
1,708
null
NONE
null
While going through the HF tutorials for STT [here](https://huggingface.co/learn/audio-course/chapter7/voice-assistant), I found some unexpected behaviour with the ffmpeg_microphone_live function on my Mac. I also just found someone that might be having the same issue [here](https://github.com/huggingface/transformers/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28154/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28154/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28153
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28153/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28153/comments
https://api.github.com/repos/huggingface/transformers/issues/28153/events
https://github.com/huggingface/transformers/issues/28153
2,049,517,555
I_kwDOCUB6oc56KSfz
28,153
Annotations not being transformed after padding on Deformable DETR preprocessing
{ "login": "Tengoles", "id": 26772529, "node_id": "MDQ6VXNlcjI2NzcyNTI5", "avatar_url": "https://avatars.githubusercontent.com/u/26772529?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Tengoles", "html_url": "https://github.com/Tengoles", "followers_url": "https://api.github.com/users/Ten...
[]
closed
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...
[ "/assign", "Hi @Tengoles, thanks for raising this issue! \r\n\r\nIndeed, there's an issue with the transformations that are happening in deformable detr and other detr models if `do_pad=True` as the box coordinates aren't rescaled to account for the new image height / width cc @NielsRogge. \r\n\r\nI'll open a PR ...
1,703
1,707
1,707
NONE
null
### System Info @amyeroberts Maybe I'm missing something but it seems like the annotations are not being transformed accordingly after applying pad to a batch of images: https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/models/deformable_detr/image_processing_deformable_detr.py#L1330 Is...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28153/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28153/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28152
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28152/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28152/comments
https://api.github.com/repos/huggingface/transformers/issues/28152/events
https://github.com/huggingface/transformers/pull/28152
2,049,484,831
PR_kwDOCUB6oc5iahED
28,152
remove cpu dockerfiles to fix #28148
{ "login": "evelynmitchell", "id": 1007591, "node_id": "MDQ6VXNlcjEwMDc1OTE=", "avatar_url": "https://avatars.githubusercontent.com/u/1007591?v=4", "gravatar_id": "", "url": "https://api.github.com/users/evelynmitchell", "html_url": "https://github.com/evelynmitchell", "followers_url": "https://api.gith...
[]
closed
false
null
[]
[ "Thank you @evelynmitchell for this PR.\r\n\r\nHowever, the issue author @ashahba had opened a PR #28148 earlier .", "Thanks!" ]
1,703
1,703
1,703
NONE
null
# What does this PR do? Removes unneeded cpu Dockerfiles. Fixes ##28148 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIB...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28152/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28152/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28152", "html_url": "https://github.com/huggingface/transformers/pull/28152", "diff_url": "https://github.com/huggingface/transformers/pull/28152.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28152.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28151
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28151/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28151/comments
https://api.github.com/repos/huggingface/transformers/issues/28151/events
https://github.com/huggingface/transformers/pull/28151
2,049,467,164
PR_kwDOCUB6oc5iadTq
28,151
4D mask documentation updates
{ "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
[]
[ "Feel free to ping me for a review whenever this is ready 🤗 ", "> Feel free to ping me for a review whenever this is ready 🤗\r\n\r\n@ArthurZucker , I only identified 3 applicable model classes and made changes. Please check my logic in classes selection in my big first message above.", "This issue has been au...
1,703
1,707
null
CONTRIBUTOR
null
following https://github.com/huggingface/transformers/pull/27539 this PR adds updates to transformers documentation to reflect possibility of utilizing 4D masks. Plan: - add updates for Llama model docstring(s) - identify other models that can use 4D masks in present form (which requires ability to accept custom `...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28151/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28151/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28151", "html_url": "https://github.com/huggingface/transformers/pull/28151", "diff_url": "https://github.com/huggingface/transformers/pull/28151.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28151.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28150
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28150/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28150/comments
https://api.github.com/repos/huggingface/transformers/issues/28150/events
https://github.com/huggingface/transformers/issues/28150
2,049,441,164
I_kwDOCUB6oc56J_2M
28,150
Codellama will not stop generating at EOS
{ "login": "bin123apple", "id": 99925255, "node_id": "U_kgDOBfS9Bw", "avatar_url": "https://avatars.githubusercontent.com/u/99925255?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bin123apple", "html_url": "https://github.com/bin123apple", "followers_url": "https://api.github.com/users/bi...
[]
closed
false
null
[]
[ "Hey 🤗 thanks for opening an issue! We try to keep the github issues for bugs/feature requests. As this is more related to the way the model is trained / the dataset it is using, could you ask your question on the [forum](https://discuss.huggingface.co/) instead? I'm sure the community will be of help!\r\n\r\nTha...
1,703
1,703
1,703
NONE
null
### System Info - `transformers` version: 4.36.0.dev0 - Platform: Linux-5.4.0-132-generic-x86_64-with-glibc2.31 - Python version: 3.11.3 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.3.3 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (True) - T...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28150/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28150/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28149
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28149/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28149/comments
https://api.github.com/repos/huggingface/transformers/issues/28149/events
https://github.com/huggingface/transformers/pull/28149
2,049,424,841
PR_kwDOCUB6oc5iaUBm
28,149
Remove deprecated CPU dockerfiles
{ "login": "ashahba", "id": 12436063, "node_id": "MDQ6VXNlcjEyNDM2MDYz", "avatar_url": "https://avatars.githubusercontent.com/u/12436063?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ashahba", "html_url": "https://github.com/ashahba", "followers_url": "https://api.github.com/users/ashahb...
[]
closed
false
null
[]
[]
1,703
1,703
1,703
CONTRIBUTOR
null
This PR fixes #28148 Originally a PR was submitted here: https://github.com/huggingface/transformers/pull/28084 but per @ydshieh 's assessment, those Dockerfiles are no longer being maintained and should be removed.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28149/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28149/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28149", "html_url": "https://github.com/huggingface/transformers/pull/28149", "diff_url": "https://github.com/huggingface/transformers/pull/28149.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28149.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28148
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28148/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28148/comments
https://api.github.com/repos/huggingface/transformers/issues/28148/events
https://github.com/huggingface/transformers/issues/28148
2,049,419,124
I_kwDOCUB6oc56J6d0
28,148
CPU Dockerfile(s) are deprecated and need to be removed.
{ "login": "ashahba", "id": 12436063, "node_id": "MDQ6VXNlcjEyNDM2MDYz", "avatar_url": "https://avatars.githubusercontent.com/u/12436063?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ashahba", "html_url": "https://github.com/ashahba", "followers_url": "https://api.github.com/users/ashahb...
[]
closed
false
null
[]
[]
1,703
1,703
1,703
CONTRIBUTOR
null
Please remove deprecated CPU Dockerfile(s) since they cause customer confusion. _Originally posted by @ydshieh in https://github.com/huggingface/transformers/issues/28084#issuecomment-1862419041_
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28148/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28148/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28147
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28147/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28147/comments
https://api.github.com/repos/huggingface/transformers/issues/28147/events
https://github.com/huggingface/transformers/issues/28147
2,049,309,452
I_kwDOCUB6oc56JfsM
28,147
logit too slow compared to generate
{ "login": "enochlev", "id": 47466848, "node_id": "MDQ6VXNlcjQ3NDY2ODQ4", "avatar_url": "https://avatars.githubusercontent.com/u/47466848?v=4", "gravatar_id": "", "url": "https://api.github.com/users/enochlev", "html_url": "https://github.com/enochlev", "followers_url": "https://api.github.com/users/eno...
[]
closed
false
null
[]
[ "cc @gante ", "You seem to be generating 10 times 10 tokens with the for generate loop. The forward loop probably computes gradients as you did not wrap it up, and finally, you are doing multinomial sampling which is slower than greedy argmax used by default if you generate and the genration_config does not have ...
1,703
1,705
1,705
NONE
null
### System Info I am trying to construct a library for constrained generation. The goal hopfully is to skip generating text if there is only one possible next token. The problem I am having is the logits function is way too slow to allow constrained generation to be of any use. Is there a way to speed up logits? ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28147/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28147/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28146
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28146/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28146/comments
https://api.github.com/repos/huggingface/transformers/issues/28146/events
https://github.com/huggingface/transformers/pull/28146
2,049,257,155
PR_kwDOCUB6oc5iZvBJ
28,146
Even more TF test fixes
{ "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_28146). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "This should be ready to go now, and finally fixes the remaining CI issues after th...
1,703
1,703
1,703
MEMBER
null
This PR hopefully fixes the last remaining issues from the `build()` PR and gets the CI back to normal!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28146/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/28146/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28146", "html_url": "https://github.com/huggingface/transformers/pull/28146", "diff_url": "https://github.com/huggingface/transformers/pull/28146.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28146.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28145
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28145/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28145/comments
https://api.github.com/repos/huggingface/transformers/issues/28145/events
https://github.com/huggingface/transformers/pull/28145
2,049,240,601
PR_kwDOCUB6oc5iZrVp
28,145
[docs] Trainer docs
{ "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...
[]
closed
false
null
[]
[ "Test is passing! \r\n\r\nI rebased to incorporate the changes from #28135, but that didn't work for some reason, so I manually edited `tests/utils/test_doc_samples.py` to reflect the latest changes. Is this still ok since the change already exists on `main`?", "@stevhliu Yep - it should be fine! " ]
1,703
1,703
1,703
MEMBER
null
Part 2 of #27986 to finish cleaning up the `Trainer` API docs. This includes: - moving the CUDA extension installation problems to the performance and scalability debugging [doc](https://huggingface.co/docs/transformers/main/en/debugging) where it is more appropriate - GPU selection has its own section in the multi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28145/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28145/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28145", "html_url": "https://github.com/huggingface/transformers/pull/28145", "diff_url": "https://github.com/huggingface/transformers/pull/28145.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28145.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28144
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28144/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28144/comments
https://api.github.com/repos/huggingface/transformers/issues/28144/events
https://github.com/huggingface/transformers/pull/28144
2,049,149,365
PR_kwDOCUB6oc5iZXQ_
28,144
Fix ONNX export for causal LM sequence classifiers by removing reverse indexing
{ "login": "dwyatte", "id": 2512762, "node_id": "MDQ6VXNlcjI1MTI3NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2512762?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dwyatte", "html_url": "https://github.com/dwyatte", "followers_url": "https://api.github.com/users/dwyatte/...
[]
closed
false
null
[]
[ "Thanks @ArthurZucker @amyeroberts. I've unified the Bloom/Falcon/MPT implementations, but doing so triggered what looks to be an unrelated CI failure. Can someone take a look and fix/disable that test if it is indeed unrelated?\r\n\r\n```\r\nFAILED tests/models/seamless_m4t/test_modeling_seamless_m4t.py::SeamlessM...
1,703
1,707
1,703
CONTRIBUTOR
null
# What does this PR do? Follow-up to https://github.com/huggingface/transformers/pull/27450 and another step to fixing https://github.com/huggingface/optimum/issues/1527. ONNX implements indexing using a combination of its own operators and when using reverse indexing (e.g., -1 to indicate 1 element from the right s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28144/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28144/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28144", "html_url": "https://github.com/huggingface/transformers/pull/28144", "diff_url": "https://github.com/huggingface/transformers/pull/28144.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28144.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28143
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28143/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28143/comments
https://api.github.com/repos/huggingface/transformers/issues/28143/events
https://github.com/huggingface/transformers/pull/28143
2,049,060,725
PR_kwDOCUB6oc5iZDjp
28,143
[docs] Fix mistral link in mixtral.md
{ "login": "aaronjimv", "id": 67152883, "node_id": "MDQ6VXNlcjY3MTUyODgz", "avatar_url": "https://avatars.githubusercontent.com/u/67152883?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aaronjimv", "html_url": "https://github.com/aaronjimv", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Happy to help 🤗" ]
1,703
1,703
1,703
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/28143/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28143/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28143", "html_url": "https://github.com/huggingface/transformers/pull/28143", "diff_url": "https://github.com/huggingface/transformers/pull/28143.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28143.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28142
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28142/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28142/comments
https://api.github.com/repos/huggingface/transformers/issues/28142/events
https://github.com/huggingface/transformers/pull/28142
2,049,058,176
PR_kwDOCUB6oc5iZC_e
28,142
Fix FA2 integration
{ "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
[]
[ "> this could be added to the Llama.md as a tip ? (nit)\r\n\r\nDone.", "So FSDP is saved?", "I think so, from the experiment @pacman100 shared with me you could load a transformers model with FA-2 and train it with autocast (`fp16=True`) and the model was converging nicely", "Hello @teknium1, to re-confirm, I...
1,703
1,703
1,703
CONTRIBUTOR
null
# What does this PR do? 1. Fix FA2 integration. Issues with the current FA2 integration. 1. It makes providing `torch_dtype` to the `from_pretrained` class method mandatory. This leads to the whole model being loaded in half-precision which leads to unstable training because it would result in pure half precision ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28142/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28142/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28142", "html_url": "https://github.com/huggingface/transformers/pull/28142", "diff_url": "https://github.com/huggingface/transformers/pull/28142.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28142.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28141
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28141/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28141/comments
https://api.github.com/repos/huggingface/transformers/issues/28141/events
https://github.com/huggingface/transformers/pull/28141
2,049,005,796
PR_kwDOCUB6oc5iY3WB
28,141
Update VITS modeling to enable ONNX export
{ "login": "echarlaix", "id": 80481427, "node_id": "MDQ6VXNlcjgwNDgxNDI3", "avatar_url": "https://avatars.githubusercontent.com/u/80481427?v=4", "gravatar_id": "", "url": "https://api.github.com/users/echarlaix", "html_url": "https://github.com/echarlaix", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "> For futur reference best practice is this only when it power of 2 ? does pow(x,2) work better (but is slower I think)\r\n\r\nIn all cases it'll be [casted to fp32](https://github.com/pytorch/pytorch/blob/v2.1.2/torch/onnx/symbolic_opset9.py#L3386) (no matter the exponent), using a [multiplication](https://github...
1,703
1,704
1,704
COLLABORATOR
null
This PR enables the ONNX export of VITS models in Optimum (https://github.com/huggingface/optimum/pull/1607), currently the export is failing due to [a cast operator added before the pow operator](https://github.com/pytorch/pytorch/blob/v2.1.2/torch/onnx/symbolic_opset9.py#L3382) in the model graph, resulting in an iss...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28141/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28141/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28141", "html_url": "https://github.com/huggingface/transformers/pull/28141", "diff_url": "https://github.com/huggingface/transformers/pull/28141.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28141.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28140
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28140/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28140/comments
https://api.github.com/repos/huggingface/transformers/issues/28140/events
https://github.com/huggingface/transformers/issues/28140
2,048,820,728
I_kwDOCUB6oc56HoX4
28,140
GPU or MPS error when running run_clm.py
{ "login": "oscar-defelice", "id": 49638680, "node_id": "MDQ6VXNlcjQ5NjM4Njgw", "avatar_url": "https://avatars.githubusercontent.com/u/49638680?v=4", "gravatar_id": "", "url": "https://api.github.com/users/oscar-defelice", "html_url": "https://github.com/oscar-defelice", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hi @oscar-defelice, thanks for raising an issue! \r\n\r\nWhen you say that you've tried varying the batch size, what values have you tested with. Are you able to run with a batch size of 1 e.g.:\r\n\r\n```\r\npython run_clm.py \\\r\n--model_name_or_path nferruz/ProtGPT2 \\\r\n--train_file data/fine_tune_data.txt \...
1,702
1,706
1,706
CONTRIBUTOR
null
### System Info ## System Info ```bash - `transformers` version: 4.37.0.dev0 - Platform: macOS-14.2-arm64-arm-64bit - Python version: 3.11.7 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0 (False) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28140/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28140/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28139
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28139/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28139/comments
https://api.github.com/repos/huggingface/transformers/issues/28139/events
https://github.com/huggingface/transformers/issues/28139
2,048,708,752
I_kwDOCUB6oc56HNCQ
28,139
`from_pretrained` is extremely slow when deepspeed zero3 is enabled
{ "login": "Jingru", "id": 4298653, "node_id": "MDQ6VXNlcjQyOTg2NTM=", "avatar_url": "https://avatars.githubusercontent.com/u/4298653?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Jingru", "html_url": "https://github.com/Jingru", "followers_url": "https://api.github.com/users/Jingru/foll...
[]
closed
false
null
[]
[ "cc @pacman100 ", "I did some research, and found that all the ranks except rank0 tried to load model weight tensors to `meta device`. It looks like this behavior is extremely slow. \r\nhttps://github.com/huggingface/transformers/blob/bffac926ca6bc6c965a92bfbfd00c567a2c0fb90/src/transformers/modeling_utils.py#L4...
1,702
1,707
1,707
NONE
null
### System Info pytorch: 2.0.1+cu118 transformers: 4.33.3 deepspeed: 0.12.5 ### Who can help? @ArthurZucker @younesbelkada @pac ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X]...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28139/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28139/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28138
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28138/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28138/comments
https://api.github.com/repos/huggingface/transformers/issues/28138/events
https://github.com/huggingface/transformers/pull/28138
2,048,585,744
PR_kwDOCUB6oc5iXa1F
28,138
HF_ENDPOINT value affected in hub.py cached_file
{ "login": "fenglui", "id": 141198, "node_id": "MDQ6VXNlcjE0MTE5OA==", "avatar_url": "https://avatars.githubusercontent.com/u/141198?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fenglui", "html_url": "https://github.com/fenglui", "followers_url": "https://api.github.com/users/fenglui/fo...
[]
closed
false
null
[]
[ "@fenglui What is this PR supposed to fix? Can you show a snippet of code that doesn't work as expected? I'm asking before `hf_hub_download` is already supposed to read the `HF_ENDPOINT` environment variable (see [here](https://github.com/huggingface/huggingface_hub/blob/84d1b31901088e8261131f68323c0bee6b2e2f58/src...
1,702
1,703
1,703
NONE
null
# What does this PR do? use os.environ.get("HF_ENDPOINT", HUGGINGFACE_CO_RESOLVE_ENDPOINT) value as endpoint param, so HF_ENDPOINT value will affected when download files using cached_file method Fixes # (issue) ## Before submitting - [ ] os.environ["HF_ENDPOINT"]="https://hf-mirror.com" may not affected ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28138/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28138/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28138", "html_url": "https://github.com/huggingface/transformers/pull/28138", "diff_url": "https://github.com/huggingface/transformers/pull/28138.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28138.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28137
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28137/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28137/comments
https://api.github.com/repos/huggingface/transformers/issues/28137/events
https://github.com/huggingface/transformers/issues/28137
2,048,495,611
I_kwDOCUB6oc56GY_7
28,137
Fail to upload models to hub
{ "login": "minghao-wu", "id": 17817832, "node_id": "MDQ6VXNlcjE3ODE3ODMy", "avatar_url": "https://avatars.githubusercontent.com/u/17817832?v=4", "gravatar_id": "", "url": "https://api.github.com/users/minghao-wu", "html_url": "https://github.com/minghao-wu", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @minghao-wu, thanks for raising this issue! \r\n\r\nIs this issue transient or have you seen in multiple times? \r\n\r\ncc @Wauplin the hub master 👑 ", "Hi @amyeroberts, thanks for your reply.\r\n\r\nit's transient. The provided snippet was working smoothly until a few days ago. This is my first time to see ...
1,702
1,703
1,703
NONE
null
### System Info - `transformers` version: 4.34.1 - Platform: Linux-4.18.0-513.9.1.el8_9.x86_64-x86_64-with-glibc2.28 - Python version: 3.11.5 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.4.0 - Accelerate version: 0.24.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (False...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28137/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28137/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28136
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28136/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28136/comments
https://api.github.com/repos/huggingface/transformers/issues/28136/events
https://github.com/huggingface/transformers/pull/28136
2,048,467,063
PR_kwDOCUB6oc5iXAnM
28,136
[Whisper] Make tokenizer normalization public
{ "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...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28136). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,702
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? Using the Whisper English normalizer is common practice when evaluating Whisper models on English ASR. Here, we have to normalize the predictions, e.g. using the argument `normalize=True` to the tokenizer `.decode` method: https://github.com/huggingface/transformers/blob/5aec50ecaf9c1c039cde...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28136/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/28136/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28136", "html_url": "https://github.com/huggingface/transformers/pull/28136", "diff_url": "https://github.com/huggingface/transformers/pull/28136.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28136.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28135
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28135/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28135/comments
https://api.github.com/repos/huggingface/transformers/issues/28135/events
https://github.com/huggingface/transformers/pull/28135
2,048,452,546
PR_kwDOCUB6oc5iW9XH
28,135
Update split string in doctest to reflect #28087
{ "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/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28135). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,702
1,702
1,702
COLLABORATOR
null
# What does this PR do? Resolves current failing test `tests/utils/test_doc_samples.py::TestDocLists::test_sdpa_support_list` on main because the string used to split the doc string wasn't updated in line with #28087 cc @stevhliu
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28135/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28135/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28135", "html_url": "https://github.com/huggingface/transformers/pull/28135", "diff_url": "https://github.com/huggingface/transformers/pull/28135.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28135.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28134
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28134/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28134/comments
https://api.github.com/repos/huggingface/transformers/issues/28134/events
https://github.com/huggingface/transformers/issues/28134
2,048,244,765
I_kwDOCUB6oc56Fbwd
28,134
Different intermediate results given different number of epochs
{ "login": "DolevAdas", "id": 33514523, "node_id": "MDQ6VXNlcjMzNTE0NTIz", "avatar_url": "https://avatars.githubusercontent.com/u/33514523?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DolevAdas", "html_url": "https://github.com/DolevAdas", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi @DolevAdas, 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.\r\n\r\nFor the difference between 5 and 15 epochs, you will see that the learning rate at each step is diffe...
1,702
1,706
1,706
NONE
null
### System Info - `transformers` version: 4.31.0 - Platform: Linux-4.18.0-477.15.1.el8_8.x86_64-x86_64-with-glibc2.28 - Python version: 3.9.6 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - Accelerate version: 0.21.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (Fal...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28134/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28134/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28133
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28133/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28133/comments
https://api.github.com/repos/huggingface/transformers/issues/28133/events
https://github.com/huggingface/transformers/pull/28133
2,048,116,832
PR_kwDOCUB6oc5iVz5g
28,133
[`Mixtral` & `Mistral`] Add support for sdpa
{ "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_28133). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "> Thanks ! I don\"t see why sliding window attention shouldn't be supported with S...
1,702
1,707
1,703
COLLABORATOR
null
# What does this PR do? Adds the SDPA attention for both classes cc @younesbelkada for visibility 😉 Will help for fast LLava
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28133/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28133/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28133", "html_url": "https://github.com/huggingface/transformers/pull/28133", "diff_url": "https://github.com/huggingface/transformers/pull/28133.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28133.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28132
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28132/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28132/comments
https://api.github.com/repos/huggingface/transformers/issues/28132/events
https://github.com/huggingface/transformers/pull/28132
2,048,108,896
PR_kwDOCUB6oc5iVyNU
28,132
[`Refactor Attention mask handling`] Moves attention mask processing to the Attention class
{ "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
[]
[ "We added support for 4d attention mask inside the converter so should be alright but yeah will check related issues! ", "Can you specify how this helps with the static cache?\r\n\r\nThe static cache should also work with the attention_mask being passed at every forward call (it'll always have the same shape). I ...
1,702
1,707
1,707
COLLABORATOR
null
# What does this PR do? This is more aligned with our philosophy, but also simplifies and will simplify things. Will help a lot with the static cache. The only way to share the mask is to call `LlamaAttention` but if you have a better way I'll update it! This makes the attention class self contained, which is al...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28132/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28132/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28132", "html_url": "https://github.com/huggingface/transformers/pull/28132", "diff_url": "https://github.com/huggingface/transformers/pull/28132.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28132.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28131
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28131/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28131/comments
https://api.github.com/repos/huggingface/transformers/issues/28131/events
https://github.com/huggingface/transformers/pull/28131
2,048,089,805
PR_kwDOCUB6oc5iVuEK
28,131
[`Sdpa / Flash`] save the attention not a bool
{ "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
[]
[ "Actually #28132 will remove it entirely" ]
1,702
1,702
1,702
COLLABORATOR
null
# What does this PR do? Just a small cleanup that shall be proagated
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28131/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28131/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28131", "html_url": "https://github.com/huggingface/transformers/pull/28131", "diff_url": "https://github.com/huggingface/transformers/pull/28131.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28131.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28130
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28130/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28130/comments
https://api.github.com/repos/huggingface/transformers/issues/28130/events
https://github.com/huggingface/transformers/issues/28130
2,047,968,862
I_kwDOCUB6oc56EYZe
28,130
Mistral flash attention 2 is not work, training speed is equal to the original way which not use flash attn
{ "login": "FangxuLiu", "id": 22525254, "node_id": "MDQ6VXNlcjIyNTI1MjU0", "avatar_url": "https://avatars.githubusercontent.com/u/22525254?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FangxuLiu", "html_url": "https://github.com/FangxuLiu", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[ "Hi @FangxuLiu \r\nHmm this is strange, FA-2 should lead to some speedup https://huggingface.co/docs/transformers/model_doc/mistral#expected-speedups\r\nCan you try on a larger bs / seq_len ? also what is the hardware you are using ? Are you sure you don't train with padding tokens? \r\nIf you use TRL library you c...
1,702
1,708
null
NONE
null
### System Info transformers==4.36.2 torch==2.0 model = transformers.AutoModelForCausalLM.from_pretrained(script_args.model_path, trust_remote_code=True, use_cache=False, attn_implementation="flash_attention_2", torch_dtype="auto") I am pretraining Mistral model with deepspeed zero2, when I used flash attention...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28130/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28130/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28129
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28129/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28129/comments
https://api.github.com/repos/huggingface/transformers/issues/28129/events
https://github.com/huggingface/transformers/issues/28129
2,047,946,036
I_kwDOCUB6oc56ES00
28,129
LayerDrop support
{ "login": "EthanBnntt", "id": 95309712, "node_id": "U_kgDOBa5PkA", "avatar_url": "https://avatars.githubusercontent.com/u/95309712?v=4", "gravatar_id": "", "url": "https://api.github.com/users/EthanBnntt", "html_url": "https://github.com/EthanBnntt", "followers_url": "https://api.github.com/users/Ethan...
[]
closed
false
null
[]
[]
1,702
1,702
1,702
NONE
null
### Feature request Add support for LayerDrop in Transformers. ### Motivation LayerDrop allows for faster training, regularization, and superior pruning after training. ### Your contribution This is a feature I will work on implementing.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28129/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28129/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28128
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28128/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28128/comments
https://api.github.com/repos/huggingface/transformers/issues/28128/events
https://github.com/huggingface/transformers/pull/28128
2,047,881,724
PR_kwDOCUB6oc5iVCKI
28,128
bug fix: fix vocab_size being 0 for deepspeed zero3
{ "login": "circlecrystal", "id": 5665980, "node_id": "MDQ6VXNlcjU2NjU5ODA=", "avatar_url": "https://avatars.githubusercontent.com/u/5665980?v=4", "gravatar_id": "", "url": "https://api.github.com/users/circlecrystal", "html_url": "https://github.com/circlecrystal", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "> Hello, please give a minimal reproducer of the issue first that this PR is meant to resolve.\r\n\r\nSorry but I encountered a bug related to these lines of codes in my company project. Since the code is proprietary, I cannot share it. Despite hoping to build a minimal example, I cannot find a simple way to achie...
1,702
1,706
1,706
NONE
null
# What does this PR do? This PR fixes the error encountered during model training with DeepSpeed Zero-3. @pacman100
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28128/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28128/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28128", "html_url": "https://github.com/huggingface/transformers/pull/28128", "diff_url": "https://github.com/huggingface/transformers/pull/28128.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28128.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28127
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28127/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28127/comments
https://api.github.com/repos/huggingface/transformers/issues/28127/events
https://github.com/huggingface/transformers/pull/28127
2,047,754,831
PR_kwDOCUB6oc5iUoUC
28,127
Update modeling_utils.py
{ "login": "mzelling", "id": 36188891, "node_id": "MDQ6VXNlcjM2MTg4ODkx", "avatar_url": "https://avatars.githubusercontent.com/u/36188891?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mzelling", "html_url": "https://github.com/mzelling", "followers_url": "https://api.github.com/users/mze...
[]
closed
false
null
[]
[]
1,702
1,703
1,703
CONTRIBUTOR
null
In the docstring for PreTrainedModel.resize_token_embeddings, correct the definition of the new_num_tokens parameter to read "the new number of tokens" (meaning the new size of the vocab) rather than "the number of new tokens" (meaning the number of newly added tokens only). This is in agreement with what the code does...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28127/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28127/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28127", "html_url": "https://github.com/huggingface/transformers/pull/28127", "diff_url": "https://github.com/huggingface/transformers/pull/28127.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28127.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28126
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28126/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28126/comments
https://api.github.com/repos/huggingface/transformers/issues/28126/events
https://github.com/huggingface/transformers/pull/28126
2,047,716,623
PR_kwDOCUB6oc5iUgXB
28,126
[gpt-neox] Add attention_bias config to support model trained without attention biases
{ "login": "dalgarak", "id": 20063100, "node_id": "MDQ6VXNlcjIwMDYzMTAw", "avatar_url": "https://avatars.githubusercontent.com/u/20063100?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dalgarak", "html_url": "https://github.com/dalgarak", "followers_url": "https://api.github.com/users/dal...
[]
closed
false
null
[]
[ "cc @ArthurZucker @younesbelkada ", "Best of my knowledge, there are many(and almost) gpt-neox models are on the hub that uses attention bias:\r\n * pythia scailing suite family, e.g. EleutherAI/pythia-70m (https://huggingface.co/EleutherAI/pythia-70m),\r\n * polyglot korean LMs, e.g. EleutherAI/polyglot-ko-1.3b ...
1,702
1,703
1,703
CONTRIBUTOR
null
# What does this PR do? This PR adds attention_bias configuration into GPT-NeoX models. Currently released models all use bias by default for the linear layers in attention block, but the GPT-NeoX library allows us to train models without attention bias. (can be trained with use_bias_in_attn_linear=False) For com...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28126/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28126/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28126", "html_url": "https://github.com/huggingface/transformers/pull/28126", "diff_url": "https://github.com/huggingface/transformers/pull/28126.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28126.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28125
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28125/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28125/comments
https://api.github.com/repos/huggingface/transformers/issues/28125/events
https://github.com/huggingface/transformers/issues/28125
2,047,659,948
I_kwDOCUB6oc56DM-s
28,125
[Docs] Broken link in Kubernetes doc
{ "login": "dmsuehir", "id": 13952606, "node_id": "MDQ6VXNlcjEzOTUyNjA2", "avatar_url": "https://avatars.githubusercontent.com/u/13952606?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmsuehir", "html_url": "https://github.com/dmsuehir", "followers_url": "https://api.github.com/users/dms...
[]
open
false
null
[]
[ "Thanks for reporting! It seems like the links don't work for Safari, but they're ok with the Arc/Chrome browsers. It seems like the link is being changed somehow from kubeflow to huggingface which is why it is giving the 404:\r\n\r\n```diff\r\n- https://www.kubeflow.org/docs/components/training/pytorch\r\n+ https:...
1,702
1,707
null
CONTRIBUTOR
null
### System Info N/A ### Who can help? @stevhliu ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ### Reproduction I recently helped ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28125/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28125/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28124
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28124/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28124/comments
https://api.github.com/repos/huggingface/transformers/issues/28124/events
https://github.com/huggingface/transformers/issues/28124
2,047,594,060
I_kwDOCUB6oc56C85M
28,124
[Trainer.train] learning rate logging inconsistency: learning rate for the future step is logged
{ "login": "HanGuo97", "id": 18187806, "node_id": "MDQ6VXNlcjE4MTg3ODA2", "avatar_url": "https://avatars.githubusercontent.com/u/18187806?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HanGuo97", "html_url": "https://github.com/HanGuo97", "followers_url": "https://api.github.com/users/Han...
[]
open
false
null
[]
[]
1,702
1,707
null
NONE
null
### System Info NA ### Who can help? @muellerzr and @pacman100 ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ### Reproduction [Thi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28124/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28124/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28123
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28123/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28123/comments
https://api.github.com/repos/huggingface/transformers/issues/28123/events
https://github.com/huggingface/transformers/pull/28123
2,047,564,974
PR_kwDOCUB6oc5iT-OF
28,123
[Doc] Fix token link in What 🤗 Transformers can do
{ "login": "aaronjimv", "id": 67152883, "node_id": "MDQ6VXNlcjY3MTUyODgz", "avatar_url": "https://avatars.githubusercontent.com/u/67152883?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aaronjimv", "html_url": "https://github.com/aaronjimv", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,702
1,702
1,702
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/28123/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28123/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28123", "html_url": "https://github.com/huggingface/transformers/pull/28123", "diff_url": "https://github.com/huggingface/transformers/pull/28123.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28123.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28122
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28122/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28122/comments
https://api.github.com/repos/huggingface/transformers/issues/28122/events
https://github.com/huggingface/transformers/pull/28122
2,047,370,131
PR_kwDOCUB6oc5iTS_q
28,122
Fix weights not properly initialized due to shape mismatch
{ "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
[]
[ "I will explain it a bit more tomorrow.", "> only the weight matrices that need to be resized are randomly initialized.\r\n\r\nThat is a very good point, and I did think of it once. Here we have keys in checkpoint and keys in the model's `state_dcit()`.\r\nThey are not always identical, as could be seen [here](ht...
1,702
1,703
1,703
COLLABORATOR
null
# What does this PR do? Currently, if there is some weight shape mismatched between the model and the checkpoint, and if ignore_mismatched_sizes=True, that/those weight(s) won't get initialized by the model's `_init_weights` method, and could get crazy values like 1e37. This could make the training gets `nan loss...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28122/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28122/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28122", "html_url": "https://github.com/huggingface/transformers/pull/28122", "diff_url": "https://github.com/huggingface/transformers/pull/28122.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28122.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28121
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28121/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28121/comments
https://api.github.com/repos/huggingface/transformers/issues/28121/events
https://github.com/huggingface/transformers/issues/28121
2,047,216,945
I_kwDOCUB6oc56Bg0x
28,121
Add StyleTTS 2 to HF Transformers Pipeline
{ "login": "fakerybakery", "id": 76186054, "node_id": "MDQ6VXNlcjc2MTg2MDU0", "avatar_url": "https://avatars.githubusercontent.com/u/76186054?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fakerybakery", "html_url": "https://github.com/fakerybakery", "followers_url": "https://api.github.c...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[ "cc @sanchit-gandhi @ylacombe ", "The model is indeed very performant (see [space](https://huggingface.co/spaces/styletts2/styletts2)) and has a permissive license: one of the packages is GNU licensed. Without this, it can be used with the MIT license\r\n\r\n=> on paper it looks like a great candidate for a model...
1,702
1,707
null
NONE
null
### Feature request Add [StyleTTS](https://github.com/yl4579/StyleTTS2) 2 to HF Transformers Pipeline ### Motivation Would be great to have an easier way to run STTS2 ### Your contribution I created a [fork](https://github.com/neuralvox/styletts2) with importable scripts
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28121/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28121/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28120
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28120/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28120/comments
https://api.github.com/repos/huggingface/transformers/issues/28120/events
https://github.com/huggingface/transformers/issues/28120
2,047,205,290
I_kwDOCUB6oc56Bd-q
28,120
Add Tortoise TTS to HF Pipeline
{ "login": "fakerybakery", "id": 76186054, "node_id": "MDQ6VXNlcjc2MTg2MDU0", "avatar_url": "https://avatars.githubusercontent.com/u/76186054?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fakerybakery", "html_url": "https://github.com/fakerybakery", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "cc @sanchit-gandhi @ylacombe ", "I saw [this issue](https://github.com/huggingface/diffusers/issues/3891), however personally I think it would be great to have a unified way to run TTS models. Transformer's `pipeline` has the most support right now, and pipelines in Diffusers are harder to use. Also, it would ma...
1,702
1,705
1,705
NONE
null
### Feature request Hi, Might it be possible to add [Tortoise TTS](https://github.com/neonbjb/tortoise-tts) to the `text-to-speech` pipeline? ### Motivation Tortoise TTS is currently the highest-quality permissively licensed text-to-speech library available. ### Your contribution Tortoise TTS is already pip-ified...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28120/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28120/timeline
not_planned
null
null
https://api.github.com/repos/huggingface/transformers/issues/28119
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28119/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28119/comments
https://api.github.com/repos/huggingface/transformers/issues/28119/events
https://github.com/huggingface/transformers/issues/28119
2,047,169,168
I_kwDOCUB6oc56BVKQ
28,119
Save model checkpoint error when multi-gpu training still happens on 4.36.1
{ "login": "z7ye", "id": 25996703, "node_id": "MDQ6VXNlcjI1OTk2NzAz", "avatar_url": "https://avatars.githubusercontent.com/u/25996703?v=4", "gravatar_id": "", "url": "https://api.github.com/users/z7ye", "html_url": "https://github.com/z7ye", "followers_url": "https://api.github.com/users/z7ye/followers"...
[]
open
false
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[ { "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api...
[ "Hi @z7ye, thanks for raising this issue! \r\n\r\nCould you provide a minimal code snippet we can use to reproduce this error? \r\n\r\ncc @muellerzr @pacman100 ", "And please upgrade to 4.36.2", "> And please upgrade to 4.36.2\r\n\r\nThis problem occurs in training with multiple machines and multiple cards. Per...
1,702
1,707
null
NONE
null
### System Info platform: linux python: 3.9 transformers: 4.36.1 running on two A10.2 ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28119/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28119/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28118
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28118/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28118/comments
https://api.github.com/repos/huggingface/transformers/issues/28118/events
https://github.com/huggingface/transformers/pull/28118
2,047,169,117
PR_kwDOCUB6oc5iSnXF
28,118
Fix a typo in tokenizer documentation
{ "login": "mssalvatore", "id": 19957806, "node_id": "MDQ6VXNlcjE5OTU3ODA2", "avatar_url": "https://avatars.githubusercontent.com/u/19957806?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mssalvatore", "html_url": "https://github.com/mssalvatore", "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_28118). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,702
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? Fixes a typo in tokenizer documentation. For some methods, such as `tokenize()`, the description currently reads "Converts a string in a sequence of tokens, using the tokenizer." I believe what is meant is "Converts a string INTO a sequence of tokens". ## Before submitting - [x] This PR...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28118/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28118/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28118", "html_url": "https://github.com/huggingface/transformers/pull/28118", "diff_url": "https://github.com/huggingface/transformers/pull/28118.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28118.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28117
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28117/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28117/comments
https://api.github.com/repos/huggingface/transformers/issues/28117/events
https://github.com/huggingface/transformers/pull/28117
2,047,094,751
PR_kwDOCUB6oc5iSXIn
28,117
Fix indentation error - semantic_segmentation.md
{ "login": "rajveer43", "id": 64583161, "node_id": "MDQ6VXNlcjY0NTgzMTYx", "avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rajveer43", "html_url": "https://github.com/rajveer43", "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_28117). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,702
1,702
1,702
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/28117/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28117/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28117", "html_url": "https://github.com/huggingface/transformers/pull/28117", "diff_url": "https://github.com/huggingface/transformers/pull/28117.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28117.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28116
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28116/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28116/comments
https://api.github.com/repos/huggingface/transformers/issues/28116/events
https://github.com/huggingface/transformers/issues/28116
2,047,064,498
I_kwDOCUB6oc56A7my
28,116
TypeError: TextInputSequence must be str in converting squad examples to features
{ "login": "sajastu", "id": 10419055, "node_id": "MDQ6VXNlcjEwNDE5MDU1", "avatar_url": "https://avatars.githubusercontent.com/u/10419055?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sajastu", "html_url": "https://github.com/sajastu", "followers_url": "https://api.github.com/users/sajast...
[]
closed
false
null
[]
[ "Hey, not 100% this is of high priority, issue is from [here](https://github.com/huggingface/transformers/blob/cfe84ba756059e609591aa83b6de654b6e39ab4d/src/transformers/data/processors/squad.py#L179-L188):\r\n```python \r\n encoded_dict = tokenizer.encode_plus( # TODO(thom) update this logic\r\n ...
1,702
1,706
1,706
NONE
null
### System Info - `transformers` version: 4.36.1 - Platform: Linux-4.15.0-196-generic-x86_64-with-glibc2.17 - Python version: 3.8.13 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 1.10.0+cu111 (True) - Te...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28116/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28116/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28115
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28115/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28115/comments
https://api.github.com/repos/huggingface/transformers/issues/28115/events
https://github.com/huggingface/transformers/pull/28115
2,046,937,134
PR_kwDOCUB6oc5iR0Yx
28,115
[`Mixtral`] Fix loss + nits
{ "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
[]
[ "> # What does this PR do?\r\n> Properly compute the loss. Pushes for a uniform distribution.\r\n> \r\n> fixes #28021 Fixes #28093\r\n\r\nWhat were the side effects of the issue? Did it actually degrade training runs" ]
1,702
1,703
1,703
COLLABORATOR
null
# What does this PR do? Properly compute the loss. Pushes for a uniform distribution. fixes #28021 Fixes https://github.com/huggingface/transformers/issues/28093
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28115/reactions", "total_count": 4, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 3, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28115/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28115", "html_url": "https://github.com/huggingface/transformers/pull/28115", "diff_url": "https://github.com/huggingface/transformers/pull/28115.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28115.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28114
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28114/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28114/comments
https://api.github.com/repos/huggingface/transformers/issues/28114/events
https://github.com/huggingface/transformers/pull/28114
2,046,732,521
PR_kwDOCUB6oc5iRG49
28,114
[Whisper] Fix word-level timestamps with bs>1 or num_beams>1
{ "login": "ylacombe", "id": 52246514, "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylacombe", "html_url": "https://github.com/ylacombe", "followers_url": "https://api.github.com/users/yla...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28114). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Merging now, once the checks are green, as it is a blocking feature, all tests are...
1,702
1,703
1,703
COLLABORATOR
null
# What does this PR do? Supersedes #26699 This PR fixes two issues related to Whisper: 1. Wrong DTW matrix computation when computing word-level timestamps with beam search (issues #27362 and #28007) 2. Bug when computing world-levels timestamps with bs>1 using the pipeline (issue #27446 and PR #26699) The f...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28114/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28114/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28114", "html_url": "https://github.com/huggingface/transformers/pull/28114", "diff_url": "https://github.com/huggingface/transformers/pull/28114.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28114.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28113
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28113/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28113/comments
https://api.github.com/repos/huggingface/transformers/issues/28113/events
https://github.com/huggingface/transformers/pull/28113
2,046,650,583
PR_kwDOCUB6oc5iQ1Z6
28,113
Remove warning if `DISABLE_TELEMETRY` is used
{ "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
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28113). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Thanks for the quick review @amyeroberts!" ]
1,702
1,702
1,702
CONTRIBUTOR
null
In https://github.com/huggingface/transformers/issues/27564 I did some cleaning in the environment variables. I added a warning if `DISABLE_TELEMETRY` was set to encourage using `HF_HUB_DISABLE_TELEMETRY` instead. However this warning is not necessary for at least two reasons: - `DISABLE_TELEMETRY` is already well und...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28113/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28113/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28113", "html_url": "https://github.com/huggingface/transformers/pull/28113", "diff_url": "https://github.com/huggingface/transformers/pull/28113.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28113.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28112
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28112/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28112/comments
https://api.github.com/repos/huggingface/transformers/issues/28112/events
https://github.com/huggingface/transformers/issues/28112
2,046,551,463
I_kwDOCUB6oc55--Wn
28,112
Error pushing Mixtral fine-tune to hub
{ "login": "RonanKMcGovern", "id": 78278410, "node_id": "MDQ6VXNlcjc4Mjc4NDEw", "avatar_url": "https://avatars.githubusercontent.com/u/78278410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RonanKMcGovern", "html_url": "https://github.com/RonanKMcGovern", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "cc @Narsil ", "As the error mentions, `... StorageFull, message: \"No space left on device\" })` you don't have enough space on the device. Make sur to read the stacktrace it usuallu helps a lot 🤗 ", "@ArthurZucker that's true - but it doesn't seem consistent with the space that @RonanKMcGovern is reporting i...
1,702
1,705
1,705
NONE
null
### System Info - `transformers` version: 4.36.1 - Platform: Linux-5.4.0-155-generic-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu118 (True) - Tensorf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28112/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28112/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28111
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28111/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28111/comments
https://api.github.com/repos/huggingface/transformers/issues/28111/events
https://github.com/huggingface/transformers/issues/28111
2,046,459,318
I_kwDOCUB6oc55-n22
28,111
Facing issues when trying to fine-tune T5
{ "login": "wolfassi123", "id": 82727504, "node_id": "MDQ6VXNlcjgyNzI3NTA0", "avatar_url": "https://avatars.githubusercontent.com/u/82727504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wolfassi123", "html_url": "https://github.com/wolfassi123", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hey, can you share the exact traceback to debug this? ", "> Hey, can you share the exact traceback to debug this?\r\n\r\nSure thing!\r\n```\r\n---------------------------------------------------------------------------\r\nValueError Traceback (most recent call last)\r\n[<ipython-in...
1,702
1,704
1,704
NONE
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.19.4 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu121 (True) - Tensorflow vers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28111/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28111/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28110
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28110/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28110/comments
https://api.github.com/repos/huggingface/transformers/issues/28110/events
https://github.com/huggingface/transformers/pull/28110
2,046,371,146
PR_kwDOCUB6oc5iP3qg
28,110
Spelling correction
{ "login": "saeneas", "id": 47715864, "node_id": "MDQ6VXNlcjQ3NzE1ODY0", "avatar_url": "https://avatars.githubusercontent.com/u/47715864?v=4", "gravatar_id": "", "url": "https://api.github.com/users/saeneas", "html_url": "https://github.com/saeneas", "followers_url": "https://api.github.com/users/saenea...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28110). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,702
1,702
1,702
CONTRIBUTOR
null
correct minor typo in overview # 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 contributi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28110/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28110/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28110", "html_url": "https://github.com/huggingface/transformers/pull/28110", "diff_url": "https://github.com/huggingface/transformers/pull/28110.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28110.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28109
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28109/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28109/comments
https://api.github.com/repos/huggingface/transformers/issues/28109/events
https://github.com/huggingface/transformers/issues/28109
2,046,259,585
I_kwDOCUB6oc5593GB
28,109
remove unnecessary backend related checks in training_args.py
{ "login": "kevint324", "id": 8800468, "node_id": "MDQ6VXNlcjg4MDA0Njg=", "avatar_url": "https://avatars.githubusercontent.com/u/8800468?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kevint324", "html_url": "https://github.com/kevint324", "followers_url": "https://api.github.com/users/ke...
[ { "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
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[ { "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api...
[ "cc @muellerzr @pacman100 ", "Happy new year! Any update?", "Completely makes sense. For example M1 does not support certain dtypes, but M2 now supports some of them so it doesn't make sense to have the above assumptions.", "any updates?\r\n" ]
1,702
1,704
null
NONE
null
### Feature request [Here](https://github.com/huggingface/transformers/blob/main/src/transformers/training_args.py#L1490-L1519) IMO these checks in transformers should be removed. ``` if ( self.framework == "pt" and is_torch_available() and (self.device.type != "cuda") ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28109/reactions", "total_count": 5, "+1": 5, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28109/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28108
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28108/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28108/comments
https://api.github.com/repos/huggingface/transformers/issues/28108/events
https://github.com/huggingface/transformers/pull/28108
2,046,253,318
PR_kwDOCUB6oc5iPeIf
28,108
Avoid unnecessary warnings when loading `CLIPConfig`
{ "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_28108). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", ">Hard-coding values like this is brittle\r\n\r\nThis is fine IMO for this situatio...
1,702
1,703
1,703
COLLABORATOR
null
# What does this PR do? Avoid unnecessary warnings when loading `CLIPConfig`: when a user doesn't change something inside `text_config`. Fix #28042
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28108/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28108/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28108", "html_url": "https://github.com/huggingface/transformers/pull/28108", "diff_url": "https://github.com/huggingface/transformers/pull/28108.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28108.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28107
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28107/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28107/comments
https://api.github.com/repos/huggingface/transformers/issues/28107/events
https://github.com/huggingface/transformers/pull/28107
2,046,130,822
PR_kwDOCUB6oc5iPFL0
28,107
[`Llava` / `Vip-Llava`] Add SDPA into llava
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28107). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,702
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? As per title, adds SDPA into Llava-family This makes generation faster through torch sdpa for llava-like models Also closes: https://huggingface.co/llava-hf/llava-1.5-7b-hf/discussions/9
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28107/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28107/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28107", "html_url": "https://github.com/huggingface/transformers/pull/28107", "diff_url": "https://github.com/huggingface/transformers/pull/28107.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28107.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28106
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28106/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28106/comments
https://api.github.com/repos/huggingface/transformers/issues/28106/events
https://github.com/huggingface/transformers/issues/28106
2,046,055,139
I_kwDOCUB6oc559FLj
28,106
Explicit option to disable deepspeed when loading a model
{ "login": "chiragjn", "id": 10295418, "node_id": "MDQ6VXNlcjEwMjk1NDE4", "avatar_url": "https://avatars.githubusercontent.com/u/10295418?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chiragjn", "html_url": "https://github.com/chiragjn", "followers_url": "https://api.github.com/users/chi...
[]
closed
false
null
[]
[ "cc @pacman100 ", "Hello @chiragjn,\r\n\r\nCan you try to do the below and let us know if that solves this issue as we already have the context manager `zero3_init_context_manager` which controls the zero init:\r\n```\r\ndef main():\r\n trainer_args = TrainingArguments(<fill this>)\r\n with trainer_args.dee...
1,702
1,706
1,706
NONE
null
### Feature request Option to disable deepspeed explicitly on a per-model basis ### Motivation So I have a little bit of an odd setup In my qlora/lora fine-tuning script, I launch with `accelerate launch --mixed_precision bf16 --use_deepspeed train.py --deepspeed deepspeed_zero3.json ...` and I am using the ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28106/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28106/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28105
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28105/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28105/comments
https://api.github.com/repos/huggingface/transformers/issues/28105/events
https://github.com/huggingface/transformers/issues/28105
2,045,923,480
I_kwDOCUB6oc558lCY
28,105
T5Tokenizer: Different decoding behaviour depending on the tokenizer method used
{ "login": "sorenmulli", "id": 42035306, "node_id": "MDQ6VXNlcjQyMDM1MzA2", "avatar_url": "https://avatars.githubusercontent.com/u/42035306?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sorenmulli", "html_url": "https://github.com/sorenmulli", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Also get same results with other `t5` models like `t5-base`; haven't tried other tokenizers though.\r\n\r\nWhen using a non-fast tokenizer, I also get the same result. Here I am using `tokenizer.sp_model`instead of `tokenizer.decoder` in the last step. ", "There must be a punctuated-based post-processing which I...
1,702
1,702
1,702
NONE
null
### System Info - `transformers` version: 4.36.1 - Platform: Linux-6.1.55-1-lts-x86_64-with-glibc2.38 - Python version: 3.11.5 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): not installed (NA) - T...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28105/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/28105/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28104
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28104/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28104/comments
https://api.github.com/repos/huggingface/transformers/issues/28104/events
https://github.com/huggingface/transformers/issues/28104
2,045,869,224
I_kwDOCUB6oc558Xyo
28,104
CUDA Error running the Translaton example with Accelerate or Trainer in a Multi GPU distributed setup
{ "login": "anindya-saha", "id": 3349535, "node_id": "MDQ6VXNlcjMzNDk1MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/3349535?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anindya-saha", "html_url": "https://github.com/anindya-saha", "followers_url": "https://api.github.com...
[]
open
false
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[ { "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api...
[ "Running the same script in the CPU may reveal more details about the error", "Hi @anindya-saha, thanks for raising this issue! \r\n\r\nThere were some recent fixes committed to `main` which resolve training in the multi-GPU setting. These will be released soon as part of a patch release. Could you try installing...
1,702
1,707
null
NONE
null
### System Info Hello Team, I am trying to run the translation example in examples/pytorch/translation/run_translation.py in a distributed manner through accelerate as follows. ```bash accelerate launch --config_file default_config.yaml run_translation.py \ --model_name_or_path Helsinki-NLP/opus-mt-en-ro ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28104/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28104/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28103
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28103/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28103/comments
https://api.github.com/repos/huggingface/transformers/issues/28103/events
https://github.com/huggingface/transformers/issues/28103
2,045,776,155
I_kwDOCUB6oc558BEb
28,103
OWL-VIT Vision Foundation Model deployment in the edge cases - Need SDPA support for OWL-ViT Model optimization for Edge Deployment
{ "login": "solomonmanuelraj", "id": 25194971, "node_id": "MDQ6VXNlcjI1MTk0OTcx", "avatar_url": "https://avatars.githubusercontent.com/u/25194971?v=4", "gravatar_id": "", "url": "https://api.github.com/users/solomonmanuelraj", "html_url": "https://github.com/solomonmanuelraj", "followers_url": "https://...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" } ]
open
false
null
[]
[ "Hi,\r\n\r\nFor this one I'd recommend taking a look at the [Optimum](https://huggingface.co/docs/optimum/index) library which provides utilities for ONNX export and further optimization like pruning/quantization.\r\n\r\nYou can probably reduce the size of the model most by quantization.", "This issue has been au...
1,702
1,706
null
NONE
null
### Feature request Hi Team, I am working with OWL-ViT Size model which has around 611 MB size ( https://huggingface.co/google/owlvit-base-patch16). I want to optimize this model and like to deploy in the edge device for object detection. Come to know from the group torch.scaled_dot_product_attention can be used...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28103/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28103/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28102
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28102/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28102/comments
https://api.github.com/repos/huggingface/transformers/issues/28102/events
https://github.com/huggingface/transformers/pull/28102
2,045,744,156
PR_kwDOCUB6oc5iNxZH
28,102
fix bug: avoid divide by zero in _maybe_log_save_evaluate()
{ "login": "frankenliu", "id": 7486431, "node_id": "MDQ6VXNlcjc0ODY0MzE=", "avatar_url": "https://avatars.githubusercontent.com/u/7486431?v=4", "gravatar_id": "", "url": "https://api.github.com/users/frankenliu", "html_url": "https://github.com/frankenliu", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "> Hello, thank you for the PR, but I think better solution would be to the following check in `_maybe_log_save_evaluate`:\r\n> \r\n> ```\r\n> if self.control.should_log and self.state.global_step>self._globalstep_last_logged:\r\n> ```\r\n\r\nYes, your solution are better. I just think to avoid in _inner_training_l...
1,702
1,703
1,703
CONTRIBUTOR
null
set logging_strategy="steps" and logging_steps=10, when that one epoch have 100 steps, the should_log will be set to True in last step. And self._globalstep_last_logged will be assign to self.state.global_step in _maybe_log_save_evaluate() method by line 1917 in trainer.py. the line 1933 in trainer.py , self.callb...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28102/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28102/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28102", "html_url": "https://github.com/huggingface/transformers/pull/28102", "diff_url": "https://github.com/huggingface/transformers/pull/28102.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28102.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28101
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28101/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28101/comments
https://api.github.com/repos/huggingface/transformers/issues/28101/events
https://github.com/huggingface/transformers/issues/28101
2,045,680,594
I_kwDOCUB6oc557pvS
28,101
Will deep StateSpace models add to this library?
{ "login": "ghosthamlet", "id": 758325, "node_id": "MDQ6VXNlcjc1ODMyNQ==", "avatar_url": "https://avatars.githubusercontent.com/u/758325?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ghosthamlet", "html_url": "https://github.com/ghosthamlet", "followers_url": "https://api.github.com/user...
[ { "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,702
1,702
null
NONE
null
### Feature request Will huggingface add deep StateSpace models to transformers library or create a new repo like Diffusers? ### Motivation Deep StateSpace models may become the next big thing. ### Your contribution No
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28101/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28101/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28100
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28100/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28100/comments
https://api.github.com/repos/huggingface/transformers/issues/28100/events
https://github.com/huggingface/transformers/issues/28100
2,045,679,616
I_kwDOCUB6oc557pgA
28,100
QWenLMHeadModel does not support Flash Attention 2.0 yet.
{ "login": "zhangfan-algo", "id": 47747764, "node_id": "MDQ6VXNlcjQ3NzQ3NzY0", "avatar_url": "https://avatars.githubusercontent.com/u/47747764?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhangfan-algo", "html_url": "https://github.com/zhangfan-algo", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "+1", "Hi @zhangfan-algo, thanks for creating this feature request. \r\n\r\nIs this model code on the hub? If so, the request to add FA2 support should be done on the discussion page for that model. \r\n\r\nIn the meantime - we should update this message on our end to route users to the correct place. ", "> Hi ...
1,702
1,706
1,706
NONE
null
![image](https://github.com/huggingface/transformers/assets/47747764/63db1736-d049-4ab0-8187-df43d3afb75e)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28100/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28100/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28099
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28099/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28099/comments
https://api.github.com/repos/huggingface/transformers/issues/28099/events
https://github.com/huggingface/transformers/issues/28099
2,045,486,232
I_kwDOCUB6oc5566SY
28,099
Dataset not loading successfully.
{ "login": "hi-sushanta", "id": 93595990, "node_id": "U_kgDOBZQpVg", "avatar_url": "https://avatars.githubusercontent.com/u/93595990?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hi-sushanta", "html_url": "https://github.com/hi-sushanta", "followers_url": "https://api.github.com/users/hi...
[]
closed
false
null
[]
[ "Hey @hi-sushanta,\r\n\r\nCan you post `datasets`-related issues on the datasets library instead? \r\nhttps://github.com/huggingface/datasets", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\...
1,702
1,705
1,705
CONTRIBUTOR
null
### System Info * transformers -> 4.36.1 * datasets -> 2.15.0 * huggingface_hub -> 0.19.4 * python -> 3.8.10 * accelerate -> 0.25.0 * pytorch -> 2.0.1+cpu * Using GPU in Script -> No ### Who can help? @patrickvonplaten , @amyeroberts ### Information - [X] The official example scripts - [ ] My own modified ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28099/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28099/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28098
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28098/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28098/comments
https://api.github.com/repos/huggingface/transformers/issues/28098/events
https://github.com/huggingface/transformers/issues/28098
2,045,287,243
I_kwDOCUB6oc556JtL
28,098
Create create_token_type_ids_from_sequences for CodeGenTokenizer
{ "login": "cridin1", "id": 73068277, "node_id": "MDQ6VXNlcjczMDY4Mjc3", "avatar_url": "https://avatars.githubusercontent.com/u/73068277?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cridin1", "html_url": "https://github.com/cridin1", "followers_url": "https://api.github.com/users/cridin...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" } ]
open
false
null
[]
[ "cc @ArthurZucker ", "Hey, would you like to open a PR? 🤗 ", "Yes, I will do it.", "Are `token_type_ids` ever used by CodeGen? BERT uses `token_type_ids` to differentiate between the two sentences used for the next sentence prediction training task. To the best of my understanding, CodeGen does not do that.\...
1,702
1,706
null
NONE
null
### Feature request In CodeGenTokenizer [here](src/transformers/models/codegen/tokenization_codegen.py), there is no implementation for create_token_type_ids_from_sequences. I was looking to the tutorial for token_type_ids as a reference: [here](https://huggingface.co/docs/transformers/glossary#token-type-ids). ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28098/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28098/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28097
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28097/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28097/comments
https://api.github.com/repos/huggingface/transformers/issues/28097/events
https://github.com/huggingface/transformers/issues/28097
2,045,272,598
I_kwDOCUB6oc556GIW
28,097
WhisperProcessor doesn't copy output tensor to CPU for `decode(output_offsets=True)`
{ "login": "rklasen", "id": 13201731, "node_id": "MDQ6VXNlcjEzMjAxNzMx", "avatar_url": "https://avatars.githubusercontent.com/u/13201731?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rklasen", "html_url": "https://github.com/rklasen", "followers_url": "https://api.github.com/users/rklase...
[]
closed
false
null
[]
[]
1,702
1,705
1,705
NONE
null
### System Info Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points. - `transformers` version: 4.36.1 - Platform: Linux-6.6.7-arch1-1-x86_64-with-glibc2.38 - Python version: 3.11.6 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: not installed...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28097/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28097/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28096
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28096/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28096/comments
https://api.github.com/repos/huggingface/transformers/issues/28096/events
https://github.com/huggingface/transformers/issues/28096
2,045,262,269
I_kwDOCUB6oc556Dm9
28,096
[LlamaTokenizer] Inconsistent slow vs. fast tokenization when dealing with unknown tokens
{ "login": "xenova", "id": 26504141, "node_id": "MDQ6VXNlcjI2NTA0MTQx", "avatar_url": "https://avatars.githubusercontent.com/u/26504141?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xenova", "html_url": "https://github.com/xenova", "followers_url": "https://api.github.com/users/xenova/fo...
[]
closed
false
null
[]
[ "Another test case:\r\n```py\r\ntext = \"def main():\\n\\tpass\"\r\n...\r\n# Fast tokenizer\r\n# ['▁def', '▁main', '(', ')', ':', '\\n', '<unk>', 'p', 'ass']\r\n# [1, 12849, 17375, 32, 33, 29, 5, 0, 31694, 1917]\r\n\r\n# ['▁def', '▁main', '(', ')', ':', '\\n', '▁pass']\r\n# [1, 12849, 17375, 32, 33, 29, 5, 4005]\r\...
1,702
1,707
1,707
CONTRIBUTOR
null
### System Info - `transformers` version: 4.36.1 - Platform: Linux-6.2.0-1018-azure-x86_64-with-glibc2.31 - Python version: 3.10.13 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.1+cu121 (False) - Ten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28096/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28096/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28095
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28095/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28095/comments
https://api.github.com/repos/huggingface/transformers/issues/28095/events
https://github.com/huggingface/transformers/issues/28095
2,044,930,519
I_kwDOCUB6oc554ynX
28,095
logits squeezing causes an error during the inference time (If the last epoch contains only one sample)
{ "login": "fadiabdulf", "id": 81809527, "node_id": "MDQ6VXNlcjgxODA5NTI3", "avatar_url": "https://avatars.githubusercontent.com/u/81809527?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fadiabdulf", "html_url": "https://github.com/fadiabdulf", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Can anyone solve this in the next release?", "Hi @fadiabdulf, \r\n\r\nPlease follow the [issue template](https://github.com/huggingface/transformers/blob/main/.github/ISSUE_TEMPLATE/bug-report.yml) and provide information about the running environment (run `transformers-cli env` in the terminal and copy-paste th...
1,702
1,706
1,706
NONE
null
https://github.com/huggingface/transformers/blob/238d2e3c44366aba9dc5c770c95475765a6725cb/src/transformers/trainer.py#L3452
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28095/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28095/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28094
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28094/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28094/comments
https://api.github.com/repos/huggingface/transformers/issues/28094/events
https://github.com/huggingface/transformers/pull/28094
2,044,897,781
PR_kwDOCUB6oc5iLBlE
28,094
[`Add Mamba`] Adds support for the `Mamba` models
{ "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
[]
[ "Oups! Still planned but KVCache will come first", "Alright I am picking this back up! ", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28094). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last u...
1,702
1,708
null
COLLABORATOR
null
# What does this PR do? - [x] Implement cpu ops - [x] Add integration tests - [x] Implement fast path - [ ] check training + peft - [x] convert all checkpoints: just need to make sure config is correct Feel free to try this: ```python from transformers import MambaConfig, MambaForCausalLM, AutoTokenizer...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28094/reactions", "total_count": 11, "+1": 6, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 5, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28094/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28094", "html_url": "https://github.com/huggingface/transformers/pull/28094", "diff_url": "https://github.com/huggingface/transformers/pull/28094.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28094.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28093
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28093/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28093/comments
https://api.github.com/repos/huggingface/transformers/issues/28093/events
https://github.com/huggingface/transformers/issues/28093
2,044,645,421
I_kwDOCUB6oc553tAt
28,093
load_balancing_loss in mixtral model
{ "login": "1773226512", "id": 82659526, "node_id": "MDQ6VXNlcjgyNjU5NTI2", "avatar_url": "https://avatars.githubusercontent.com/u/82659526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/1773226512", "html_url": "https://github.com/1773226512", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "same question.", "Hi everyone, https://github.com/huggingface/transformers/pull/28115 should fix this issue", "The aux loss is constant too(now is 8 but not 4, and no grad when BP) after using PR #28115 \r\n@younesbelkada @ArthurZucker ", "I also meet this. And there is no `grad_fn` in the loss tensor.\r\n\r...
1,702
1,703
1,703
NONE
null
### System Info torch '1.13.0+cu117' ### Who can help? @ArthurZucker and @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, ...) - [ ] My own task or dataset (give details below...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28093/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/28093/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28092
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28092/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28092/comments
https://api.github.com/repos/huggingface/transformers/issues/28092/events
https://github.com/huggingface/transformers/pull/28092
2,044,627,356
PR_kwDOCUB6oc5iKJ3W
28,092
Mixtral: Reduce and Increase Expert Models
{ "login": "minato-ellie", "id": 82735346, "node_id": "MDQ6VXNlcjgyNzM1MzQ2", "avatar_url": "https://avatars.githubusercontent.com/u/82735346?v=4", "gravatar_id": "", "url": "https://api.github.com/users/minato-ellie", "html_url": "https://github.com/minato-ellie", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "cc @ArthurZucker @younesbelkada ", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/tra...
1,702
1,705
1,705
NONE
null
This pr adds a method to MixtralSparseMoeBlock, MixtralDecoderLayer and MixtralModel that removes one or more experts from MixtralModel.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28092/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28092/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28092", "html_url": "https://github.com/huggingface/transformers/pull/28092", "diff_url": "https://github.com/huggingface/transformers/pull/28092.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28092.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28091
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28091/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28091/comments
https://api.github.com/repos/huggingface/transformers/issues/28091/events
https://github.com/huggingface/transformers/pull/28091
2,044,572,059
PR_kwDOCUB6oc5iJ-w6
28,091
fix ConversationalPipeline docstring
{ "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...
[]
closed
false
null
[]
[ "hii, @stevhliu and @MKhalusova following the issue mentioned above, i would like to ask for a review on this pull request", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28091). All of your documentation changes will be reflected on that endpoint. The docs are availab...
1,702
1,702
1,702
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/28091/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28091/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28091", "html_url": "https://github.com/huggingface/transformers/pull/28091", "diff_url": "https://github.com/huggingface/transformers/pull/28091.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28091.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28090
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28090/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28090/comments
https://api.github.com/repos/huggingface/transformers/issues/28090/events
https://github.com/huggingface/transformers/issues/28090
2,044,571,444
I_kwDOCUB6oc553a80
28,090
fix documentation docstring
{ "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...
[]
closed
false
null
[]
[]
1,702
1,702
1,702
CONTRIBUTOR
null
### System Info the following the deocumentation in huggingface about [ConversationalPipeline](https://huggingface.co/docs/transformers/main_classes/pipelines#transformers.ConversationalPipeline.example) the example shown in here seems to be broken ![image](https://github.com/huggingface/transformers/assets/7041181...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28090/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28090/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28089
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28089/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28089/comments
https://api.github.com/repos/huggingface/transformers/issues/28089/events
https://github.com/huggingface/transformers/issues/28089
2,044,319,489
I_kwDOCUB6oc552dcB
28,089
Error in pipeline while inferencing Llama2, colab link below
{ "login": "goblinvalo", "id": 153084421, "node_id": "U_kgDOCR_iBQ", "avatar_url": "https://avatars.githubusercontent.com/u/153084421?v=4", "gravatar_id": "", "url": "https://api.github.com/users/goblinvalo", "html_url": "https://github.com/goblinvalo", "followers_url": "https://api.github.com/users/gob...
[]
closed
false
null
[]
[ "@goblinvalo you can follow the [model card](https://huggingface.co/TheBloke/Llama-2-7B-Chat-GPTQ) for the `TheBloke/Llama-2-7B-Chat-GPTQ` model \r\ni just used the following code in colab and it worked for me \r\n\r\n```bash\r\n!pip3 install transformers>=4.32.0 optimum>=1.12.0\r\n!pip3 install auto-gptq --extra-...
1,702
1,702
1,702
NONE
null
### System Info here is the colab notebook link https://colab.research.google.com/drive/1rjDR7i9MWkTmOhsZEg3oU-AHntQhBFCD?usp=sharing until yesterday it was working fine got this error today. ### Who can help? _No response_ ### Information - [x] The official example scripts - [ ] My own modified scripts ### ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28089/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28089/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28088
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28088/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28088/comments
https://api.github.com/repos/huggingface/transformers/issues/28088/events
https://github.com/huggingface/transformers/pull/28088
2,044,314,999
PR_kwDOCUB6oc5iJHBv
28,088
Support `DeepSpeed` when using auto find batch size
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[]
closed
false
null
[]
[ "I tried the latest main as of today which should include this commit and unfortunately it still crashes\r\n```\r\n File \"/data/v/ft/lib/python3.10/site-packages/accelerate/accelerator.py\", line 1958, in backward\r\n self.deepspeed_engine_wrapped.backward(loss, **kwargs)\r\nAttributeError: 'NoneType' object h...
1,702
1,705
1,704
CONTRIBUTOR
null
# What does this PR do? This PR addresses https://github.com/huggingface/transformers/issues/24558 by letting the `Trainer` modify the deepspeed plugin *specifically when using auto batch size finder*. It refactors the logic for propagation of the deepspeed arguments into its own function so that on the fly we c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28088/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/28088/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28088", "html_url": "https://github.com/huggingface/transformers/pull/28088", "diff_url": "https://github.com/huggingface/transformers/pull/28088.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28088.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28087
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28087/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28087/comments
https://api.github.com/repos/huggingface/transformers/issues/28087/events
https://github.com/huggingface/transformers/pull/28087
2,044,310,026
PR_kwDOCUB6oc5iJF7s
28,087
[docs] General doc fixes
{ "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...
[]
closed
false
null
[]
[ "Hi @amyeroberts! The CI error is:\r\n\r\n```\r\nException: The following objects are in the public init so should be documented:\r\n - NerPipeline\r\n```\r\n\r\nWould this be fixed by removing `NerPipeline` from the following?\r\n- https://github.com/huggingface/transformers/blob/0d63d17765f954ba2b050c1d8be0001e95...
1,702
1,702
1,702
MEMBER
null
Cleans up a few things: - Fused AWQ benchmark [table](https://huggingface.co/docs/transformers/main/en/quantization#fused-awq-modules) broken because there wasn't a blankline between the title and table - tidies up the new sections added in the GPU inference doc - removes the `NerPipeline` from internal discussion...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28087/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28087/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28087", "html_url": "https://github.com/huggingface/transformers/pull/28087", "diff_url": "https://github.com/huggingface/transformers/pull/28087.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28087.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28086
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28086/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28086/comments
https://api.github.com/repos/huggingface/transformers/issues/28086/events
https://github.com/huggingface/transformers/issues/28086
2,044,202,742
I_kwDOCUB6oc552A72
28,086
Add [`Mamba`] model
{ "login": "JLTastet", "id": 8004066, "node_id": "MDQ6VXNlcjgwMDQwNjY=", "avatar_url": "https://avatars.githubusercontent.com/u/8004066?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JLTastet", "html_url": "https://github.com/JLTastet", "followers_url": "https://api.github.com/users/JLTas...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
{ "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...
[ { "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": "...
[ "Thanks for opening this issue! Given the sensitivity of this model, the HF team will take it over, we'll have a look at your fork and add you as a co-other 🤗 ", "Thanks a lot!\r\n\r\nMy fork is largely inspired from the original Mamba repo, the differences mostly consisting in boilerplate code. So don’t hesitat...
1,702
1,705
null
NONE
null
### Model description Mamba is a new architecture proposed in [arXiv:2312.00752](https://arxiv.org/abs/2312.00752) by Albert Gu (CMU) and Tri Dao (Princeton). It is inspired by structured state space models (SSMs), but with the addition of a selection mechanism that allows it to combines the ability of transformers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28086/reactions", "total_count": 7, "+1": 0, "-1": 0, "laugh": 0, "hooray": 7, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28086/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28085
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28085/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28085/comments
https://api.github.com/repos/huggingface/transformers/issues/28085/events
https://github.com/huggingface/transformers/pull/28085
2,044,194,088
PR_kwDOCUB6oc5iIsbN
28,085
Fix Vip-llava docs
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28085). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,702
1,703
1,702
CONTRIBUTOR
null
# What does this PR do? Fixes some nits on the Vip-Llava docs, in fact users should be aware that the correct prompt format is different from the llava one, as stated on the model card: https://huggingface.co/llava-hf/vip-llava-7b-hf#how-to-use-the-model Also updated the docs in the modeling cc @amyeroberts
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28085/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28085/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28085", "html_url": "https://github.com/huggingface/transformers/pull/28085", "diff_url": "https://github.com/huggingface/transformers/pull/28085.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28085.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28084
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28084/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28084/comments
https://api.github.com/repos/huggingface/transformers/issues/28084/events
https://github.com/huggingface/transformers/pull/28084
2,044,189,740
PR_kwDOCUB6oc5iIrf6
28,084
Misc updates to CPU Dockerfiles
{ "login": "ashahba", "id": 12436063, "node_id": "MDQ6VXNlcjEyNDM2MDYz", "avatar_url": "https://avatars.githubusercontent.com/u/12436063?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ashahba", "html_url": "https://github.com/ashahba", "followers_url": "https://api.github.com/users/ashahb...
[]
closed
false
null
[]
[ "@dmsuehir feel free to review too.\r\nThanks.", "cc @ydshieh for first review ", "Hi @ashahba \r\n\r\nThank you for the issue and this PR 🤗 .\r\n\r\nThese files are not used at all in our CI. We should probably them. So we won't merge this fix, sorry.\r\n\r\n", "Thanks @ydshieh\r\nDo you want me to close th...
1,702
1,703
1,703
CONTRIBUTOR
null
# What does this PR do? This PR fixes #28082 Currently `cpu` containers and possibly GPU ones as well under `docker` folder are out of date.The reason being [ubuntu:18.04](https://hub.docker.com/_/ubuntu/tags?page=1&name=18.04) base image was updated over 6 months ago and most likely there won't be anymore updates...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28084/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28084/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28084", "html_url": "https://github.com/huggingface/transformers/pull/28084", "diff_url": "https://github.com/huggingface/transformers/pull/28084.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28084.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28083
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28083/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28083/comments
https://api.github.com/repos/huggingface/transformers/issues/28083/events
https://github.com/huggingface/transformers/pull/28083
2,044,157,025
PR_kwDOCUB6oc5iIkVh
28,083
PatchtTST and PatchTSMixer fixes
{ "login": "wgifford", "id": 79663411, "node_id": "MDQ6VXNlcjc5NjYzNDEx", "avatar_url": "https://avatars.githubusercontent.com/u/79663411?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wgifford", "html_url": "https://github.com/wgifford", "followers_url": "https://api.github.com/users/wgi...
[]
closed
false
{ "login": "kashif", "id": 8100, "node_id": "MDQ6VXNlcjgxMDA=", "avatar_url": "https://avatars.githubusercontent.com/u/8100?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kashif", "html_url": "https://github.com/kashif", "followers_url": "https://api.github.com/users/kashif/followers", ...
[ { "login": "kashif", "id": 8100, "node_id": "MDQ6VXNlcjgxMDA=", "avatar_url": "https://avatars.githubusercontent.com/u/8100?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kashif", "html_url": "https://github.com/kashif", "followers_url": "https://api.github.com/users/k...
[ "Hi @wgifford, thanks for opening this PR! \r\n\r\nLet us know when it's ready for review! ", "Hi @amyeroberts I just rebased on current main. I think it is ready for review.", "thanks @amyeroberts I'll fix it up and push suggestions", "> thanks @amyeroberts I'll fix it up and push suggestions\r\n\r\nHi Kashi...
1,702
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? Makes PatchTST and PatchTSMixer interfaces more consistent -- using similar parameter names for method arguments and returned data objects. Fixes a few minor bugs in PatchTST implementation. Ensures more consistent output shapes with regression when an output_distribution is chosen (in ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28083/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28083/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28083", "html_url": "https://github.com/huggingface/transformers/pull/28083", "diff_url": "https://github.com/huggingface/transformers/pull/28083.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28083.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28082
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28082/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28082/comments
https://api.github.com/repos/huggingface/transformers/issues/28082/events
https://github.com/huggingface/transformers/issues/28082
2,044,146,496
I_kwDOCUB6oc551zNA
28,082
Dockerfiles under "docker" folder specially CPU ones fail to build.
{ "login": "ashahba", "id": 12436063, "node_id": "MDQ6VXNlcjEyNDM2MDYz", "avatar_url": "https://avatars.githubusercontent.com/u/12436063?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ashahba", "html_url": "https://github.com/ashahba", "followers_url": "https://api.github.com/users/ashahb...
[]
closed
false
null
[]
[ "cc @ydshieh " ]
1,702
1,703
1,703
CONTRIBUTOR
null
### System Info - tip of `main` hence `v4.36.1` - Runing Docker version 24.0.7 on Linux Ubuntu 22.04 ### Reproduction Running: ``` docker build -f docker/transformers-pytorch-cpu/Dockerfile . --tag transformers-pytorch-cpu ``` from tip of `main` branch results in: ``` => [5/6] COPY . transformers/ ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28082/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28082/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28081
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28081/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28081/comments
https://api.github.com/repos/huggingface/transformers/issues/28081/events
https://github.com/huggingface/transformers/pull/28081
2,044,120,456
PR_kwDOCUB6oc5iIcBv
28,081
More TF fixes
{ "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
[]
[ "Quick re-ping about this one @amyeroberts! (it's a very small PR, but I'd like to get it in so the CI stops upsetting Yih-Dar)" ]
1,702
1,702
1,702
MEMBER
null
The TF `build()` PR brought back an old issue where TF would latch onto the first concrete shape it saw, which would then become the model's save signature. We avoid it by hitting `self._set_save_spec()` with flexible shapes ASAP when models are created. This PR also replaces a few more instances of `build()` with `...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28081/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28081/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28081", "html_url": "https://github.com/huggingface/transformers/pull/28081", "diff_url": "https://github.com/huggingface/transformers/pull/28081.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28081.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28080
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28080/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28080/comments
https://api.github.com/repos/huggingface/transformers/issues/28080/events
https://github.com/huggingface/transformers/pull/28080
2,044,009,323
PR_kwDOCUB6oc5iID1Q
28,080
Update fixtures-image-utils
{ "login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoest...
[]
closed
false
null
[]
[]
1,702
1,702
1,702
MEMBER
null
The [hf-internal-testing/fixtures_image_utils](https://huggingface.co/datasets/hf-internal-testing/fixtures_image_utils) dataset fixture will break with the next release of datasets . This dataset has a script that writes cache image files that are used in tests. But in the next release the dataset is loaded from the...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28080/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28080/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28080", "html_url": "https://github.com/huggingface/transformers/pull/28080", "diff_url": "https://github.com/huggingface/transformers/pull/28080.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28080.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28079
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28079/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28079/comments
https://api.github.com/repos/huggingface/transformers/issues/28079/events
https://github.com/huggingface/transformers/issues/28079
2,043,961,955
I_kwDOCUB6oc551GJj
28,079
Expose `gradient_as_bucket_view` as training argument for `DDP`
{ "login": "chiragjn", "id": 10295418, "node_id": "MDQ6VXNlcjEwMjk1NDE4", "avatar_url": "https://avatars.githubusercontent.com/u/10295418?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chiragjn", "html_url": "https://github.com/chiragjn", "followers_url": "https://api.github.com/users/chi...
[ { "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
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[ { "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api...
[ "cc @muellerzr @pacman100 ", "In the start of Q1 I'll be looking at closely integrating an Accelerate configuration as part of the `TrainingArguments` that will let you configure and pass anything you want in, rather than blowing up the `TrainingArguments` with many different arguments. If you can wait a few week...
1,702
1,702
null
NONE
null
### Feature request As the title says, add `gradient_as_bucket_view` as the training argument (default False) ### Motivation I have been experimenting with qlora fine-tuning LLMs on multiple A10 GPUs and I am leveraging DDP. I was going through the torch docs and https://pytorch.org/docs/2.1/generated/torch.nn...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28079/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28079/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28078
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28078/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28078/comments
https://api.github.com/repos/huggingface/transformers/issues/28078/events
https://github.com/huggingface/transformers/pull/28078
2,043,945,589
PR_kwDOCUB6oc5iH14z
28,078
Fix bug for checkpoint saving on multi node training setting
{ "login": "dumpmemory", "id": 64742282, "node_id": "MDQ6VXNlcjY0NzQyMjgy", "avatar_url": "https://avatars.githubusercontent.com/u/64742282?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dumpmemory", "html_url": "https://github.com/dumpmemory", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "@muellerzr Is this a regression fix like #28009 or resolving an existing bug?", "@amyeroberts regression fix, includes a fix for the same issue but on multinode. ", "cc @thundergolfer too since I know you're trying to keep an eye on them all :)", "Thanks @dumpmemory. Another edge case squashed!" ]
1,702
1,702
1,702
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/28078/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28078/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28078", "html_url": "https://github.com/huggingface/transformers/pull/28078", "diff_url": "https://github.com/huggingface/transformers/pull/28078.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28078.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28077
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28077/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28077/comments
https://api.github.com/repos/huggingface/transformers/issues/28077/events
https://github.com/huggingface/transformers/pull/28077
2,043,933,828
PR_kwDOCUB6oc5iHzTT
28,077
Disable jitter noise during evaluation in SwitchTransformers
{ "login": "DaizeDong", "id": 113810510, "node_id": "U_kgDOBsicTg", "avatar_url": "https://avatars.githubusercontent.com/u/113810510?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DaizeDong", "html_url": "https://github.com/DaizeDong", "followers_url": "https://api.github.com/users/DaizeD...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28077). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,702
1,702
1,702
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/28077/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28077/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28077", "html_url": "https://github.com/huggingface/transformers/pull/28077", "diff_url": "https://github.com/huggingface/transformers/pull/28077.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28077.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28076
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28076/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28076/comments
https://api.github.com/repos/huggingface/transformers/issues/28076/events
https://github.com/huggingface/transformers/issues/28076
2,043,873,647
I_kwDOCUB6oc550wlv
28,076
The model's name is saved as model.safetensors while the logger reported its name as pytorch_model.bin, which is quite weird.
{ "login": "izyForever", "id": 43177954, "node_id": "MDQ6VXNlcjQzMTc3OTU0", "avatar_url": "https://avatars.githubusercontent.com/u/43177954?v=4", "gravatar_id": "", "url": "https://api.github.com/users/izyForever", "html_url": "https://github.com/izyForever", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "The function parameter is safe_serialization: bool = True, but the logger file name is a constant which is used for the situation of safe_serialization: bool = False and it causes ambiguousness.", "Hi @izyForever, thanks for raising this issue! \r\n\r\nIndeed, it seems this logging line wasn't updated to reflect...
1,702
1,706
1,703
CONTRIBUTOR
null
### System Info - `transformers` version: 4.36.1 - Platform: Windows-10-10.0.19045-SP0 - Python version: 3.11.2 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.0 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.1+cu118 (True) - Tensorflow version (GPU?...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28076/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/28076/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28075
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28075/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28075/comments
https://api.github.com/repos/huggingface/transformers/issues/28075/events
https://github.com/huggingface/transformers/issues/28075
2,043,781,068
I_kwDOCUB6oc550Z_M
28,075
Adding support for a static shape `generate`
{ "login": "alessandropalla", "id": 28634533, "node_id": "MDQ6VXNlcjI4NjM0NTMz", "avatar_url": "https://avatars.githubusercontent.com/u/28634533?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alessandropalla", "html_url": "https://github.com/alessandropalla", "followers_url": "https://api...
[]
closed
false
null
[]
[ "cc @gante ", "Any update on this ticket?", "There is an open PR: https://github.com/huggingface/transformers/pull/27931", "Thanks @oobabooga 🤗 and yes this is my main focus, hoping to ship by end of the week", "Many thanks! do you need help for the PR? (Development/testing/writing examples on how to run a...
1,702
1,707
1,707
NONE
null
### Feature request Many inference AI accelerators (Intel NPU, IPU, TPU, etc...) requires static shapes get maximum performance. Static shapes allows the NN graph compiler to improve memory management, schedule and overall network performance. However in transformers the `generate` function uses dynamic shapes and...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28075/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28075/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28074
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28074/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28074/comments
https://api.github.com/repos/huggingface/transformers/issues/28074/events
https://github.com/huggingface/transformers/issues/28074
2,043,766,034
I_kwDOCUB6oc550WUS
28,074
Inference speed becomes slower after quantization
{ "login": "xinyual", "id": 74362153, "node_id": "MDQ6VXNlcjc0MzYyMTUz", "avatar_url": "https://avatars.githubusercontent.com/u/74362153?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xinyual", "html_url": "https://github.com/xinyual", "followers_url": "https://api.github.com/users/xinyua...
[]
closed
false
null
[]
[ "cc @younesbelkada @SunMarc ", "hi @xinyual \r\nThanks a lot for the issue, in fact, in your script you are using `bnb_4bit_use_double_quant` which slows down inference at the price of being more memory efficient since the linear layers will be quantized twice. \r\nif you disable double quant it should be faster,...
1,702
1,705
1,705
NONE
null
### System Info - `transformers` version: 4.37.0.dev0 - Platform: Linux-5.15.0-1038-aws-x86_64-with-glibc2.10 - Python version: 3.8.17 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0.dev0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (True) - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28074/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28074/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28073
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28073/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28073/comments
https://api.github.com/repos/huggingface/transformers/issues/28073/events
https://github.com/huggingface/transformers/pull/28073
2,043,765,991
PR_kwDOCUB6oc5iHOei
28,073
Fix weights not properly initialized due to shape mismatch
{ "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_28073). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "As this touches the core file, request 2 reviews 🙏 ", "Guess I have to add some...
1,702
1,702
1,702
COLLABORATOR
null
Currently, if there is some weight shape mismatched between the model and the checkpoint, and if `ignore_mismatched_sizes=True`, that/those weight(s) won't get initialized by the model's `_init_weights` method, and could get crazy values like `1e37`. This could make the training gets nan loss value from the beginnin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28073/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28073/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28073", "html_url": "https://github.com/huggingface/transformers/pull/28073", "diff_url": "https://github.com/huggingface/transformers/pull/28073.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28073.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28072
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28072/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28072/comments
https://api.github.com/repos/huggingface/transformers/issues/28072/events
https://github.com/huggingface/transformers/issues/28072
2,043,757,981
I_kwDOCUB6oc550UWd
28,072
Can i convert open-clip trained models (.pt) using code “src/transformers/models/clip/convert_clip_original_pytorch_to_hf.py” ?
{ "login": "jzssz", "id": 112179055, "node_id": "U_kgDOBq-3bw", "avatar_url": "https://avatars.githubusercontent.com/u/112179055?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jzssz", "html_url": "https://github.com/jzssz", "followers_url": "https://api.github.com/users/jzssz/followers", ...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
null
[]
[ "Hi @jzssz, thanks for raising an issue! \r\n\r\nYes, it should be possible to convert a CLIP checkpoint to its HF equivalent using the script. Without having access to your checkpoint, it's not possible to reproduce and debug the issue on our side. \r\n\r\nFrom the error, it looks like there's a problem in the ser...
1,702
1,702
null
NONE
null
### Model description openclip:https://github.com/mlfoundations/open_clip i use openclip to train model and get "epoch_400.pt". **and i want to convert this "epoch_400.pt" to hf, so i run:** python src/transformers/models/clip/convert_clip_original_pytorch_to_hf.py --pytorch_dump_folder_path "./openclip_s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28072/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28072/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28071
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28071/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28071/comments
https://api.github.com/repos/huggingface/transformers/issues/28071/events
https://github.com/huggingface/transformers/pull/28071
2,043,757,468
PR_kwDOCUB6oc5iHMoj
28,071
Fix SpeechT5 `decoder_attention_mask` shape
{ "login": "ylacombe", "id": 52246514, "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylacombe", "html_url": "https://github.com/ylacombe", "followers_url": "https://api.github.com/users/yla...
[]
open
false
null
[]
[ "After running the slow tests, we have these two failing tests:\r\n```\r\nFAILED tests/models/speecht5/test_modeling_speecht5.py::SpeechT5ForTextToSpeechIntegrationTests::test_batch_generation - AssertionError: torch.Size([3, 264, 80]) != (3, 262, 80)\r\nFAILED tests/models/speecht5/test_modeling_speecht5.py::Speec...
1,702
1,707
null
COLLABORATOR
null
# What does this PR do? #26598 rightfully raised a warning when passing labels to `SpeechT5`. When it happens, a reduction factor is applied to the `labels` but not to the `decoder_attention_mask` that comes with it, resulting in a mismatch. Fixes #26598 cc @amyeroberts @sanchit-gandhi
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28071/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28071/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28071", "html_url": "https://github.com/huggingface/transformers/pull/28071", "diff_url": "https://github.com/huggingface/transformers/pull/28071.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28071.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28070
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28070/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28070/comments
https://api.github.com/repos/huggingface/transformers/issues/28070/events
https://github.com/huggingface/transformers/issues/28070
2,043,706,277
I_kwDOCUB6oc550Hul
28,070
TypeError: 'ModelMetaclass' object is not iterable
{ "login": "andysingal", "id": 20493493, "node_id": "MDQ6VXNlcjIwNDkzNDkz", "avatar_url": "https://avatars.githubusercontent.com/u/20493493?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andysingal", "html_url": "https://github.com/andysingal", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @andysingal \r\nThanks for the issue! \r\nI think `HfArgumentParser` requires a `dataclass` - can you try to un-comment `# @dataclass` ?", "> Hi @andysingal Thanks for the issue! I think `HfArgumentParser` requires a `dataclass` - can you try to un-comment `# @dataclass` ?\r\n\r\ni tried, now getting error:\r...
1,702
1,705
1,705
NONE
null
### System Info RTX 3090 ### Who can help? @younesbelkada while working on: ``` import os from dataclasses import dataclass, field from typing import Optional from datasets.arrow_dataset import Dataset import torch from datasets import load_dataset from peft import LoraConfig from peft import AutoPeftModelF...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28070/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28070/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28069
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28069/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28069/comments
https://api.github.com/repos/huggingface/transformers/issues/28069/events
https://github.com/huggingface/transformers/issues/28069
2,043,705,426
I_kwDOCUB6oc550HhS
28,069
Add time progress bar to track the group_by_length computation for bigger datasets on Trainer
{ "login": "T-Almeida", "id": 19167453, "node_id": "MDQ6VXNlcjE5MTY3NDUz", "avatar_url": "https://avatars.githubusercontent.com/u/19167453?v=4", "gravatar_id": "", "url": "https://api.github.com/users/T-Almeida", "html_url": "https://github.com/T-Almeida", "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" } ]
open
false
null
[]
[ "cc @muellerzr @pacman100 " ]
1,702
1,702
null
NONE
null
### Feature request When setting the flag `group_by_length=True` on the TrainingArguments, there is no user feedback of the operations running in the background, namely getting the list of lengths for all the samples and running the grouping algorithm. This can be a frustrating problem when dealing with large datase...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28069/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28069/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28068
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28068/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28068/comments
https://api.github.com/repos/huggingface/transformers/issues/28068/events
https://github.com/huggingface/transformers/pull/28068
2,043,661,913
PR_kwDOCUB6oc5iG3yT
28,068
[`Mixtral`] update conversion script to reflect new changes
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "> Re removal from Mixtral modeling files, I'd say yes if it's never used. Depends on whether you think it'll ever be added again in the future.\r\n\r\nLet me check that with Mistral team and if it will not be added again, I also think it should be removed", "The docs for this PR live [here](https://moon-ci-docs....
1,702
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? Fixes: https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1/discussions/41 Sliding window has been recently removed from mixtral config, thus we need to reflect these changes in the conversion script I also wonder if we should ignore `sliding_window` in MixtralAttention & Mixtral...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28068/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28068/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28068", "html_url": "https://github.com/huggingface/transformers/pull/28068", "diff_url": "https://github.com/huggingface/transformers/pull/28068.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28068.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28067
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28067/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28067/comments
https://api.github.com/repos/huggingface/transformers/issues/28067/events
https://github.com/huggingface/transformers/issues/28067
2,043,646,283
I_kwDOCUB6oc55z5FL
28,067
No module named 'clip'
{ "login": "jzssz", "id": 112179055, "node_id": "U_kgDOBq-3bw", "avatar_url": "https://avatars.githubusercontent.com/u/112179055?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jzssz", "html_url": "https://github.com/jzssz", "followers_url": "https://api.github.com/users/jzssz/followers", ...
[]
closed
false
null
[]
[ "The instructions for installing the package `clip` can be found on the original implementation's github README: https://github.com/openai/CLIP" ]
1,702
1,702
1,702
NONE
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-5.4.0-166-generic-x86_64-with-glibc2.17 - Python version: 3.8.18 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 1.13.1 (True) - Tenso...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28067/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28067/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28066
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28066/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28066/comments
https://api.github.com/repos/huggingface/transformers/issues/28066/events
https://github.com/huggingface/transformers/issues/28066
2,043,567,873
I_kwDOCUB6oc55zl8B
28,066
Tokenizer padding does not work when return_tensor="pt"
{ "login": "simeneide", "id": 7136076, "node_id": "MDQ6VXNlcjcxMzYwNzY=", "avatar_url": "https://avatars.githubusercontent.com/u/7136076?v=4", "gravatar_id": "", "url": "https://api.github.com/users/simeneide", "html_url": "https://github.com/simeneide", "followers_url": "https://api.github.com/users/si...
[]
closed
false
null
[]
[ "Could you share a traceback of the error? \r\n", "Sorry, it is updated now :)", "Also related but not sure if it is the same. When using DataCollator on batches with keys that are not inputIds it fails:\r\nhttps://huggingface.co/docs/transformers/main_classes/data_collator#transformers.DataCollatorWithPadding\...
1,702
1,706
1,702
NONE
null
### System Info - `transformers` version: 4.36.1 - Platform: Linux-5.15.0-71-generic-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu121 (True) - Ten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28066/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28066/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28065
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28065/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28065/comments
https://api.github.com/repos/huggingface/transformers/issues/28065/events
https://github.com/huggingface/transformers/pull/28065
2,043,507,125
PR_kwDOCUB6oc5iGVb6
28,065
Cache: `Bart` and related architectures support `Cache` objects
{ "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...
[ { "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
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28065). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@amyeroberts this PR is not finalized, but I'd love to get an early review -- the ...
1,702
1,705
null
MEMBER
null
# What does this PR do? This PR applies the changes to `Bart` so it supports the new `Cache` objects. In other works, it is akin to #26681 but for encoder-decoder models. ⚠️ This is a giant PR that can't be separated due to our copy mechanism (🙃), but the review process doesn't need to be daunting. Here's my sug...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28065/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28065/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28065", "html_url": "https://github.com/huggingface/transformers/pull/28065", "diff_url": "https://github.com/huggingface/transformers/pull/28065.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28065.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28064
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28064/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28064/comments
https://api.github.com/repos/huggingface/transformers/issues/28064/events
https://github.com/huggingface/transformers/pull/28064
2,043,489,693
PR_kwDOCUB6oc5iGReQ
28,064
doc: Correct spelling mistake
{ "login": "caiyili", "id": 4177513, "node_id": "MDQ6VXNlcjQxNzc1MTM=", "avatar_url": "https://avatars.githubusercontent.com/u/4177513?v=4", "gravatar_id": "", "url": "https://api.github.com/users/caiyili", "html_url": "https://github.com/caiyili", "followers_url": "https://api.github.com/users/caiyili/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28064). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,702
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? Correct the word "toekn" to "token" in a document.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28064/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28064/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28064", "html_url": "https://github.com/huggingface/transformers/pull/28064", "diff_url": "https://github.com/huggingface/transformers/pull/28064.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28064.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28063
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28063/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28063/comments
https://api.github.com/repos/huggingface/transformers/issues/28063/events
https://github.com/huggingface/transformers/issues/28063
2,043,339,236
I_kwDOCUB6oc55yuHk
28,063
can not find dataset_name transformersbook/codeparrot
{ "login": "sxsxsx", "id": 16790259, "node_id": "MDQ6VXNlcjE2NzkwMjU5", "avatar_url": "https://avatars.githubusercontent.com/u/16790259?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sxsxsx", "html_url": "https://github.com/sxsxsx", "followers_url": "https://api.github.com/users/sxsxsx/fo...
[]
closed
false
null
[]
[ "Hi @sxsxsx, thanks for raising this issue! \r\n\r\nCould you please provide information about the running environment: run `transformers-cli env` in the terminal and copy-paste the output? \r\n\r\nIs the script being run `examples/research_projects/codeparrot/scripts/preprocessing.py ? Please note that the researc...
1,702
1,705
1,705
NONE
null
### System Info python scripts/preprocessing.py \ --dataset_name transformersbook/codeparrot \ --output_dir codeparrot-clean can not find dataset_name transformersbook/codeparrot the error is Traceback (most recent call last): File "scripts/preprocessing.py", line 171, in <module> ds = load_datase...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28063/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28063/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28062
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28062/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28062/comments
https://api.github.com/repos/huggingface/transformers/issues/28062/events
https://github.com/huggingface/transformers/pull/28062
2,043,336,160
PR_kwDOCUB6oc5iFuY8
28,062
Remove SpeechT5 deprecated argument
{ "login": "ylacombe", "id": 52246514, "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylacombe", "html_url": "https://github.com/ylacombe", "followers_url": "https://api.github.com/users/yla...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28062). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Merging !" ]
1,702
1,702
1,702
COLLABORATOR
null
# What does this PR do? `stop_labels` is an unused argument that was supposed to be removed in `4.30.0`, here I remove it! cc @amyeroberts
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28062/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28062/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28062", "html_url": "https://github.com/huggingface/transformers/pull/28062", "diff_url": "https://github.com/huggingface/transformers/pull/28062.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28062.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28061
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28061/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28061/comments
https://api.github.com/repos/huggingface/transformers/issues/28061/events
https://github.com/huggingface/transformers/pull/28061
2,043,330,623
PR_kwDOCUB6oc5iFtJJ
28,061
[`Modeling` / `Mixtral`] Fix GC + PEFT issues with Mixtral
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28061). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Thanks ! As far as I know all models that uses the new cache refactor have been fi...
1,702
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? Applies the same fix presented in #28031 for Mixtral, specifically addresses: https://github.com/huggingface/transformers/issues/28023#issuecomment-1856556941 cc @amyeroberts Fixes: https://github.com/huggingface/trl/issues/1088
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28061/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28061/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28061", "html_url": "https://github.com/huggingface/transformers/pull/28061", "diff_url": "https://github.com/huggingface/transformers/pull/28061.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28061.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28060
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28060/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28060/comments
https://api.github.com/repos/huggingface/transformers/issues/28060/events
https://github.com/huggingface/transformers/pull/28060
2,043,320,287
PR_kwDOCUB6oc5iFq0H
28,060
Skip M4T `test_retain_grad_hidden_states_attentions`
{ "login": "ylacombe", "id": 52246514, "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylacombe", "html_url": "https://github.com/ylacombe", "followers_url": "https://api.github.com/users/yla...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28060). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Thanks for fixing! \r\n\r\nIf training is allowed to happen on the model but it ca...
1,702
1,702
1,702
COLLABORATOR
null
# What does this PR do? After investigating the reasons for the `test_retain_grad_hidden_states_attentions` flaky failure, I realized the speech encoder attentions can be `None` with a non-zero probability when `training=True`. Skipping the test is the fastest fix. Fixes #28036 cc @gante @amyeroberts @ydshieh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28060/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/28060/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28060", "html_url": "https://github.com/huggingface/transformers/pull/28060", "diff_url": "https://github.com/huggingface/transformers/pull/28060.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28060.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28059
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28059/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28059/comments
https://api.github.com/repos/huggingface/transformers/issues/28059/events
https://github.com/huggingface/transformers/pull/28059
2,043,291,530
PR_kwDOCUB6oc5iFkT_
28,059
[Flax LLaMA] Fix attn dropout
{ "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...
[]
closed
false
null
[]
[]
1,702
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? Attention dropout was not activated in Flax LLaMA, despite it being so in PyTorch LLaMA: https://github.com/huggingface/transformers/blob/1a585c1222a56bcaecc070966d558d4a9d862e83/src/transformers/models/llama/modeling_llama.py#L430 => this PR unifies the implementations across frameworks
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28059/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28059/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28059", "html_url": "https://github.com/huggingface/transformers/pull/28059", "diff_url": "https://github.com/huggingface/transformers/pull/28059.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28059.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28058
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28058/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28058/comments
https://api.github.com/repos/huggingface/transformers/issues/28058/events
https://github.com/huggingface/transformers/issues/28058
2,043,256,422
I_kwDOCUB6oc55yZ5m
28,058
Mixtral: Reduce and Increase Expert Models
{ "login": "minato-ellie", "id": 82735346, "node_id": "MDQ6VXNlcjgyNzM1MzQ2", "avatar_url": "https://avatars.githubusercontent.com/u/82735346?v=4", "gravatar_id": "", "url": "https://api.github.com/users/minato-ellie", "html_url": "https://github.com/minato-ellie", "followers_url": "https://api.github.c...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[ "cc @younesbelkada @ArthurZucker ", "Hi @minato-ellie \r\nThis could makes sense yes, do you know if it has been empirically proven that decreasing the number of experts do not lead in performance degradation? I also wonder if this does not make the HF mixtral implementation \"too modulable\" which goes against t...
1,702
1,702
null
NONE
null
### Feature request Add methods to MixtralSparseMoeBlock, MixtralDecoderLayer, and MixtralModel for reducing (and enlarging) the number of expert models. Implement a mechanism to decrease the number of expert models by removing corresponding rows in gate weights. This should enable the removal expert models by id...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28058/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28058/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28057
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28057/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28057/comments
https://api.github.com/repos/huggingface/transformers/issues/28057/events
https://github.com/huggingface/transformers/pull/28057
2,042,915,548
PR_kwDOCUB6oc5iEScS
28,057
fix ffmpeg_microphone under WSL2 (use pulseaudio)
{ "login": "jamon", "id": 272949, "node_id": "MDQ6VXNlcjI3Mjk0OQ==", "avatar_url": "https://avatars.githubusercontent.com/u/272949?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jamon", "html_url": "https://github.com/jamon", "followers_url": "https://api.github.com/users/jamon/followers"...
[]
closed
false
null
[]
[ "cc @Narsil @sanchit-gandhi ", "Pulse or Also has nothing to do with WSL2. You could use either on regular linux too.\r\n\r\nI think this is the point where this demo should stop trying to support everything that might exist. Giving a good error message when this triggers might be better imo.", "This issue has ...
1,702
1,708
1,708
NONE
null
# Fix ffmpeg_microphone under WSL2 This attempts to detect if it is running under WSL2 and defaults to using pulseaudio with an input of "RDPSource" in order to work with WSL2. @Narsil - tagging you since you contributed most of this file. I'm also happy to update this to just accept the format and input as parame...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28057/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28057/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28057", "html_url": "https://github.com/huggingface/transformers/pull/28057", "diff_url": "https://github.com/huggingface/transformers/pull/28057.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28057.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28056
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28056/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28056/comments
https://api.github.com/repos/huggingface/transformers/issues/28056/events
https://github.com/huggingface/transformers/issues/28056
2,042,880,695
I_kwDOCUB6oc55w-K3
28,056
Transformers 4.36 use_cache issue
{ "login": "dakinggg", "id": 43149077, "node_id": "MDQ6VXNlcjQzMTQ5MDc3", "avatar_url": "https://avatars.githubusercontent.com/u/43149077?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dakinggg", "html_url": "https://github.com/dakinggg", "followers_url": "https://api.github.com/users/dak...
[]
open
false
null
[]
[ "Thanks, pinging @gante as well as he worked on the cache refactoring, let’s keep this in mind ", "Hi @dakinggg \r\nThanks very much for reporting, I believe one of your issue (or maybe both of them!) would be solved with https://github.com/huggingface/transformers/pull/28031\r\nCan you try with transformers main...
1,702
1,707
null
CONTRIBUTOR
null
### System Info - `transformers` version: 4.36.0 - Platform: Linux-5.15.0-91-generic-x86_64-with-glibc2.31 - Python version: 3.10.12 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.3.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu121 (True) ### Who...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28056/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28056/timeline
null
null
null