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/28660
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28660/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28660/comments
https://api.github.com/repos/huggingface/transformers/issues/28660/events
https://github.com/huggingface/transformers/pull/28660
2,095,691,451
PR_kwDOCUB6oc5k0Nln
28,660
`tensor_size` - fix copy/paste error msg typo
{ "login": "scruel", "id": 16933298, "node_id": "MDQ6VXNlcjE2OTMzMjk4", "avatar_url": "https://avatars.githubusercontent.com/u/16933298?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scruel", "html_url": "https://github.com/scruel", "followers_url": "https://api.github.com/users/scruel/fo...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28660). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,706
1,706
1,706
CONTRIBUTOR
null
## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests), Pull Request section? - [ ] Was th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28660/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28660/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28660", "html_url": "https://github.com/huggingface/transformers/pull/28660", "diff_url": "https://github.com/huggingface/transformers/pull/28660.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28660.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28659
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28659/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28659/comments
https://api.github.com/repos/huggingface/transformers/issues/28659/events
https://github.com/huggingface/transformers/issues/28659
2,095,647,125
I_kwDOCUB6oc586QmV
28,659
The newer tokenizer can not tokenize pad_token to pad_token_id
{ "login": "Magicalyz", "id": 56778660, "node_id": "MDQ6VXNlcjU2Nzc4NjYw", "avatar_url": "https://avatars.githubusercontent.com/u/56778660?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Magicalyz", "html_url": "https://github.com/Magicalyz", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[ "Hello! Thanks for raising this issue! This is using a custom code, I would recommend you to open this issue on the repo's discussion tab! 🤗 \r\nThere were a few changes, but I think the tokenizer's remote code is the issue here. With LlamaTokenizer there is no such issue! (The token is normalized) " ]
1,706
1,706
null
NONE
null
### System Info - `transformers` version: 4.36.0 - Platform: Linux-5.4.143.bsk.7-amd64-x86_64-with-glibc2.31 - Python version: 3.9.2 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu122 (True) - Ten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28659/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28659/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28658
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28658/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28658/comments
https://api.github.com/repos/huggingface/transformers/issues/28658/events
https://github.com/huggingface/transformers/issues/28658
2,095,474,798
I_kwDOCUB6oc585mhu
28,658
OSError: ../../../../models/Yi-VL-34B/ does not appear to have a file named preprocessor_config.json. Checkout 'https://huggingface.co/../../../../models/Yi-VL-34B//main' for available files.
{ "login": "lucasjinreal", "id": 21303438, "node_id": "MDQ6VXNlcjIxMzAzNDM4", "avatar_url": "https://avatars.githubusercontent.com/u/21303438?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucasjinreal", "html_url": "https://github.com/lucasjinreal", "followers_url": "https://api.github.c...
[]
open
false
null
[]
[ "This is because of new transformer version", "Hi @lucasjinreal, thanks for raising an issue! \r\n\r\nWithout knowing how or where the error is triggered, or the full error message there's not much we can do. So that we can be best help you, please make sure to follow the [issue template](https://github.com/huggi...
1,705
1,706
null
NONE
null
OSError: ../../../../models/Yi-VL-34B/ does not appear to have a file named preprocessor_config.json. Checkout 'https://huggingface.co/../../../../models/Yi-VL-34B//main' for available files.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28658/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28658/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28657
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28657/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28657/comments
https://api.github.com/repos/huggingface/transformers/issues/28657/events
https://github.com/huggingface/transformers/pull/28657
2,095,315,464
PR_kwDOCUB6oc5ky8YW
28,657
Add token_type_ids to Esm tokenizer
{ "login": "lhallee", "id": 72926928, "node_id": "MDQ6VXNlcjcyOTI2OTI4", "avatar_url": "https://avatars.githubusercontent.com/u/72926928?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhallee", "html_url": "https://github.com/lhallee", "followers_url": "https://api.github.com/users/lhalle...
[]
open
false
null
[]
[ "cc @Rocketknight1 ", "Hi @lhallee - I appreciate the work but I'm not sure we can accept this! ESM was not trained with `token_type_ids` and will not accept them by default, so even if we get the tokenizer to return them then the ESM model code will also have to be altered. In general at Hugging Face we aim to r...
1,705
1,706
null
NONE
null
# What does this PR do? Enables EsmTokenizer to correctly return token_type_ids. Before, ignored special tokens. create_token_type_ids_from_sequences was adapted from BertTokenizer with eos instead of sep per Esm special tokens. This ``` tokenizer = EsmTokenizer.from_pretrained('facebook/esm2_t6_8M_UR50D') seq =...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28657/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28657/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28657", "html_url": "https://github.com/huggingface/transformers/pull/28657", "diff_url": "https://github.com/huggingface/transformers/pull/28657.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28657.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28656
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28656/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28656/comments
https://api.github.com/repos/huggingface/transformers/issues/28656/events
https://github.com/huggingface/transformers/issues/28656
2,095,309,779
I_kwDOCUB6oc584-PT
28,656
EsmTokenizer does not return correct length token type ids
{ "login": "lhallee", "id": 72926928, "node_id": "MDQ6VXNlcjcyOTI2OTI4", "avatar_url": "https://avatars.githubusercontent.com/u/72926928?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhallee", "html_url": "https://github.com/lhallee", "followers_url": "https://api.github.com/users/lhalle...
[]
open
false
null
[]
[ "Suggested changes that fix this in Pull request [#28657](https://github.com/huggingface/transformers/pull/28657)", "cc @Rocketknight1 " ]
1,705
1,706
null
NONE
null
### System Info transformers 4.37 python 3.10.11 ### Who can help? @ArthurZucker ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or dataset (give details below) ###...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28656/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28656/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28655
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28655/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28655/comments
https://api.github.com/repos/huggingface/transformers/issues/28655/events
https://github.com/huggingface/transformers/pull/28655
2,094,838,316
PR_kwDOCUB6oc5kxVh7
28,655
Bump pillow from 10.0.1 to 10.2.0 in /examples/research_projects/decision_transformer
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" }, { "id": 6410...
closed
false
null
[]
[ "OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`.\n\nIf you change your mind, j...
1,705
1,706
1,706
CONTRIBUTOR
null
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.0.1 to 10.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p> <blockquote> <h2>10.2.0</h2> <p><a href="https://pillow.readthedocs.io/en/stable/releas...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28655/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28655/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28655", "html_url": "https://github.com/huggingface/transformers/pull/28655", "diff_url": "https://github.com/huggingface/transformers/pull/28655.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28655.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28654
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28654/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28654/comments
https://api.github.com/repos/huggingface/transformers/issues/28654/events
https://github.com/huggingface/transformers/pull/28654
2,094,764,082
PR_kwDOCUB6oc5kxFIV
28,654
Add Depth Anything
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "The tests_pr_documentation_tests is failing due to the checkpoint not yet being available on the TikTok organization.", "@amyeroberts thanks for your review, addressed all comments. CI is failing due to unrelated tests" ]
1,705
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? This PR adds an alternative design to #28643, which adds a standalone separate model. Pros: - [x] does not clutter the existing modeling_dpt.py - [x] is more in line with the [philosophy](https://huggingface.co/blog/transformers-design-philosophy) Cons: - [x] actually, not a lot ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28654/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28654/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28654", "html_url": "https://github.com/huggingface/transformers/pull/28654", "diff_url": "https://github.com/huggingface/transformers/pull/28654.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28654.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28653
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28653/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28653/comments
https://api.github.com/repos/huggingface/transformers/issues/28653/events
https://github.com/huggingface/transformers/pull/28653
2,094,695,897
PR_kwDOCUB6oc5kw2Si
28,653
integrations: fix DVCLiveCallback model logging
{ "login": "dberenbaum", "id": 2308172, "node_id": "MDQ6VXNlcjIzMDgxNzI=", "avatar_url": "https://avatars.githubusercontent.com/u/2308172?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dberenbaum", "html_url": "https://github.com/dberenbaum", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[]
1,705
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? Fixes issues with `HF_DVCLIVE_LOG_MODEL` environment variable not always being respected. ## 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/huggingf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28653/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28653/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28653", "html_url": "https://github.com/huggingface/transformers/pull/28653", "diff_url": "https://github.com/huggingface/transformers/pull/28653.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28653.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28652
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28652/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28652/comments
https://api.github.com/repos/huggingface/transformers/issues/28652/events
https://github.com/huggingface/transformers/pull/28652
2,094,694,394
PR_kwDOCUB6oc5kw19J
28,652
[WIP] VMamba implementation
{ "login": "dmus", "id": 464378, "node_id": "MDQ6VXNlcjQ2NDM3OA==", "avatar_url": "https://avatars.githubusercontent.com/u/464378?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmus", "html_url": "https://github.com/dmus", "followers_url": "https://api.github.com/users/dmus/followers", ...
[]
open
false
null
[]
[ "@dmus Very exciting! Let us know when the PR is ready for review. \r\n\r\ncc @ArthurZucker as I believe there's an on-going mamba implementation that we might want to coordinate with here ", "I don't have bandwidth yet so nice if you want to do ti! ", "I have a question about this test in test_modeling_common....
1,705
1,706
null
NONE
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/28652/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/28652/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28652", "html_url": "https://github.com/huggingface/transformers/pull/28652", "diff_url": "https://github.com/huggingface/transformers/pull/28652.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28652.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28651
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28651/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28651/comments
https://api.github.com/repos/huggingface/transformers/issues/28651/events
https://github.com/huggingface/transformers/issues/28651
2,094,681,853
I_kwDOCUB6oc582k79
28,651
Memory consumption for inference with Llama2-7B is weird
{ "login": "c3ianwu", "id": 92783433, "node_id": "U_kgDOBYfDSQ", "avatar_url": "https://avatars.githubusercontent.com/u/92783433?v=4", "gravatar_id": "", "url": "https://api.github.com/users/c3ianwu", "html_url": "https://github.com/c3ianwu", "followers_url": "https://api.github.com/users/c3ianwu/follow...
[]
open
false
null
[]
[ "Hi @c3ianwu \r\nThis is interesting, I am not 100% sure what is wrong here but I can give you some insights. \r\nWhen designing the tests for quantization, as we were running multiple tests with `generate` I used to get OOM on our CI machines that had ~16GB GPU RAM. It seems the fix was simply to empty the CUDA ca...
1,705
1,707
null
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-5.15.107+-x86_64-with-glibc2.31 - Python version: 3.10.13 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: 0.22.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu118 (True) - Tensorflow ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28651/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/28651/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28650
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28650/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28650/comments
https://api.github.com/repos/huggingface/transformers/issues/28650/events
https://github.com/huggingface/transformers/pull/28650
2,094,606,858
PR_kwDOCUB6oc5kwiw7
28,650
[DO NOT MERGE] Testing safetensors 0.4.2
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[]
1,705
1,706
1,706
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 with a d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28650/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28650/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28650", "html_url": "https://github.com/huggingface/transformers/pull/28650", "diff_url": "https://github.com/huggingface/transformers/pull/28650.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28650.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28649
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28649/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28649/comments
https://api.github.com/repos/huggingface/transformers/issues/28649/events
https://github.com/huggingface/transformers/issues/28649
2,094,580,013
I_kwDOCUB6oc582MEt
28,649
4.37 ImportError: cannot import name 'SampleOutput' from 'transformers.generation.utils'
{ "login": "erew123", "id": 35898566, "node_id": "MDQ6VXNlcjM1ODk4NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/35898566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/erew123", "html_url": "https://github.com/erew123", "followers_url": "https://api.github.com/users/erew12...
[]
closed
false
null
[]
[ "cc @gante \r\n", "Just encountered this error and found this thread by google searching it", "Confirm this happens on 4.37.0", "Me too, literally just happened. I'll try downgrading first.", "Encountered this error as well. Downgrading Transformers to 4.36.2 fixes it.", "This worked for me:\r\nUpdate you...
1,705
1,706
1,706
NONE
null
### System Info I am a developer of AllTalk https://github.com/erew123/alltalk_tts/ which uses the Coqui TTS engine https://github.com/coqui-ai/TTS As of the 4.37 update, I have users reporting this error: ``` Traceback (most recent call last): File "/home/ai/alltalk_tts/tts_server.py", line 7, in from TTS.tts....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28649/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28649/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28648
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28648/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28648/comments
https://api.github.com/repos/huggingface/transformers/issues/28648/events
https://github.com/huggingface/transformers/pull/28648
2,094,285,376
PR_kwDOCUB6oc5kvcR4
28,648
[`TokenizationUtils`] add support for `split_special_tokens`
{ "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
[]
[]
1,705
1,705
null
COLLABORATOR
null
# What does this PR do? Adds support for `split_special_tokens` for fast models as well - [ ] deprecate `split_special_tokens` for `encode_special_tokens` for API consistency - [ ] make sure this is saved and used not only as kwargs but also the attribute - [ ] add some tests - [ ] add some docs
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28648/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28648/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28648", "html_url": "https://github.com/huggingface/transformers/pull/28648", "diff_url": "https://github.com/huggingface/transformers/pull/28648.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28648.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28647
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28647/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28647/comments
https://api.github.com/repos/huggingface/transformers/issues/28647/events
https://github.com/huggingface/transformers/issues/28647
2,094,271,576
I_kwDOCUB6oc581AxY
28,647
Why tokens / second is more on Float32 than Float16
{ "login": "Anindyadeep", "id": 58508471, "node_id": "MDQ6VXNlcjU4NTA4NDcx", "avatar_url": "https://avatars.githubusercontent.com/u/58508471?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Anindyadeep", "html_url": "https://github.com/Anindyadeep", "followers_url": "https://api.github.com/...
[]
open
false
null
[]
[ "cc @SunMarc , not 100% sure here but maybe this is expected with a potential silent fp32 -> fp16 downcasting overhead", "@Anindyadeep - thanks for raising this issue! Could you also share the standard deviation between the runs? ", "We only perform downcasting when there is no dtype specified. GPTQ model can i...
1,705
1,706
null
CONTRIBUTOR
null
### System Info ``` - `transformers` version: 4.34.1 - Platform: Linux-5.4.0-169-generic-x86_64-with-glibc2.31 - Python version: 3.9.16 - Huggingface_hub version: 0.17.3 - Safetensors version: 0.4.1 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch version (GPU?): 2.0.0+cu117 (True) -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28647/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28647/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28646
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28646/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28646/comments
https://api.github.com/repos/huggingface/transformers/issues/28646/events
https://github.com/huggingface/transformers/pull/28646
2,094,253,001
PR_kwDOCUB6oc5kvVOB
28,646
improve efficient training on CPU documentation
{ "login": "faaany", "id": 24477841, "node_id": "MDQ6VXNlcjI0NDc3ODQx", "avatar_url": "https://avatars.githubusercontent.com/u/24477841?v=4", "gravatar_id": "", "url": "https://api.github.com/users/faaany", "html_url": "https://github.com/faaany", "followers_url": "https://api.github.com/users/faaany/fo...
[]
closed
false
null
[]
[ "Hi @amyeroberts @stevhliu, could you help review this PR? Thx!", "@yao-matrix", "@stevhliu thanks so much for the corrections! It looks much better now and I only made one more change as @yao-matrix suggested in the comment. Pls help us to merge this PR. Many thanks! " ]
1,705
1,706
1,706
CONTRIBUTOR
null
## What does this PR do? This PR improves the CPU efficient training documentation to make it more clear, accurate and up-to-date. Concrete improvements are - add full names of the CPU instruction sets (e.g. Intel® Advanced Vector Extensions 512 instead of AVX-512) - add one sentence to explain "mixed precision" -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28646/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28646/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28646", "html_url": "https://github.com/huggingface/transformers/pull/28646", "diff_url": "https://github.com/huggingface/transformers/pull/28646.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28646.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28645
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28645/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28645/comments
https://api.github.com/repos/huggingface/transformers/issues/28645/events
https://github.com/huggingface/transformers/pull/28645
2,093,983,567
PR_kwDOCUB6oc5kua1I
28,645
[`GPTNeoX`] Fix GPTNeoX + Flash Attention 2 issue
{ "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
[]
[]
1,705
1,705
1,705
CONTRIBUTOR
null
# What does this PR do? Fixes https://github.com/huggingface/transformers/issues/28613 Indeed, probably due to copy-pasta the target_dtype was trying to get inferred from the wrong attribute cc @amyeroberts
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28645/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28645/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28645", "html_url": "https://github.com/huggingface/transformers/pull/28645", "diff_url": "https://github.com/huggingface/transformers/pull/28645.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28645.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28644
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28644/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28644/comments
https://api.github.com/repos/huggingface/transformers/issues/28644/events
https://github.com/huggingface/transformers/pull/28644
2,093,953,365
PR_kwDOCUB6oc5kuULr
28,644
small doc update for CamemBERT
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[]
closed
false
null
[]
[]
1,705
1,706
1,706
MEMBER
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28644/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28644/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28644", "html_url": "https://github.com/huggingface/transformers/pull/28644", "diff_url": "https://github.com/huggingface/transformers/pull/28644.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28644.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28643
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28643/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28643/comments
https://api.github.com/repos/huggingface/transformers/issues/28643/events
https://github.com/huggingface/transformers/pull/28643
2,093,924,305
PR_kwDOCUB6oc5kuNzt
28,643
Convert Depth Anything
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Have opened a PR that may be more in line with the philosophy. Let me know which one you prefer :)", "Closing in favor of #28654 " ]
1,705
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? [Depth Anything](https://twitter.com/_akhaliq/status/1749284669936275463) came out, and it is compatible with our implementation of DPT. It leverages DINOv2 as backbone. It does use a small a tweak in the decoder, where it sets `size` instead of `scale_factor` when interpolating. Demo n...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28643/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28643/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28643", "html_url": "https://github.com/huggingface/transformers/pull/28643", "diff_url": "https://github.com/huggingface/transformers/pull/28643.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28643.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28642
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28642/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28642/comments
https://api.github.com/repos/huggingface/transformers/issues/28642/events
https://github.com/huggingface/transformers/pull/28642
2,093,923,569
PR_kwDOCUB6oc5kuNpW
28,642
Set correct dtypes for ONNX quantization
{ "login": "severinsimmler", "id": 16133277, "node_id": "MDQ6VXNlcjE2MTMzMjc3", "avatar_url": "https://avatars.githubusercontent.com/u/16133277?v=4", "gravatar_id": "", "url": "https://api.github.com/users/severinsimmler", "html_url": "https://github.com/severinsimmler", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Thank you @severinsimmler, `transformers.convert_graph_to_onnx` is deprecated (https://github.com/huggingface/transformers/blob/dafd59512cf6376ee2f056e38935d83df77a213c/src/transformers/convert_graph_to_onnx.py#L362), I would recommend you to use optimum utilities.", "@fxmarty Yes, makes sense to migrate to `opt...
1,705
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? It's currently not to possible to quantize an ONNX model with `transformers.convert_graph_to_onnx`. Running the following snippet on `main`: ```python from pathlib import Path from transformers import pipeline from transformers.convert_graph_to_onnx import convert_pytorch, quantize...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28642/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28642/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28642", "html_url": "https://github.com/huggingface/transformers/pull/28642", "diff_url": "https://github.com/huggingface/transformers/pull/28642.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28642.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28641
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28641/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28641/comments
https://api.github.com/repos/huggingface/transformers/issues/28641/events
https://github.com/huggingface/transformers/issues/28641
2,093,895,845
I_kwDOCUB6oc58zlCl
28,641
Qwen2 weights are not there/deleted?
{ "login": "aliencaocao", "id": 20109683, "node_id": "MDQ6VXNlcjIwMTA5Njgz", "avatar_url": "https://avatars.githubusercontent.com/u/20109683?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aliencaocao", "html_url": "https://github.com/aliencaocao", "followers_url": "https://api.github.com/...
[]
open
false
null
[]
[ "cc @JustinLin610 the author of the pull request! Are the weights not publicly available yet? 🤗 " ]
1,705
1,706
null
CONTRIBUTOR
null
### System Info https://huggingface.co/Qwen2/Qwen2-7B-Chat-beta gives a 404, despite the tutorial in https://huggingface.co/docs/transformers/main/model_doc/qwen2 quoting it. https://huggingface.co/Qwen only has Qwen-1 models. @ArthurZucker @younesbelkada @stevhliu By the way, the docs is inconsistent in the m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28641/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28641/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28640
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28640/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28640/comments
https://api.github.com/repos/huggingface/transformers/issues/28640/events
https://github.com/huggingface/transformers/pull/28640
2,093,854,665
PR_kwDOCUB6oc5kt-ed
28,640
Add missing key to TFLayoutLM signature
{ "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
[]
[]
1,705
1,705
1,705
MEMBER
null
LayoutLM is missing the `bbox` key in its signature, which affects exporting to TFLite/TF Serving. LayoutLMv3 already has the correct signature and doesn't need to be fixed.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28640/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28640/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28640", "html_url": "https://github.com/huggingface/transformers/pull/28640", "diff_url": "https://github.com/huggingface/transformers/pull/28640.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28640.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28639
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28639/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28639/comments
https://api.github.com/repos/huggingface/transformers/issues/28639/events
https://github.com/huggingface/transformers/pull/28639
2,093,795,566
PR_kwDOCUB6oc5ktxXz
28,639
compatibility to original owlv2 model
{ "login": "talshaharabany", "id": 50660642, "node_id": "MDQ6VXNlcjUwNjYwNjQy", "avatar_url": "https://avatars.githubusercontent.com/u/50660642?v=4", "gravatar_id": "", "url": "https://api.github.com/users/talshaharabany", "html_url": "https://github.com/talshaharabany", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[]
1,705
1,705
1,705
NONE
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/28639/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28639/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28639", "html_url": "https://github.com/huggingface/transformers/pull/28639", "diff_url": "https://github.com/huggingface/transformers/pull/28639.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28639.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28638
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28638/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28638/comments
https://api.github.com/repos/huggingface/transformers/issues/28638/events
https://github.com/huggingface/transformers/pull/28638
2,093,791,766
PR_kwDOCUB6oc5ktwiL
28,638
Avoid root logger's level being changed
{ "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
[]
[]
1,705
1,705
1,705
COLLABORATOR
null
# What does this PR do? A complement to #28575 -> root cause is found and fixed
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28638/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28638/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28638", "html_url": "https://github.com/huggingface/transformers/pull/28638", "diff_url": "https://github.com/huggingface/transformers/pull/28638.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28638.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28637
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28637/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28637/comments
https://api.github.com/repos/huggingface/transformers/issues/28637/events
https://github.com/huggingface/transformers/pull/28637
2,093,712,354
PR_kwDOCUB6oc5ktfCr
28,637
Fix windows err with checkpoint race conditions
{ "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
[]
[ "@amyeroberts I'm not a windows expert but after looking the only alternative would to be to use the atomic `os.replace()` since it's atomic *except* it doesn't work on folders, so there's not really a good solution here for this. \r\n\r\nI don't think we have too many multi-node windows users (as this seems fairly...
1,705
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? Windows doesn't like python trying to open files, so makes the additional race condition check to be non-windows based Fixes # (issue) https://github.com/huggingface/transformers/pull/28364 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28637/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28637/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28637", "html_url": "https://github.com/huggingface/transformers/pull/28637", "diff_url": "https://github.com/huggingface/transformers/pull/28637.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28637.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28636
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28636/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28636/comments
https://api.github.com/repos/huggingface/transformers/issues/28636/events
https://github.com/huggingface/transformers/pull/28636
2,093,599,501
PR_kwDOCUB6oc5ktGNe
28,636
[`SigLIP`] Only import tokenizer if sentencepiece available
{ "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
[]
[ "cc @NielsRogge " ]
1,705
1,705
1,705
COLLABORATOR
null
# What does this PR do? Protects the import of siglip's tokenizer such that users can safely run `from transformers import *` if they don't have sentencepiece installed.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28636/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28636/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28636", "html_url": "https://github.com/huggingface/transformers/pull/28636", "diff_url": "https://github.com/huggingface/transformers/pull/28636.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28636.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28635
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28635/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28635/comments
https://api.github.com/repos/huggingface/transformers/issues/28635/events
https://github.com/huggingface/transformers/issues/28635
2,093,563,935
I_kwDOCUB6oc58yUAf
28,635
Tokenizer `encode/decode` methods are inconsistent, TypeError: argument 'ids': 'list' object cannot be interpreted as an integer
{ "login": "scruel", "id": 16933298, "node_id": "MDQ6VXNlcjE2OTMzMjk4", "avatar_url": "https://avatars.githubusercontent.com/u/16933298?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scruel", "html_url": "https://github.com/scruel", "followers_url": "https://api.github.com/users/scruel/fo...
[]
open
false
null
[]
[ "https://github.com/huggingface/transformers/blob/83f9196cc44a612ef2bd5a0f721d08cb24885c1f/src/transformers/tokenization_utils_fast.py#L596-L605\r\n\r\nWhy only remove the leading batch axis while return tensor is `None`? I mean consider the annotation of `text` parameter of `_encode_plus` method, we won't need bat...
1,705
1,707
null
CONTRIBUTOR
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-6.5.0-14-generic-x86_64-with-glibc2.35 - Python version: 3.11.6 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.4.1 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (True) - Ten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28635/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28635/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28634
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28634/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28634/comments
https://api.github.com/repos/huggingface/transformers/issues/28634/events
https://github.com/huggingface/transformers/pull/28634
2,093,449,358
PR_kwDOCUB6oc5kslMZ
28,634
Exllama kernels support for AWQ models
{ "login": "IlyasMoutawwakil", "id": 57442720, "node_id": "MDQ6VXNlcjU3NDQyNzIw", "avatar_url": "https://avatars.githubusercontent.com/u/57442720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/IlyasMoutawwakil", "html_url": "https://github.com/IlyasMoutawwakil", "followers_url": "https://...
[]
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28634). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "I guess all points are addressed.\r\n@casper-hansen when is 0.1.9 planned ?", "@...
1,705
1,706
null
MEMBER
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/28634/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28634/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28634", "html_url": "https://github.com/huggingface/transformers/pull/28634", "diff_url": "https://github.com/huggingface/transformers/pull/28634.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28634.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28633
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28633/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28633/comments
https://api.github.com/repos/huggingface/transformers/issues/28633/events
https://github.com/huggingface/transformers/pull/28633
2,093,350,117
PR_kwDOCUB6oc5ksPt9
28,633
[`Vilt`] align input and model dtype in the ViltPatchEmbeddings forward pass
{ "login": "faaany", "id": 24477841, "node_id": "MDQ6VXNlcjI0NDc3ODQx", "avatar_url": "https://avatars.githubusercontent.com/u/24477841?v=4", "gravatar_id": "", "url": "https://api.github.com/users/faaany", "html_url": "https://github.com/faaany", "followers_url": "https://api.github.com/users/faaany/fo...
[]
closed
false
null
[]
[ "@yao-matrix", "Pls have a review, thx!", "Hi @ArthurZucker , could you take a look at this PR? Thx! ", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28633). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days ...
1,705
1,706
1,706
CONTRIBUTOR
null
## What does this PR do? Just like the case in [BlipVisionEmbeddings](https://github.com/huggingface/transformers/blob/main/src/transformers/models/blip/modeling_blip.py#L249), there should also be a dtype alignment in the ViltPatchEmbeddings as well. Otherwise, I would get the `RuntimeError: Input type (float) and bi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28633/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28633/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28633", "html_url": "https://github.com/huggingface/transformers/pull/28633", "diff_url": "https://github.com/huggingface/transformers/pull/28633.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28633.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28632
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28632/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28632/comments
https://api.github.com/repos/huggingface/transformers/issues/28632/events
https://github.com/huggingface/transformers/issues/28632
2,093,162,870
I_kwDOCUB6oc58wyF2
28,632
Can't quantize gptq model on CPU runtime?
{ "login": "gesanqiu", "id": 37237570, "node_id": "MDQ6VXNlcjM3MjM3NTcw", "avatar_url": "https://avatars.githubusercontent.com/u/37237570?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gesanqiu", "html_url": "https://github.com/gesanqiu", "followers_url": "https://api.github.com/users/ges...
[]
closed
false
null
[]
[ "cc @SunMarc I think that the fix should go on optimum side but I am not sure, wdyt? ", "Hi @gesanqiu, there is indeed an issue. In the meantime, you can do `AutoModelForCausalLM.from_pretrained(model_path, trust_remote_code=True, use_safetensors=True, quantization_config=gptq_config)`. I will fix the issue on op...
1,705
1,707
1,707
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-5.4.0-166-generic-x86_64-with-glibc2.31 - Python version: 3.10.0 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.4.1 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu121 (True) - Tens...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28632/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28632/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28631
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28631/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28631/comments
https://api.github.com/repos/huggingface/transformers/issues/28631/events
https://github.com/huggingface/transformers/pull/28631
2,093,098,420
PR_kwDOCUB6oc5krZGk
28,631
rm input dtype change in CPU
{ "login": "jiqing-feng", "id": 107918818, "node_id": "U_kgDOBm614g", "avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jiqing-feng", "html_url": "https://github.com/jiqing-feng", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[ "Hi @amyeroberts . I have tested it on difference CPUs and didn't find any crashes. Could you please help me review it? Thx!", "Hi @jiqing-feng, I think the correct solution here is to enable the necessary types in the ASR pipeline, rather than removing this cast.", "> Hi @jiqing-feng, I think the correct solut...
1,705
1,708
null
CONTRIBUTOR
null
Hi @amyeroberts . Refer to [28199](https://github.com/huggingface/transformers/pull/28199). Since `Autocast` cannot integrate into the pipeline, I propose that keep the inputs dtype in the pipeline. Otherwise, it will block the low-precision usage in both ASR and text-to-audio. BTW, we will be ready for review once...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28631/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28631/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28631", "html_url": "https://github.com/huggingface/transformers/pull/28631", "diff_url": "https://github.com/huggingface/transformers/pull/28631.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28631.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28630
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28630/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28630/comments
https://api.github.com/repos/huggingface/transformers/issues/28630/events
https://github.com/huggingface/transformers/issues/28630
2,093,093,853
I_kwDOCUB6oc58whPd
28,630
Disable removing shared tensors by default
{ "login": "imoneoi", "id": 26354659, "node_id": "MDQ6VXNlcjI2MzU0NjU5", "avatar_url": "https://avatars.githubusercontent.com/u/26354659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/imoneoi", "html_url": "https://github.com/imoneoi", "followers_url": "https://api.github.com/users/imoneo...
[]
open
false
null
[]
[ "Hi @imoneoi \r\nThanks for the issue! \r\nI don't think we can disable sharding by default as it might break many things such as the ability to load models on a free-tier google colab instance. Among many possible options, few fixes that I see for your case and to fix #27293 are:\r\n\r\n1- Warn users if they are u...
1,705
1,706
null
NONE
null
### System Info ``` - `transformers` version: 4.36.2 - Platform: Linux-5.4.0-167-generic-x86_64-with-glibc2.31 - Python version: 3.11.5 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu121 (True) - T...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28630/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28630/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28629
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28629/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28629/comments
https://api.github.com/repos/huggingface/transformers/issues/28629/events
https://github.com/huggingface/transformers/issues/28629
2,093,006,116
I_kwDOCUB6oc58wL0k
28,629
Fast tokenizer's time complexity is not linear
{ "login": "getao", "id": 12735658, "node_id": "MDQ6VXNlcjEyNzM1NjU4", "avatar_url": "https://avatars.githubusercontent.com/u/12735658?v=4", "gravatar_id": "", "url": "https://api.github.com/users/getao", "html_url": "https://github.com/getao", "followers_url": "https://api.github.com/users/getao/follow...
[]
open
false
null
[]
[ "Feel free to check this issue (duplicate) #25873", "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...
1,705
1,706
null
NONE
null
### System Info torch 2.1.2 transformers 4.36.2 ### Who can help? @ArthurZucker I'm using the streaming dataloader to train on a large dataset. However, I find some process is usually stuck and finally lead to NCCL timeout After I carefully checked, I found the problem may come from the tokenizer. Whe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28629/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28629/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28628
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28628/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28628/comments
https://api.github.com/repos/huggingface/transformers/issues/28628/events
https://github.com/huggingface/transformers/pull/28628
2,092,857,414
PR_kwDOCUB6oc5kqlf4
28,628
Support single token decode for `CodeGenTokenizer`
{ "login": "cmathw", "id": 108584265, "node_id": "U_kgDOBnjdSQ", "avatar_url": "https://avatars.githubusercontent.com/u/108584265?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cmathw", "html_url": "https://github.com/cmathw", "followers_url": "https://api.github.com/users/cmathw/follower...
[]
closed
false
null
[]
[]
1,705
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? This PR should fix #28627 by first converting token_ids to a list in the the `decode` method of `CodeGenTokenizer` class. No new tests added but happy to write some if need be. ## Example ```python3 from transformers.models.auto.tokenization_auto import AutoTokenizer phi_tokenizer =...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28628/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28628/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28628", "html_url": "https://github.com/huggingface/transformers/pull/28628", "diff_url": "https://github.com/huggingface/transformers/pull/28628.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28628.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28627
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28627/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28627/comments
https://api.github.com/repos/huggingface/transformers/issues/28627/events
https://github.com/huggingface/transformers/issues/28627
2,092,841,862
I_kwDOCUB6oc58vjuG
28,627
Support decoding single tokens with `CodeGenTokenizer`
{ "login": "cmathw", "id": 108584265, "node_id": "U_kgDOBnjdSQ", "avatar_url": "https://avatars.githubusercontent.com/u/108584265?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cmathw", "html_url": "https://github.com/cmathw", "followers_url": "https://api.github.com/users/cmathw/follower...
[]
closed
false
null
[]
[ "thanks for the detailed issue! " ]
1,705
1,706
1,706
CONTRIBUTOR
null
### System Info - `transformers` version: 4.34.1 - Platform: macOS-14.2.1-arm64-arm-64bit - Python version: 3.11.6 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.4.0 - Accelerate version: 0.23.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0 (False) - Tensorflow version (GPU?):...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28627/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28627/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28626
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28626/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28626/comments
https://api.github.com/repos/huggingface/transformers/issues/28626/events
https://github.com/huggingface/transformers/issues/28626
2,092,734,450
I_kwDOCUB6oc58vJfy
28,626
No, you cannot set a `token` to an `id`. It is the same as `tokenzier.pad_token_id = 0` if `tokenizer.eos_token_id` is `0`
{ "login": "rafa852", "id": 59406764, "node_id": "MDQ6VXNlcjU5NDA2NzY0", "avatar_url": "https://avatars.githubusercontent.com/u/59406764?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rafa852", "html_url": "https://github.com/rafa852", "followers_url": "https://api.github.com/users/rafa85...
[]
open
false
null
[]
[ "Hi @rafa852 - what is the issue being raised here?", "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.c...
1,705
1,705
null
NONE
null
No, you cannot set a `token` to an `id`. It is the same as `tokenzier.pad_token_id = 0` if `tokenizer.eos_token_id` is `0` _Originally posted by @ArthurZucker in https://github.com/huggingface/transformers/issues/26072#issuecomment-1859852130_
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28626/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/28626/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28625
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28625/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28625/comments
https://api.github.com/repos/huggingface/transformers/issues/28625/events
https://github.com/huggingface/transformers/issues/28625
2,092,731,446
I_kwDOCUB6oc58vIw2
28,625
ESM Rotary Embedding implementation is not TorchScript safe
{ "login": "ChenchaoZhao", "id": 35147961, "node_id": "MDQ6VXNlcjM1MTQ3OTYx", "avatar_url": "https://avatars.githubusercontent.com/u/35147961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ChenchaoZhao", "html_url": "https://github.com/ChenchaoZhao", "followers_url": "https://api.github.c...
[]
open
false
{ "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...
[ { "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"...
[ "cc @Rocketknight1 ", "Hi @ChenchaoZhao, I think you're correct - would you be willing to open a PR to fix the issue?", "Hi @Rocketknight1, sure. Anything else other than the contribution guide I should be aware before making the PR?https://github.com/huggingface/transformers/blob/03cc17775b961d16cc4d0d7ab0c848...
1,705
1,706
null
NONE
null
### System Info This issue is independent of the env. It’s purely about the PyTorch implementation of ESM position embedding ### Who can help? _No response_ ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `example...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28625/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28625/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28624
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28624/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28624/comments
https://api.github.com/repos/huggingface/transformers/issues/28624/events
https://github.com/huggingface/transformers/issues/28624
2,092,675,763
I_kwDOCUB6oc58u7Kz
28,624
WhisperForAudioClassification throws errors while using use_weighted_layer_sum
{ "login": "chercheurkg", "id": 128296694, "node_id": "U_kgDOB6Wm9g", "avatar_url": "https://avatars.githubusercontent.com/u/128296694?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chercheurkg", "html_url": "https://github.com/chercheurkg", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi @chercheurkg, thanks for raising an issue!\r\n\r\nThis was fixed in #28563 and is part of the most recent release. Could you try installing v4.37 to verify this resolves your issue? \r\n\r\n`pip install -U transformers`", "@amyeroberts ,\r\nThanks for your reply! After upgrading to v4.37, the issue seems to b...
1,705
1,707
1,707
NONE
null
### System Info - `transformers` version: 4.36.0.dev0 - Platform: Windows-10-10.0.19045-SP0 - Python version: 3.9.9 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.0 - Accelerate version: 0.24.1 - Accelerate config: not found - PyTorch version (GPU?): 2.1.1+cu118 (True) - Tensorflow version (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28624/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28624/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28623
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28623/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28623/comments
https://api.github.com/repos/huggingface/transformers/issues/28623/events
https://github.com/huggingface/transformers/issues/28623
2,092,648,273
I_kwDOCUB6oc58u0dR
28,623
RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn while model parameters requires_grad is True
{ "login": "zhongshsh", "id": 62104945, "node_id": "MDQ6VXNlcjYyMTA0OTQ1", "avatar_url": "https://avatars.githubusercontent.com/u/62104945?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhongshsh", "html_url": "https://github.com/zhongshsh", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[ "I solved the problem by setting gradient_checkpointing_kwargs={\"use_reentrant\":False}, but I don’t know why.", "cc @younesbelkada ", "@ArthurZucker hi, I also have another problem. When I loaded Mixtral using `device_map` as `auto` in a node of 8 GPUs (A100 80G), it would not use the 8-th GPU although I chan...
1,705
1,706
null
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-5.15.0-18-shopee-generic-x86_64-with-glibc2.35 - Python version: 3.11.5 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.4.0 - Accelerate version: 0.27.0.dev0 - Accelerate config: - compute_environment: LOCAL_MACHINE - dis...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28623/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/28623/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28622
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28622/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28622/comments
https://api.github.com/repos/huggingface/transformers/issues/28622/events
https://github.com/huggingface/transformers/issues/28622
2,092,639,091
I_kwDOCUB6oc58uyNz
28,622
Can `LlamaTokenizerFast` support the argument `add_prefix_space = False`
{ "login": "hnyls2002", "id": 95566987, "node_id": "U_kgDOBbI8iw", "avatar_url": "https://avatars.githubusercontent.com/u/95566987?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hnyls2002", "html_url": "https://github.com/hnyls2002", "followers_url": "https://api.github.com/users/hnyls200...
[]
closed
false
null
[]
[ "Hey, #28010 will add support for this! 🤗 ", "Thanks, I am very excited about this." ]
1,705
1,708
1,708
NONE
null
### System Info With `transformers==4.36.2` It seems the argument `add_prefix_space` is invalid here. ### Who can help? @ArthurZucker ### Reproduction ``` >>> from transformers import LlamaTokenizerFast >>> tokenizer = LlamaTokenizerFast.from_pretrained("hf-internal-testing/llama-tokenizer", add_p...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28622/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28622/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28621
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28621/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28621/comments
https://api.github.com/repos/huggingface/transformers/issues/28621/events
https://github.com/huggingface/transformers/pull/28621
2,092,497,369
PR_kwDOCUB6oc5kpdul
28,621
⚠️ Raise `Exception` when trying to generate 0 tokens ⚠️
{ "login": "danielkorat", "id": 32893314, "node_id": "MDQ6VXNlcjMyODkzMzE0", "avatar_url": "https://avatars.githubusercontent.com/u/32893314?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danielkorat", "html_url": "https://github.com/danielkorat", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi @gante \r\nCan you please have a look?\r\nNot sure why the tests are failing.", "@danielkorat the test is failing because it is poorly parameterized -- it raises the newly added exception. I'd like to ask you to try to fix the test parameterization (ping me if you get stuck :) )", "> @danielkorat the test i...
1,705
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? Currently, setting `max_new_tokens=0` produces 1 token instead of 0, and only a warning is produced. To prevent unexpected patterns of generation, this warning should be changed to an `Exception`. ### Example: ```python from transformers import AutoModelForCausalLM, AutoTokenizer che...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28621/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28621/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28621", "html_url": "https://github.com/huggingface/transformers/pull/28621", "diff_url": "https://github.com/huggingface/transformers/pull/28621.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28621.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28620
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28620/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28620/comments
https://api.github.com/repos/huggingface/transformers/issues/28620/events
https://github.com/huggingface/transformers/pull/28620
2,092,471,767
PR_kwDOCUB6oc5kpZAG
28,620
Unused "embedding_size" in bert attention
{ "login": "amar-jay", "id": 64834413, "node_id": "MDQ6VXNlcjY0ODM0NDEz", "avatar_url": "https://avatars.githubusercontent.com/u/64834413?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amar-jay", "html_url": "https://github.com/amar-jay", "followers_url": "https://api.github.com/users/ama...
[]
open
false
null
[]
[ "Hi @amar-jay, thanks for opening this PR! \r\n\r\nTo resolve the quality checks here, you'll need to run `make fix-copies`. The difficulty here is that, even though embedding size isn't part of the bert config - this attention class is copied in many cases throughout the library and might be protecting some hidden...
1,705
1,708
null
NONE
null
The embedding_size is not used. # What does this PR do? Fixes unused code in bert attention Fixes a minor typo in code ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28620/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28620/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28620", "html_url": "https://github.com/huggingface/transformers/pull/28620", "diff_url": "https://github.com/huggingface/transformers/pull/28620.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28620.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28619
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28619/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28619/comments
https://api.github.com/repos/huggingface/transformers/issues/28619/events
https://github.com/huggingface/transformers/issues/28619
2,092,457,798
I_kwDOCUB6oc58uF9G
28,619
KOSMOS-2, finding probability distribution of the text sequence
{ "login": "snpushpi", "id": 55248448, "node_id": "MDQ6VXNlcjU1MjQ4NDQ4", "avatar_url": "https://avatars.githubusercontent.com/u/55248448?v=4", "gravatar_id": "", "url": "https://api.github.com/users/snpushpi", "html_url": "https://github.com/snpushpi", "followers_url": "https://api.github.com/users/snp...
[]
closed
false
null
[]
[ "@ydshieh can you look at it? Thank you so much!", "Hi, \r\n\r\nI think you are only interested in looking the logits for the parts of `prompt1 = \"An old man sitting on a bench in a public park alone, reading a book.\"`.\r\n\r\nThis part is after the token (id) of `end of image` (eoi, `64004`). So you have to fi...
1,705
1,705
1,705
NONE
null
### System Info Google Colab with gpu environment enabled and related libraries installed ### Who can help? @ydshieh ### 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/28619/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28619/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28618
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28618/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28618/comments
https://api.github.com/repos/huggingface/transformers/issues/28618/events
https://github.com/huggingface/transformers/pull/28618
2,092,301,494
PR_kwDOCUB6oc5koz_I
28,618
Fix utf-8 yaml load for marian conversion to pytorch in Windows
{ "login": "SystemPanic", "id": 25750030, "node_id": "MDQ6VXNlcjI1NzUwMDMw", "avatar_url": "https://avatars.githubusercontent.com/u/25750030?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SystemPanic", "html_url": "https://github.com/SystemPanic", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "@ArthurZucker \r\n\r\nYes, you can reproduce it with following Marian yaml file (Github doesn't allow .yml upload, so **change the file from .txt to .yml after download**):\r\n\r\n```\r\nwith open('opusTCv20210807.spm32k-spm32k.vocab.yml') as f:\r\n print(yaml.load(f, Loader=yaml.BaseLoader))\r\n```\r\n\r\nand ...
1,705
1,707
1,707
CONTRIBUTOR
null
# What does this PR do? Fix yaml load for yaml files with UTF-8 encoding in convert_marian_to_pytorch.py ## 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/trans...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28618/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28618/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28618", "html_url": "https://github.com/huggingface/transformers/pull/28618", "diff_url": "https://github.com/huggingface/transformers/pull/28618.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28618.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28617
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28617/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28617/comments
https://api.github.com/repos/huggingface/transformers/issues/28617/events
https://github.com/huggingface/transformers/pull/28617
2,092,276,191
PR_kwDOCUB6oc5kovFV
28,617
[`Llava`] Update convert_llava_weights_to_hf.py script
{ "login": "isaac-vidas", "id": 80056737, "node_id": "MDQ6VXNlcjgwMDU2NzM3", "avatar_url": "https://avatars.githubusercontent.com/u/80056737?v=4", "gravatar_id": "", "url": "https://api.github.com/users/isaac-vidas", "html_url": "https://github.com/isaac-vidas", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,705
1,705
1,705
CONTRIBUTOR
null
Based on discussion in the issue https://github.com/huggingface/transformers/issues/28597 Fixes: https://github.com/huggingface/transformers/issues/28597 * Remove config update of adding padding to `vocab_size` and `text_config.vocab_size` which causes `ValueError` exception. * Remove keys that ends with `inv_freq...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28617/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28617/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28617", "html_url": "https://github.com/huggingface/transformers/pull/28617", "diff_url": "https://github.com/huggingface/transformers/pull/28617.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28617.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28616
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28616/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28616/comments
https://api.github.com/repos/huggingface/transformers/issues/28616/events
https://github.com/huggingface/transformers/pull/28616
2,092,273,218
PR_kwDOCUB6oc5kougi
28,616
Token healing
{ "login": "Ayenem", "id": 50707385, "node_id": "MDQ6VXNlcjUwNzA3Mzg1", "avatar_url": "https://avatars.githubusercontent.com/u/50707385?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Ayenem", "html_url": "https://github.com/Ayenem", "followers_url": "https://api.github.com/users/Ayenem/fo...
[]
closed
false
null
[]
[ "Circleci tests seem to fail, `tests_flax` for example outputs:\r\n\r\n> ImportError while importing test module '/home/circleci/transformers/tests/generation/test_token_healing.py'.\r\n> Hint: make sure your test modules/packages have valid Python names.\r\n> Traceback:\r\n> ../.pyenv/versions/3.8.12/lib/python3.8...
1,705
1,708
1,708
NONE
null
# What does this PR do? Token healing rectifies the token boundary bias in greedy tokenization. It does this by trimming and regrowing the prompt to better align with the model's tokenizer, thus enhancing generation quality. The improvement is clearest with completion models. Token boundary bias is a silent perfo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28616/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28616/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28616", "html_url": "https://github.com/huggingface/transformers/pull/28616", "diff_url": "https://github.com/huggingface/transformers/pull/28616.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28616.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28615
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28615/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28615/comments
https://api.github.com/repos/huggingface/transformers/issues/28615/events
https://github.com/huggingface/transformers/pull/28615
2,092,050,819
PR_kwDOCUB6oc5koCAa
28,615
enable graident checkpointing in DetaObjectDetection and add tests in Swin/Donut_Swin
{ "login": "SangbumChoi", "id": 34004152, "node_id": "MDQ6VXNlcjM0MDA0MTUy", "avatar_url": "https://avatars.githubusercontent.com/u/34004152?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SangbumChoi", "html_url": "https://github.com/SangbumChoi", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "I also found missing part that transfomers team did not put.\r\n\r\nhttps://github.com/jozhang97/DETA/blob/f47e50efeb194357fb93a119f196a2e485fffdb5/models/deformable_transformer.py#L225\r\n\r\nAlso modified donut_swin and swin model for passing CI.", "```\r\nroot@1c4a6f3ab7da:/mnt/nas2/users/sbchoi/transformers#...
1,705
1,706
1,706
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/28615/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28615/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28615", "html_url": "https://github.com/huggingface/transformers/pull/28615", "diff_url": "https://github.com/huggingface/transformers/pull/28615.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28615.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28614
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28614/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28614/comments
https://api.github.com/repos/huggingface/transformers/issues/28614/events
https://github.com/huggingface/transformers/issues/28614
2,091,954,715
I_kwDOCUB6oc58sLIb
28,614
Training with FSDP slows down the convergence speed.
{ "login": "yuangpeng", "id": 57125678, "node_id": "MDQ6VXNlcjU3MTI1Njc4", "avatar_url": "https://avatars.githubusercontent.com/u/57125678?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuangpeng", "html_url": "https://github.com/yuangpeng", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[ "cc @pacman100 ", "Although I use my own task and use my own dataset, I only added a few modules and training with full unfreeze. If you need a detailed script, I will delete the private content before uploading it in these days. @pacman100 ", "Hope it can solved soon!", "Can you provide a minimal reproducer ...
1,705
1,708
null
NONE
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-5.4.143-2-velinux1-amd64-x86_64-with-glibc2.31 - Python version: 3.10.13 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: 0.23.0 - Accelerate config: - compute_environment: LOCAL_MACHINE - distrib...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28614/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/28614/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28613
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28613/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28613/comments
https://api.github.com/repos/huggingface/transformers/issues/28613/events
https://github.com/huggingface/transformers/issues/28613
2,091,937,176
I_kwDOCUB6oc58sG2Y
28,613
Bug in GPT NeoX Implementation
{ "login": "andersonbcdefg", "id": 17210823, "node_id": "MDQ6VXNlcjE3MjEwODIz", "avatar_url": "https://avatars.githubusercontent.com/u/17210823?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andersonbcdefg", "html_url": "https://github.com/andersonbcdefg", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Nice catch ! #28645 should fix it" ]
1,705
1,705
1,705
NONE
null
### System Info GPT-Neo-X does not have a "q_proj" module, so the following lines that check for the dtype raise an error. ``` input_dtype = query.dtype if input_dtype == torch.float32: if torch.is_autocast_enabled(): target_dtype = torch.get_autocast_gpu_dtype() ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28613/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28613/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28612
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28612/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28612/comments
https://api.github.com/repos/huggingface/transformers/issues/28612/events
https://github.com/huggingface/transformers/pull/28612
2,091,894,574
PR_kwDOCUB6oc5knigy
28,612
Update README_es.md
{ "login": "vladydev3", "id": 82735444, "node_id": "MDQ6VXNlcjgyNzM1NDQ0", "avatar_url": "https://avatars.githubusercontent.com/u/82735444?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vladydev3", "html_url": "https://github.com/vladydev3", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Maybe @osanseviero for verifying the Spanish? ", "Thanks for updating and your contribution @vladydev3! " ]
1,705
1,706
1,706
CONTRIBUTOR
null
Fixing grammatical errors in the text
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28612/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28612/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28612", "html_url": "https://github.com/huggingface/transformers/pull/28612", "diff_url": "https://github.com/huggingface/transformers/pull/28612.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28612.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28611
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28611/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28611/comments
https://api.github.com/repos/huggingface/transformers/issues/28611/events
https://github.com/huggingface/transformers/issues/28611
2,091,330,691
I_kwDOCUB6oc58pyyD
28,611
PatchTST and PatchTSMixer categorical features and exogenous variables
{ "login": "chrisconst2", "id": 101289285, "node_id": "U_kgDOBgmNRQ", "avatar_url": "https://avatars.githubusercontent.com/u/101289285?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chrisconst2", "html_url": "https://github.com/chrisconst2", "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" }, { "id": 6462336551, ...
open
false
null
[]
[ "@kashif ", "@chrisconst2 so due to the nature of patching the only potential covariates that can be included with PatchTST and I believe PatchTSMixer are going to be static features and static real-valued covariates... I believe the method is not too flexible in being able to accommodate these extra bells and wh...
1,705
1,705
null
NONE
null
### Feature request Include categorical features and exogenous variables as input for the PatchTST and PatchTSMixer timeseries foundation models ### Motivation Categorical features and exogenous variables are key components in timeseries modelling ### Your contribution -
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28611/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/28611/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28610
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28610/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28610/comments
https://api.github.com/repos/huggingface/transformers/issues/28610/events
https://github.com/huggingface/transformers/issues/28610
2,091,211,821
I_kwDOCUB6oc58pVwt
28,610
ONNX export failure for models invoking SDPA attention
{ "login": "BowenBao", "id": 9376104, "node_id": "MDQ6VXNlcjkzNzYxMDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/9376104?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BowenBao", "html_url": "https://github.com/BowenBao", "followers_url": "https://api.github.com/users/Bowen...
[]
closed
false
null
[]
[ "cc @fxmarty ", "Thank you for the ping, thank you @BowenBao. cc @drisspg and linking relevant issues as well: https://github.com/pytorch/pytorch/issues/110681 & https://github.com/pytorch/pytorch/issues/108108\r\n\r\nSolution 3. SDPA tracing without attention_mask is I think not possible due to the data-dependen...
1,705
1,708
1,707
CONTRIBUTOR
null
> ValueError: Attention using SDPA can not be traced with torch.jit.trace when no attention_mask is provided. To solve this issue, please either load your model with the argument `attn_implementation="eager"` or pass an attention_mask input when tracing the model. There has been some discussion about its possible r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28610/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28610/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28609
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28609/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28609/comments
https://api.github.com/repos/huggingface/transformers/issues/28609/events
https://github.com/huggingface/transformers/issues/28609
2,090,845,175
I_kwDOCUB6oc58n8P3
28,609
Code crashes without errors when importing Trainer in TPU context
{ "login": "samuele-bortolato", "id": 81489249, "node_id": "MDQ6VXNlcjgxNDg5MjQ5", "avatar_url": "https://avatars.githubusercontent.com/u/81489249?v=4", "gravatar_id": "", "url": "https://api.github.com/users/samuele-bortolato", "html_url": "https://github.com/samuele-bortolato", "followers_url": "https...
[]
open
false
null
[]
[ "I would like to work on this\n", "I have the same problem.", "having same kaggle issue", "Gentle ping @muellerzr " ]
1,705
1,708
null
NONE
null
### System Info I'm working on Kaggle with TPU enabled (TPU VM v3-8), running !transformers-cli env returns [libprotobuf ERROR external/com_google_protobuf/src/google/protobuf/descriptor_database.cc:642] File already exists in database: tsl/profiler/protobuf/trace_events.proto [libprotobuf FATAL external/com_googl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28609/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/28609/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28608
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28608/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28608/comments
https://api.github.com/repos/huggingface/transformers/issues/28608/events
https://github.com/huggingface/transformers/pull/28608
2,090,793,303
PR_kwDOCUB6oc5kj3bE
28,608
[`Test tokenizers`] DO NOT MERGE
{ "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
[]
[]
1,705
1,705
1,705
COLLABORATOR
null
# What does this PR do? tests `tokenizers==0.15.1rc1`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28608/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28608/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28608", "html_url": "https://github.com/huggingface/transformers/pull/28608", "diff_url": "https://github.com/huggingface/transformers/pull/28608.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28608.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28607
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28607/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28607/comments
https://api.github.com/repos/huggingface/transformers/issues/28607/events
https://github.com/huggingface/transformers/pull/28607
2,090,724,894
PR_kwDOCUB6oc5kjogb
28,607
Generate: deprecate old src imports
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[]
1,705
1,706
1,706
MEMBER
null
# What does this PR do? We have 3 thin wrappers for `generate`, one for each framework, whose sole purpose is to import the mixin from `src/transformers/generation(_flax/_tf)_utils.py`. In other words, to import from `src` according to the codebase before [this PR](https://github.com/huggingface/transformers/pull/20...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28607/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28607/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28607", "html_url": "https://github.com/huggingface/transformers/pull/28607", "diff_url": "https://github.com/huggingface/transformers/pull/28607.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28607.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28606
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28606/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28606/comments
https://api.github.com/repos/huggingface/transformers/issues/28606/events
https://github.com/huggingface/transformers/issues/28606
2,090,708,329
I_kwDOCUB6oc58na1p
28,606
Add [VMamba] model
{ "login": "dmus", "id": 464378, "node_id": "MDQ6VXNlcjQ2NDM3OA==", "avatar_url": "https://avatars.githubusercontent.com/u/464378?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmus", "html_url": "https://github.com/dmus", "followers_url": "https://api.github.com/users/dmus/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
[]
[ "Thank you for your attention. I am one of the authors of `VMamba`. We have just renewed the repo with code easier to transplanting. I hope this would helps you in your splendid work!" ]
1,705
1,706
null
NONE
null
### Model description VMamba is a visual foundation model proposed in https://arxiv.org/pdf/2401.10166.pdf. It is inspired by the recent advances in state stace models and in particular Mamba. The proposed architecture is computationally more efficient than vision transformer architectures because it scales linea...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28606/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/28606/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28605
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28605/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28605/comments
https://api.github.com/repos/huggingface/transformers/issues/28605/events
https://github.com/huggingface/transformers/pull/28605
2,090,707,493
PR_kwDOCUB6oc5kjkuO
28,605
Falcon: removed unused function
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[]
1,705
1,706
1,706
MEMBER
null
# What does this PR do? (see title)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28605/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28605/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28605", "html_url": "https://github.com/huggingface/transformers/pull/28605", "diff_url": "https://github.com/huggingface/transformers/pull/28605.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28605.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28604
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28604/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28604/comments
https://api.github.com/repos/huggingface/transformers/issues/28604/events
https://github.com/huggingface/transformers/pull/28604
2,090,532,106
PR_kwDOCUB6oc5ki93N
28,604
fix a hidden bug of `GenerationConfig`, now the `generation_config.json` can be loaded successfully
{ "login": "ParadoxZW", "id": 32508168, "node_id": "MDQ6VXNlcjMyNTA4MTY4", "avatar_url": "https://avatars.githubusercontent.com/u/32508168?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ParadoxZW", "html_url": "https://github.com/ParadoxZW", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi @ParadoxZW 👋 \r\n\r\nThe exception message you got, `not supported between instances of 'str' and 'int'`, seems to point at a failed attempt to sort `str` and `int`. In turn, this means `int` was used as a key of the json file, which is not intended for a `GenerationConfig`. May I ask for a short reproducer of...
1,705
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? I was developing an open-source LLM project, and I found that the `generation_config.json` file cannot be successfully loaded to controll model's generation process, though I've written some attributes in this file, such as `eos_token_id` (a newly initialized model object from `from_pretraine...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28604/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28604/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28604", "html_url": "https://github.com/huggingface/transformers/pull/28604", "diff_url": "https://github.com/huggingface/transformers/pull/28604.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28604.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28603
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28603/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28603/comments
https://api.github.com/repos/huggingface/transformers/issues/28603/events
https://github.com/huggingface/transformers/issues/28603
2,090,397,789
I_kwDOCUB6oc58mPBd
28,603
Error Using Ray Tune because of the repo id
{ "login": "matiasfreitas", "id": 36213075, "node_id": "MDQ6VXNlcjM2MjEzMDc1", "avatar_url": "https://avatars.githubusercontent.com/u/36213075?v=4", "gravatar_id": "", "url": "https://api.github.com/users/matiasfreitas", "html_url": "https://github.com/matiasfreitas", "followers_url": "https://api.githu...
[]
open
false
null
[]
[ "Hi @matiasfreitas, thanks for raising this issue! \r\n\r\nThird-party integrations such as ray are maintained by their contributors, rather than the transformers team. In this case, it seems the repo id being passed is a logged step in the training. If you or anyone else in the community would like to open a PR to...
1,705
1,708
null
NONE
null
### System Info - `transformers` version: 4.30.0 - Platform: Linux-6.6.6-76060606-generic-x86_64-with-glibc2.35 - Python version: 3.11.5 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.2 - PyTorch version (GPU?): 2.1.0+cu121 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28603/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28603/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28602
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28602/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28602/comments
https://api.github.com/repos/huggingface/transformers/issues/28602/events
https://github.com/huggingface/transformers/pull/28602
2,090,371,299
PR_kwDOCUB6oc5kiag2
28,602
[`GPTNeoX`] Fix BC issue with 4.36
{ "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
[]
[]
1,705
1,705
1,705
COLLABORATOR
null
# What does this PR do? We broke some of the GPTNeoX model with the dtype in #25830. Sorry for the inconvenience. This was breaking in terms of logits, now this PR will probably make the model slow than with casting to smaller dtype. Fixes #28360, fixes #28316. For a sample generation I am getting some slow do...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28602/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28602/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28602", "html_url": "https://github.com/huggingface/transformers/pull/28602", "diff_url": "https://github.com/huggingface/transformers/pull/28602.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28602.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28601
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28601/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28601/comments
https://api.github.com/repos/huggingface/transformers/issues/28601/events
https://github.com/huggingface/transformers/pull/28601
2,090,366,803
PR_kwDOCUB6oc5kiZec
28,601
Add config tip to custom model docs
{ "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
[]
[]
1,705
1,705
1,705
MEMBER
null
Mentioned this to @LysandreJik earlier - this PR adds a tip to the docs on uploading custom code models to encourage users to use a monolithic config that gets passed to sub-layers, like we use in core `transformers` code. Some models that didn't do this were very painful to port and required rewrites to all layers, so...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28601/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28601/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28601", "html_url": "https://github.com/huggingface/transformers/pull/28601", "diff_url": "https://github.com/huggingface/transformers/pull/28601.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28601.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28600
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28600/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28600/comments
https://api.github.com/repos/huggingface/transformers/issues/28600/events
https://github.com/huggingface/transformers/pull/28600
2,090,197,596
PR_kwDOCUB6oc5khzVS
28,600
RWKV: raise informative exception when attempting to manipulate `past_key_values`
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28600). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,705
1,705
1,705
MEMBER
null
# What does this PR do? Some generation methods (like the new ngram speculation thingy) need to manipulate `past_key_values`. RWKV, a recurrent neural network, doesn't have this attribute -- a standard `AttributeError` is raised when such methods are called with RWKV. (related comment: https://github.com/huggingface...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28600/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28600/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28600", "html_url": "https://github.com/huggingface/transformers/pull/28600", "diff_url": "https://github.com/huggingface/transformers/pull/28600.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28600.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28599
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28599/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28599/comments
https://api.github.com/repos/huggingface/transformers/issues/28599/events
https://github.com/huggingface/transformers/issues/28599
2,090,169,443
I_kwDOCUB6oc58lXRj
28,599
[Kosmos-2]
{ "login": "basteran", "id": 27162097, "node_id": "MDQ6VXNlcjI3MTYyMDk3", "avatar_url": "https://avatars.githubusercontent.com/u/27162097?v=4", "gravatar_id": "", "url": "https://api.github.com/users/basteran", "html_url": "https://github.com/basteran", "followers_url": "https://api.github.com/users/bas...
[]
open
false
null
[]
[ "Hi, see my comment\r\n\r\nhttps://github.com/microsoft/unilm/issues/1429#issuecomment-1900139771\r\n\r\n(I just saw you also opened an issue here before I replied there)", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed plea...
1,705
1,708
null
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-5.15.0-84-generic-x86_64-with-glibc2.35 - Python version: 3.10.0 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.4.1 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu121 (True) - Tensor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28599/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28599/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28598
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28598/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28598/comments
https://api.github.com/repos/huggingface/transformers/issues/28598/events
https://github.com/huggingface/transformers/issues/28598
2,089,686,976
I_kwDOCUB6oc58jhfA
28,598
what is the correct format of input when fine-tuning GPT2 for text generation with batch input?
{ "login": "minmie", "id": 40080081, "node_id": "MDQ6VXNlcjQwMDgwMDgx", "avatar_url": "https://avatars.githubusercontent.com/u/40080081?v=4", "gravatar_id": "", "url": "https://api.github.com/users/minmie", "html_url": "https://github.com/minmie", "followers_url": "https://api.github.com/users/minmie/fo...
[]
closed
false
null
[]
[ "Hey 🤗 thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co/) instead? I'm sure the community will be of help!\r\n\r\nThanks!", "sure. thanks!" ]
1,705
1,705
1,705
NONE
null
### System Info - `transformers` version: 4.33.0 - Platform: Windows-10-10.0.19045-SP0 - Python version: 3.10.12 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.3 - Accelerate version: 0.22.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cpu (False) - Tensorflow version (GPU?...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28598/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28598/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28597
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28597/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28597/comments
https://api.github.com/repos/huggingface/transformers/issues/28597/events
https://github.com/huggingface/transformers/issues/28597
2,089,437,004
I_kwDOCUB6oc58ikdM
28,597
How to find or create the `model_state_dict.bin` file for the `convert_llava_weights_to_hf.py` script
{ "login": "isaac-vidas", "id": 80056737, "node_id": "MDQ6VXNlcjgwMDU2NzM3", "avatar_url": "https://avatars.githubusercontent.com/u/80056737?v=4", "gravatar_id": "", "url": "https://api.github.com/users/isaac-vidas", "html_url": "https://github.com/isaac-vidas", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi @isaac-vidas \r\nThanks very much for your message, I think that these [two lines](https://github.com/huggingface/transformers/blob/772307be7649e1333a933cfaa229dc0dec2fd331/src/transformers/models/llava/convert_llava_weights_to_hf.py#L96-L97) seems wrong, does replacing them with `model.get_input_embeddings().w...
1,705
1,705
1,705
CONTRIBUTOR
null
Hi @younesbelkada, Following up on the [fix to the LLaVA convert script](https://github.com/huggingface/transformers/pull/28570) and thanks for all the help with the PR! I encountered some issue with the convert script and wanted to ask about the recommended way to create the `model_state_dict.bin` file specified...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28597/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28597/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28596
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28596/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28596/comments
https://api.github.com/repos/huggingface/transformers/issues/28596/events
https://github.com/huggingface/transformers/issues/28596
2,089,426,891
I_kwDOCUB6oc58ih_L
28,596
HfDeepSpeedConfig + ZeRO3 init accuracy bug!
{ "login": "hijkzzz", "id": 19810594, "node_id": "MDQ6VXNlcjE5ODEwNTk0", "avatar_url": "https://avatars.githubusercontent.com/u/19810594?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hijkzzz", "html_url": "https://github.com/hijkzzz", "followers_url": "https://api.github.com/users/hijkzz...
[]
open
false
null
[]
[ "https://github.com/microsoft/DeepSpeed/issues/4932", "Hi @hijkzzz, thanks for raising an issue! \r\n\r\ncc @pacman100 @ArthurZucker cf [this comment](https://github.com/microsoft/DeepSpeed/issues/4932#issuecomment-1902177942)", "Also cc @gante as it seems related to ROPE! ", "To prevent duplication, let's fo...
1,705
1,706
null
NONE
null
### System Info see https://github.com/microsoft/DeepSpeed/issues/4932 ### Who can help? _No response_ ### Information - [x] The official example scripts - [x] My own modified scripts ### Tasks - [x] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [x] My own task or dataset (giv...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28596/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28596/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28595
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28595/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28595/comments
https://api.github.com/repos/huggingface/transformers/issues/28595/events
https://github.com/huggingface/transformers/issues/28595
2,089,424,034
I_kwDOCUB6oc58ihSi
28,595
Trainer is DP? support DDP?
{ "login": "ciaoyizhen", "id": 83450192, "node_id": "MDQ6VXNlcjgzNDUwMTky", "avatar_url": "https://avatars.githubusercontent.com/u/83450192?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ciaoyizhen", "html_url": "https://github.com/ciaoyizhen", "followers_url": "https://api.github.com/use...
[]
open
false
null
[]
[ "Can it be DDP by adding fsdp=\"shard_grap_op\" of TrainingArguments and fsdp=\"\"full_shard\" be DP?", "Hi @ciaoyizhen, 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...
1,705
1,708
null
NONE
null
### Feature request Is the trainer DDP or DP? If it is DDP, why do I train with multiple graphics cards, and the graphics card memory consumed on cuda-0 is much larger than other graphics cards. Or is it that when I increase per_device_train_batch_size, the cuda-0 card will exceed the graphics card memory, and then it...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28595/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28595/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28594
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28594/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28594/comments
https://api.github.com/repos/huggingface/transformers/issues/28594/events
https://github.com/huggingface/transformers/pull/28594
2,089,335,501
PR_kwDOCUB6oc5kezMw
28,594
Test
{ "login": "ibarrionuevo", "id": 27731841, "node_id": "MDQ6VXNlcjI3NzMxODQx", "avatar_url": "https://avatars.githubusercontent.com/u/27731841?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ibarrionuevo", "html_url": "https://github.com/ibarrionuevo", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[]
1,705
1,705
1,705
NONE
null
This is a test pull request greated for CI/CD vulnerability testing purposes.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28594/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28594/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28594", "html_url": "https://github.com/huggingface/transformers/pull/28594", "diff_url": "https://github.com/huggingface/transformers/pull/28594.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28594.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28593
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28593/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28593/comments
https://api.github.com/repos/huggingface/transformers/issues/28593/events
https://github.com/huggingface/transformers/issues/28593
2,088,952,370
I_kwDOCUB6oc58guIy
28,593
ViltForTokenClassification not working for personalize multiclass classification.
{ "login": "matiasfreitas", "id": 36213075, "node_id": "MDQ6VXNlcjM2MjEzMDc1", "avatar_url": "https://avatars.githubusercontent.com/u/36213075?v=4", "gravatar_id": "", "url": "https://api.github.com/users/matiasfreitas", "html_url": "https://github.com/matiasfreitas", "followers_url": "https://api.githu...
[]
open
false
null
[]
[ "Hi @matiasfreitas \r\nThanks for the issue! Can you past the full traceback of the issue here? 🙏 ", "```\r\n---------------------------------------------------------------------------\r\nValueError Traceback (most recent call last)\r\n/tmp/ipykernel_133949/2760725053.py in <cell l...
1,705
1,708
null
NONE
null
### System Info I had several errors trying to use the ViLt code for multiclass classification. On the lines 1473-1478 of the [modeling_vilt.py](https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/models/vilt/modeling_vilt.py#L1413) we have that code: ``` if labels is not None: ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28593/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28593/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28592
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28592/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28592/comments
https://api.github.com/repos/huggingface/transformers/issues/28592/events
https://github.com/huggingface/transformers/issues/28592
2,088,835,235
I_kwDOCUB6oc58gRij
28,592
Mixtral gets stuck at Loading checkpoint shards.
{ "login": "AdamLouly", "id": 27873459, "node_id": "MDQ6VXNlcjI3ODczNDU5", "avatar_url": "https://avatars.githubusercontent.com/u/27873459?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AdamLouly", "html_url": "https://github.com/AdamLouly", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[ "Hi @AdamLouly, thanks for raising an issue! \r\n\r\nCould you share a reproducible snippet to show how you're loading the model? \r\nFor the transformers version - could you share the commit you're running on?\r\n\r\ncc @ArthurZucker @younesbelkada ", "hi @AdamLouly \r\nAs stated by @amyeroberts , a reproducible...
1,705
1,708
null
CONTRIBUTOR
null
### System Info Nightly transformers. nightly torch 8 GPUs ### Who can help? When trying to run mixtral using the example in transformers. it gets stuck at Loading checkpoint shards at this point: Loading checkpoint shards: 42%|██████████████████████████████████████████████▋ ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28592/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28592/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28591
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28591/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28591/comments
https://api.github.com/repos/huggingface/transformers/issues/28591/events
https://github.com/huggingface/transformers/issues/28591
2,088,735,017
I_kwDOCUB6oc58f5Ep
28,591
Idefics - AttentionMasks wrongly set with padding='longest'
{ "login": "VictorSanh", "id": 16107619, "node_id": "MDQ6VXNlcjE2MTA3NjE5", "avatar_url": "https://avatars.githubusercontent.com/u/16107619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/VictorSanh", "html_url": "https://github.com/VictorSanh", "followers_url": "https://api.github.com/use...
[ { "id": 2392046359, "node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue", "name": "Good Second Issue", "color": "dd935a", "default": false, "description": "Issues that are more difficult to do than \"Good First...
open
false
null
[]
[ "Cc @ArthurZucker @younesbelkada ", "Might be a tokenization issue will have a look " ]
1,705
1,708
null
MEMBER
null
### System Info transformers==4.36.2 ### Reproduction Reported by https://huggingface.co/VishnuSuganth https://huggingface.co/HuggingFaceM4/idefics-9b-instruct/discussions/11
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28591/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28591/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28590
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28590/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28590/comments
https://api.github.com/repos/huggingface/transformers/issues/28590/events
https://github.com/huggingface/transformers/pull/28590
2,088,717,209
PR_kwDOCUB6oc5kcqsX
28,590
Fix id2label assignment in run_classification.py
{ "login": "jheitmann", "id": 25958845, "node_id": "MDQ6VXNlcjI1OTU4ODQ1", "avatar_url": "https://avatars.githubusercontent.com/u/25958845?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jheitmann", "html_url": "https://github.com/jheitmann", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,705
1,705
1,705
CONTRIBUTOR
null
# What does this PR do? This pull request addresses an issue in the `run_classification.py` script where the assignment of the `id2label` attribute in the model's config is incorrect. The current implementation copies `config.label2id` without modifying it, leading to an incorrect mapping. The proposed fix ensures t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28590/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28590/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28590", "html_url": "https://github.com/huggingface/transformers/pull/28590", "diff_url": "https://github.com/huggingface/transformers/pull/28590.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28590.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28589
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28589/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28589/comments
https://api.github.com/repos/huggingface/transformers/issues/28589/events
https://github.com/huggingface/transformers/issues/28589
2,088,705,569
I_kwDOCUB6oc58fx4h
28,589
Fix id2label assignment in run_classification.py
{ "login": "jheitmann", "id": 25958845, "node_id": "MDQ6VXNlcjI1OTU4ODQ1", "avatar_url": "https://avatars.githubusercontent.com/u/25958845?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jheitmann", "html_url": "https://github.com/jheitmann", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "model.config.id2label = {id: label for label, id in config.label2id.items()}" ]
1,705
1,705
1,705
CONTRIBUTOR
null
### System Info - `transformers` version: 4.36.2 - Platform: macOS-13.4-arm64-arm-64bit - Python version: 3.10.10 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.4.0 - Accelerate version: 0.23.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0 (False) - Tensorflow version (GPU?): no...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28589/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28589/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28588
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28588/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28588/comments
https://api.github.com/repos/huggingface/transformers/issues/28588/events
https://github.com/huggingface/transformers/pull/28588
2,088,643,049
PR_kwDOCUB6oc5kcab2
28,588
Add tf_keras imports to prepare for Keras 3
{ "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 note to myself: The failing test is likely caused by replacing `K.set_value()` with `tf.assign()` somewhere, since `tf.assign()` lacks an implicit dtype cast. The test fails whether or not other tests are run beforehand, so it's not a case of the mixed precision policy accidentally carrying over between test...
1,705
1,707
1,706
MEMBER
null
Keras 3 will break backward compatibility for our TF code, and is becoming the default Keras in TF 2.16. This PR uses the `tf_keras` package to maintain backward compatibility - it imports tf_keras if available, and if not then it attempts to import keras, but raises an issue if the version is >= 3. Our future plan ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28588/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28588/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28588", "html_url": "https://github.com/huggingface/transformers/pull/28588", "diff_url": "https://github.com/huggingface/transformers/pull/28588.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28588.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28587
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28587/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28587/comments
https://api.github.com/repos/huggingface/transformers/issues/28587/events
https://github.com/huggingface/transformers/pull/28587
2,088,598,424
PR_kwDOCUB6oc5kcQm9
28,587
Support gated Linear Layers for SwitchTransformers
{ "login": "agemagician", "id": 6087313, "node_id": "MDQ6VXNlcjYwODczMTM=", "avatar_url": "https://avatars.githubusercontent.com/u/6087313?v=4", "gravatar_id": "", "url": "https://api.github.com/users/agemagician", "html_url": "https://github.com/agemagician", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28587). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "> Looks good I would say ! Do you know if there are any checkpoint on the Hub that...
1,705
1,705
1,705
CONTRIBUTOR
null
# What does this PR do? The new version of SwitchTransformers uses a gated linear layer. This pull request adds gated Linear Layers support for SwitchTransformers. This is very similar to T5 and T5 v1.1 models. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the othe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28587/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28587/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28587", "html_url": "https://github.com/huggingface/transformers/pull/28587", "diff_url": "https://github.com/huggingface/transformers/pull/28587.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28587.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28585
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28585/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28585/comments
https://api.github.com/repos/huggingface/transformers/issues/28585/events
https://github.com/huggingface/transformers/pull/28585
2,088,483,355
PR_kwDOCUB6oc5kb3U0
28,585
Add w2v2bert to pipeline
{ "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
[]
[ "> Also cc @ydshieh, it would be nice to add the model architecture to the tiny model repo !\r\n\r\nOK, will update next week (if it succeed to create the tiny model though)", "> second approval\r\n\r\nnothing big from my side other than 2 tiny comments.\r\n\r\n> all slow ASR tests pass\r\n\r\nyes, confirmed" ]
1,705
1,706
1,705
COLLABORATOR
null
# What does this PR do? https://github.com/huggingface/transformers/pull/28165 introduced a new W2V2-based model that uses a different feature extractor than classic CTC-based models. In particular, it takes mel-spectrograms as `input_features`, instead of raw waveform as `input_values`. The pipeline only takes `i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28585/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28585/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28585", "html_url": "https://github.com/huggingface/transformers/pull/28585", "diff_url": "https://github.com/huggingface/transformers/pull/28585.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28585.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28584
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28584/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28584/comments
https://api.github.com/repos/huggingface/transformers/issues/28584/events
https://github.com/huggingface/transformers/pull/28584
2,088,480,788
PR_kwDOCUB6oc5kb2wP
28,584
Don't save `processor_config.json` if a processor has no extra attribute
{ "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
[]
[]
1,705
1,705
1,705
COLLABORATOR
null
# What does this PR do? Don't save `processor_config.json` if a processor has no extra attribute
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28584/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28584/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28584", "html_url": "https://github.com/huggingface/transformers/pull/28584", "diff_url": "https://github.com/huggingface/transformers/pull/28584.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28584.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28583
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28583/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28583/comments
https://api.github.com/repos/huggingface/transformers/issues/28583/events
https://github.com/huggingface/transformers/pull/28583
2,088,447,016
PR_kwDOCUB6oc5kbvTa
28,583
[`docs`] Improve visualization for vertical parallelism
{ "login": "petergtz", "id": 3618401, "node_id": "MDQ6VXNlcjM2MTg0MDE=", "avatar_url": "https://avatars.githubusercontent.com/u/3618401?v=4", "gravatar_id": "", "url": "https://api.github.com/users/petergtz", "html_url": "https://github.com/petergtz", "followers_url": "https://api.github.com/users/peter...
[]
closed
false
null
[]
[]
1,705
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? The documentation says "We refer to this Model parallelism as “Vertical” because of how models are typically visualized.", but then visualizes the model horizontally. This change visualizes the model indeed vertically. ## Before submitting - [x] This PR fixes a typo or improves the docs (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28583/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28583/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28583", "html_url": "https://github.com/huggingface/transformers/pull/28583", "diff_url": "https://github.com/huggingface/transformers/pull/28583.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28583.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28582
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28582/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28582/comments
https://api.github.com/repos/huggingface/transformers/issues/28582/events
https://github.com/huggingface/transformers/pull/28582
2,088,342,596
PR_kwDOCUB6oc5kbYbr
28,582
Making CTC training example more general
{ "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_28582). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,705
1,705
1,705
COLLABORATOR
null
# What does this PR do? #28165 introduced a new W2V2-based model that uses a different feature extractor than classic CTC-based models. In particular, it takes mel-spectrograms as `input_features`, instead of raw waveform as `input_values`. This runs well with the [example from the README](https://github.com/hug...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28582/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28582/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28582", "html_url": "https://github.com/huggingface/transformers/pull/28582", "diff_url": "https://github.com/huggingface/transformers/pull/28582.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28582.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28581
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28581/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28581/comments
https://api.github.com/repos/huggingface/transformers/issues/28581/events
https://github.com/huggingface/transformers/pull/28581
2,088,324,666
PR_kwDOCUB6oc5kbUgz
28,581
Fix phi model doc checkpoint
{ "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_28581). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,705
1,705
1,705
COLLABORATOR
null
# What does this PR do? Small fix c.f. https://github.com/huggingface/transformers/commit/d93ef7d7512e79612606f29e6ae308920f0a86cd#r137345713
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28581/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28581/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28581", "html_url": "https://github.com/huggingface/transformers/pull/28581", "diff_url": "https://github.com/huggingface/transformers/pull/28581.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28581.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28580
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28580/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28580/comments
https://api.github.com/repos/huggingface/transformers/issues/28580/events
https://github.com/huggingface/transformers/issues/28580
2,088,302,103
I_kwDOCUB6oc58ePYX
28,580
This model has one file that has been marked as unsafe. [training_args.bin]
{ "login": "rizwan-ai", "id": 34979598, "node_id": "MDQ6VXNlcjM0OTc5NTk4", "avatar_url": "https://avatars.githubusercontent.com/u/34979598?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rizwan-ai", "html_url": "https://github.com/rizwan-ai", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[ "Hi @rizwan-ai \r\nIf you uploaded the files by yourself, in theory it should be safe, however we advise you to double check things before running anything. Please refer to this documentation page: https://huggingface.co/docs/hub/security-pickle for more details", "This issue has been automatically marked as stal...
1,705
1,708
null
NONE
null
### System Info **Framework versions** - Transformers 4.36.2 - Pytorch 2.1.2+cpu - Datasets 2.16.1 - Tokenizers 0.15.0 This model has one file that has been marked as unsafe. [training_args.bin](https://huggingface.co/rizwan-ai/distilbert-base-uncased-finetuned-emotion/blob/main/training_args.bin) ### G...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28580/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28580/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28579
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28579/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28579/comments
https://api.github.com/repos/huggingface/transformers/issues/28579/events
https://github.com/huggingface/transformers/pull/28579
2,088,191,321
PR_kwDOCUB6oc5ka3IF
28,579
Fix: `generate()` with `max_new_tokens=0` produces a single token.
{ "login": "danielkorat", "id": 32893314, "node_id": "MDQ6VXNlcjMyODkzMzE0", "avatar_url": "https://avatars.githubusercontent.com/u/32893314?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danielkorat", "html_url": "https://github.com/danielkorat", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi @danielkorat 👋 \r\n\r\nIn lower-level APIs like `generate`, we should strive to be more strict if some parameterization is causing problems to avoid creating unexpected patterns. In this case, generating with 0 tokens should not be possible, as there is no generation involved. \r\n\r\nAs such, I'd suggest incr...
1,705
1,705
1,705
CONTRIBUTOR
null
# What does this PR do? Currently, setting `max_new_tokens=0` produces 1 token instead of 0, and the warning is unclear. For example, for the following code: ```python checkpoint = "bigcode/tiny_starcoder_py" tokenizer = AutoTokenizer.from_pretrained(checkpoint) model = AutoModelForCausalLM.from_pretrained(ch...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28579/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28579/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28579", "html_url": "https://github.com/huggingface/transformers/pull/28579", "diff_url": "https://github.com/huggingface/transformers/pull/28579.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28579.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28578
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28578/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28578/comments
https://api.github.com/repos/huggingface/transformers/issues/28578/events
https://github.com/huggingface/transformers/pull/28578
2,088,073,432
PR_kwDOCUB6oc5kadRR
28,578
[SigLIP] Don't pad by default
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,705
1,705
1,705
CONTRIBUTOR
null
# What does this PR do? Fixes #28569 Note: will require an update of the code snippets of the model cards + my demo notebook
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28578/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28578/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28578", "html_url": "https://github.com/huggingface/transformers/pull/28578", "diff_url": "https://github.com/huggingface/transformers/pull/28578.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28578.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28577
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28577/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28577/comments
https://api.github.com/repos/huggingface/transformers/issues/28577/events
https://github.com/huggingface/transformers/issues/28577
2,088,057,678
I_kwDOCUB6oc58dTtO
28,577
Inconsistent behavior between tokenizer and fast tokenizer
{ "login": "xuzhenqi", "id": 3806642, "node_id": "MDQ6VXNlcjM4MDY2NDI=", "avatar_url": "https://avatars.githubusercontent.com/u/3806642?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xuzhenqi", "html_url": "https://github.com/xuzhenqi", "followers_url": "https://api.github.com/users/xuzhe...
[]
open
false
null
[]
[ "Thanks for reporting! This is pretty much a known bug but will be fixed by the likes of #26678 (when propagated to Llama)" ]
1,705
1,708
null
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-4.18.0-193.6.3.el8_2.v1.4.x86_64-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.0 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu118 (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28577/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28577/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28576
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28576/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28576/comments
https://api.github.com/repos/huggingface/transformers/issues/28576/events
https://github.com/huggingface/transformers/issues/28576
2,088,057,073
I_kwDOCUB6oc58dTjx
28,576
Feature Request: Expose an Args to Set Prefetch Factor in Trainer
{ "login": "uygnef", "id": 13539441, "node_id": "MDQ6VXNlcjEzNTM5NDQx", "avatar_url": "https://avatars.githubusercontent.com/u/13539441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/uygnef", "html_url": "https://github.com/uygnef", "followers_url": "https://api.github.com/users/uygnef/fo...
[]
open
false
null
[]
[ "Hi @uygnef, thanks for raising an issue!\r\n\r\nThere is a related PR open: #28498 cc @muellerzr @pacman100 ", "> Hi @uygnef, thanks for raising an issue!\r\n> \r\n> There is a related PR open: #28498 cc @muellerzr @pacman100\r\n\r\noh, good job!", "This issue has been automatically marked as stale because it ...
1,705
1,708
null
NONE
null
### Feature request Currently, the trainer does not allow users to set the prefetch factor as an argument from the training script. ### Motivation This can be a limitation when training large models, especially when the data is being fetched from a remote server, as the loading speed can become a bottleneck due to ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28576/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28576/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28575
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28575/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28575/comments
https://api.github.com/repos/huggingface/transformers/issues/28575/events
https://github.com/huggingface/transformers/pull/28575
2,088,049,724
PR_kwDOCUB6oc5kaYGD
28,575
Use `LoggingLevel` context manager in 3 tests
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "I don't run CI multiple times with this PR - but quite confident this would fix the current situation.", "I forgot to remove `is_flaky`. Will do before merge 😅 ", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28575). All of your documentation changes will be reflec...
1,705
1,705
1,705
COLLABORATOR
null
# What does this PR do? To avoid flaky failing tests due to transformers' root logger's level being changed by some (unknown yet) other tests.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28575/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28575/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28575", "html_url": "https://github.com/huggingface/transformers/pull/28575", "diff_url": "https://github.com/huggingface/transformers/pull/28575.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28575.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28574
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28574/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28574/comments
https://api.github.com/repos/huggingface/transformers/issues/28574/events
https://github.com/huggingface/transformers/pull/28574
2,088,021,115
PR_kwDOCUB6oc5kaR5J
28,574
chore: Fix multiple typos
{ "login": "hugo-syn", "id": 61210734, "node_id": "MDQ6VXNlcjYxMjEwNzM0", "avatar_url": "https://avatars.githubusercontent.com/u/61210734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hugo-syn", "html_url": "https://github.com/hugo-syn", "followers_url": "https://api.github.com/users/hug...
[]
closed
false
null
[]
[]
1,705
1,705
1,705
CONTRIBUTOR
null
# What does this PR do? Fix multiple typos
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28574/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28574/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28574", "html_url": "https://github.com/huggingface/transformers/pull/28574", "diff_url": "https://github.com/huggingface/transformers/pull/28574.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28574.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28573
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28573/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28573/comments
https://api.github.com/repos/huggingface/transformers/issues/28573/events
https://github.com/huggingface/transformers/issues/28573
2,087,647,786
I_kwDOCUB6oc58bvoq
28,573
data_collator in examples/pytorch/language-modeling/run_clm.py
{ "login": "pierowu", "id": 61963313, "node_id": "MDQ6VXNlcjYxOTYzMzEz", "avatar_url": "https://avatars.githubusercontent.com/u/61963313?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pierowu", "html_url": "https://github.com/pierowu", "followers_url": "https://api.github.com/users/pierow...
[]
closed
false
null
[]
[ "Hey 🤗 thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co/) instead? I'm sure the community will be of help!\r\n\r\nThanks!" ]
1,705
1,706
1,706
NONE
null
### System Info According to the script, the trainer use dafault_data_collator to model causal language modelling. https://github.com/huggingface/transformers/blob/98dda8ed03ac3f4af5733bdddaa1dab6a81e15c1/examples/pytorch/language-modeling/run_clm.py#L604 Shouldn't we use DataCollatorForLanguageModeling to shift inp...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28573/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28573/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28572
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28572/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28572/comments
https://api.github.com/repos/huggingface/transformers/issues/28572/events
https://github.com/huggingface/transformers/pull/28572
2,087,586,420
PR_kwDOCUB6oc5kYy8L
28,572
add YaRN RoPE scaling code for LLaMA
{ "login": "jquesnelle", "id": 687076, "node_id": "MDQ6VXNlcjY4NzA3Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/687076?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jquesnelle", "html_url": "https://github.com/jquesnelle", "followers_url": "https://api.github.com/users/j...
[]
open
false
null
[]
[ "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/transformers/blob/main/CONTRIBUTING.md) a...
1,705
1,708
null
NONE
null
# What does this PR do? This adds the [YaRN RoPE scaling method](https://arxiv.org/abs/2309.00071) to the LLaMA-class of models. It can be activated for finetuned models by setting `rope_scaling.type = 'yarn'` or for non-finetuned models by setting `rope_scaling.type = 'dynamic-yarn'`. This PR enables the LLaMA f...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28572/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/28572/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28572", "html_url": "https://github.com/huggingface/transformers/pull/28572", "diff_url": "https://github.com/huggingface/transformers/pull/28572.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28572.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28570
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28570/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28570/comments
https://api.github.com/repos/huggingface/transformers/issues/28570/events
https://github.com/huggingface/transformers/pull/28570
2,087,361,488
PR_kwDOCUB6oc5kYBkM
28,570
[`Llava`] Fix convert_llava_weights_to_hf.py script
{ "login": "isaac-vidas", "id": 80056737, "node_id": "MDQ6VXNlcjgwMDU2NzM3", "avatar_url": "https://avatars.githubusercontent.com/u/80056737?v=4", "gravatar_id": "", "url": "https://api.github.com/users/isaac-vidas", "html_url": "https://github.com/isaac-vidas", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "@isaac-vidas would you be happy to address the same fix for Vip-Llava? https://github.com/huggingface/transformers/blob/main/src/transformers/models/vipllava/convert_vipllava_weights_to_hf.py#L61", "Thanks for the review @younesbelkada!\r\nI added the fix you mentioned, if you can review again please 😄 ", "Th...
1,705
1,705
1,705
CONTRIBUTOR
null
Fix call to `tokenizer.add_tokens` in `convert_llava_weights_to_hf.py` and `convert_vipllava_weights_to_hf.py` scripts. # 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, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28570/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28570/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28570", "html_url": "https://github.com/huggingface/transformers/pull/28570", "diff_url": "https://github.com/huggingface/transformers/pull/28570.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28570.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28569
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28569/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28569/comments
https://api.github.com/repos/huggingface/transformers/issues/28569/events
https://github.com/huggingface/transformers/issues/28569
2,087,314,475
I_kwDOCUB6oc58aeQr
28,569
Clarify usage / implementation of padding for SigLIP model processor
{ "login": "skysyk", "id": 3191242, "node_id": "MDQ6VXNlcjMxOTEyNDI=", "avatar_url": "https://avatars.githubusercontent.com/u/3191242?v=4", "gravatar_id": "", "url": "https://api.github.com/users/skysyk", "html_url": "https://github.com/skysyk", "followers_url": "https://api.github.com/users/skysyk/foll...
[]
closed
false
null
[]
[ "Good point. cc @ArthurZucker - I added this to make sure people use `max_length` as the pre-trained models use this.\r\n\r\nI guess it would be better to explicitly pass `padding=\"max_length\"` so that this is more explicit and users have the choice.", "Thank you!" ]
1,705
1,705
1,705
NONE
null
### Feature request Change the implementation of `SiglipProcessor` to use the global default behavior for `padding` of `False` or update the documentation to indicate the usage is different and defaults to `'max_length'` if the `padding` argument is not provided. ### Motivation In the HF documentation for padd...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28569/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28569/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28568
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28568/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28568/comments
https://api.github.com/repos/huggingface/transformers/issues/28568/events
https://github.com/huggingface/transformers/issues/28568
2,087,171,304
I_kwDOCUB6oc58Z7To
28,568
Optimised 4bit inference kernels
{ "login": "nivibilla", "id": 26687662, "node_id": "MDQ6VXNlcjI2Njg3NjYy", "avatar_url": "https://avatars.githubusercontent.com/u/26687662?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nivibilla", "html_url": "https://github.com/nivibilla", "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 @younesbelkada @SunMarc ", "Thanks !\r\n@efrantar can confirm but looking at the code it looks like you essentially just need to replace all Linear layers with `marlin.Linear` ? (not 100% sure) if the interface is simple we can definitely add that support I think by passing `MarlinConfig` through `quantizatio...
1,705
1,705
null
NONE
null
### Feature request Integration of new 4bit kernels https://github.com/IST-DASLab/marlin ### Motivation provide faster Inference than awq/exllama for batch sizes upto 32 ### Your contribution Just saw this today, can try provide sample notebook.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28568/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28568/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28567
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28567/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28567/comments
https://api.github.com/repos/huggingface/transformers/issues/28567/events
https://github.com/huggingface/transformers/pull/28567
2,086,938,368
PR_kwDOCUB6oc5kWlHG
28,567
Fix the documentation checkpoint for xlm-roberta-xl
{ "login": "jeremyfowers", "id": 80718789, "node_id": "MDQ6VXNlcjgwNzE4Nzg5", "avatar_url": "https://avatars.githubusercontent.com/u/80718789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jeremyfowers", "html_url": "https://github.com/jeremyfowers", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "thanks for fixing!" ]
1,705
1,705
1,705
CONTRIBUTOR
null
# What does this PR do? This is a small PR that corrects the name of the `xlm-roberta-xl` checkpoint in the `transformers` documentation. I also noticed that the docstrings were referring to the model as either `XLM-RoBERTa-xlarge` or `XLM-Roberta-xlarge` and I corrected all of those instances to `XLM-RoBERTa-XL`...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28567/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/28567/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28567", "html_url": "https://github.com/huggingface/transformers/pull/28567", "diff_url": "https://github.com/huggingface/transformers/pull/28567.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28567.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28566
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28566/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28566/comments
https://api.github.com/repos/huggingface/transformers/issues/28566/events
https://github.com/huggingface/transformers/pull/28566
2,086,880,853
PR_kwDOCUB6oc5kWYmi
28,566
fix: suppress `GatedRepoError` to use cache file (fix #28558).
{ "login": "scruel", "id": 16933298, "node_id": "MDQ6VXNlcjE2OTMzMjk4", "avatar_url": "https://avatars.githubusercontent.com/u/16933298?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scruel", "html_url": "https://github.com/scruel", "followers_url": "https://api.github.com/users/scruel/fo...
[]
closed
false
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[ { "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.githu...
[ "Yeah, I think we should also have the same processing logic for `RepositoryNotFoundError` exception, should I commit it in this PR?\r\nI would also like to merge three private parameters into one parameter called `optional_file`, but consider I also not quite familiar with this repo, I decided not to do so, even I...
1,705
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? The repo will have some optional files missed, and we have `_raise_exceptions_for_missing_entries=False` to suppress such errors, however for gated repo we won't be able to know if files exists or not without passing the `token` parameter (or env variable), even we already fully downloaded the ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28566/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28566/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28566", "html_url": "https://github.com/huggingface/transformers/pull/28566", "diff_url": "https://github.com/huggingface/transformers/pull/28566.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28566.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28565
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28565/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28565/comments
https://api.github.com/repos/huggingface/transformers/issues/28565/events
https://github.com/huggingface/transformers/issues/28565
2,086,814,877
I_kwDOCUB6oc58YkSd
28,565
Disabling adapters is not removing the adapter from active adapters
{ "login": "balachandra", "id": 1454090, "node_id": "MDQ6VXNlcjE0NTQwOTA=", "avatar_url": "https://avatars.githubusercontent.com/u/1454090?v=4", "gravatar_id": "", "url": "https://api.github.com/users/balachandra", "html_url": "https://github.com/balachandra", "followers_url": "https://api.github.com/us...
[]
open
false
null
[]
[ "Hi @balachandra, thanks for raising an issue! \r\n\r\nSo that we can be best help you, please make sure to follow the [issue template](https://github.com/huggingface/transformers/blob/main/.github/ISSUE_TEMPLATE/bug-report.yml) and provide: \r\n* The running environment: run `transformers-cli env` in the terminal ...
1,705
1,708
null
NONE
null
### System Info Using AWS sagemaker notebook with conda_pytorch_p310 as env. ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or datase...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28565/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28565/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28564
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28564/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28564/comments
https://api.github.com/repos/huggingface/transformers/issues/28564/events
https://github.com/huggingface/transformers/pull/28564
2,086,644,413
PR_kwDOCUB6oc5kVk3x
28,564
Fix Switch Transformers When sparse_step = 1
{ "login": "agemagician", "id": 6087313, "node_id": "MDQ6VXNlcjYwODczMTM=", "avatar_url": "https://avatars.githubusercontent.com/u/6087313?v=4", "gravatar_id": "", "url": "https://api.github.com/users/agemagician", "html_url": "https://github.com/agemagician", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[]
1,705
1,705
1,705
CONTRIBUTOR
null
# What does this PR do? In case sparse_step = 1, the current code will not work. Because anything % 1 will always equal 0, even though there should be a spare layer at each block. Fixes # (issue) I didn't open an issue. I just solved the problem with this PR. ## Before submitting - [ ] This PR fixes a typ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28564/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28564/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28564", "html_url": "https://github.com/huggingface/transformers/pull/28564", "diff_url": "https://github.com/huggingface/transformers/pull/28564.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28564.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28563
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28563/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28563/comments
https://api.github.com/repos/huggingface/transformers/issues/28563/events
https://github.com/huggingface/transformers/pull/28563
2,086,638,401
PR_kwDOCUB6oc5kVjjV
28,563
[Whisper] Fix audio classification with weighted layer sum
{ "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,705
1,705
1,705
CONTRIBUTOR
null
# What does this PR do? Fixes #28002: the `WhisperForAudioClassfication` is corrected for compatibility with `use_weighted_layer_sum=True`. Implements 2 tests to confirm correctness.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28563/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28563/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28563", "html_url": "https://github.com/huggingface/transformers/pull/28563", "diff_url": "https://github.com/huggingface/transformers/pull/28563.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28563.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28562
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28562/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28562/comments
https://api.github.com/repos/huggingface/transformers/issues/28562/events
https://github.com/huggingface/transformers/issues/28562
2,086,612,194
I_kwDOCUB6oc58Xyzi
28,562
The examples for xlm-roberta-xl reference a model that doesn't exist
{ "login": "jeremyfowers", "id": 80718789, "node_id": "MDQ6VXNlcjgwNzE4Nzg5", "avatar_url": "https://avatars.githubusercontent.com/u/80718789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jeremyfowers", "html_url": "https://github.com/jeremyfowers", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Nice catch – would you be able to open a PR to fix the model reference?", "> Nice catch – would you be able to open a PR to fix the model reference?\r\n\r\nyes @julien-c, if you're happy with the new model reference then I would be happy to make the PR." ]
1,705
1,705
1,705
CONTRIBUTOR
null
### System Info - `transformers` version: 4.36.2 - Platform: Windows-10-10.0.22621-SP0 - Python version: 3.8.18 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.4.1 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cpu (False) - Tensorflow version (G...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28562/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28562/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28561
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28561/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28561/comments
https://api.github.com/repos/huggingface/transformers/issues/28561/events
https://github.com/huggingface/transformers/pull/28561
2,086,502,150
PR_kwDOCUB6oc5kVF31
28,561
Update image_processing_deformable_detr.py
{ "login": "sounakdey", "id": 8640971, "node_id": "MDQ6VXNlcjg2NDA5NzE=", "avatar_url": "https://avatars.githubusercontent.com/u/8640971?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sounakdey", "html_url": "https://github.com/sounakdey", "followers_url": "https://api.github.com/users/so...
[]
closed
false
null
[]
[ "Thanks for reviewing it @amyeroberts, I have addressed your comment. This MR should be ready to be merged." ]
1,705
1,705
1,705
CONTRIBUTOR
null
# What does this PR do? This PR in `image_processing_deformable_detr.py` prevents the usage of `unbind` on `target_sizes` when it is of `NoneType` similar to https://github.com/huggingface/transformers/blob/d6ffe74dfa577b5e7d12e48aa1c686ad8d3ef557/src/transformers/models/detr/image_processing_detr.py#L1606 <!-- Cong...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28561/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28561/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28561", "html_url": "https://github.com/huggingface/transformers/pull/28561", "diff_url": "https://github.com/huggingface/transformers/pull/28561.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28561.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28560
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28560/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28560/comments
https://api.github.com/repos/huggingface/transformers/issues/28560/events
https://github.com/huggingface/transformers/issues/28560
2,086,424,006
I_kwDOCUB6oc58XE3G
28,560
Cohere embed - Sagemaker deploy - Should have a `model_type` key in its config.json
{ "login": "pthd", "id": 7238429, "node_id": "MDQ6VXNlcjcyMzg0Mjk=", "avatar_url": "https://avatars.githubusercontent.com/u/7238429?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pthd", "html_url": "https://github.com/pthd", "followers_url": "https://api.github.com/users/pthd/followers", ...
[]
open
false
null
[]
[ "Hi @pthd, thanks for raising an issue! \r\n\r\nI'd suggest opening a discussion on the [model's hub page](https://huggingface.co/Cohere/Cohere-embed-multilingual-v3.0). As it looks like it might be related to the model itself and the owners of the repo will be able to address that. ", "This issue has been automa...
1,705
1,708
null
NONE
null
### System Info - `transformers` version: 4.33.2 - Platform: macOS-14.2.1-arm64-arm-64bit - Python version: 3.9.16 - Huggingface_hub version: 0.18.0 - Safetensors version: 0.4.0 - Accelerate version: 0.23.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0 (False) - Tensorflow version (GPU?):...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28560/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28560/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28559
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28559/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28559/comments
https://api.github.com/repos/huggingface/transformers/issues/28559/events
https://github.com/huggingface/transformers/pull/28559
2,086,294,196
PR_kwDOCUB6oc5kUZCd
28,559
ClearMLCallback enhancements: support multiple runs and handle logging better
{ "login": "eugen-ajechiloae-clearml", "id": 97950284, "node_id": "U_kgDOBdaaTA", "avatar_url": "https://avatars.githubusercontent.com/u/97950284?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eugen-ajechiloae-clearml", "html_url": "https://github.com/eugen-ajechiloae-clearml", "followers...
[]
closed
false
null
[]
[ "Hi @LysandreJik! Can you or someone from your team please review this PR?", "Hi @eugen-ajechiloae-clearml, apologies for the delay. Reviewing now!", "@eugen-ajechiloae-clearml We had some recent issues with new package releases and compatibility on our circle CI pipeline. Fixes have been merged into `main` reb...
1,705
1,707
1,707
CONTRIBUTOR
null
Currently, training multiple models in the same script might cause some model checkpoints logged to ClearML to be lost, as well as scalars, when using ClearMLCallback. This PR fixes these issues. Scalar visualization in ClearML has also been enhanced. What the PR does: 1. We count the number of times `ClearMLCallb...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28559/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28559/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28559", "html_url": "https://github.com/huggingface/transformers/pull/28559", "diff_url": "https://github.com/huggingface/transformers/pull/28559.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28559.patch", "merged_at...