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/28760
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28760/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28760/comments
https://api.github.com/repos/huggingface/transformers/issues/28760/events
https://github.com/huggingface/transformers/pull/28760
2,105,891,568
PR_kwDOCUB6oc5lWN1x
28,760
DeepSpeed: hardcode `torch.arange` dtype on `float` usage to avoid incorrect initialization
{ "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_28760). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@ArthurZucker I've added a test case that shows how it was failing before πŸ‘ It o...
1,706
1,706
1,706
MEMBER
null
# What does this PR do? Addresses #28685 -- check the issue (and related issues) for a full discussion. TL;DR: some frameworks, such as DeepSpeed, may patch the initialization of a tensor. For instance, a `float32` tensor may be initialized as `bfloat16` instead. This is particularly problematic when `torch.arang...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28760/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28760/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28760", "html_url": "https://github.com/huggingface/transformers/pull/28760", "diff_url": "https://github.com/huggingface/transformers/pull/28760.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28760.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28759
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28759/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28759/comments
https://api.github.com/repos/huggingface/transformers/issues/28759/events
https://github.com/huggingface/transformers/pull/28759
2,105,665,598
PR_kwDOCUB6oc5lVcep
28,759
fix num_assistant_tokens with heuristic schedule
{ "login": "jmamou", "id": 19263306, "node_id": "MDQ6VXNlcjE5MjYzMzA2", "avatar_url": "https://avatars.githubusercontent.com/u/19263306?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jmamou", "html_url": "https://github.com/jmamou", "followers_url": "https://api.github.com/users/jmamou/fo...
[]
closed
false
null
[]
[ "> Thanks for adding this!\r\n> \r\n> For the code quality checks, you'll need to run `make fixup` and push the changes.\r\n> \r\n> From the docstring, it mentions behaviour about `\"heuristic_transient\" being reset, but I don't see logic relating to it in this diff. Does this already happen?\r\n\r\nI just fixed d...
1,706
1,708
1,708
CONTRIBUTOR
null
# What does this PR do? We have defined 2 different num_assistant_tokens_schedule values: - `heuristic`: When all _speculative_ tokens are correct, increase `num_assistant_tokens` by 2 else reduce by 1. `num_assistant_tokens` value is persistent over multiple generation calls with the same assistant model. - `heu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28759/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28759/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28759", "html_url": "https://github.com/huggingface/transformers/pull/28759", "diff_url": "https://github.com/huggingface/transformers/pull/28759.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28759.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28758
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28758/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28758/comments
https://api.github.com/repos/huggingface/transformers/issues/28758/events
https://github.com/huggingface/transformers/pull/28758
2,105,636,363
PR_kwDOCUB6oc5lVWBb
28,758
Pin pytest version <8.0.0
{ "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
[]
[ "@amyeroberts you are too fast to address my first comment, so I am not sure if you see my 2nd one\r\n\r\n\r\n\r\nsrc/transformers/dependency_versions_table.py need to be updated by running make deps_table_update\r\n", "> @amyeroberts you are too fast to address my first comment, so I am not sure if you see my 2n...
1,706
1,706
1,706
COLLABORATOR
null
# What does this PR do? pytest released a new major version, 8 two days ago: https://pypi.org/project/pytest/8.0.0/ This breaks doctest runs on CI e.g. https://app.circleci.com/pipelines/github/huggingface/transformers/83241/workflows/7ca5119f-b434-4c93-89fb-28378e63c449/jobs/1073188 Pinning until we make our ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28758/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28758/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28758", "html_url": "https://github.com/huggingface/transformers/pull/28758", "diff_url": "https://github.com/huggingface/transformers/pull/28758.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28758.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28757
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28757/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28757/comments
https://api.github.com/repos/huggingface/transformers/issues/28757/events
https://github.com/huggingface/transformers/pull/28757
2,105,570,960
PR_kwDOCUB6oc5lVHpd
28,757
Mark test_constrained_beam_search_generate as flaky
{ "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_28757). 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
COLLABORATOR
null
# What does this PR do? Test occasionally fails on CI runs e.g. https://app.circleci.com/pipelines/github/huggingface/transformers/83241/workflows/6cb424b9-229b-412f-abfd-71cc6cfc7392/jobs/1073186/tests#failed-test-0 Marking as flaky to trigger retries to help prevent failing CI runs on unrelated PRs.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28757/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28757/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28757", "html_url": "https://github.com/huggingface/transformers/pull/28757", "diff_url": "https://github.com/huggingface/transformers/pull/28757.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28757.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28756
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28756/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28756/comments
https://api.github.com/repos/huggingface/transformers/issues/28756/events
https://github.com/huggingface/transformers/pull/28756
2,105,537,006
PR_kwDOCUB6oc5lVAJt
28,756
Workaround for #27758 to avoid ZeroDivisionError
{ "login": "tleyden", "id": 296876, "node_id": "MDQ6VXNlcjI5Njg3Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/296876?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tleyden", "html_url": "https://github.com/tleyden", "followers_url": "https://api.github.com/users/tleyden/fo...
[]
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28756). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@ArthurZucker sounds good, I'll look into adding a test. If you know of any exist...
1,706
1,706
null
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/28756/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28756/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28756", "html_url": "https://github.com/huggingface/transformers/pull/28756", "diff_url": "https://github.com/huggingface/transformers/pull/28756.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28756.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28755
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28755/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28755/comments
https://api.github.com/repos/huggingface/transformers/issues/28755/events
https://github.com/huggingface/transformers/pull/28755
2,105,467,429
PR_kwDOCUB6oc5lUwxp
28,755
Expose `offload_buffers` parameter of `accelerate` to `PreTrainedModel.from_pretrained` method
{ "login": "notsyncing", "id": 2649806, "node_id": "MDQ6VXNlcjI2NDk4MDY=", "avatar_url": "https://avatars.githubusercontent.com/u/2649806?v=4", "gravatar_id": "", "url": "https://api.github.com/users/notsyncing", "html_url": "https://github.com/notsyncing", "followers_url": "https://api.github.com/users...
[]
open
false
null
[]
[ "@muellerzr would you mind taking a look? thanks!" ]
1,706
1,707
null
NONE
null
# What does this PR do? This PR will expose the `offload_buffers` parameter of the `dispatch_model` method in `accelerate` to the `PreTrainedModel.from_pretrained`, then we can make the following code easier if we want to use this parameter: ```python config = AutoConfig.from_pretrained(model_id) with acceler...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28755/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28755/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28755", "html_url": "https://github.com/huggingface/transformers/pull/28755", "diff_url": "https://github.com/huggingface/transformers/pull/28755.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28755.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28754
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28754/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28754/comments
https://api.github.com/repos/huggingface/transformers/issues/28754/events
https://github.com/huggingface/transformers/pull/28754
2,105,365,550
PR_kwDOCUB6oc5lUaJH
28,754
Fix max_position_embeddings default value for llama2 to 4096 #28241
{ "login": "karl-hajjar", "id": 24575019, "node_id": "MDQ6VXNlcjI0NTc1MDE5", "avatar_url": "https://avatars.githubusercontent.com/u/24575019?v=4", "gravatar_id": "", "url": "https://api.github.com/users/karl-hajjar", "html_url": "https://github.com/karl-hajjar", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The code quality check fails, saying `src/transformers/models/llama/convert_llama_weights_to_hf.py` needs to be reformatted, but I'm not sure which part is problematic.", "`make style` should automatically reformat it! Also could the history is a bit messed up, recommending you to merge and force push! ", "Yes...
1,706
1,707
1,707
CONTRIBUTOR
null
This PR fixes issue #28241 related the config of llama which has max_position_embeddings=2048 by default since this was the case for llama1, but the newest version llama2 should have max_position_embeddings=4096 by default, hence the fix.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28754/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28754/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28754", "html_url": "https://github.com/huggingface/transformers/pull/28754", "diff_url": "https://github.com/huggingface/transformers/pull/28754.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28754.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28753
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28753/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28753/comments
https://api.github.com/repos/huggingface/transformers/issues/28753/events
https://github.com/huggingface/transformers/issues/28753
2,105,355,793
I_kwDOCUB6oc59fS4R
28,753
Adding CrossMAE
{ "login": "johko", "id": 2843485, "node_id": "MDQ6VXNlcjI4NDM0ODU=", "avatar_url": "https://avatars.githubusercontent.com/u/2843485?v=4", "gravatar_id": "", "url": "https://api.github.com/users/johko", "html_url": "https://github.com/johko", "followers_url": "https://api.github.com/users/johko/follower...
[ { "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
[]
[ "Opened a PR which leverages [PyTorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) on the original repo: https://github.com/TonyLianLong/CrossMAE/pull/2" ]
1,706
1,706
null
CONTRIBUTOR
null
### Model description Hey, the recently released [CrossMAE](https://crossmae.github.io/) seems like it would be a nice addition to transformers. Basically the model improves MAE by using Cross-Attention instead of Self-Attention on the tokens and thereby decreasing the needed FLOPS quite significantly. At the same...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28753/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28753/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28752
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28752/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28752/comments
https://api.github.com/repos/huggingface/transformers/issues/28752/events
https://github.com/huggingface/transformers/issues/28752
2,104,370,311
I_kwDOCUB6oc59biSH
28,752
Seq2SeqTrainingArguments.__init__() got an unexpected keyword argument 'save_only_model'
{ "login": "nic-olo", "id": 89006260, "node_id": "MDQ6VXNlcjg5MDA2MjYw", "avatar_url": "https://avatars.githubusercontent.com/u/89006260?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nic-olo", "html_url": "https://github.com/nic-olo", "followers_url": "https://api.github.com/users/nic-ol...
[]
closed
false
null
[]
[]
1,706
1,706
1,706
NONE
null
### System Info ![image](https://github.com/huggingface/transformers/assets/89006260/a6c4672e-4d3c-460a-9407-2b3de3301d73) ### Who can help? _No response_ ### Information - [ ] 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/28752/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28752/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28751
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28751/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28751/comments
https://api.github.com/repos/huggingface/transformers/issues/28751/events
https://github.com/huggingface/transformers/pull/28751
2,104,191,054
PR_kwDOCUB6oc5lQd6U
28,751
[Docs] Fix Typo in English & Japanese CLIP Model Documentation (TMBD -> TMDB)
{ "login": "Vinyzu", "id": 50874994, "node_id": "MDQ6VXNlcjUwODc0OTk0", "avatar_url": "https://avatars.githubusercontent.com/u/50874994?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Vinyzu", "html_url": "https://github.com/Vinyzu", "followers_url": "https://api.github.com/users/Vinyzu/fo...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28751). 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
Fixes Typo in TMBD to TMDB (for "TheMovieDatabase") ## 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-p...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28751/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28751/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28751", "html_url": "https://github.com/huggingface/transformers/pull/28751", "diff_url": "https://github.com/huggingface/transformers/pull/28751.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28751.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28750
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28750/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28750/comments
https://api.github.com/repos/huggingface/transformers/issues/28750/events
https://github.com/huggingface/transformers/pull/28750
2,104,165,406
PR_kwDOCUB6oc5lQYhk
28,750
Fix the StarCoder agent max_new_tokens input validation error
{ "login": "dashapetr", "id": 54349415, "node_id": "MDQ6VXNlcjU0MzQ5NDE1", "avatar_url": "https://avatars.githubusercontent.com/u/54349415?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dashapetr", "html_url": "https://github.com/dashapetr", "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
[]
[ "> Thanks! Won't this default to `max_new_tokens=20` that is set in generate if the arg is not passed?\r\n\r\nI am not sure about this.\r\n\r\nI didn't manage to find what exact place the limitation of `max_new_token `<= 192 comes from. If we look at the tool level, each separate tool (model) has its own limitatio...
1,706
1,708
null
NONE
null
Committer: Darya Petrashka <dashacheb15@gmail.com> # 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 yo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28750/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28750/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28750", "html_url": "https://github.com/huggingface/transformers/pull/28750", "diff_url": "https://github.com/huggingface/transformers/pull/28750.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28750.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28749
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28749/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28749/comments
https://api.github.com/repos/huggingface/transformers/issues/28749/events
https://github.com/huggingface/transformers/issues/28749
2,104,111,121
I_kwDOCUB6oc59ajAR
28,749
combining feature from two pre-train model in transformer then passing them into a classifer
{ "login": "Arwa491", "id": 117582570, "node_id": "U_kgDOBwIq6g", "avatar_url": "https://avatars.githubusercontent.com/u/117582570?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Arwa491", "html_url": "https://github.com/Arwa491", "followers_url": "https://api.github.com/users/Arwa491/foll...
[]
open
false
null
[]
[ "Hi @Arwa491, 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." ]
1,706
1,706
null
NONE
null
I'm trying to extract the feature using two different per-train models combine these features in one vector and then pass this vector into a classifier for a final classification is that possible using hugging face pre-train models , because i already trained the model on my data and uploaded them into hugging face
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28749/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28749/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28748
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28748/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28748/comments
https://api.github.com/repos/huggingface/transformers/issues/28748/events
https://github.com/huggingface/transformers/issues/28748
2,104,076,485
I_kwDOCUB6oc59aajF
28,748
RuntimeError: CUDA error: device-side assert triggered
{ "login": "KaifAhmad1", "id": 98801504, "node_id": "U_kgDOBeOXYA", "avatar_url": "https://avatars.githubusercontent.com/u/98801504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KaifAhmad1", "html_url": "https://github.com/KaifAhmad1", "followers_url": "https://api.github.com/users/KaifA...
[]
open
false
null
[]
[ "I would recommend you to set `CUDA_LAUNCH_BLOCKING=1` and add a breakpoint to see where this is happening. Usually at the embedding layer, when the tokenizer has an extra token and the vocab was not resized πŸ€— " ]
1,706
1,706
null
NONE
null
### System Info ``` YAML OS: Windows 11 Driver Version: 532.09 CUDA Version: 12.1 bitsandbytes: 0.42.0 transformers: 4.37.1 trl: 0.7.10 torch: 2.1.0+cu121 peft: 0.7.1 optimum: 1.16.2 einops: 0.7.0 ``` I am using Google Colab T4 GPU for fine tuniing `mistralai/Mistral-7B-v0.1` in custom dataset ###...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28748/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28748/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28747
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28747/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28747/comments
https://api.github.com/repos/huggingface/transformers/issues/28747/events
https://github.com/huggingface/transformers/issues/28747
2,104,070,205
I_kwDOCUB6oc59aZA9
28,747
In the RoPE paper they don't compute actual softmax
{ "login": "wendlerc", "id": 8095362, "node_id": "MDQ6VXNlcjgwOTUzNjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8095362?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wendlerc", "html_url": "https://github.com/wendlerc", "followers_url": "https://api.github.com/users/wendl...
[]
closed
false
null
[]
[ "Ok I guess that's because they implement a linear attention." ]
1,706
1,706
1,706
NONE
null
Is this a feature or a bug? https://github.com/huggingface/transformers/blob/03cc17775b961d16cc4d0d7ab0c8487120d0b708/src/transformers/models/llama/modeling_llama.py#L429C9-L429C22 In RoPE paper equation 19: https://arxiv.org/pdf/2104.09864.pdf they don't compute the actual softmax. Best, Chris
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28747/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28747/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28746
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28746/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28746/comments
https://api.github.com/repos/huggingface/transformers/issues/28746/events
https://github.com/huggingface/transformers/pull/28746
2,104,069,320
PR_kwDOCUB6oc5lQEes
28,746
Resolve DeepSpeed cannot resume training with PeftModel
{ "login": "lh0x00", "id": 9839768, "node_id": "MDQ6VXNlcjk4Mzk3Njg=", "avatar_url": "https://avatars.githubusercontent.com/u/9839768?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lh0x00", "html_url": "https://github.com/lh0x00", "followers_url": "https://api.github.com/users/lh0x00/foll...
[]
closed
false
null
[]
[ "hiii, any feedback are welcome, I waiting to a new version to use instead of a fork version or give me feedback if my pr having any issues. many thanks @pacman100 @muellerzr ", "Nice! Assuming this works, really excited for it to get merged in, as I've had this issue with checkpoints.\r\n\r\nQuick one - it looks...
1,706
1,706
1,706
CONTRIBUTOR
null
Hi all, I found an issue about resume ft **PeftModel** with **DeepSpeed** while I using `accelerate launch` to follow [zephyr-7b-beta recipes](https://github.com/huggingface/alignment-handbook/tree/c74ed111710d57f563cfbf1806cfb8f07dd3dc67/recipes/zephyr-7b-beta) with **qlora**. In details, the process will be cras...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28746/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28746/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28746", "html_url": "https://github.com/huggingface/transformers/pull/28746", "diff_url": "https://github.com/huggingface/transformers/pull/28746.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28746.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28745
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28745/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28745/comments
https://api.github.com/repos/huggingface/transformers/issues/28745/events
https://github.com/huggingface/transformers/issues/28745
2,103,603,552
I_kwDOCUB6oc59YnFg
28,745
Pydantic V2 support
{ "login": "FanaticPythoner", "id": 45826736, "node_id": "MDQ6VXNlcjQ1ODI2NzM2", "avatar_url": "https://avatars.githubusercontent.com/u/45826736?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FanaticPythoner", "html_url": "https://github.com/FanaticPythoner", "followers_url": "https://api...
[]
open
false
null
[]
[ "Hi @FanaticPythoner, thanks for opening this feature request! \r\n\r\nPydantic v2 is supported on the development branch c.f. #28728 #27933 \r\n\r\nTo use, install from source: `pip install git+https://github.com/huggingface/transformers`\r\n", "Great thank you. Is there an ETA for the next release?", "The sch...
1,706
1,706
null
NONE
null
### Feature request Please migrate to the latest Pydantic version. ### Motivation The current library appears to be incompatible with Pydantic Version 2. I find that being able to utilize new features, such as the `model_dump` function, would be highly beneficial. This function is particularly useful for ensuring ro...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28745/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28745/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28744
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28744/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28744/comments
https://api.github.com/repos/huggingface/transformers/issues/28744/events
https://github.com/huggingface/transformers/issues/28744
2,103,444,751
I_kwDOCUB6oc59YAUP
28,744
Handling offload when calling AutoModelForCausalLM.from_pretrained()
{ "login": "YourSaDady", "id": 99607923, "node_id": "U_kgDOBe_lcw", "avatar_url": "https://avatars.githubusercontent.com/u/99607923?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YourSaDady", "html_url": "https://github.com/YourSaDady", "followers_url": "https://api.github.com/users/YourS...
[]
open
false
null
[]
[ "Hi @YourSaDady, thanks for raising this issue! \r\n\r\nIf the program is killed when using `offload_folder` it would indicate that you're hitting OOM. If you look at your GPU memory utilization - `watch -n1 nvidia-smi` - and your CPU utilization e.g. with`top` are you able to see these topping out when loading the...
1,706
1,706
null
NONE
null
### System Info Transformers version: 4.33.3 Python version: 3.9.18 Platform: Win11 WSL ### Who can help? _No response_ ### Information - [x] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [x] My own ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28744/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28744/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28743
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28743/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28743/comments
https://api.github.com/repos/huggingface/transformers/issues/28743/events
https://github.com/huggingface/transformers/issues/28743
2,103,112,940
I_kwDOCUB6oc59WvTs
28,743
when running rag example, errors in the 'generating train split' step (wiki_dpr.py)
{ "login": "kiehls90", "id": 101498700, "node_id": "U_kgDOBgy_TA", "avatar_url": "https://avatars.githubusercontent.com/u/101498700?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kiehls90", "html_url": "https://github.com/kiehls90", "followers_url": "https://api.github.com/users/kiehls90/...
[]
open
false
null
[]
[ "Hi @kiehls90, thanks for raising an issue! \r\n\r\nThe scripts under `research_examples` aren't actively maintained. If a dataset is very large, you can try [streaming it](https://huggingface.co/docs/datasets/stream) instead of downloading the whole thing. " ]
1,706
1,706
null
NONE
null
### System Info I'm trying to run a rag example, and the dataset is wiki_dpr. wiki_dpr download and extracting have been completed successfully. However, at the generating train split stage, an error from wiki_dpr.py keeps popping up. Especially in "_generate_examples" : 1. The following error occurs in the li...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28743/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/28743/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28742
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28742/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28742/comments
https://api.github.com/repos/huggingface/transformers/issues/28742/events
https://github.com/huggingface/transformers/issues/28742
2,103,109,910
I_kwDOCUB6oc59WukW
28,742
safetensors_rust.SafetensorError: Error while deserializing header: InvalidHeaderDeserialization
{ "login": "tamanna-mostafa", "id": 156403336, "node_id": "U_kgDOCVKGiA", "avatar_url": "https://avatars.githubusercontent.com/u/156403336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tamanna-mostafa", "html_url": "https://github.com/tamanna-mostafa", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi @tamanna-mostafa πŸ‘‹ \r\n\r\nYou'll have to help us figure out what's wrong: can you get us a short and reproducible script that showcases the issue on the `transformers` size? I see two exceptions in your pasted code, one about `text-generation-inference` and another about `safetensors`", "@gante \r\nThanks f...
1,706
1,707
1,707
NONE
null
### System Info transformers version: 4.35.2 Platform: Linux-5.15.0-1050-aws-x86_64-with-glibc2.31 Python version: 3.10.12 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 (Tru...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28742/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28742/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28741
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28741/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28741/comments
https://api.github.com/repos/huggingface/transformers/issues/28741/events
https://github.com/huggingface/transformers/pull/28741
2,103,022,287
PR_kwDOCUB6oc5lM8q8
28,741
Fix input data file extension in examples
{ "login": "khipp", "id": 9824526, "node_id": "MDQ6VXNlcjk4MjQ1MjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9824526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/khipp", "html_url": "https://github.com/khipp", "followers_url": "https://api.github.com/users/khipp/follower...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28741). 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,707
1,706
CONTRIBUTOR
null
Ensure that the input data file extension is set correctly when running example scripts without specifying a training data file.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28741/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28741/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28741", "html_url": "https://github.com/huggingface/transformers/pull/28741", "diff_url": "https://github.com/huggingface/transformers/pull/28741.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28741.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28740
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28740/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28740/comments
https://api.github.com/repos/huggingface/transformers/issues/28740/events
https://github.com/huggingface/transformers/issues/28740
2,103,016,558
I_kwDOCUB6oc59WXxu
28,740
DETR: IndexError: Caught IndexError in replica 0 on device 0. IndexError: index 8 is out of bounds for dimension 0 with size 8
{ "login": "michaelgruner", "id": 717880, "node_id": "MDQ6VXNlcjcxNzg4MA==", "avatar_url": "https://avatars.githubusercontent.com/u/717880?v=4", "gravatar_id": "", "url": "https://api.github.com/users/michaelgruner", "html_url": "https://github.com/michaelgruner", "followers_url": "https://api.github.co...
[]
open
false
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[ { "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "htt...
[]
1,706
1,706
null
NONE
null
### System Info - `transformers` version: 4.37.1 - Platform: Linux-6.2.0-32-generic-x86_64-with-glibc2.37 - Python version: 3.10.12 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.2 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu121 (True) - Tensorfl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28740/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28740/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28739
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28739/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28739/comments
https://api.github.com/repos/huggingface/transformers/issues/28739/events
https://github.com/huggingface/transformers/pull/28739
2,102,816,029
PR_kwDOCUB6oc5lMPVQ
28,739
[docs] Backbone
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28739). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Hmm not sure why the test is failing with `ERROR dummy.py - AttributeError: 'HfDoc...
1,706
1,706
1,706
MEMBER
null
This PR adds some updates to the backbone docs: - have API references for `AutoBackbone`, `BackboneConfig`, `BackboneConfigMixin`, `TimmBackbone`, and `TimmBackboneConfig` in the docs so users can easily check them out - include a list of supported backbones - break up and move the content into `autoclass_tutorial...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28739/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28739/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28739", "html_url": "https://github.com/huggingface/transformers/pull/28739", "diff_url": "https://github.com/huggingface/transformers/pull/28739.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28739.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28738
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28738/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28738/comments
https://api.github.com/repos/huggingface/transformers/issues/28738/events
https://github.com/huggingface/transformers/issues/28738
2,102,804,438
I_kwDOCUB6oc59Vj_W
28,738
Any plans to support KV Cache offloading to CPU (and NVMe)?
{ "login": "goelayu", "id": 31916840, "node_id": "MDQ6VXNlcjMxOTE2ODQw", "avatar_url": "https://avatars.githubusercontent.com/u/31916840?v=4", "gravatar_id": "", "url": "https://api.github.com/users/goelayu", "html_url": "https://github.com/goelayu", "followers_url": "https://api.github.com/users/goelay...
[ { "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 @ArthurZucker " ]
1,706
1,706
null
NONE
null
### Feature request Similar to how model parameter and optimizer offload is supported using the [deepspeed library](https://github.com/huggingface/transformers/blob/de13a951b38b85195984164819f1ab05fe508677/docs/source/en/perf_train_gpu_one.md#deepspeed-zero), are there plans for natively supporting KV cache offloadi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28738/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28738/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28737
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28737/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28737/comments
https://api.github.com/repos/huggingface/transformers/issues/28737/events
https://github.com/huggingface/transformers/pull/28737
2,102,788,555
PR_kwDOCUB6oc5lMJSq
28,737
[`Siglip`] protect from imports if sentencepiece not installed
{ "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_28737). 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
COLLABORATOR
null
# What does this PR do? Complement to #28636. Mistake on my part - when testing importing from top level `from transformers import *`, environment was running on different python / site packages that originally thought (sentence piece was installed) covering up these requirements.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28737/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28737/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28737", "html_url": "https://github.com/huggingface/transformers/pull/28737", "diff_url": "https://github.com/huggingface/transformers/pull/28737.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28737.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28736
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28736/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28736/comments
https://api.github.com/repos/huggingface/transformers/issues/28736/events
https://github.com/huggingface/transformers/pull/28736
2,102,641,052
PR_kwDOCUB6oc5lLpCl
28,736
Use the old style of cache-management when using DS-Inference
{ "login": "RezaYazdaniAminabadi", "id": 44502768, "node_id": "MDQ6VXNlcjQ0NTAyNzY4", "avatar_url": "https://avatars.githubusercontent.com/u/44502768?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RezaYazdaniAminabadi", "html_url": "https://github.com/RezaYazdaniAminabadi", "followers_url...
[]
open
false
null
[]
[]
1,706
1,706
null
CONTRIBUTOR
null
This PR intends to revert back the cache-management to the old style when optimizing HF models with DeepSpeed-Inference. I just added some changes to make it work with Llama. I will add a test to show the usage of this and why this is needed for the DS-Inference to work.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28736/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28736/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28736", "html_url": "https://github.com/huggingface/transformers/pull/28736", "diff_url": "https://github.com/huggingface/transformers/pull/28736.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28736.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28735
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28735/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28735/comments
https://api.github.com/repos/huggingface/transformers/issues/28735/events
https://github.com/huggingface/transformers/pull/28735
2,102,606,842
PR_kwDOCUB6oc5lLhh5
28,735
[Flax] Update no init test for Flax v0.7.1
{ "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
[]
[ "cc @ArthurZucker for possible up-coming Flax model additions", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28735). 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
# What does this PR do? PR to unblock new model additions in Flax. As of version 0.7.1, Flax defaults to returning regular dictionaries with the methods .init and .apply, not frozen dictionaries as was the case before: https://github.com/google/flax/discussions/3191. This means our "no automatic init" method retu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28735/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28735/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28735", "html_url": "https://github.com/huggingface/transformers/pull/28735", "diff_url": "https://github.com/huggingface/transformers/pull/28735.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28735.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28734
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28734/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28734/comments
https://api.github.com/repos/huggingface/transformers/issues/28734/events
https://github.com/huggingface/transformers/pull/28734
2,102,554,379
PR_kwDOCUB6oc5lLWGc
28,734
Wrap Keras methods to support BatchEncoding
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28734). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "This has now been rebased following the tf-keras PR, will merge once the CI is gre...
1,706
1,706
1,706
MEMBER
null
One last Keras PR before I go back to chat templates - a recurring annoyance that I (and the forum users) have always had with our Keras models is that our tokenizers output `BatchEncoding` by default, which behaves like a mixed dict/list. Keras doesn't understand this at all and fails to handle it when passed to `fit(...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28734/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28734/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28734", "html_url": "https://github.com/huggingface/transformers/pull/28734", "diff_url": "https://github.com/huggingface/transformers/pull/28734.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28734.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28733
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28733/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28733/comments
https://api.github.com/repos/huggingface/transformers/issues/28733/events
https://github.com/huggingface/transformers/pull/28733
2,102,544,063
PR_kwDOCUB6oc5lLT4w
28,733
Fix `DepthEstimationPipeline`'s docstring
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28733). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Thanks @Wauplin Will update it (along with `top_k` too maybe!)", "FYI:\r\n\r\nAl...
1,706
1,706
1,706
COLLABORATOR
null
# What does this PR do? Fix #28729
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28733/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28733/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28733", "html_url": "https://github.com/huggingface/transformers/pull/28733", "diff_url": "https://github.com/huggingface/transformers/pull/28733.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28733.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28732
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28732/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28732/comments
https://api.github.com/repos/huggingface/transformers/issues/28732/events
https://github.com/huggingface/transformers/issues/28732
2,102,510,335
I_kwDOCUB6oc59UcL_
28,732
Output logits differ for the same input text in a batch of size 1 with half precision on GPU
{ "login": "zhukpm", "id": 52332744, "node_id": "MDQ6VXNlcjUyMzMyNzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/52332744?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhukpm", "html_url": "https://github.com/zhukpm", "followers_url": "https://api.github.com/users/zhukpm/fo...
[]
open
false
null
[]
[ "This seems like a duplicate of https://github.com/huggingface/transformers/issues/25420#issuecomment-1775317535 ", "Yeah, it is. Thanks" ]
1,706
1,706
null
NONE
null
### System Info Linux 20.04.1-Ubuntu x86_64 GNU/Linux Python 3.10.12 transformers==4.37.1 torch==2.1.2+cu121 GPU A100 NVIDIA-SMI 525.147.05 Driver Version: 525.147.05 CUDA Version: 12.0 ### Who can help? @ArthurZucker ### Information - [ ] The official example scripts - [X] My own modified scripts ##...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28732/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28732/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28731
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28731/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28731/comments
https://api.github.com/repos/huggingface/transformers/issues/28731/events
https://github.com/huggingface/transformers/issues/28731
2,102,480,997
I_kwDOCUB6oc59UVBl
28,731
torch.bfloat16 inference failed with RuntimeError: cutlassF: no kernel found to launch!
{ "login": "VINUK0", "id": 58259367, "node_id": "MDQ6VXNlcjU4MjU5MzY3", "avatar_url": "https://avatars.githubusercontent.com/u/58259367?v=4", "gravatar_id": "", "url": "https://api.github.com/users/VINUK0", "html_url": "https://github.com/VINUK0", "followers_url": "https://api.github.com/users/VINUK0/fo...
[]
closed
false
null
[]
[ "Hi @VINUK0, thanks for raising this issue! \r\n\r\nI believe this is a torch and hardware issue, rather than something in the transformers library. \r\n\r\nOther people have reported issues between torch and sdp, when loading in bf16 on T4. See [this issue](https://github.com/Lightning-AI/lit-gpt/issues/327) and [...
1,706
1,706
1,706
NONE
null
### System Info ***[Environment Information]*** *GPU :* `Nvidia T4 (15GB)` *Python Version:* `3.10.12` *Pytorch Version :* `2.1.1 (CUDA 12.1 | 11.8) [Both same results.]` *Transformers Version :* `4.37.1` *Accelerate Version :* `0.26.1` *Optimum Version:* `1.16.2` *Bitsandbytes:* `0.42.0` ***[Task Informat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28731/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/28731/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28730
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28730/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28730/comments
https://api.github.com/repos/huggingface/transformers/issues/28730/events
https://github.com/huggingface/transformers/issues/28730
2,102,472,373
I_kwDOCUB6oc59US61
28,730
Freely Long-Thinking Transformer (FraiLT)
{ "login": "akbayt", "id": 11097700, "node_id": "MDQ6VXNlcjExMDk3NzAw", "avatar_url": "https://avatars.githubusercontent.com/u/11097700?v=4", "gravatar_id": "", "url": "https://api.github.com/users/akbayt", "html_url": "https://github.com/akbayt", "followers_url": "https://api.github.com/users/akbayt/fo...
[ { "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
[]
[ "HeyΒ @akbayt. Thanks a lot for opening this new model request and contributing to the HF ecosystem!Β πŸ€—\r\nWe have recently been trying to push forΒ `model on the hub`Β and have as much support as we can there. It will also be easier to integrate it. Here is aΒ [tutorial](https://huggingface.co/docs/transformers/custom...
1,706
1,706
null
NONE
null
### Model description Hi! I am the author of the following study: https://arxiv.org/abs/2401.11626 I want to add this model to πŸ€— transformers. Implementation is in progress... πŸ‘¨β€πŸ’» *Abstract:* Freely Long-Thinking Transformer (FraiLT) is an improved transformer model designed to enhance processing ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28730/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28730/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28729
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28729/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28729/comments
https://api.github.com/repos/huggingface/transformers/issues/28729/events
https://github.com/huggingface/transformers/issues/28729
2,102,351,194
I_kwDOCUB6oc59T1Va
28,729
Depth Estimation Pipeline docstrings are wrong
{ "login": "osanseviero", "id": 7246357, "node_id": "MDQ6VXNlcjcyNDYzNTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/osanseviero", "html_url": "https://github.com/osanseviero", "followers_url": "https://api.github.com/us...
[]
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...
[ "Thanks @osanseviero ! Indeed, will open a PR to fix this" ]
1,706
1,706
1,706
MEMBER
null
The docstring is a paste from the image classification pipeline it seems https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/depth_estimation.py#L54-L83 . The correct output, as per https://huggingface.co/docs/transformers/main/tasks/monocular_depth_estimation, should be a dictionary with a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28729/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28729/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28728
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28728/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28728/comments
https://api.github.com/repos/huggingface/transformers/issues/28728/events
https://github.com/huggingface/transformers/pull/28728
2,102,214,135
PR_kwDOCUB6oc5lKMGs
28,728
Unpin pydantic
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28728). 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
COLLABORATOR
null
# What does this PR do? Unpin pydantic as no failure anymore (CircleCI, docker image build). Fix #27933
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28728/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/28728/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28728", "html_url": "https://github.com/huggingface/transformers/pull/28728", "diff_url": "https://github.com/huggingface/transformers/pull/28728.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28728.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28727
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28727/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28727/comments
https://api.github.com/repos/huggingface/transformers/issues/28727/events
https://github.com/huggingface/transformers/pull/28727
2,102,090,556
PR_kwDOCUB6oc5lJxWz
28,727
Fix typo of `Block`.
{ "login": "xkszltl", "id": 5203025, "node_id": "MDQ6VXNlcjUyMDMwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/5203025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xkszltl", "html_url": "https://github.com/xkszltl", "followers_url": "https://api.github.com/users/xkszltl/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28727). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Nice catch on checking on GH !", "Sounds good to me, added.", "BTW why 4.40?\r...
1,706
1,706
1,706
CONTRIBUTOR
null
Models: - text models: @ArthurZucker and @younesbelkada Was introduced in: - https://github.com/huggingface/transformers/pull/27942
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28727/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28727/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28727", "html_url": "https://github.com/huggingface/transformers/pull/28727", "diff_url": "https://github.com/huggingface/transformers/pull/28727.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28727.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28726
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28726/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28726/comments
https://api.github.com/repos/huggingface/transformers/issues/28726/events
https://github.com/huggingface/transformers/issues/28726
2,102,067,406
I_kwDOCUB6oc59SwDO
28,726
Correct way for Wav2vec2 feature extraction from huggingface like Fairseq
{ "login": "hungdinhxuan", "id": 79694464, "node_id": "MDQ6VXNlcjc5Njk0NDY0", "avatar_url": "https://avatars.githubusercontent.com/u/79694464?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hungdinhxuan", "html_url": "https://github.com/hungdinhxuan", "followers_url": "https://api.github.c...
[]
open
false
null
[]
[ "cc @sanchit-gandhi @ylacombe " ]
1,706
1,706
null
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-6.2.0-37-generic-x86_64-with-glibc2.35 - Python version: 3.10.13 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.4.1 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu121 (True) - Te...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28726/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28726/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28725
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28725/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28725/comments
https://api.github.com/repos/huggingface/transformers/issues/28725/events
https://github.com/huggingface/transformers/pull/28725
2,102,030,424
PR_kwDOCUB6oc5lJkLz
28,725
Fix `weights_only`
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28725). 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
COLLABORATOR
null
# What does this PR do? The changes in #28506 is incorrect, and after that we still have issue with torch < 1.13. This PR fixes the issue in a correct way. Fix #28720
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28725/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28725/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28725", "html_url": "https://github.com/huggingface/transformers/pull/28725", "diff_url": "https://github.com/huggingface/transformers/pull/28725.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28725.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28724
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28724/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28724/comments
https://api.github.com/repos/huggingface/transformers/issues/28724/events
https://github.com/huggingface/transformers/pull/28724
2,101,948,592
PR_kwDOCUB6oc5lJTCc
28,724
Fix symbolic_trace with kv cache
{ "login": "fxmarty", "id": 9808326, "node_id": "MDQ6VXNlcjk4MDgzMjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fxmarty", "html_url": "https://github.com/fxmarty", "followers_url": "https://api.github.com/users/fxmarty/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28724). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Thank you @amyeroberts, added a test that fails on the current `main` due to the c...
1,706
1,706
1,706
COLLABORATOR
null
We should NOT trace models with 0-shaped concrete metas as we otherwise miss https://github.com/huggingface/transformers/blob/bb6aa8bc5ff8537f58c4b6ac80611101ba556226/src/transformers/modeling_attn_mask_utils.py#L162-L163 in the captured graph.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28724/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/28724/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28724", "html_url": "https://github.com/huggingface/transformers/pull/28724", "diff_url": "https://github.com/huggingface/transformers/pull/28724.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28724.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28723
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28723/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28723/comments
https://api.github.com/repos/huggingface/transformers/issues/28723/events
https://github.com/huggingface/transformers/issues/28723
2,101,847,913
I_kwDOCUB6oc59R6dp
28,723
`UserWarning: TypedStorage is deprecated.` on loading `pytorch_model.bin` files from disk.
{ "login": "tomaarsen", "id": 37621491, "node_id": "MDQ6VXNlcjM3NjIxNDkx", "avatar_url": "https://avatars.githubusercontent.com/u/37621491?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tomaarsen", "html_url": "https://github.com/tomaarsen", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[ "Hi @tomaarsen, thanks for raising this! \r\n\r\nIndeed, this shouldn't be happening. Looking into it", "Looking into it, this a consequence of https://github.com/huggingface/transformers/pull/27282 - when `weights_only=True`, then [_legacy_load is used by torch to load the state dict](https://github.com/pytorch/...
1,706
1,707
null
MEMBER
null
### System Info - `transformers` version: 4.37.1 - Platform: Windows-10-10.0.22631-SP0 - Python version: 3.9.17 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.4.2 - Accelerate version: 0.21.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu121 (True) - Tensorflow version (GPU?...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28723/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28723/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28722
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28722/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28722/comments
https://api.github.com/repos/huggingface/transformers/issues/28722/events
https://github.com/huggingface/transformers/issues/28722
2,101,830,611
I_kwDOCUB6oc59R2PT
28,722
AWQ models including activation as previous operation seems broken
{ "login": "kevin3314", "id": 37268015, "node_id": "MDQ6VXNlcjM3MjY4MDE1", "avatar_url": "https://avatars.githubusercontent.com/u/37268015?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kevin3314", "html_url": "https://github.com/kevin3314", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[]
1,706
1,706
null
NONE
null
### System Info transformer==4.37.0 autoawq==0.16.0 ### Who can help? @SunMarc @younesbelkada ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or data...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28722/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28722/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28721
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28721/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28721/comments
https://api.github.com/repos/huggingface/transformers/issues/28721/events
https://github.com/huggingface/transformers/issues/28721
2,101,804,893
I_kwDOCUB6oc59Rv9d
28,721
Load an EncoderDecoderModel as AutoModel
{ "login": "Bachstelze", "id": 19904888, "node_id": "MDQ6VXNlcjE5OTA0ODg4", "avatar_url": "https://avatars.githubusercontent.com/u/19904888?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Bachstelze", "html_url": "https://github.com/Bachstelze", "followers_url": "https://api.github.com/use...
[]
open
false
null
[]
[ "Hi @Bachstelze, thanks for raising an issue! \r\n\r\nThe `EncoderDecoder` models are composite models which use `AutoModel` to load the encoder and decoder respectively. As per [the BertGeneration docs](https://github.com/huggingface/transformers/blob/bbe30c6968c66bc77f7f1f246e64743d74419770/docs/source/en/model_d...
1,706
1,706
null
NONE
null
### System Info - `transformers` version: 4.35.0 - Platform: Linux-5.15.0-91-lowlatency-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.17.3 - Safetensors version: 0.4.0 - Accelerate version: 0.24.1 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu121 (False) - Ten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28721/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28721/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28720
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28720/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28720/comments
https://api.github.com/repos/huggingface/transformers/issues/28720/events
https://github.com/huggingface/transformers/issues/28720
2,101,730,896
I_kwDOCUB6oc59Rd5Q
28,720
Current version 4.37.1 only match torch>=1.13.0, not torch > 1.11
{ "login": "StrivedTye", "id": 19620650, "node_id": "MDQ6VXNlcjE5NjIwNjUw", "avatar_url": "https://avatars.githubusercontent.com/u/19620650?v=4", "gravatar_id": "", "url": "https://api.github.com/users/StrivedTye", "html_url": "https://github.com/StrivedTye", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "cc @ydshieh ", "Sorry, indeed, it's my bad\r\n\r\n#28506 didn't fix #27282 properly, I will open a PR", "@StrivedTye Fix is merged. I tried it and it works. Let me know if you have further issue with this. Thanks for reporting the issue." ]
1,706
1,706
1,706
NONE
null
when using torch<1.13.0, current version (4.37.1) will report a OSError, because `torch.load()` in torch==1.12 does not has the keyword of `weights_only`. This issue occurs in the file `modeling_utils, Line 533`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28720/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28720/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28719
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28719/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28719/comments
https://api.github.com/repos/huggingface/transformers/issues/28719/events
https://github.com/huggingface/transformers/pull/28719
2,101,656,110
PR_kwDOCUB6oc5lIUOM
28,719
[`docs`] Update preprocessing.md
{ "login": "velaia", "id": 1515904, "node_id": "MDQ6VXNlcjE1MTU5MDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1515904?v=4", "gravatar_id": "", "url": "https://api.github.com/users/velaia", "html_url": "https://github.com/velaia", "followers_url": "https://api.github.com/users/velaia/foll...
[]
closed
false
null
[]
[ "Hi @velaia, thanks for contributing to improving our docs! \r\n\r\nCould you combine the changes in the PR with the others in #28718? ", "Hi @amyeroberts , combining was what I originally had in mind but didn't know how. I think I did it somehow by making the changes in my fork of the repo. Can you check pls?", ...
1,706
1,706
1,706
CONTRIBUTOR
null
adjust ImageProcessor link to working target (same as in lower section of file) # 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 ful...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28719/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28719/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28719", "html_url": "https://github.com/huggingface/transformers/pull/28719", "diff_url": "https://github.com/huggingface/transformers/pull/28719.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28719.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28718
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28718/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28718/comments
https://api.github.com/repos/huggingface/transformers/issues/28718/events
https://github.com/huggingface/transformers/pull/28718
2,101,633,403
PR_kwDOCUB6oc5lIPa8
28,718
Update preprocessing.md
{ "login": "velaia", "id": 1515904, "node_id": "MDQ6VXNlcjE1MTU5MDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1515904?v=4", "gravatar_id": "", "url": "https://api.github.com/users/velaia", "html_url": "https://github.com/velaia", "followers_url": "https://api.github.com/users/velaia/foll...
[]
closed
false
null
[]
[]
1,706
1,706
1,706
CONTRIBUTOR
null
fixed link to old version of documentation # 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 awesom...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28718/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28718/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28718", "html_url": "https://github.com/huggingface/transformers/pull/28718", "diff_url": "https://github.com/huggingface/transformers/pull/28718.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28718.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28717
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28717/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28717/comments
https://api.github.com/repos/huggingface/transformers/issues/28717/events
https://github.com/huggingface/transformers/pull/28717
2,101,603,477
PR_kwDOCUB6oc5lIJQO
28,717
Initialize _tqdm_active with hf_hub_utils.are_progress_bars_disabled(…
{ "login": "ShukantPal", "id": 22450567, "node_id": "MDQ6VXNlcjIyNDUwNTY3", "avatar_url": "https://avatars.githubusercontent.com/u/22450567?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ShukantPal", "html_url": "https://github.com/ShukantPal", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28717). 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
# What does this PR do? …) to respect HF_HUB_DISABLE_PROGRESS_BARS It seems like enable_progress_bar() and disable_progress_bar() sync up with huggingface_hub, but the initial value is always True. This changes will make sure the user's preference is respected implicity on initialization. ## Before submittin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28717/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28717/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28717", "html_url": "https://github.com/huggingface/transformers/pull/28717", "diff_url": "https://github.com/huggingface/transformers/pull/28717.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28717.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28716
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28716/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28716/comments
https://api.github.com/repos/huggingface/transformers/issues/28716/events
https://github.com/huggingface/transformers/issues/28716
2,101,597,907
I_kwDOCUB6oc59Q9bT
28,716
PermissionError occurs when calling Trainer.trainer using transformers
{ "login": "Mickls", "id": 41884581, "node_id": "MDQ6VXNlcjQxODg0NTgx", "avatar_url": "https://avatars.githubusercontent.com/u/41884581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Mickls", "html_url": "https://github.com/Mickls", "followers_url": "https://api.github.com/users/Mickls/fo...
[]
open
false
null
[]
[ "Hi @Mickls, thanks for raising this issue! \r\n\r\nA fix was merged in #28637. Could you try installing transformers from source and see if this resolves the issue for you? \r\n\r\n`pip install git+https://github.com/huggingface/transformers`", "> Hi @Mickls, thanks for raising this issue!\r\n> \r\n> A fix was m...
1,706
1,706
null
NONE
null
### System Info - `transformers` version: 4.37.1 - Platform: Windows-10-10.0.22631-SP0 - Python version: 3.10.13 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.2 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu121 (True) - Tensorflow version (GPU?)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28716/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28716/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28715
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28715/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28715/comments
https://api.github.com/repos/huggingface/transformers/issues/28715/events
https://github.com/huggingface/transformers/pull/28715
2,101,332,854
PR_kwDOCUB6oc5lHXhs
28,715
[docs] Fix datasets in guides
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[]
closed
false
null
[]
[]
1,706
1,706
1,706
MEMBER
null
An issue was raised at https://github.com/huggingface/datasets/issues/6605 that the ELI5 dataset is no longer accessible, impacting the causal/masked language modeling guides. This PR replaces it with the [ELI5-Category](https://huggingface.co/datasets/eli5_category) dataset, which should work fine as a drop-in replace...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28715/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28715/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28715", "html_url": "https://github.com/huggingface/transformers/pull/28715", "diff_url": "https://github.com/huggingface/transformers/pull/28715.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28715.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28714
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28714/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28714/comments
https://api.github.com/repos/huggingface/transformers/issues/28714/events
https://github.com/huggingface/transformers/issues/28714
2,101,234,552
I_kwDOCUB6oc59Pkt4
28,714
Models with a sentencepiece tokenizers have problems with special tokens and encode decode
{ "login": "ekgren", "id": 1921821, "node_id": "MDQ6VXNlcjE5MjE4MjE=", "avatar_url": "https://avatars.githubusercontent.com/u/1921821?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ekgren", "html_url": "https://github.com/ekgren", "followers_url": "https://api.github.com/users/ekgren/foll...
[]
closed
false
null
[]
[ "#26678 fixed this, I can't push everything to the hub but Llama tokenizer will have a fix soon. \r\nThis is a duplicate of #26455", "Thank you for all the hard work @ArthurZucker, closing this issue then!" ]
1,706
1,706
1,706
CONTRIBUTOR
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-6.1.58+-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.1 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu121 (False) - Tensorflow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28714/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28714/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28713
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28713/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28713/comments
https://api.github.com/repos/huggingface/transformers/issues/28713/events
https://github.com/huggingface/transformers/pull/28713
2,100,928,500
PR_kwDOCUB6oc5lGAZA
28,713
Add FlashAttention2 for XLM-RoBERTa
{ "login": "DavidAfonsoValente", "id": 74915610, "node_id": "MDQ6VXNlcjc0OTE1NjEw", "avatar_url": "https://avatars.githubusercontent.com/u/74915610?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DavidAfonsoValente", "html_url": "https://github.com/DavidAfonsoValente", "followers_url": "ht...
[]
open
false
null
[]
[ "@DavidAfonsoValente Thanks for opening a PR and adding FA2 for this model! Let us know when the PR is ready to be reviewed πŸ€— ", "> @DavidAfonsoValente Thanks for opening a PR and adding FA2 for this model! Let us know when the PR is ready to be reviewed πŸ€—\r\n\r\nThanks! I believe it's ready to be reviewed.", ...
1,706
1,707
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/28713/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28713/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28713", "html_url": "https://github.com/huggingface/transformers/pull/28713", "diff_url": "https://github.com/huggingface/transformers/pull/28713.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28713.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28712
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28712/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28712/comments
https://api.github.com/repos/huggingface/transformers/issues/28712/events
https://github.com/huggingface/transformers/pull/28712
2,100,919,565
PR_kwDOCUB6oc5lF-gR
28,712
Stop confusing the TF compiler with ModelOutput objects
{ "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
[]
[ "@amyeroberts sorry, let me explain what I meant with the model output being 'used'!\r\n\r\nThe issue occurs when the main `BlipModel` calls the `BlipText` sub-model, and the sub-model returns a `ModelOutput` which the main `BlipModel` reads values from. As far as I can tell, the issue does **not** arise if the `Bl...
1,706
1,706
1,706
MEMBER
null
The `test_saved_model_creation` test was failing for BLIP with the rather unusual symptom that the `loss` key of one of the intermediate outputs had transformed into a strange generator object. I still don't know **why** this happened, but it requires the following: 1) TF compilation (doesn't happen in eager mode) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28712/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28712/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28712", "html_url": "https://github.com/huggingface/transformers/pull/28712", "diff_url": "https://github.com/huggingface/transformers/pull/28712.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28712.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28711
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28711/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28711/comments
https://api.github.com/repos/huggingface/transformers/issues/28711/events
https://github.com/huggingface/transformers/pull/28711
2,100,880,202
PR_kwDOCUB6oc5lF2Au
28,711
[WIP] Improve multimodal processors - rely less on kwargs
{ "login": "molbap", "id": 39954772, "node_id": "MDQ6VXNlcjM5OTU0Nzcy", "avatar_url": "https://avatars.githubusercontent.com/u/39954772?v=4", "gravatar_id": "", "url": "https://api.github.com/users/molbap", "html_url": "https://github.com/molbap", "followers_url": "https://api.github.com/users/molbap/fo...
[]
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28711). 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,708
null
CONTRIBUTOR
null
# What does this PR do? This PR aims at a better control on the logic flow through `Processor` classes, in particular those leveraging `ImageProcessor` with a `Tokenizer`. Linked with #27768. `ImageProcessors` compared to `Nougat` (as a reference point) have different signatures in their preprocess. One can list...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28711/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28711/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28711", "html_url": "https://github.com/huggingface/transformers/pull/28711", "diff_url": "https://github.com/huggingface/transformers/pull/28711.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28711.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28710
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28710/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28710/comments
https://api.github.com/repos/huggingface/transformers/issues/28710/events
https://github.com/huggingface/transformers/pull/28710
2,100,865,170
PR_kwDOCUB6oc5lFyww
28,710
Flass attention 2 for xml roberta
{ "login": "DavidAfonsoValente", "id": 74915610, "node_id": "MDQ6VXNlcjc0OTE1NjEw", "avatar_url": "https://avatars.githubusercontent.com/u/74915610?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DavidAfonsoValente", "html_url": "https://github.com/DavidAfonsoValente", "followers_url": "ht...
[]
closed
false
null
[]
[]
1,706
1,706
1,706
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/28710/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28710/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28710", "html_url": "https://github.com/huggingface/transformers/pull/28710", "diff_url": "https://github.com/huggingface/transformers/pull/28710.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28710.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28709
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28709/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28709/comments
https://api.github.com/repos/huggingface/transformers/issues/28709/events
https://github.com/huggingface/transformers/pull/28709
2,100,726,140
PR_kwDOCUB6oc5lFUmE
28,709
Don't fail when `LocalEntryNotFoundError` during `processor_config.json` loading
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28709). 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
COLLABORATOR
null
# What does this PR do? Fix #28697.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28709/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28709/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28709", "html_url": "https://github.com/huggingface/transformers/pull/28709", "diff_url": "https://github.com/huggingface/transformers/pull/28709.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28709.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28708
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28708/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28708/comments
https://api.github.com/repos/huggingface/transformers/issues/28708/events
https://github.com/huggingface/transformers/pull/28708
2,100,722,330
PR_kwDOCUB6oc5lFTx2
28,708
Fixed nll with label_smoothing to just nll
{ "login": "nileshkokane01", "id": 8201108, "node_id": "MDQ6VXNlcjgyMDExMDg=", "avatar_url": "https://avatars.githubusercontent.com/u/8201108?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nileshkokane01", "html_url": "https://github.com/nileshkokane01", "followers_url": "https://api.gith...
[]
closed
false
null
[]
[ "@younesbelkada ,\r\nCan you please review the changes? ", "@younesbelkada ,\r\nI rebased and resolved the conflict. I hope its a right way, or else let me know.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28708). All of your documentation changes will be reflec...
1,706
1,708
1,708
CONTRIBUTOR
null
# What does this PR do? This PR fixes #28167 by making label_smoothing= 0 . <!-- 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 you...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28708/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28708/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28708", "html_url": "https://github.com/huggingface/transformers/pull/28708", "diff_url": "https://github.com/huggingface/transformers/pull/28708.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28708.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28707
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28707/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28707/comments
https://api.github.com/repos/huggingface/transformers/issues/28707/events
https://github.com/huggingface/transformers/issues/28707
2,100,555,786
I_kwDOCUB6oc59M_AK
28,707
MixTral 8*7B GPU Memory usage keeps increasing during inference
{ "login": "oroojlooy", "id": 20797260, "node_id": "MDQ6VXNlcjIwNzk3MjYw", "avatar_url": "https://avatars.githubusercontent.com/u/20797260?v=4", "gravatar_id": "", "url": "https://api.github.com/users/oroojlooy", "html_url": "https://github.com/oroojlooy", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[ "Hi @oroojlooy, thanks for raising this issue! \r\n\r\nI believe there's an accumulation of gradients happening due to the multiple forward passes on the model. \r\n\r\nPutting the pipeline calls in the `torch.no_grad` context should help:\r\n\r\n```py\r\nwith torch.no_grad():\r\n outputs = self.pipeline(prompt,...
1,706
1,707
null
NONE
null
### System Info - `transformers` version: 4.36.0 - Platform: Linux-5.4.17-2136.323.8.2.el7uek.x86_64-x86_64-with-glibc2.17 - Python version: 3.11.0 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.2 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu12...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28707/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28707/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28706
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28706/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28706/comments
https://api.github.com/repos/huggingface/transformers/issues/28706/events
https://github.com/huggingface/transformers/pull/28706
2,100,275,754
PR_kwDOCUB6oc5lDy-H
28,706
Add AutoFeatureExtractor support to Wav2Vec2ProcessorWithLM
{ "login": "ylacombe", "id": 52246514, "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylacombe", "html_url": "https://github.com/ylacombe", "followers_url": "https://api.github.com/users/yla...
[]
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28706). 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,707
null
COLLABORATOR
null
# What does this PR do? Using a N-GRAM based language-model on top of Wav2Vec2-based models is an easy way to get a performance boost. At the moment, Wav2Vec2ProcessorWithLM was only compatible with Wav2Vec2FeatureExtractor. W2V2-Bert could also benefit from this boost, but need its feature extractor to also be c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28706/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28706/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28706", "html_url": "https://github.com/huggingface/transformers/pull/28706", "diff_url": "https://github.com/huggingface/transformers/pull/28706.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28706.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28705
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28705/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28705/comments
https://api.github.com/repos/huggingface/transformers/issues/28705/events
https://github.com/huggingface/transformers/pull/28705
2,100,266,371
PR_kwDOCUB6oc5lDw6c
28,705
[Docs] Add resources
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28705). 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,708
1,708
CONTRIBUTOR
null
# What does this PR do? This PR adds some more resources regarding various models.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28705/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28705/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28705", "html_url": "https://github.com/huggingface/transformers/pull/28705", "diff_url": "https://github.com/huggingface/transformers/pull/28705.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28705.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28704
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28704/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28704/comments
https://api.github.com/repos/huggingface/transformers/issues/28704/events
https://github.com/huggingface/transformers/issues/28704
2,100,171,431
I_kwDOCUB6oc59LhKn
28,704
FalconForCausalLM does not support Flash Attention 2.0 yet
{ "login": "menouarazib", "id": 99955425, "node_id": "U_kgDOBfUy4Q", "avatar_url": "https://avatars.githubusercontent.com/u/99955425?v=4", "gravatar_id": "", "url": "https://api.github.com/users/menouarazib", "html_url": "https://github.com/menouarazib", "followers_url": "https://api.github.com/users/me...
[]
closed
false
null
[]
[ "Hi @menouarazib, thanks for raising this issue! \r\n\r\nThis is because the model being loading with this checkpoint, is from [code on the hub](https://huggingface.co/tiiuae/falcon-7b/blob/main/modeling_falcon.py) -- [mapping here](https://huggingface.co/tiiuae/falcon-7b/blob/898df1396f35e447d5fe44e0a3ccaaaa69f30d...
1,706
1,706
1,706
NONE
null
I attempted to use Flash Attention with the Falcon-7B model, but encountered the following error: **ValueError: FalconForCausalLM does not support Flash Attention 2.0 yet.** This error was raised by the transformers/modeling_utils.py: ``` if not cls._supports_flash_attn_2: raise ValueError( f"{cls....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28704/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28704/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28703
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28703/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28703/comments
https://api.github.com/repos/huggingface/transformers/issues/28703/events
https://github.com/huggingface/transformers/pull/28703
2,100,153,707
PR_kwDOCUB6oc5lDYOa
28,703
[DO NOT MERGE] Hf quantizer refactor
{ "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
[]
[ "Do you see possibility of people mixing and matching different quantization params or even different quantizers? Use cases:\r\n- less compression in MLP vs attention\r\n- wild mix of methods to get that extra 1/1000s of perplexity\r\n\r\nIf supported, what should be the way? \r\n1) from_pretrained() calling the ri...
1,706
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? Built on top of https://github.com/huggingface/transformers/pull/26610 - this PR is just to see if I don't any surprising diff similar as in https://github.com/poedator/transformers/pull/4
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28703/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28703/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28703", "html_url": "https://github.com/huggingface/transformers/pull/28703", "diff_url": "https://github.com/huggingface/transformers/pull/28703.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28703.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28702
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28702/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28702/comments
https://api.github.com/repos/huggingface/transformers/issues/28702/events
https://github.com/huggingface/transformers/issues/28702
2,100,102,165
I_kwDOCUB6oc59LQQV
28,702
Numpy version check failures
{ "login": "Iron-Bound", "id": 7122848, "node_id": "MDQ6VXNlcjcxMjI4NDg=", "avatar_url": "https://avatars.githubusercontent.com/u/7122848?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Iron-Bound", "html_url": "https://github.com/Iron-Bound", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Hi @Iron-Bound, thanks for raising this issue! \r\n\r\nWhat do you get as output if you import numpy and check the version in a python session? \r\n\r\n```py\r\nimport numpy as np\r\nprint(np.__version__)\r\n```", "let me try to find the container taht I had the issue on, side note I think this may be due to con...
1,706
1,707
1,707
NONE
null
### System Info latest docker container from `rocm/pytorch` ### Packages pip/conda numpy 1.26.3 transformers 4.37.1 peft 0.7.1 accelerate 0.26.1 ### Error Python 3.9.18 (main, Sep 11 2023, 13:41:44) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28702/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28702/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28701
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28701/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28701/comments
https://api.github.com/repos/huggingface/transformers/issues/28701/events
https://github.com/huggingface/transformers/issues/28701
2,100,041,061
I_kwDOCUB6oc59LBVl
28,701
HfArgumentParser does not match exact arguments
{ "login": "ahmedkooli", "id": 56259512, "node_id": "MDQ6VXNlcjU2MjU5NTEy", "avatar_url": "https://avatars.githubusercontent.com/u/56259512?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ahmedkooli", "html_url": "https://github.com/ahmedkooli", "followers_url": "https://api.github.com/use...
[]
open
false
null
[]
[ "Hi @ahmedkooli, thanks for raising this issue! \r\n\r\nDigging into this, it seems this is coming from argparser itself, and is due to [this line](https://github.com/python/cpython/blob/d2da4e417ed9e6217e925e1df2820a2bf090efb3/Lib/argparse.py#L2325). As the option `text_column_names` starts with `text_column_na` a...
1,706
1,706
null
NONE
null
### System Info - `transformers` version: 4.35.2 - Platform: macOS-14.1.1-arm64-arm-64bit - Python version: 3.11.0 - 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.0 (False) ### Who can help? _No respons...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28701/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28701/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28700
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28700/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28700/comments
https://api.github.com/repos/huggingface/transformers/issues/28700/events
https://github.com/huggingface/transformers/pull/28700
2,100,030,420
PR_kwDOCUB6oc5lC9Ek
28,700
Fixed interpolation for ViT to BICUBIC as the original implementation…
{ "login": "nileshkokane01", "id": 8201108, "node_id": "MDQ6VXNlcjgyMDExMDg=", "avatar_url": "https://avatars.githubusercontent.com/u/8201108?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nileshkokane01", "html_url": "https://github.com/nileshkokane01", "followers_url": "https://api.gith...
[]
open
false
null
[]
[ "I do not know why the repo-consistency and setup_and_quality is failing. I think I broke compatibility for ViT I guess. @NielsRogge any clue? " ]
1,706
1,706
null
CONTRIBUTOR
null
# What does this PR do? This PR fixes the default interpolation mismatch between the hugging face library and the original implementation - as the original implementation uses BICUBIC by default but the hugging face default was BILINEAR <!-- Congratulations! You've made it this far! You're not quite done yet ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28700/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28700/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28700", "html_url": "https://github.com/huggingface/transformers/pull/28700", "diff_url": "https://github.com/huggingface/transformers/pull/28700.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28700.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28699
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28699/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28699/comments
https://api.github.com/repos/huggingface/transformers/issues/28699/events
https://github.com/huggingface/transformers/pull/28699
2,099,992,832
PR_kwDOCUB6oc5lC02h
28,699
fix: corrected misleading log message in save_pretrained function
{ "login": "mturetskii", "id": 96064903, "node_id": "U_kgDOBbnVhw", "avatar_url": "https://avatars.githubusercontent.com/u/96064903?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mturetskii", "html_url": "https://github.com/mturetskii", "followers_url": "https://api.github.com/users/mture...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28699). 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
# What does this PR do? This PR extends the fix implemented in a previous PR ([#28181](https://github.com/huggingface/transformers/pull/28181)), covering all cases where the saved file name might differ from the expected `WEIGHTS_NAME`. The earlier fix did not account for scenarios where the saved file could be name...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28699/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28699/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28699", "html_url": "https://github.com/huggingface/transformers/pull/28699", "diff_url": "https://github.com/huggingface/transformers/pull/28699.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28699.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28698
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28698/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28698/comments
https://api.github.com/repos/huggingface/transformers/issues/28698/events
https://github.com/huggingface/transformers/issues/28698
2,099,901,347
I_kwDOCUB6oc59KfOj
28,698
WhitespaceSplit not working
{ "login": "pradeepdev-1995", "id": 41164884, "node_id": "MDQ6VXNlcjQxMTY0ODg0", "avatar_url": "https://avatars.githubusercontent.com/u/41164884?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pradeepdev-1995", "html_url": "https://github.com/pradeepdev-1995", "followers_url": "https://api...
[]
open
false
null
[]
[ "cc @ArthurZucker - possibly an issue for the tokenizers library?", "I am not sure I have ever seen the `pretokenizer` argument πŸ˜… \r\nYou should do `tokenizer._tokenizer.pre_tokenizer = Whitespace()`", "@ArthurZucker \r\ncan you show me the full code, please?\r\n\r\nI am getting this error\r\n```\r\nModuleNotF...
1,706
1,706
null
NONE
null
### System Info torch==2.0.1 transformers==4.37.1 tokenizers==0.15.1 Python 3.8.16 ### Who can help? _No response_ ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28698/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28698/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28697
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28697/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28697/comments
https://api.github.com/repos/huggingface/transformers/issues/28697/events
https://github.com/huggingface/transformers/issues/28697
2,099,883,324
I_kwDOCUB6oc59Ka08
28,697
Bug happens in processor use model cached in local
{ "login": "wwx007121", "id": 13541369, "node_id": "MDQ6VXNlcjEzNTQxMzY5", "avatar_url": "https://avatars.githubusercontent.com/u/13541369?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wwx007121", "html_url": "https://github.com/wwx007121", "followers_url": "https://api.github.com/users/...
[]
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...
[ "Hi @wwx007121, thanks for raising an issue! \r\n\r\nCould you give some more details about exactly the bug that is occurring i.e. the error being encountered (including full traceback) and a minimal code snippet to reproduce the issue? \r\n\r\ncc @ydshieh ", "> Hi @wwx007121, thanks for raising an issue!\r\n> \r...
1,706
1,706
1,706
NONE
null
### System Info version: transformers>=4.37.0 bug occurs in https://github.com/huggingface/transformers/blob/main/src/transformers/processing_utils.py ,line 466 I understand the purpose of this code, but this creats a conflict occurred with code in 'utils/hub.py line 426' that the error detail descriptions may ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28697/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/28697/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28696
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28696/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28696/comments
https://api.github.com/repos/huggingface/transformers/issues/28696/events
https://github.com/huggingface/transformers/pull/28696
2,099,856,257
PR_kwDOCUB6oc5lCXll
28,696
Add French translation: french README.md
{ "login": "ThibaultLengagne", "id": 11950126, "node_id": "MDQ6VXNlcjExOTUwMTI2", "avatar_url": "https://avatars.githubusercontent.com/u/11950126?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ThibaultLengagne", "html_url": "https://github.com/ThibaultLengagne", "followers_url": "https://...
[]
closed
false
null
[]
[ "Hello,\r\n\r\nThanks @stevhliu and @Sarapuce for the review. I have fixed every remark. \r\n\r\nSeems good to go :+1: ", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28696). All of your documentation changes will be reflected on that endpoint. The docs are available ...
1,706
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? Add the French version of README.md ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). ## Who can review? Anyone in the community is free to review the PR once the tests have passed. Feel free to tag members/c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28696/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28696/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28696", "html_url": "https://github.com/huggingface/transformers/pull/28696", "diff_url": "https://github.com/huggingface/transformers/pull/28696.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28696.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28695
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28695/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28695/comments
https://api.github.com/repos/huggingface/transformers/issues/28695/events
https://github.com/huggingface/transformers/pull/28695
2,099,803,282
PR_kwDOCUB6oc5lCMJK
28,695
[`chore`] Add missing space in warning
{ "login": "tomaarsen", "id": 37621491, "node_id": "MDQ6VXNlcjM3NjIxNDkx", "avatar_url": "https://avatars.githubusercontent.com/u/37621491?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tomaarsen", "html_url": "https://github.com/tomaarsen", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,706
1,706
1,706
MEMBER
null
# What does this PR do? Adds a missing space in a warning message. ## Before submitting - [x] This PR fixes a typo or improves the docs ## Who can review? @amyeroberts - Tom Aarsen
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28695/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28695/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28695", "html_url": "https://github.com/huggingface/transformers/pull/28695", "diff_url": "https://github.com/huggingface/transformers/pull/28695.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28695.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28694
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28694/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28694/comments
https://api.github.com/repos/huggingface/transformers/issues/28694/events
https://github.com/huggingface/transformers/pull/28694
2,099,760,344
PR_kwDOCUB6oc5lCCwB
28,694
Update question_answering.md
{ "login": "yusyel", "id": 25446622, "node_id": "MDQ6VXNlcjI1NDQ2NjIy", "avatar_url": "https://avatars.githubusercontent.com/u/25446622?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yusyel", "html_url": "https://github.com/yusyel", "followers_url": "https://api.github.com/users/yusyel/fo...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28694). 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
# What does this PR do? fix typo: from: "model = TFAutoModelForQuestionAnswering("distilbert-base-uncased")" to: model = TFAutoModelForQuestionAnswering.from_pretrained("distilbert-base-uncased") <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28694/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28694/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28694", "html_url": "https://github.com/huggingface/transformers/pull/28694", "diff_url": "https://github.com/huggingface/transformers/pull/28694.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28694.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28693
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28693/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28693/comments
https://api.github.com/repos/huggingface/transformers/issues/28693/events
https://github.com/huggingface/transformers/pull/28693
2,099,623,383
PR_kwDOCUB6oc5lBkyx
28,693
Added code to match the default interpolation for convnext
{ "login": "nileshkokane01", "id": 8201108, "node_id": "MDQ6VXNlcjgyMDExMDg=", "avatar_url": "https://avatars.githubusercontent.com/u/8201108?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nileshkokane01", "html_url": "https://github.com/nileshkokane01", "followers_url": "https://api.gith...
[]
open
false
null
[]
[]
1,706
1,706
null
CONTRIBUTOR
null
# What does this PR do? This PR fixes the default interpolation type for Convnext to bicubic based on the original implementation . Also it adds assert in the image_processing_convnext_pytorch.py <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28693/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28693/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28693", "html_url": "https://github.com/huggingface/transformers/pull/28693", "diff_url": "https://github.com/huggingface/transformers/pull/28693.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28693.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28692
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28692/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28692/comments
https://api.github.com/repos/huggingface/transformers/issues/28692/events
https://github.com/huggingface/transformers/pull/28692
2,099,512,869
PR_kwDOCUB6oc5lBNct
28,692
Verify if output has logits or prediction logits in fill-mask pipeline
{ "login": "pedrogengo", "id": 27240528, "node_id": "MDQ6VXNlcjI3MjQwNTI4", "avatar_url": "https://avatars.githubusercontent.com/u/27240528?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pedrogengo", "html_url": "https://github.com/pedrogengo", "followers_url": "https://api.github.com/use...
[]
open
false
null
[]
[ "Maybe we should have a different error message for these models?" ]
1,706
1,706
null
CONTRIBUTOR
null
# What does this PR do? It checks if the output has the key "logits" or "prediction_logits" to avoid breaking the fill-mask pipeline for some models like BertForPreTraining that returns: ``` return BertForPreTrainingOutput( loss=total_loss, prediction_logits=prediction_scores, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28692/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28692/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28692", "html_url": "https://github.com/huggingface/transformers/pull/28692", "diff_url": "https://github.com/huggingface/transformers/pull/28692.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28692.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28691
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28691/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28691/comments
https://api.github.com/repos/huggingface/transformers/issues/28691/events
https://github.com/huggingface/transformers/issues/28691
2,099,511,128
I_kwDOCUB6oc59I_9Y
28,691
error with DataCollatorForLanguageModeling
{ "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!" ]
1,706
1,706
1,706
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-3.10.0-1160.99.1.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.10.13 - 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+cu121 (True...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28691/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28691/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28690
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28690/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28690/comments
https://api.github.com/repos/huggingface/transformers/issues/28690/events
https://github.com/huggingface/transformers/issues/28690
2,099,443,948
I_kwDOCUB6oc59Ivjs
28,690
Running into AttributeErrorAttributeError from 4.37.0
{ "login": "ningziwen", "id": 8747309, "node_id": "MDQ6VXNlcjg3NDczMDk=", "avatar_url": "https://avatars.githubusercontent.com/u/8747309?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ningziwen", "html_url": "https://github.com/ningziwen", "followers_url": "https://api.github.com/users/ni...
[]
closed
false
null
[]
[ "Seems related to this recent change. https://github.com/huggingface/transformers/pull/28447", "Found the PT commit adding this interface. https://github.com/pytorch/pytorch/commit/df14650f0b14b80db132b0c1797dc595fbee1054\r\n\r\nThis is only added in PT 2.0. PT 1.13.1 does not have it. https://github.com/pytorch/...
1,706
1,706
1,706
NONE
null
### System Info Only happens from 4.37.0 ``` - `transformers` version: 4.37.0 - Platform: Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.31 - Python version: 3.10.12 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.2 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28690/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28690/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28689
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28689/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28689/comments
https://api.github.com/repos/huggingface/transformers/issues/28689/events
https://github.com/huggingface/transformers/issues/28689
2,099,408,215
I_kwDOCUB6oc59Im1X
28,689
safetensors_rust.SafetensorError: Error while deserializing header: InvalidHeaderDeserialization
{ "login": "tamanna-mostafa", "id": 156403336, "node_id": "U_kgDOCVKGiA", "avatar_url": "https://avatars.githubusercontent.com/u/156403336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tamanna-mostafa", "html_url": "https://github.com/tamanna-mostafa", "followers_url": "https://api.githu...
[]
open
false
null
[]
[ "Hi @tamanna-mostafa, thanks for raising an issue! \r\n\r\nBased on the error message, it looks as though the weights for the peft file are corrupted or possibly empty. Outside of the script, are you able to run the following: \r\n\r\n```py\r\nfrom peft import PeftModel \r\n\r\nmodel = PeftModel.from_pretrained(\"/...
1,706
1,706
null
NONE
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-5.15.0-1050-aws-x86_64-with-glibc2.31 - Python version: 3.10.12 - 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) - Tensorf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28689/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28689/timeline
reopened
null
null
https://api.github.com/repos/huggingface/transformers/issues/28688
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28688/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28688/comments
https://api.github.com/repos/huggingface/transformers/issues/28688/events
https://github.com/huggingface/transformers/issues/28688
2,099,400,046
I_kwDOCUB6oc59Ik1u
28,688
OSError: /data/DPO_output_mistral_32k does not appear to have a file named config.json.
{ "login": "tamanna-mostafa", "id": 156403336, "node_id": "U_kgDOCVKGiA", "avatar_url": "https://avatars.githubusercontent.com/u/156403336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tamanna-mostafa", "html_url": "https://github.com/tamanna-mostafa", "followers_url": "https://api.githu...
[]
open
false
null
[]
[ "Hi @tamanna-mostafa, thanks for raising this issue! \r\n\r\nCould you list the files saved under `/data/DPO_output_mistral_32k`? ", "@amyeroberts \r\nHi, thanks for your comment. Below is what I see when I run `ls `in the folder, `DPO_output_mistral_32k` :\r\n```\r\nubuntu@ip-172-31-8-218:/mnt/efs/data/tammosta/...
1,706
1,707
null
NONE
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-5.15.0-1050-aws-x86_64-with-glibc2.31 - Python version: 3.10.12 - 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) - Tensorf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28688/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28688/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28687
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28687/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28687/comments
https://api.github.com/repos/huggingface/transformers/issues/28687/events
https://github.com/huggingface/transformers/pull/28687
2,099,153,324
PR_kwDOCUB6oc5lAAa8
28,687
[Whisper] Refactor forced_decoder_ids & prompt ids
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28687). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Still need to make sure that \"Whisper default language detection behavior\" stays...
1,706
1,706
1,706
MEMBER
null
# What does this PR do? This PR refactors `forced_decoder_ids` making sure that we now always pass prompted ids as `decoder_input_ids` into generate for Whisper. The whole idea of forcing ids instead of just passing them as initial tokens was a bad design choice and we should try to move away from it. In addition...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28687/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/28687/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28687", "html_url": "https://github.com/huggingface/transformers/pull/28687", "diff_url": "https://github.com/huggingface/transformers/pull/28687.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28687.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28686
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28686/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28686/comments
https://api.github.com/repos/huggingface/transformers/issues/28686/events
https://github.com/huggingface/transformers/pull/28686
2,099,095,224
PR_kwDOCUB6oc5k_zd4
28,686
Enable Gradient Checkpointing in Deformable DETR
{ "login": "FoamoftheSea", "id": 50897218, "node_id": "MDQ6VXNlcjUwODk3MjE4", "avatar_url": "https://avatars.githubusercontent.com/u/50897218?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FoamoftheSea", "html_url": "https://github.com/FoamoftheSea", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Note that fix-copies made changes to DETA model because it has the \"# copied from\" comments over methods taken from Deformable DETR. If we don't want to change that model, we could instead remove those comments and revert the changes to that file.", "Hi @FoamoftheSea, thanks for working on this!\r\n\r\nThere's...
1,706
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? Gradient Checkpointing is not currently supported by Deformable DETR, but with slight modifications I was able to get it working in both the encoder and decoder stages, which both independently led to noticeable reductions in VRAM usage during training. This makes a default Deformable DETR co...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28686/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28686/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28686", "html_url": "https://github.com/huggingface/transformers/pull/28686", "diff_url": "https://github.com/huggingface/transformers/pull/28686.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28686.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28685
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28685/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28685/comments
https://api.github.com/repos/huggingface/transformers/issues/28685/events
https://github.com/huggingface/transformers/issues/28685
2,099,080,596
I_kwDOCUB6oc59HW2U
28,685
torch.arange use should not use dtype=float for integer ranges, conflicts w/ DS `zero.Init()`
{ "login": "rwightman", "id": 5702664, "node_id": "MDQ6VXNlcjU3MDI2NjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/5702664?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rwightman", "html_url": "https://github.com/rwightman", "followers_url": "https://api.github.com/users/rw...
[]
open
false
null
[]
[ "Code instances where this either definitely a concern, or likely (depending on ranges involved).\r\nhttps://github.com/huggingface/transformers/blob/8278b1538ecc89dad8ebca510a31a86bc8645edb/src/transformers/models/llama/modeling_llama.py#L130-L131\r\nhttps://github.com/huggingface/transformers/blob/8278b1538ecc89d...
1,706
1,706
null
NONE
null
### System Info Impacts many versions of transformers up to and including current. ### Who can help? @ArthurZucker @amyeroberts ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuA...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28685/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 4, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28685/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28684
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28684/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28684/comments
https://api.github.com/repos/huggingface/transformers/issues/28684/events
https://github.com/huggingface/transformers/pull/28684
2,098,841,913
PR_kwDOCUB6oc5k-7oe
28,684
[docs] Fix doc format
{ "login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/ste...
[]
closed
false
null
[]
[]
1,706
1,706
1,706
MEMBER
null
Closes a open `<hfoptions>` tag in the DeepSpeed docs :)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28684/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28684/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28684", "html_url": "https://github.com/huggingface/transformers/pull/28684", "diff_url": "https://github.com/huggingface/transformers/pull/28684.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28684.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28683
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28683/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28683/comments
https://api.github.com/repos/huggingface/transformers/issues/28683/events
https://github.com/huggingface/transformers/issues/28683
2,098,818,468
I_kwDOCUB6oc59GW2k
28,683
Add option to suppress progress bar in train log output
{ "login": "cohml", "id": 62400541, "node_id": "MDQ6VXNlcjYyNDAwNTQx", "avatar_url": "https://avatars.githubusercontent.com/u/62400541?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cohml", "html_url": "https://github.com/cohml", "followers_url": "https://api.github.com/users/cohml/follow...
[ { "id": 2155169140, "node_id": "MDU6TGFiZWwyMTU1MTY5MTQw", "url": "https://api.github.com/repos/huggingface/transformers/labels/trainer", "name": "trainer", "color": "2ef289", "default": false, "description": "" }, { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", ...
closed
false
null
[]
[ "@cohml \r\nhave you tried adding the `disable_tqdm` parameter to your `TrainingArguments` ? \r\n\r\nyou can read more about it here : https://huggingface.co/docs/transformers/v4.37.1/en/main_classes/trainer#transformers.TrainingArguments.disable_tqdm", "Oh man, that's exactly what I was after! Thanks so much @no...
1,706
1,706
1,706
NONE
null
### Feature request When training a transformer model with `transformers` - certainly using the `Trainer.train` API but probably also with other methods as well - a `tqdm`-style progress bar is printed to the screen. This is very useful when monitoring training in the terminal in real time. But it really messes up ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28683/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28683/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28682
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28682/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28682/comments
https://api.github.com/repos/huggingface/transformers/issues/28682/events
https://github.com/huggingface/transformers/pull/28682
2,098,597,320
PR_kwDOCUB6oc5k-GPD
28,682
Add artifact name in jobs' step to maintain jobs and artifacts correspondence
{ "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
[]
[ "Before merge, I will change all workflow files that use `notification_service.py`", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28682). 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
COLLABORATOR
null
# What does this PR do? When our (actual) CI workflow files are called using `workflow_call` event by other workflows files, the job names will be concatenated like `Nightly CI / Model Test (models/bert, single-gpu)`. We currently have Nightly/Past/AMD CI using `workflow_call`. We will soon have to use it for dai...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28682/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/28682/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28682", "html_url": "https://github.com/huggingface/transformers/pull/28682", "diff_url": "https://github.com/huggingface/transformers/pull/28682.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28682.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28681
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28681/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28681/comments
https://api.github.com/repos/huggingface/transformers/issues/28681/events
https://github.com/huggingface/transformers/pull/28681
2,098,331,447
PR_kwDOCUB6oc5k9L1D
28,681
Add back in generation types
{ "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
[]
[ "@amyeroberts uhmmm, I didn't think anyone would be importing these auxiliary types πŸ€” \r\n\r\nHow can we deprecate a type variable? I have no idea how to throw a warning if a user uses it as a type :D ", "@gante Hyrum's law strikes again! I didn't think they'd be used either, which is partly why I wasn't checki...
1,706
1,706
1,706
COLLABORATOR
null
# What does this PR do? #28494 removed some custom types in the `generation.utils` module. This has caused downstream issues in other libraries, notably Coqui-TTS c.f #28649 This PR adds them back in so they're still importable. cc @gante for reference when you're back
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28681/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28681/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28681", "html_url": "https://github.com/huggingface/transformers/pull/28681", "diff_url": "https://github.com/huggingface/transformers/pull/28681.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28681.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28680
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28680/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28680/comments
https://api.github.com/repos/huggingface/transformers/issues/28680/events
https://github.com/huggingface/transformers/pull/28680
2,098,278,568
PR_kwDOCUB6oc5k9ATB
28,680
fix: readme
{ "login": "ThibaultLengagne", "id": 11950126, "node_id": "MDQ6VXNlcjExOTUwMTI2", "avatar_url": "https://avatars.githubusercontent.com/u/11950126?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ThibaultLengagne", "html_url": "https://github.com/ThibaultLengagne", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,706
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/28680/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28680/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28680", "html_url": "https://github.com/huggingface/transformers/pull/28680", "diff_url": "https://github.com/huggingface/transformers/pull/28680.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28680.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28679
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28679/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28679/comments
https://api.github.com/repos/huggingface/transformers/issues/28679/events
https://github.com/huggingface/transformers/issues/28679
2,098,184,627
I_kwDOCUB6oc59D8Gz
28,679
GPT2 after few finetune epochs starts to generate sequence of only EOS tokens
{ "login": "tempdeltavalue", "id": 36921178, "node_id": "MDQ6VXNlcjM2OTIxMTc4", "avatar_url": "https://avatars.githubusercontent.com/u/36921178?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tempdeltavalue", "html_url": "https://github.com/tempdeltavalue", "followers_url": "https://api.gi...
[]
open
false
null
[]
[ "Hi, thanks for raising an issue! \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports.", "@amyeroberts \r\nOk, thank you \r\n(sorry)", "![vvvvvvvvv](https://github.com/huggingface/transformers/assets/36...
1,706
1,706
null
NONE
null
### System Info I get output like this: <|endoftext|><|endoftext|><|endoftext|><|endoftext|><|endoftext|><|endoftext|><|endoftext|><|endoftext|> ### Who can help? _No response_ ### Information - [ ] The official example scripts - [x] My own modified scripts ### Tasks - [ ] An officially supported task in the `e...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28679/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28679/timeline
reopened
null
null
https://api.github.com/repos/huggingface/transformers/issues/28678
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28678/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28678/comments
https://api.github.com/repos/huggingface/transformers/issues/28678/events
https://github.com/huggingface/transformers/pull/28678
2,098,138,688
PR_kwDOCUB6oc5k8hsy
28,678
use scaled_dot_product_attention
{ "login": "lintangsutawika", "id": 5774558, "node_id": "MDQ6VXNlcjU3NzQ1NTg=", "avatar_url": "https://avatars.githubusercontent.com/u/5774558?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lintangsutawika", "html_url": "https://github.com/lintangsutawika", "followers_url": "https://api.g...
[]
open
false
null
[]
[]
1,706
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/28678/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28678/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28678", "html_url": "https://github.com/huggingface/transformers/pull/28678", "diff_url": "https://github.com/huggingface/transformers/pull/28678.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28678.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28677
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28677/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28677/comments
https://api.github.com/repos/huggingface/transformers/issues/28677/events
https://github.com/huggingface/transformers/issues/28677
2,097,482,345
I_kwDOCUB6oc59BQpp
28,677
Cannot find checkpoint during Trainer._load_best_model when using deepspeed
{ "login": "nathan-az", "id": 42650258, "node_id": "MDQ6VXNlcjQyNjUwMjU4", "avatar_url": "https://avatars.githubusercontent.com/u/42650258?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nathan-az", "html_url": "https://github.com/nathan-az", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Closing this.\r\n\r\nThe docs are clear that the issue is [save_only_model](https://huggingface.co/docs/transformers/main_classes/trainer#transformers.TrainingArguments.save_only_model): `Note that when this is true, you won’t be able to resume training from checkpoint`.\r\n\r\nIt would be nice to have a version o...
1,706
1,706
1,706
NONE
null
### System Info ``` - `transformers` version: 4.37.0 - Platform: Linux-6.2.0-1017-aws-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.2 - Accelerate version: 0.23.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu121 (False) - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28677/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28677/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28676
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28676/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28676/comments
https://api.github.com/repos/huggingface/transformers/issues/28676/events
https://github.com/huggingface/transformers/pull/28676
2,097,473,712
PR_kwDOCUB6oc5k6P-N
28,676
fix(tokenization): `encode` should remove leading batch axis for all types of single batch to keep consistent.
{ "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
[]
[ "Hi @ArthurZucker, as we discussed in issue #28635, instead of let `encode` directly support multiple batches, this PR is main to fix the error of existing behaviour for a single batch. Let's call this as the first step for achieving your plan.", "I may have few questions for the next step of your plan to depreca...
1,706
1,707
1,706
CONTRIBUTOR
null
# What does this PR do? `encode` should remove leading batch axis for all types to keep consistent with `decode` method. Fixes #28635 ## 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](http...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28676/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28676/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28676", "html_url": "https://github.com/huggingface/transformers/pull/28676", "diff_url": "https://github.com/huggingface/transformers/pull/28676.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28676.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28675
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28675/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28675/comments
https://api.github.com/repos/huggingface/transformers/issues/28675/events
https://github.com/huggingface/transformers/issues/28675
2,097,325,509
I_kwDOCUB6oc59AqXF
28,675
Swinv2ForImageClassification often outputs NaN at initialization
{ "login": "norabelrose", "id": 39116809, "node_id": "MDQ6VXNlcjM5MTE2ODA5", "avatar_url": "https://avatars.githubusercontent.com/u/39116809?v=4", "gravatar_id": "", "url": "https://api.github.com/users/norabelrose", "html_url": "https://github.com/norabelrose", "followers_url": "https://api.github.com/...
[]
open
false
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[ { "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "htt...
[]
1,706
1,706
null
CONTRIBUTOR
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-5.4.0-164-generic-x86_64-with-glibc2.31 - Python version: 3.10.11 - Huggingface_hub version: 0.20.2 - Safetensors version: 0.4.1 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1 (True) - Tensorflow ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28675/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28675/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28674
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28674/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28674/comments
https://api.github.com/repos/huggingface/transformers/issues/28674/events
https://github.com/huggingface/transformers/issues/28674
2,097,305,722
I_kwDOCUB6oc59Alh6
28,674
Can not execute example in idefics-9b-instruct
{ "login": "ppsmk388", "id": 60417397, "node_id": "MDQ6VXNlcjYwNDE3Mzk3", "avatar_url": "https://avatars.githubusercontent.com/u/60417397?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ppsmk388", "html_url": "https://github.com/ppsmk388", "followers_url": "https://api.github.com/users/pps...
[]
open
false
null
[]
[ "Hi @ppsmk388, thanks for raising an issue! \r\n\r\nI'm able to load the processor without issue. As the error indicates, this might be due to a connection issue. Could you re-run and try again? ", "Thank you, it is a network problem", "@ppsmk388 Thanks for confirming! " ]
1,706
1,706
null
NONE
null
### System Info tokenizers-0.15.1 transformers-4.37.0 python3.8.10 Linux ### Who can help? _No response_ ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or datas...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28674/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28674/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28673
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28673/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28673/comments
https://api.github.com/repos/huggingface/transformers/issues/28673/events
https://github.com/huggingface/transformers/pull/28673
2,097,044,260
PR_kwDOCUB6oc5k41uZ
28,673
Phi-2 requires a disabled autocast in attention layer
{ "login": "gugarosa", "id": 4120639, "node_id": "MDQ6VXNlcjQxMjA2Mzk=", "avatar_url": "https://avatars.githubusercontent.com/u/4120639?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gugarosa", "html_url": "https://github.com/gugarosa", "followers_url": "https://api.github.com/users/gugar...
[]
open
false
null
[]
[ "Thanks for the PR! We are not super super fans of context managers for such things. TBH it's not that bad! cc @amyeroberts what's your take? \r\n", "Thanks for adding this fix @gugarosa! \r\n\r\nI don't mind this too much, it's pretty clean and simple :) Let's get @younesbelkada's opinion on whether this will br...
1,706
1,707
null
CONTRIBUTOR
null
# What does this PR do? Phi-2 has an attention overflow issue, and since the model weights were released with a MIT license, there is no short-term solution in replacing them (re-training the model). Therefore, the only solution we could find to cover all corner cases regarding the overflow, is to also disable the a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28673/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28673/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28673", "html_url": "https://github.com/huggingface/transformers/pull/28673", "diff_url": "https://github.com/huggingface/transformers/pull/28673.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28673.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28672
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28672/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28672/comments
https://api.github.com/repos/huggingface/transformers/issues/28672/events
https://github.com/huggingface/transformers/issues/28672
2,096,918,999
I_kwDOCUB6oc58_HHX
28,672
GPT2 cannot be used with device_map='auto'; Report "found at least two devices"
{ "login": "haobozhang", "id": 56833210, "node_id": "MDQ6VXNlcjU2ODMzMjEw", "avatar_url": "https://avatars.githubusercontent.com/u/56833210?v=4", "gravatar_id": "", "url": "https://api.github.com/users/haobozhang", "html_url": "https://github.com/haobozhang", "followers_url": "https://api.github.com/use...
[]
open
false
null
[]
[ "Finally, the checkpoint got completed after 2 hours on an Instance with 8 TPU cores, 350GB RAM, and 98 vCPUs. I was wondering, how can I make it faster. I understand that the library download the model params from TPU to CPU, and then save them. \r\n\r\nAm I missing some params that can make it faster to take chec...
1,706
1,707
null
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-5.15.0-89-generic-x86_64-with-glibc2.35 - Python version: 3.9.18 - 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+cu118 (True) - Tensorfl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28672/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28672/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28671
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28671/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28671/comments
https://api.github.com/repos/huggingface/transformers/issues/28671/events
https://github.com/huggingface/transformers/issues/28671
2,096,875,487
I_kwDOCUB6oc58-8ff
28,671
Issue with finetuning Mixtral w/ deepspeed after new release
{ "login": "sam-h-bean", "id": 43734688, "node_id": "MDQ6VXNlcjQzNzM0Njg4", "avatar_url": "https://avatars.githubusercontent.com/u/43734688?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sam-h-bean", "html_url": "https://github.com/sam-h-bean", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @sam-h-bean, thanks for raising an issue! \r\n\r\nSo that we can best help you, can you make sure to follow the [issue template](https://github.com/huggingface/transformers/blob/main/.github/ISSUE_TEMPLATE/bug-report.yml) and include all important information such as: \r\n* The running environment: run `transfo...
1,706
1,706
1,706
CONTRIBUTOR
null
### System Info transformers: latest env: ray + deepspeed on k8s There seems to be an issue with Mixtral on the latest transformers release that manifests like ``` RuntimeError: Detected mismatch between collectives on ranks. Rank 4 is running collective: CollectiveFingerPrint(SequenceNumber=724883, OpType=_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28671/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28671/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28670
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28670/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28670/comments
https://api.github.com/repos/huggingface/transformers/issues/28670/events
https://github.com/huggingface/transformers/issues/28670
2,096,803,973
I_kwDOCUB6oc58-rCF
28,670
OSError: Can't load tokenizer for fine-tuned model
{ "login": "ccruttjr", "id": 146245010, "node_id": "U_kgDOCLeFkg", "avatar_url": "https://avatars.githubusercontent.com/u/146245010?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ccruttjr", "html_url": "https://github.com/ccruttjr", "followers_url": "https://api.github.com/users/ccruttjr/...
[]
closed
false
null
[]
[ "Hello, you mentioned that:\r\n>The directory for the saved model is ./saved/ and the file contents are config.json generation_config.json model-00001-of-00002.safetensors model-00002-of-00002.safetensors model.safetensors model.safetensors.index.json \r\n\r\nthere does not seem to be any tokenizer files here...
1,706
1,706
1,706
NONE
null
### System Info **I promise you this issue isn't as long as it seems.** (It's long because I included a lot of context below just in case it was needed) Hello! I fine-tuned a the gpt2-xl model on some custom data and saved the model. The directory for the saved model is `./saved/` and the file contents are `confi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28670/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28670/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28669
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28669/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28669/comments
https://api.github.com/repos/huggingface/transformers/issues/28669/events
https://github.com/huggingface/transformers/pull/28669
2,096,778,888
PR_kwDOCUB6oc5k37a3
28,669
Use save_safetensor to disable safe serialization for XLA
{ "login": "jeffhataws", "id": 56947987, "node_id": "MDQ6VXNlcjU2OTQ3OTg3", "avatar_url": "https://avatars.githubusercontent.com/u/56947987?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jeffhataws", "html_url": "https://github.com/jeffhataws", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "@amyeroberts @muellerzr @Narsil will you be able to back-port to 4.37? This is needed for Neuron SDK." ]
1,706
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? Safetensor serialization is now default but not yet supported by XLA. This change uses save_safetensor argument to disable safe serialization for XLA as a workaround until XLA catches up. Fixes # (issue) https://github.com/huggingface/transformers/issues/28438 ## Before submitting - [...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28669/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28669/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28669", "html_url": "https://github.com/huggingface/transformers/pull/28669", "diff_url": "https://github.com/huggingface/transformers/pull/28669.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28669.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28668
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28668/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28668/comments
https://api.github.com/repos/huggingface/transformers/issues/28668/events
https://github.com/huggingface/transformers/pull/28668
2,096,654,889
PR_kwDOCUB6oc5k3f6k
28,668
Add W2V2 example to CTC training readme
{ "login": "ylacombe", "id": 52246514, "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylacombe", "html_url": "https://github.com/ylacombe", "followers_url": "https://api.github.com/users/yla...
[]
open
false
null
[]
[]
1,706
1,706
null
COLLABORATOR
null
# What does this PR do? This PR adds a W2V2-Bert training example config to the CTC folder. This might be a bit light, I can add another training config example on TIMIT or turkish CV tomorrow if needed. cc @sanchit-gandhi
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28668/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28668/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28668", "html_url": "https://github.com/huggingface/transformers/pull/28668", "diff_url": "https://github.com/huggingface/transformers/pull/28668.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28668.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28667
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28667/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28667/comments
https://api.github.com/repos/huggingface/transformers/issues/28667/events
https://github.com/huggingface/transformers/pull/28667
2,096,522,393
PR_kwDOCUB6oc5k3CxJ
28,667
ENH: added new output_logits option to generate function
{ "login": "mbaak", "id": 11329693, "node_id": "MDQ6VXNlcjExMzI5Njkz", "avatar_url": "https://avatars.githubusercontent.com/u/11329693?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mbaak", "html_url": "https://github.com/mbaak", "followers_url": "https://api.github.com/users/mbaak/follow...
[]
closed
false
null
[]
[ "Hi @mbaak πŸ‘‹ Thank you for opening the PR πŸ€— \r\n\r\nI haven't seen a request for this feature (or I have no recollection of it). Personally, I am also not very convinced that it is very useful -- at the end of the day, the model will select the next token _after_ applying the logits processors, if there are any....
1,706
1,708
1,708
CONTRIBUTOR
null
# What does this PR do? output_logits option behaves like output_scores, but returns the raw, unprocessed prediction logit scores, ie. the values before they undergo logit processing and/or warping. The latter happens by default for the regular output scores. It's useful to have the unprocessed logit scores in ce...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28667/reactions", "total_count": 6, "+1": 6, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28667/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28667", "html_url": "https://github.com/huggingface/transformers/pull/28667", "diff_url": "https://github.com/huggingface/transformers/pull/28667.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28667.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28666
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28666/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28666/comments
https://api.github.com/repos/huggingface/transformers/issues/28666/events
https://github.com/huggingface/transformers/pull/28666
2,096,483,980
PR_kwDOCUB6oc5k26Q0
28,666
Improve Backbone API docs
{ "login": "merveenoyan", "id": 53175384, "node_id": "MDQ6VXNlcjUzMTc1Mzg0", "avatar_url": "https://avatars.githubusercontent.com/u/53175384?v=4", "gravatar_id": "", "url": "https://api.github.com/users/merveenoyan", "html_url": "https://github.com/merveenoyan", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28666). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@amyeroberts I don't have write access in this repository, can you merge this? ", ...
1,706
1,706
1,706
CONTRIBUTOR
null
I improved the wording of the Backbone API docs and added a new illustration.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28666/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28666/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28666", "html_url": "https://github.com/huggingface/transformers/pull/28666", "diff_url": "https://github.com/huggingface/transformers/pull/28666.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28666.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28665
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28665/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28665/comments
https://api.github.com/repos/huggingface/transformers/issues/28665/events
https://github.com/huggingface/transformers/pull/28665
2,096,464,018
PR_kwDOCUB6oc5k21yg
28,665
Remove deprecated eager_serving fn
{ "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,706
1,706
1,706
MEMBER
null
The `eager_serving` method on our TF models was deprecated some time ago, and can now be removed - it was never part of the public API anyway! EDIT: Throwing in a quick fix to the nearby `input_signature` docstring while I'm here
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28665/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28665/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28665", "html_url": "https://github.com/huggingface/transformers/pull/28665", "diff_url": "https://github.com/huggingface/transformers/pull/28665.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28665.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28664
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28664/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28664/comments
https://api.github.com/repos/huggingface/transformers/issues/28664/events
https://github.com/huggingface/transformers/pull/28664
2,096,319,075
PR_kwDOCUB6oc5k2WrA
28,664
Introduce AcceleratorConfig dataclass
{ "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...
[ { "id": 2155169140, "node_id": "MDU6TGFiZWwyMTU1MTY5MTQw", "url": "https://api.github.com/repos/huggingface/transformers/labels/trainer", "name": "trainer", "color": "2ef289", "default": false, "description": "" } ]
closed
false
null
[]
[ "@amyeroberts tests finally pass after losing my mind on imports πŸ™Œ ", "Hi @muellerzr , could you please get this PR merged? We need the PR to get the accelerate test on TPU v3 to succeed again. Thanks.", "As a general note, immediately after the next accelerate release I'll make a follow-up PR utilizing the co...
1,706
1,708
1,707
CONTRIBUTOR
null
# What does this PR do? This PR centralizes all arguments for the `Accelerator` not covered by `fsdp_config` and `deepspeed_config` into a singular dataclass that users can pass in as a json file or through raw CLI param args. I *think* I have the CLI args configured right? But I'm not 100% sure. Advice on how to...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28664/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/28664/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28664", "html_url": "https://github.com/huggingface/transformers/pull/28664", "diff_url": "https://github.com/huggingface/transformers/pull/28664.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28664.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28663
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28663/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28663/comments
https://api.github.com/repos/huggingface/transformers/issues/28663/events
https://github.com/huggingface/transformers/issues/28663
2,096,313,865
I_kwDOCUB6oc588zYJ
28,663
How to set stopping criteria in model.generate() when a certain word appear
{ "login": "pradeepdev-1995", "id": 41164884, "node_id": "MDQ6VXNlcjQxMTY0ODg0", "avatar_url": "https://avatars.githubusercontent.com/u/41164884?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pradeepdev-1995", "html_url": "https://github.com/pradeepdev-1995", "followers_url": "https://api...
[]
open
false
null
[]
[ "Hi, thanks for raising an issue! \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports." ]
1,706
1,706
null
NONE
null
### Feature request stopping criteria in model.generate() when a certain word appear The word I need to stop the generation when found is : [/SENTENCE] But the model doesn't generate the word itself, instead, it generates the subwords [ [/,SEN,TE,NC,E] ] like this . corresponding ids from the tokenizer ar...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28663/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28663/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28662
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28662/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28662/comments
https://api.github.com/repos/huggingface/transformers/issues/28662/events
https://github.com/huggingface/transformers/issues/28662
2,096,100,605
I_kwDOCUB6oc587_T9
28,662
Training of GPT2 hang during Checkpoint stage
{ "login": "jchauhan", "id": 74857, "node_id": "MDQ6VXNlcjc0ODU3", "avatar_url": "https://avatars.githubusercontent.com/u/74857?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jchauhan", "html_url": "https://github.com/jchauhan", "followers_url": "https://api.github.com/users/jchauhan/foll...
[]
open
false
null
[]
[ "Would recommend you to check this #26724 and try the solution, might be that or if the saving does not work, concurrency there. Code was recently changed cc @muellerzr πŸ€— " ]
1,706
1,706
null
NONE
null
### System Info **Env** ``` - `transformers` version: 4.38.0.dev0 - Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.31 - Python version: 3.10.0 - Huggingface_hub version: 0.20.3 - Safetensors version: 0.4.2 - Accelerate version: 0.26.1 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu121 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28662/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28662/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28661
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28661/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28661/comments
https://api.github.com/repos/huggingface/transformers/issues/28661/events
https://github.com/huggingface/transformers/pull/28661
2,095,853,854
PR_kwDOCUB6oc5k0xC-
28,661
[`Backbone`] Use `load_backbone` instead of `AutoBackbone.from_config`
{ "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_28661). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@ArthurZucker This is just internal. We still want to be able to load a backbone f...
1,706
1,706
1,706
COLLABORATOR
null
# What does this PR do? Uses `load_backbone` in place of `AutoBackbone.from_config` in the modeling files. This is the first part of a series of changes to enable loading timm or transformers models with the same call i.e. removing the if/else structure [we see in models like DETR](https://github.com/huggingface/tra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28661/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28661/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28661", "html_url": "https://github.com/huggingface/transformers/pull/28661", "diff_url": "https://github.com/huggingface/transformers/pull/28661.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28661.patch", "merged_at...