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/27445
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27445/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27445/comments
https://api.github.com/repos/huggingface/transformers/issues/27445/events
https://github.com/huggingface/transformers/issues/27445
1,988,561,202
I_kwDOCUB6oc52hwky
27,445
Whisper model max_length doesn't work as expected
{ "login": "RohitMidha23", "id": 38888530, "node_id": "MDQ6VXNlcjM4ODg4NTMw", "avatar_url": "https://avatars.githubusercontent.com/u/38888530?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RohitMidha23", "html_url": "https://github.com/RohitMidha23", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "@sanchit-gandhi @sgugger @ArthurZucker @patrickvonplaten any update on this? ", "@RohitMidha23, please provide a reproducible code snippet so that we can reproduce this bug? ", "Hey @RohitMidha23 - the `max_length` attribute is not stored in the Whisper config on the HF Hub: https://huggingface.co/openai/whis...
1,699
1,703
1,703
NONE
null
### System Info - `transformers` version: 4.36.0.dev0 - Platform: Linux-5.15.120+-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.0+cu118 (True) - Tensorflow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27445/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27445/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27444
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27444/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27444/comments
https://api.github.com/repos/huggingface/transformers/issues/27444/events
https://github.com/huggingface/transformers/pull/27444
1,988,326,896
PR_kwDOCUB6oc5fLdah
27,444
WIP - Add Flash Attention CLIP
{ "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/...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27444). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,702
null
COLLABORATOR
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/27444/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27444/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27444", "html_url": "https://github.com/huggingface/transformers/pull/27444", "diff_url": "https://github.com/huggingface/transformers/pull/27444.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27444.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27443
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27443/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27443/comments
https://api.github.com/repos/huggingface/transformers/issues/27443/events
https://github.com/huggingface/transformers/pull/27443
1,988,079,492
PR_kwDOCUB6oc5fKmDQ
27,443
Update and reorder docs for chat templates
{ "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
[]
[ "cc @NielsRogge and @philschmid who gave me the idea for this!", "_The documentation is not available anymore as the PR was closed or merged._", "Pinging @NielsRogge and @philschmid if you have any comments - I'll merge tomorrow if not!" ]
1,699
1,699
1,699
MEMBER
null
Based on feedback, some bits of chat templates were unclear even after reading the docs (particularly around using chat templates for training). I've added a section on that, and also reorganized the entire doc to do the following: - Stop using gated models (so the doctests actually work) - Push advanced topics (wr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27443/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27443/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27443", "html_url": "https://github.com/huggingface/transformers/pull/27443", "diff_url": "https://github.com/huggingface/transformers/pull/27443.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27443.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27442
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27442/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27442/comments
https://api.github.com/repos/huggingface/transformers/issues/27442/events
https://github.com/huggingface/transformers/pull/27442
1,988,077,860
PR_kwDOCUB6oc5fKls1
27,442
[Whisper] Fix pipeline test
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? Fixes typo in Whisper pipeline test that was causing a failure on the daily CI (cc @ydshieh): https://github.com/huggingface/transformers/actions/runs/6792980649/job/18467224285
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27442/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/27442/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27442", "html_url": "https://github.com/huggingface/transformers/pull/27442", "diff_url": "https://github.com/huggingface/transformers/pull/27442.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27442.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27441
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27441/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27441/comments
https://api.github.com/repos/huggingface/transformers/issues/27441/events
https://github.com/huggingface/transformers/issues/27441
1,988,075,173
I_kwDOCUB6oc52f56l
27,441
Add Flash Attention 2.0 for T5 Family
{ "login": "jkswin", "id": 86236378, "node_id": "MDQ6VXNlcjg2MjM2Mzc4", "avatar_url": "https://avatars.githubusercontent.com/u/86236378?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jkswin", "html_url": "https://github.com/jkswin", "followers_url": "https://api.github.com/users/jkswin/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": "" }, { "id": 6202871275, "node_id": "LA_kwDOCUB6oc8AAAABcbhN...
open
false
null
[]
[ "Is this issue open for contribution?\r\n", "The main Flash Attention 2 discussion tracking issue and discussion seems to be https://github.com/huggingface/transformers/issues/26350" ]
1,699
1,708
null
NONE
null
Encountered the following when trying to incorporate Flash attention into a previously devved byt5-small finetuning script. Code to produce: ``` from transformers import T5ForConditionalGeneration, AutoTokenizer, Trainer, TrainingArguments, DataCollatorForSeq2Seq model_path = "google/byt5-small" model = T5...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27441/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/27441/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27440
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27440/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27440/comments
https://api.github.com/repos/huggingface/transformers/issues/27440/events
https://github.com/huggingface/transformers/pull/27440
1,988,069,037
PR_kwDOCUB6oc5fKjvY
27,440
[MusicGen] Fix audio channel attribute
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27440). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,701
1,701
CONTRIBUTOR
null
# What does this PR do? `audio_channels` attribute is stored in the decoder sub-model config, not the overall top-level config. The logits test for MusicGen mono previously failed on the daily CI tests (cc @ydshieh): https://github.com/huggingface/transformers/actions/runs/6806630933/job/18508277638 It passes w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27440/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27440/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27440", "html_url": "https://github.com/huggingface/transformers/pull/27440", "diff_url": "https://github.com/huggingface/transformers/pull/27440.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27440.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27439
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27439/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27439/comments
https://api.github.com/repos/huggingface/transformers/issues/27439/events
https://github.com/huggingface/transformers/issues/27439
1,988,028,614
I_kwDOCUB6oc52fujG
27,439
Trainer misshaping input_ids
{ "login": "lhallee", "id": 72926928, "node_id": "MDQ6VXNlcjcyOTI2OTI4", "avatar_url": "https://avatars.githubusercontent.com/u/72926928?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhallee", "html_url": "https://github.com/lhallee", "followers_url": "https://api.github.com/users/lhalle...
[]
closed
false
null
[]
[ "The updated example gives the same issue\r\nhttps://huggingface.co/docs/transformers/tasks/sequence_classification\r\n\r\n```\r\nclass ClassificationHead(nn.Module):\r\n def __init__(self, config):\r\n super().__init__()\r\n self.dense = nn.Linear(config.hidden_size, config.hidden_size)\r\n ...
1,699
1,699
1,699
NONE
null
### System Info 2023-11-10 17:12:03.551843: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered 2023-11-10 17:12:03.551902: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27439/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27439/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27438
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27438/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27438/comments
https://api.github.com/repos/huggingface/transformers/issues/27438/events
https://github.com/huggingface/transformers/pull/27438
1,987,942,135
PR_kwDOCUB6oc5fKHnS
27,438
[ `PretrainedConfig`] Improve messaging
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Sure I'll add a test! 😈 " ]
1,699
1,700
1,700
COLLABORATOR
null
# What does this PR do? Fixes #26720 by improving the error message printed out when someone tries: ```python >>> from transformers import AutoModel >>> AutoModel.from_pretrained(".gpt2") ... OSError: Incorrect path_or_model_id: '.gpt2'. Please provide either the path to a local folder or the repo_id of a model ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27438/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27438/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27438", "html_url": "https://github.com/huggingface/transformers/pull/27438", "diff_url": "https://github.com/huggingface/transformers/pull/27438.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27438.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27437
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27437/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27437/comments
https://api.github.com/repos/huggingface/transformers/issues/27437/events
https://github.com/huggingface/transformers/pull/27437
1,987,930,529
PR_kwDOCUB6oc5fKFB5
27,437
Make `examples_torch_job` faster
{ "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 documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? This job sometimes having some test timeout (> 120s.). Even if job passes, the log looks like ``` 115.55s call examples/pytorch/test_pytorch_examples.py::ExamplesTests::test_run_semantic_segmentation 66.07s call examples/pytorch/test_pytorch_examples.py::ExamplesTests::test_run_squ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27437/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27437/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27437", "html_url": "https://github.com/huggingface/transformers/pull/27437", "diff_url": "https://github.com/huggingface/transformers/pull/27437.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27437.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27436
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27436/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27436/comments
https://api.github.com/repos/huggingface/transformers/issues/27436/events
https://github.com/huggingface/transformers/pull/27436
1,987,855,309
PR_kwDOCUB6oc5fJ0aB
27,436
Heapify `BeamHypotheses`
{ "login": "Wovchena", "id": 10669582, "node_id": "MDQ6VXNlcjEwNjY5NTgy", "avatar_url": "https://avatars.githubusercontent.com/u/10669582?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Wovchena", "html_url": "https://github.com/Wovchena", "followers_url": "https://api.github.com/users/Wov...
[]
closed
false
null
[]
[ "cc @gante ", "Hey @Wovchena 👋 \r\n\r\nThank you for opening the PR! We are planning, however, to change the structure of beam search, for better support with `torch.compile` and vectorization. As such, we are avoiding merging changes related to beam-search", "This issue has been automatically marked as stale ...
1,699
1,702
1,702
NONE
null
# What does this PR do? Heapify `BeamHypotheses` ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pul...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27436/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27436/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27436", "html_url": "https://github.com/huggingface/transformers/pull/27436", "diff_url": "https://github.com/huggingface/transformers/pull/27436.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27436.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27435
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27435/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27435/comments
https://api.github.com/repos/huggingface/transformers/issues/27435/events
https://github.com/huggingface/transformers/pull/27435
1,987,745,567
PR_kwDOCUB6oc5fJcQR
27,435
At most 2 GPUs for CI
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? We now switch our CI runners from GCP to AWS, and on AWS, we can only config single gpu VMs or 4 gpus VMs (with all the condition we impose). However, our tests don't like env. with 4 GPUs, and there are > 50 more failing tests on the report. Considering we use 2 GPUs for multi-gpu test...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27435/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27435/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27435", "html_url": "https://github.com/huggingface/transformers/pull/27435", "diff_url": "https://github.com/huggingface/transformers/pull/27435.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27435.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27434
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27434/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27434/comments
https://api.github.com/repos/huggingface/transformers/issues/27434/events
https://github.com/huggingface/transformers/pull/27434
1,987,718,720
PR_kwDOCUB6oc5fJWUA
27,434
Fixes AutoModel find_adapter_config_file does not use revision #27429
{ "login": "edbeeching", "id": 7275864, "node_id": "MDQ6VXNlcjcyNzU4NjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/7275864?v=4", "gravatar_id": "", "url": "https://api.github.com/users/edbeeching", "html_url": "https://github.com/edbeeching", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27434). All of your documentation changes will be reflected on that endpoint.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please...
1,699
1,705
1,705
CONTRIBUTOR
null
Fixes #27429 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests), Pull Request...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27434/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27434/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27434", "html_url": "https://github.com/huggingface/transformers/pull/27434", "diff_url": "https://github.com/huggingface/transformers/pull/27434.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27434.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27433
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27433/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27433/comments
https://api.github.com/repos/huggingface/transformers/issues/27433/events
https://github.com/huggingface/transformers/pull/27433
1,987,600,381
PR_kwDOCUB6oc5fI8WJ
27,433
Multi qformer batch correct
{ "login": "Patchwork53", "id": 83033987, "node_id": "MDQ6VXNlcjgzMDMzOTg3", "avatar_url": "https://avatars.githubusercontent.com/u/83033987?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Patchwork53", "html_url": "https://github.com/Patchwork53", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,699
1,699
1,699
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/27433/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27433/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27433", "html_url": "https://github.com/huggingface/transformers/pull/27433", "diff_url": "https://github.com/huggingface/transformers/pull/27433.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27433.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27432
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27432/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27432/comments
https://api.github.com/repos/huggingface/transformers/issues/27432/events
https://github.com/huggingface/transformers/issues/27432
1,987,581,913
I_kwDOCUB6oc52eBfZ
27,432
Fine tuning with examples/pytorch/language-modeling/run_clm.py on torch/XLA + FSDP produce abnormal models
{ "login": "totorochina", "id": 11730127, "node_id": "MDQ6VXNlcjExNzMwMTI3", "avatar_url": "https://avatars.githubusercontent.com/u/11730127?v=4", "gravatar_id": "", "url": "https://api.github.com/users/totorochina", "html_url": "https://github.com/totorochina", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,699
1,700
1,700
NONE
null
### System Info - `transformers` version: 4.36.0.dev0 - Platform: Linux-5.13.0-1027-gcp-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.19.0 - Safetensors version: 0.4.0 - Accelerate version: 0.24.1 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0a0+gitcc01568 (False) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27432/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27432/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27431
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27431/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27431/comments
https://api.github.com/repos/huggingface/transformers/issues/27431/events
https://github.com/huggingface/transformers/pull/27431
1,987,563,196
PR_kwDOCUB6oc5fI0MI
27,431
translate hpo_train.md and perf_hardware.md to chinese
{ "login": "jiaqiw09", "id": 60021713, "node_id": "MDQ6VXNlcjYwMDIxNzEz", "avatar_url": "https://avatars.githubusercontent.com/u/60021713?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jiaqiw09", "html_url": "https://github.com/jiaqiw09", "followers_url": "https://api.github.com/users/jia...
[]
closed
false
null
[]
[ "@stevhliu\r\n\r\nHi,\r\n\r\nHere is another pr. Thanks for my DIY Computer experience, or I can not understand what the docs talking about.\r\n\r\nI think I will be free next couple of days to translate some \"difficult but practical“ docs.\r\n\r\nBest", "The docs for this PR live [here](https://moon-ci-docs.hug...
1,699
1,700
1,699
CONTRIBUTOR
null
# What does this PR do? Part of #26803 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-reques...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27431/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27431/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27431", "html_url": "https://github.com/huggingface/transformers/pull/27431", "diff_url": "https://github.com/huggingface/transformers/pull/27431.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27431.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27430
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27430/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27430/comments
https://api.github.com/repos/huggingface/transformers/issues/27430/events
https://github.com/huggingface/transformers/issues/27430
1,987,428,777
I_kwDOCUB6oc52dcGp
27,430
ModuleNotFoundError: No module named 'transformers_modules.THUDM/chatglm3-6b
{ "login": "ShanJianSoda", "id": 128208553, "node_id": "U_kgDOB6ROqQ", "avatar_url": "https://avatars.githubusercontent.com/u/128208553?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ShanJianSoda", "html_url": "https://github.com/ShanJianSoda", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @ShanJianSoda, thanks for raising an issue! \r\n\r\nCould you provide either a link to the web demo or a code snippet we could run to reproduce the error? ", "thanks you, It's in this project. https://github.com/THUDM/ChatGLM3. \r\n\r\n:D", "Thanks for sharing! This is an external library and so we're not r...
1,699
1,699
1,699
NONE
null
### System Info 当我运行chatglm3的web_demo2.py时,发生错误 此时的配置环境为 When I run the web_demo2.py for chatglm3, an error occurs In this case, the configuration environment is as follows: torch = 2.1.0+cu121 Python = 3.11 transformers = 4.26.1 ### Who can help? _No response_ ### Information - [ ] The official example sc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27430/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27430/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27429
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27429/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27429/comments
https://api.github.com/repos/huggingface/transformers/issues/27429/events
https://github.com/huggingface/transformers/issues/27429
1,987,413,196
I_kwDOCUB6oc52dYTM
27,429
AutoModel find_adapter_config_file does not use revision
{ "login": "edbeeching", "id": 7275864, "node_id": "MDQ6VXNlcjcyNzU4NjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/7275864?v=4", "gravatar_id": "", "url": "https://api.github.com/users/edbeeching", "html_url": "https://github.com/edbeeching", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Hi @edbeeching you need to pass revision through `adapter_kwargs` as such:\r\n\r\n```python\r\nfrom transformers import AutoModelForCausalLM\r\nmodel = AutoModelForCausalLM.from_pretrained(\"alignment-handbook/zephyr-7b-sft-lora\", adapter_kwargs={\"revision\":\"main.merged\"})\r\n```\r\nSo that we cover also the ...
1,699
1,702
1,702
CONTRIBUTOR
null
### System Info - `transformers` version: 4.35.0 - Platform: Linux-6.2.0-36-generic-x86_64-with-glibc2.35 - Python version: 3.10.13 - Huggingface_hub version: 0.17.3 - Safetensors version: 0.4.0 - Accelerate version: 0.23.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu121 (True) - Tensorfl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27429/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27429/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27428
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27428/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27428/comments
https://api.github.com/repos/huggingface/transformers/issues/27428/events
https://github.com/huggingface/transformers/pull/27428
1,987,411,445
PR_kwDOCUB6oc5fIS8D
27,428
use logger.warning_once to avoid massive outputs
{ "login": "ranchlai", "id": 5043767, "node_id": "MDQ6VXNlcjUwNDM3Njc=", "avatar_url": "https://avatars.githubusercontent.com/u/5043767?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ranchlai", "html_url": "https://github.com/ranchlai", "followers_url": "https://api.github.com/users/ranch...
[]
closed
false
null
[]
[ "Sure! Happy to do that. If I understand correctly, this will only apply to `logger.info/warn` in the `forward()` function and the functions called by `forward()`. ", "@ranchlai Awesome - thanks! Yep, that's right. Feel free to ping with any questions if you're not sure about any of them. " ]
1,699
1,702
1,702
CONTRIBUTOR
null
# What does this PR do? This is a quick fix to to avoid massive outputs when training/finetuning longformer (for text classifcation) by using ```logger.warning_once``` rather than ```logger.info```
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27428/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27428/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27428", "html_url": "https://github.com/huggingface/transformers/pull/27428", "diff_url": "https://github.com/huggingface/transformers/pull/27428.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27428.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27427
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27427/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27427/comments
https://api.github.com/repos/huggingface/transformers/issues/27427/events
https://github.com/huggingface/transformers/issues/27427
1,987,385,230
I_kwDOCUB6oc52dReO
27,427
cannot recall the model after registering it using AutoModelForCausalLM.register
{ "login": "Ranitbag007", "id": 133197492, "node_id": "U_kgDOB_ButA", "avatar_url": "https://avatars.githubusercontent.com/u/133197492?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Ranitbag007", "html_url": "https://github.com/Ranitbag007", "followers_url": "https://api.github.com/users/...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
null
[]
[ "Hi @Ranitbag007, thanks for raising an issue. \r\n\r\nCould you follow the issue template for [reporting a bug](https://github.com/huggingface/transformers/blob/main/.github/ISSUE_TEMPLATE/bug-report.yml)? It should include: \r\n* The running environment: run `transformers-cli env` in the terminal and copy-paste t...
1,699
1,699
null
NONE
null
### Model description I have registered my custom model using AutoModelForCausalLM.register(CustomAIConfig, CustomAI) but I am unable to call the model . It shows ImportError: cannot import name 'CustomAI' from 'transformers' (/usr/local/lib/python3.10/dist-packages/transformers/init.py) . Can you help me in this? #...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27427/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27427/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27426
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27426/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27426/comments
https://api.github.com/repos/huggingface/transformers/issues/27426/events
https://github.com/huggingface/transformers/issues/27426
1,987,230,864
I_kwDOCUB6oc52cryQ
27,426
some errors about the compute_mertics function
{ "login": "HelloNicoo", "id": 42365353, "node_id": "MDQ6VXNlcjQyMzY1MzUz", "avatar_url": "https://avatars.githubusercontent.com/u/42365353?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HelloNicoo", "html_url": "https://github.com/HelloNicoo", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @HelloNicoo, thanks for raising an issue. \r\n\r\nWe get many issues and feature requests and so need to you help us so that we can get through them at a reasonable pace. Could you: \r\n* Make sure all of the code is properly formated in markdown - between three backticks i.e. ` ``` code goes here ``` `\r\n* Gi...
1,699
1,702
1,702
NONE
null
### System Info `transformers` version: 4.34.1 - Platform: Linux-5.15.0-69-generic-x86_64-with-glibc2.17 - Python version: 3.8.18 - Huggingface_hub version: 0.17.3 - Safetensors version: 0.4.0 - Accelerate version: 0.24.1 - Accelerate config: - compute_environment: LOCAL_MACHINE - distributed_type: N...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27426/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27426/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27425
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27425/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27425/comments
https://api.github.com/repos/huggingface/transformers/issues/27425/events
https://github.com/huggingface/transformers/pull/27425
1,987,167,758
PR_kwDOCUB6oc5fHd1f
27,425
Introduce Textnet backbone (needed for Fast model)
{ "login": "raghavanone", "id": 115454562, "node_id": "U_kgDOBuGyYg", "avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4", "gravatar_id": "", "url": "https://api.github.com/users/raghavanone", "html_url": "https://github.com/raghavanone", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[ "@amyeroberts I have pulled out all the changes for textnet backbone needed for fast model (https://github.com/huggingface/transformers/pull/26657) into separate PR. Requesting for a first round of review.", "> Thanks for adding!\r\n> \r\n> I've done an initial pass - it'll likely be at least one more review rou...
1,699
1,707
null
CONTRIBUTOR
null
This is needed for merging fast model #26501
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27425/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27425/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27425", "html_url": "https://github.com/huggingface/transformers/pull/27425", "diff_url": "https://github.com/huggingface/transformers/pull/27425.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27425.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27424
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27424/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27424/comments
https://api.github.com/repos/huggingface/transformers/issues/27424/events
https://github.com/huggingface/transformers/issues/27424
1,986,946,259
I_kwDOCUB6oc52bmTT
27,424
Predicted Label to Predicted token mapping in LayoutLMV3. Please look at the description.
{ "login": "slk-genai", "id": 150240611, "node_id": "U_kgDOCPR9Yw", "avatar_url": "https://avatars.githubusercontent.com/u/150240611?v=4", "gravatar_id": "", "url": "https://api.github.com/users/slk-genai", "html_url": "https://github.com/slk-genai", "followers_url": "https://api.github.com/users/slk-ge...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,699
1,705
1,705
NONE
null
### Feature request I am trying the below code: processor = LayoutLMv3Processor.from_pretrained("/content/layoutlmv3-large-finetuned-funsd") encoding = processor(image, return_offsets_mapping=True, return_tensors="pt") offset_mapping = encoding.pop('offset_mapping') print(encoding.keys()) device = torch.devic...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27424/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27424/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27423
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27423/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27423/comments
https://api.github.com/repos/huggingface/transformers/issues/27423/events
https://github.com/huggingface/transformers/issues/27423
1,986,704,872
I_kwDOCUB6oc52arXo
27,423
chatglm3-6b-32k does not support Flash Attention 2.0
{ "login": "abc123456cxx", "id": 150245861, "node_id": "U_kgDOCPSR5Q", "avatar_url": "https://avatars.githubusercontent.com/u/150245861?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abc123456cxx", "html_url": "https://github.com/abc123456cxx", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @abc123456cxx, thanks for raising this. \r\n\r\nIs this a request to add flash attention to the model? If so, the [modeling files live on the hub](https://huggingface.co/THUDM/chatglm3-6b-32k/tree/main). Could you open an issue there to request this feature? ", "This issue has been automatically marked as sta...
1,699
1,702
1,702
NONE
null
When I use **AutoModelForCausalLM.from_pretrained(path, trust_remote_code=True, load_in_8bit= True,use_flash_attention=True,device_map="auto")**, it occers: ValueError: The current architecture does not support Flash Attention 2.0. Please open an issue on GitHub to request support for this architecture: https://github...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27423/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27423/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27422
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27422/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27422/comments
https://api.github.com/repos/huggingface/transformers/issues/27422/events
https://github.com/huggingface/transformers/pull/27422
1,986,658,061
PR_kwDOCUB6oc5fFv9Z
27,422
Perf torch compile
{ "login": "jiaqiw09", "id": 60021713, "node_id": "MDQ6VXNlcjYwMDIxNzEz", "avatar_url": "https://avatars.githubusercontent.com/u/60021713?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jiaqiw09", "html_url": "https://github.com/jiaqiw09", "followers_url": "https://api.github.com/users/jia...
[]
closed
false
null
[]
[ "@stevhliu\r\n\r\nHi,\r\n\r\nhere is another PR.\r\n\r\nBest", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27422). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,700
1,699
CONTRIBUTOR
null
# What does this PR do? Part of #26803 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-reques...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27422/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27422/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27422", "html_url": "https://github.com/huggingface/transformers/pull/27422", "diff_url": "https://github.com/huggingface/transformers/pull/27422.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27422.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27421
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27421/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27421/comments
https://api.github.com/repos/huggingface/transformers/issues/27421/events
https://github.com/huggingface/transformers/issues/27421
1,986,632,251
I_kwDOCUB6oc52aZo7
27,421
Race condition when loading models from local folders with custom code
{ "login": "dakinggg", "id": 43149077, "node_id": "MDQ6VXNlcjQzMTQ5MDc3", "avatar_url": "https://avatars.githubusercontent.com/u/43149077?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dakinggg", "html_url": "https://github.com/dakinggg", "followers_url": "https://api.github.com/users/dak...
[]
open
false
null
[]
[ "Hi @dakinggg, thanks for raising this issue! \r\n\r\nCould you give a bit more information about how you're running the code from multiple processes? \r\n\r\nNote: there was a recent update in the recent release `4.35` where we use safetensors by default when saving/loading models which might also affect this (alt...
1,699
1,707
null
CONTRIBUTOR
null
### System Info - `transformers` version: 4.34.0 - Platform: Linux-5.4.0-148-generic-x86_64-with-glibc2.31 - Python version: 3.10.13 - Huggingface_hub version: 0.17.3 - Safetensors version: 0.4.0 - Accelerate version: 0.20.3 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu121 (True) - Tensorf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27421/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/27421/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27420
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27420/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27420/comments
https://api.github.com/repos/huggingface/transformers/issues/27420/events
https://github.com/huggingface/transformers/pull/27420
1,986,547,345
PR_kwDOCUB6oc5fFYaJ
27,420
Bump pyarrow from 7.0.0 to 14.0.1 in /examples/research_projects/decision_transformer
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major ...
1,699
1,699
1,699
CONTRIBUTOR
null
Bumps [pyarrow](https://github.com/apache/arrow) from 7.0.0 to 14.0.1. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/apache/arrow/commit/ba537483618196f50c67a90a473039e4d5dc35e0"><code>ba53748</code></a> MINOR: [Release] Update versions for 14.0.1</li> <li><a href="https://github.com/apache/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27420/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27420/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27420", "html_url": "https://github.com/huggingface/transformers/pull/27420", "diff_url": "https://github.com/huggingface/transformers/pull/27420.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27420.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27419
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27419/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27419/comments
https://api.github.com/repos/huggingface/transformers/issues/27419/events
https://github.com/huggingface/transformers/pull/27419
1,986,516,272
PR_kwDOCUB6oc5fFRdV
27,419
Bump pyarrow from 1.0.1 to 14.0.1 in /examples/research_projects/lxmert
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@dependabot ignore this major version", "OK, I won't notify you about version 14.x.x again, unless you re-open this PR." ]
1,699
1,699
1,699
CONTRIBUTOR
null
Bumps [pyarrow](https://github.com/apache/arrow) from 1.0.1 to 14.0.1. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/apache/arrow/commit/ba537483618196f50c67a90a473039e4d5dc35e0"><code>ba53748</code></a> MINOR: [Release] Update versions for 14.0.1</li> <li><a href="https://github.com/apache/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27419/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27419/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27419", "html_url": "https://github.com/huggingface/transformers/pull/27419", "diff_url": "https://github.com/huggingface/transformers/pull/27419.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27419.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27418
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27418/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27418/comments
https://api.github.com/repos/huggingface/transformers/issues/27418/events
https://github.com/huggingface/transformers/issues/27418
1,986,504,289
I_kwDOCUB6oc52Z6Zh
27,418
Flax T5 models (at least) should use scan over layers technique
{ "login": "colehaus", "id": 9491942, "node_id": "MDQ6VXNlcjk0OTE5NDI=", "avatar_url": "https://avatars.githubusercontent.com/u/9491942?v=4", "gravatar_id": "", "url": "https://api.github.com/users/colehaus", "html_url": "https://github.com/colehaus", "followers_url": "https://api.github.com/users/coleh...
[]
closed
false
null
[]
[ "cc @sanchit-gandhi ", "Hey @colehaus! Sorry for the late reply here. We've currently decided not to implement `scan` for the Flax models in Transformers. You can see a brief reason for this here: https://github.com/huggingface/transformers/pull/24587#discussion_r1347737942\r\n\r\nHappy to re-open the conversatio...
1,699
1,704
1,704
NONE
null
### Feature request See the technique described [here](https://docs.kidger.site/equinox/tricks/#improve-compilation-speed-with-scan-over-layers) and [here](https://github.com/google-research/t5x/blob/main/t5x/examples/scalable_t5/README.md#scan-over-layers). The essence is using a JAX `scan` instead of a python loop t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27418/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27418/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27417
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27417/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27417/comments
https://api.github.com/repos/huggingface/transformers/issues/27417/events
https://github.com/huggingface/transformers/pull/27417
1,986,502,145
PR_kwDOCUB6oc5fFOTH
27,417
Bump pyarrow from 1.0.1 to 14.0.1 in /examples/research_projects/visual_bert
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@dependabot ignore this major version", "OK, I won't notify you about version 14.x.x again, unless you re-open this PR." ]
1,699
1,699
1,699
CONTRIBUTOR
null
Bumps [pyarrow](https://github.com/apache/arrow) from 1.0.1 to 14.0.1. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/apache/arrow/commit/ba537483618196f50c67a90a473039e4d5dc35e0"><code>ba53748</code></a> MINOR: [Release] Update versions for 14.0.1</li> <li><a href="https://github.com/apache/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27417/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27417/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27417", "html_url": "https://github.com/huggingface/transformers/pull/27417", "diff_url": "https://github.com/huggingface/transformers/pull/27417.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27417.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27416
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27416/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27416/comments
https://api.github.com/repos/huggingface/transformers/issues/27416/events
https://github.com/huggingface/transformers/issues/27416
1,986,354,803
I_kwDOCUB6oc52ZV5z
27,416
4.35.0 requires troublesome pytorch install for JAX users
{ "login": "colehaus", "id": 9491942, "node_id": "MDQ6VXNlcjk0OTE5NDI=", "avatar_url": "https://avatars.githubusercontent.com/u/9491942?v=4", "gravatar_id": "", "url": "https://api.github.com/users/colehaus", "html_url": "https://github.com/colehaus", "followers_url": "https://api.github.com/users/coleh...
[]
closed
false
null
[]
[ "(Also, after the upgrade I get this warning:\r\n\r\nSome weights of the model checkpoint at t5-base were not used when initializing FlaxT5ForConditionalGeneration: {('decoder', 'block', '0', 'layer', '1', 'EncDecAttention', 'relative_attention_bias', 'kernel')}\r\n- This IS expected if you are initializing FlaxT5F...
1,699
1,701
1,699
NONE
null
### System Info - `transformers` version: 4.35.0 - Platform: Linux-5.19.0-45-generic-x86_64-with-glibc2.35 - Python version: 3.11.6 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.2 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): not installed (NA) - Te...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27416/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27416/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27415
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27415/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27415/comments
https://api.github.com/repos/huggingface/transformers/issues/27415/events
https://github.com/huggingface/transformers/pull/27415
1,986,336,751
PR_kwDOCUB6oc5fEqPh
27,415
Adding LeakyReLU
{ "login": "rafaelpadilla", "id": 31217453, "node_id": "MDQ6VXNlcjMxMjE3NDUz", "avatar_url": "https://avatars.githubusercontent.com/u/31217453?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rafaelpadilla", "html_url": "https://github.com/rafaelpadilla", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Failing tests are note related to this PR: \r\n`examples/pytorch/test_accelerate_examples.py:176: AssertionError`\r\n`tests/models/auto/test_tokenization_auto.py:428: AssertionError`", "@rafaelpadilla Can you rebase on main? There ...
1,699
1,700
1,700
CONTRIBUTOR
null
# What does this PR do? Simple thing.... it includes LeakyReLU in the `ACT2CLS`. Noticed that the RTDetr official implementation supports "leaky_relu" ([here](https://github.com/lyuwenyu/RT-DETR/blob/3330eca679a7d7cce16bbb10509099174a2f40bf/rtdetr_pytorch/src/nn/backbone/common.py#L70)), which is not being mapped i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27415/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27415/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27415", "html_url": "https://github.com/huggingface/transformers/pull/27415", "diff_url": "https://github.com/huggingface/transformers/pull/27415.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27415.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27414
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27414/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27414/comments
https://api.github.com/repos/huggingface/transformers/issues/27414/events
https://github.com/huggingface/transformers/pull/27414
1,986,131,840
PR_kwDOCUB6oc5fD9Yf
27,414
remove failing tests and clean FE files
{ "login": "ylacombe", "id": 52246514, "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylacombe", "html_url": "https://github.com/ylacombe", "followers_url": "https://api.github.com/users/yla...
[]
closed
false
null
[]
[ "Could you run the feature extraction tests for all the audio models to double check they're passing before merging please! ", "Sure thing!", "I've double check every audio models! Everything passes", "_The documentation is not available anymore as the PR was closed or merged._", "Cool - do you have permiss...
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? Fixes [this](https://app.circleci.com/pipelines/github/huggingface/transformers/77846/workflows/8ed051fc-a105-462e-9097-91e919374c6e/jobs/992100), which was introduced by #26339. To explain a bit, in #26339 I've mutualised an overriding of `to_dict` which deleted `mel_filters` and `windows...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27414/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27414/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27414", "html_url": "https://github.com/huggingface/transformers/pull/27414", "diff_url": "https://github.com/huggingface/transformers/pull/27414.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27414.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27413
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27413/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27413/comments
https://api.github.com/repos/huggingface/transformers/issues/27413/events
https://github.com/huggingface/transformers/pull/27413
1,986,129,264
PR_kwDOCUB6oc5fD80S
27,413
Run all tests if `circleci/create_circleci_config.py` is modified
{ "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 documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? This file is also a central file related to tests. If it has some modification and only this file, currently no test job defined in it would run. (`empty` job). We have been cheated by green CI those were actually empty. Let's run all tests in this case.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27413/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27413/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27413", "html_url": "https://github.com/huggingface/transformers/pull/27413", "diff_url": "https://github.com/huggingface/transformers/pull/27413.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27413.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27412
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27412/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27412/comments
https://api.github.com/repos/huggingface/transformers/issues/27412/events
https://github.com/huggingface/transformers/pull/27412
1,986,123,794
PR_kwDOCUB6oc5fD7oG
27,412
Extend save_pretrained to offloaded models
{ "login": "blbadger", "id": 54602201, "node_id": "MDQ6VXNlcjU0NjAyMjAx", "avatar_url": "https://avatars.githubusercontent.com/u/54602201?v=4", "gravatar_id": "", "url": "https://api.github.com/users/blbadger", "html_url": "https://github.com/blbadger", "followers_url": "https://api.github.com/users/blb...
[]
open
false
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "cc @LysandreJik ", "Curious what you think @muellerzr @pacman100 ", "Overall I can see this being a pretty nice idea. Made some nits to improve. cc @SunMarc for your thoughts as well :) ", "Would it be possible to eventually offload this to `accelerate`?", "> Would it be possible to eventually offload this...
1,699
1,707
null
CONTRIBUTOR
null
# What does this PR do? Fixes #20072 and addresses the second part of https://github.com/huggingface/peft/issues/868 Models with offloaded weights are currently incompatible with `save_pretrained`. This PR allows large models that are loaded onto the gpu and cpu to be saved, which is particularly useful for big m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27412/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27412/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27412", "html_url": "https://github.com/huggingface/transformers/pull/27412", "diff_url": "https://github.com/huggingface/transformers/pull/27412.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27412.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27411
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27411/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27411/comments
https://api.github.com/repos/huggingface/transformers/issues/27411/events
https://github.com/huggingface/transformers/pull/27411
1,986,071,999
PR_kwDOCUB6oc5fDwYl
27,411
Faster generation using AWQ + Fused modules
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27411). All of your documentation changes will be reflected on that endpoint.", "Before moving forward with tests and advanced docs, I would love to have an early feedback of the API that is described in the PR description....
1,699
1,701
1,701
CONTRIBUTOR
null
# What does this PR do? Introduces a new feature - fused module generation using `autoawq` library. Users need to specify modules that they want to fuse inside `fusing_mapping`. The API is as follows: ```python import torch from transformers import AutoTokenizer, AutoModelForCausalLM, AwqConfig, TextStreame...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27411/reactions", "total_count": 7, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 7, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27411/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27411", "html_url": "https://github.com/huggingface/transformers/pull/27411", "diff_url": "https://github.com/huggingface/transformers/pull/27411.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27411.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27410
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27410/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27410/comments
https://api.github.com/repos/huggingface/transformers/issues/27410/events
https://github.com/huggingface/transformers/pull/27410
1,985,991,148
PR_kwDOCUB6oc5fDeqJ
27,410
[ignore] CI stuff
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27410). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,699
1,699
CONTRIBUTOR
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27410/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27410/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27410", "html_url": "https://github.com/huggingface/transformers/pull/27410", "diff_url": "https://github.com/huggingface/transformers/pull/27410.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27410.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27409
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27409/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27409/comments
https://api.github.com/repos/huggingface/transformers/issues/27409/events
https://github.com/huggingface/transformers/pull/27409
1,985,970,610
PR_kwDOCUB6oc5fDaNB
27,409
[`dependency`] update pillow pins
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,700
1,700
COLLABORATOR
null
# What does this PR do? Following, [High Severity CVE](https://github.com/advisories/GHSA-j7hp-h8jx-5ppr), trying to update the pinned versions
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27409/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27409/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27409", "html_url": "https://github.com/huggingface/transformers/pull/27409", "diff_url": "https://github.com/huggingface/transformers/pull/27409.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27409.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27408
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27408/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27408/comments
https://api.github.com/repos/huggingface/transformers/issues/27408/events
https://github.com/huggingface/transformers/pull/27408
1,985,943,844
PR_kwDOCUB6oc5fDUYp
27,408
Final fix of the accelerate installation issue
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Still get `@4f100318f499cff48b62555ca7d96ad97d7cb9be`, I will check check!!!!!!", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27408). All of your documentation changes will be reflecte...
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? Fixfixfix
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27408/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27408/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27408", "html_url": "https://github.com/huggingface/transformers/pull/27408", "diff_url": "https://github.com/huggingface/transformers/pull/27408.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27408.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27407
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27407/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27407/comments
https://api.github.com/repos/huggingface/transformers/issues/27407/events
https://github.com/huggingface/transformers/pull/27407
1,985,844,660
PR_kwDOCUB6oc5fC-Qm
27,407
Cache round 2
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[]
1,699
1,701
1,701
MEMBER
null
# What does this PR do? Adds indexing to the cache, as `generate` relies on things like `past_key_values[0][0].shape` (the first set of indexes being 0 for the attention `key` and 1 for the attention `value`). After this change, the following snippet produces the same result as before: ```py from transformers i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27407/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27407/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27407", "html_url": "https://github.com/huggingface/transformers/pull/27407", "diff_url": "https://github.com/huggingface/transformers/pull/27407.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27407.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27406
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27406/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27406/comments
https://api.github.com/repos/huggingface/transformers/issues/27406/events
https://github.com/huggingface/transformers/pull/27406
1,985,830,892
PR_kwDOCUB6oc5fC7RT
27,406
Fix RequestCounter to make it more future-proof
{ "login": "Wauplin", "id": 11801849, "node_id": "MDQ6VXNlcjExODAxODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Wauplin", "html_url": "https://github.com/Wauplin", "followers_url": "https://api.github.com/users/Waupli...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I will merge once something on main is fixed. (should be soon)" ]
1,699
1,699
1,699
CONTRIBUTOR
null
Related to https://github.com/huggingface/transformers/pull/27389 and https://github.com/huggingface/transformers/pull/27393 (cc @amyeroberts @ydshieh). The problem came from the fact that `transformers` test suite was trying to mock `huggingface_hub.utils.get_session` which is an internal method that I sometimes mo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27406/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27406/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27406", "html_url": "https://github.com/huggingface/transformers/pull/27406", "diff_url": "https://github.com/huggingface/transformers/pull/27406.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27406.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27405
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27405/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27405/comments
https://api.github.com/repos/huggingface/transformers/issues/27405/events
https://github.com/huggingface/transformers/issues/27405
1,985,825,212
I_kwDOCUB6oc52XUm8
27,405
How Can I use cashed models from HuggingFace?
{ "login": "khabibulloevm", "id": 86304910, "node_id": "MDQ6VXNlcjg2MzA0OTEw", "avatar_url": "https://avatars.githubusercontent.com/u/86304910?v=4", "gravatar_id": "", "url": "https://api.github.com/users/khabibulloevm", "html_url": "https://github.com/khabibulloevm", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi @khabibulloevm, thanks for opening an issues, \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports.\r\n\r\nThat being said, all of these files are used to construct a tokenizer which will perform tokeniz...
1,699
1,702
1,702
NONE
null
I want to use models from: [https://huggingface.co/ARTeLab/mbart-summarization-mlsum](https://stackoverflow.com/) in offline mode, meaning that after downloading them from Hugging Face, they will be saved locally and I will be able to use them offline. However, I don't know how to do this. If anyone has already figured...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27405/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27405/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27404
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27404/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27404/comments
https://api.github.com/repos/huggingface/transformers/issues/27404/events
https://github.com/huggingface/transformers/pull/27404
1,985,794,169
PR_kwDOCUB6oc5fCzRS
27,404
Use editable install for git deps
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? This PR solves the issue https://github.com/huggingface/transformers/pull/27398 tried to address, but instead was an even more subtle bug that has existed in the workflow: When using a cache (such as any PR that has been opened and ran), if a git installed dependency (such as `accelerate`)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27404/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27404/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27404", "html_url": "https://github.com/huggingface/transformers/pull/27404", "diff_url": "https://github.com/huggingface/transformers/pull/27404.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27404.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27403
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27403/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27403/comments
https://api.github.com/repos/huggingface/transformers/issues/27403/events
https://github.com/huggingface/transformers/pull/27403
1,985,791,959
PR_kwDOCUB6oc5fCyyU
27,403
Add version check for Jinja
{ "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 documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
MEMBER
null
As @philschmid noticed, `apply_chat_template` requires `jinja` version 3.x, but it's possible for some users to still have `2.x` installed. We now raise a useful error in this case.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27403/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27403/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27403", "html_url": "https://github.com/huggingface/transformers/pull/27403", "diff_url": "https://github.com/huggingface/transformers/pull/27403.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27403.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27402
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27402/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27402/comments
https://api.github.com/repos/huggingface/transformers/issues/27402/events
https://github.com/huggingface/transformers/pull/27402
1,985,786,160
PR_kwDOCUB6oc5fCxgm
27,402
Fix `Owlv2` checkpoint name and a default value in `Owlv2VisionConfig`
{ "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 documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? See comment.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27402/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27402/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27402", "html_url": "https://github.com/huggingface/transformers/pull/27402", "diff_url": "https://github.com/huggingface/transformers/pull/27402.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27402.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27401
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27401/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27401/comments
https://api.github.com/repos/huggingface/transformers/issues/27401/events
https://github.com/huggingface/transformers/pull/27401
1,985,785,664
PR_kwDOCUB6oc5fCxZr
27,401
Translating `en/model_doc` docs to Japanese.
{ "login": "Yuki-Imajuku", "id": 72183189, "node_id": "MDQ6VXNlcjcyMTgzMTg5", "avatar_url": "https://avatars.githubusercontent.com/u/72183189?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Yuki-Imajuku", "html_url": "https://github.com/Yuki-Imajuku", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27401). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,700
1,700
CONTRIBUTOR
null
# What does this PR do? translating `en/model_doc` docs to Japanese. Fixes #27392 ## 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/C...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27401/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27401/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27401", "html_url": "https://github.com/huggingface/transformers/pull/27401", "diff_url": "https://github.com/huggingface/transformers/pull/27401.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27401.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27400
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27400/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27400/comments
https://api.github.com/repos/huggingface/transformers/issues/27400/events
https://github.com/huggingface/transformers/pull/27400
1,985,758,753
PR_kwDOCUB6oc5fCrhS
27,400
update Bark FA2 docs
{ "login": "ylacombe", "id": 52246514, "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylacombe", "html_url": "https://github.com/ylacombe", "followers_url": "https://api.github.com/users/yla...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks! Merging!" ]
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? Following @ArthurZucker's [review](https://github.com/huggingface/transformers/pull/27364#pullrequestreview-1722408067) in #27634, I've added a section on FA2 in Bark readme and a mention of Bark FA2 support in a section on FA2! Note that this comment https://github.com/huggingface/transf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27400/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/27400/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27400", "html_url": "https://github.com/huggingface/transformers/pull/27400", "diff_url": "https://github.com/huggingface/transformers/pull/27400.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27400.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27399
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27399/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27399/comments
https://api.github.com/repos/huggingface/transformers/issues/27399/events
https://github.com/huggingface/transformers/pull/27399
1,985,658,229
PR_kwDOCUB6oc5fCVS6
27,399
Fix fuyu checkpoint repo in `FuyuConfig`
{ "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 documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? There is no `adept/fuyu-8b-base` on the Hub.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27399/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27399/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27399", "html_url": "https://github.com/huggingface/transformers/pull/27399", "diff_url": "https://github.com/huggingface/transformers/pull/27399.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27399.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27398
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27398/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27398/comments
https://api.github.com/repos/huggingface/transformers/issues/27398/events
https://github.com/huggingface/transformers/pull/27398
1,985,634,293
PR_kwDOCUB6oc5fCQCF
27,398
Skip flaky accelerate test
{ "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 can you link to a failure? I thought #27378 fixed it :( (I tried to run every combo to see what that value would be)", "@muellerzr Sure! Here's two CI runs with the test failing after rebasing on main: \r\n* https://app.circleci.com/pipelines/github/huggingface/transformers/77801/workflows/57ee7a82-...
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? Skipping another flaky accelerate tests until values have been aligned with accelerate library cc @muellerzr
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27398/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27398/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27398", "html_url": "https://github.com/huggingface/transformers/pull/27398", "diff_url": "https://github.com/huggingface/transformers/pull/27398.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27398.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27397
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27397/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27397/comments
https://api.github.com/repos/huggingface/transformers/issues/27397/events
https://github.com/huggingface/transformers/issues/27397
1,985,631,869
I_kwDOCUB6oc52WlZ9
27,397
SafetensorError: Error while deserializing header: InvalidHeaderDeserialization when open .safetensor model
{ "login": "adhiiisetiawan", "id": 51025603, "node_id": "MDQ6VXNlcjUxMDI1NjAz", "avatar_url": "https://avatars.githubusercontent.com/u/51025603?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adhiiisetiawan", "html_url": "https://github.com/adhiiisetiawan", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hi @adhiiisetiawan, thanks for reporting! \r\n\r\nSo that we can best help you, could you: \r\n* include how the model is created before passing to the trainer? \r\n* confirm if this code previously working on an old version of transformers? \r\n* provide the running environment: run `transformers-cli env` in the...
1,699
1,706
1,699
NONE
null
### System Info Hi guys, i just fine tune alpaca (LLaMA 7B base model) with custom dataset and using trainer API. After completing the training process, I received the following error: ```python SafetensorError Traceback (most recent call last) <ipython-input-16-8ff7a1776602> in <cell ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27397/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27397/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27396
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27396/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27396/comments
https://api.github.com/repos/huggingface/transformers/issues/27396/events
https://github.com/huggingface/transformers/issues/27396
1,985,606,848
I_kwDOCUB6oc52WfTA
27,396
Safetensor boolean is wrong in modeling utils
{ "login": "ylacombe", "id": 52246514, "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylacombe", "html_url": "https://github.com/ylacombe", "followers_url": "https://api.github.com/users/yla...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,699
1,702
1,702
COLLABORATOR
null
# Description In [`load_pretrained_model`](https://github.com/huggingface/transformers/blob/3258ff93304078b9e27d752e6c19d3813f664855/src/transformers/modeling_utils.py#L3573), the `is_safetensors` boolean doesn't seem to work as expected. To be more specific, `is_safetensors` is defined at the [beginning of the m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27396/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27396/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27395
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27395/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27395/comments
https://api.github.com/repos/huggingface/transformers/issues/27395/events
https://github.com/huggingface/transformers/pull/27395
1,985,576,958
PR_kwDOCUB6oc5fCDej
27,395
Fix M4T weights tying
{ "login": "ylacombe", "id": 52246514, "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylacombe", "html_url": "https://github.com/ylacombe", "followers_url": "https://api.github.com/users/yla...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This shouldn't be needed, the weights should already be tied at init time.\r\n\r\nEdit: I looked a bit more closely:\r\n\r\n- `no_init_weights` means all tensors are initialized as meta tensors (all shared with basically a null point...
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? Following some failing tests [here](https://github.com/huggingface/transformers/actions/runs/6806630933/job/18508287020), I've pinpointed the bug to a tying weight issue ! This fixes the issue cc @ydshieh, @LysandreJik and @amyeroberts Also cc @Narsil who had fix a related seamlessM4...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27395/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27395/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27395", "html_url": "https://github.com/huggingface/transformers/pull/27395", "diff_url": "https://github.com/huggingface/transformers/pull/27395.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27395.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27394
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27394/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27394/comments
https://api.github.com/repos/huggingface/transformers/issues/27394/events
https://github.com/huggingface/transformers/pull/27394
1,985,367,586
PR_kwDOCUB6oc5fBVmo
27,394
Fix `from_pt` flag when loading with `safetensors`
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "`ci/circleci: tests_torch` is treated in another PR, so not relevant here.", "_The documentation is not available anymore as the PR was closed or merged._", "> Not sure it's really necessary, but maybe a comment to say those methods not only deal with pytorch checkpoint but also safetensors.\r\n> \r\n> (The na...
1,699
1,699
1,699
MEMBER
null
`from_pt` flag should continue working when specifying `safe_serialization=True`. The safetensors file will be in the PyTorch format, so it's not a stretch to expect the flag to be here to load it (it works without the flag `from_pt=True` as well). Not supporting `from_pt=True` for this is a breaking change as exist...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27394/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27394/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27394", "html_url": "https://github.com/huggingface/transformers/pull/27394", "diff_url": "https://github.com/huggingface/transformers/pull/27394.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27394.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27393
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27393/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27393/comments
https://api.github.com/repos/huggingface/transformers/issues/27393/events
https://github.com/huggingface/transformers/pull/27393
1,985,307,622
PR_kwDOCUB6oc5fBIiC
27,393
Skip failing cache call tests
{ "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 documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? See: https://github.com/huggingface/transformers/pull/27389 Skips tests which are currently failing because of incompatibilities with new huggingface_hub release
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27393/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27393/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27393", "html_url": "https://github.com/huggingface/transformers/pull/27393", "diff_url": "https://github.com/huggingface/transformers/pull/27393.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27393.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27392
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27392/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27392/comments
https://api.github.com/repos/huggingface/transformers/issues/27392/events
https://github.com/huggingface/transformers/issues/27392
1,985,285,724
I_kwDOCUB6oc52VQ5c
27,392
[i18n-JP] Translating `en/model_doc` docs to Japanese
{ "login": "rajveer43", "id": 64583161, "node_id": "MDQ6VXNlcjY0NTgzMTYx", "avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rajveer43", "html_url": "https://github.com/rajveer43", "followers_url": "https://api.github.com/users/...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
closed
false
null
[]
[ "Thanks for the information!\r\nJust to be sure, would it be correct if I translate the rest of the `model_docs` that are not listed in the **Model_do section**?", "> Thanks for the information!\n> Just to be sure, would it be correct if I translate the rest of the `model_docs` that are not listed in the **Model_...
1,699
1,700
1,700
CONTRIBUTOR
null
<!-- Note: Please search to see if an issue already exists for the language you are trying to translate. --> Hi! Let's bring the documentation to all the Japanese-speaking community 🌐 Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27392/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27392/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27391
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27391/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27391/comments
https://api.github.com/repos/huggingface/transformers/issues/27391/events
https://github.com/huggingface/transformers/issues/27391
1,985,278,702
I_kwDOCUB6oc52VPLu
27,391
bus error when load codellama2 34b
{ "login": "boundles", "id": 3818060, "node_id": "MDQ6VXNlcjM4MTgwNjA=", "avatar_url": "https://avatars.githubusercontent.com/u/3818060?v=4", "gravatar_id": "", "url": "https://api.github.com/users/boundles", "html_url": "https://github.com/boundles", "followers_url": "https://api.github.com/users/bound...
[]
closed
false
null
[]
[ "Hi @boundles, 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 `transform...
1,699
1,702
1,702
NONE
null
### System Info when I load model on 2*A6000 45G, bus error occurs `model_path = 'CodeLlama-34b-hf' model = AutoModelForCausalLM.from_pretrained(model_path, load_in_8bit=True, device_map="auto", trust_remote_code=True) print('finish load model') ` looking for your reply, thanks ### Who can help? _No respons...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27391/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27391/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27390
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27390/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27390/comments
https://api.github.com/repos/huggingface/transformers/issues/27390/events
https://github.com/huggingface/transformers/pull/27390
1,985,236,053
PR_kwDOCUB6oc5fA5It
27,390
use `pytest.mark` directly
{ "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 documentation is not available anymore as the PR was closed or merged._", "Would just using `pytest.mark.flash_attn_test` instead of importing `from pytest import mark` work? This looks like a complex workaround for a feature which is just a nice-to-have e.g. (comments [here](https://github.com/huggingface/...
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? #25598 uses `from pytest import mark` which breaks the function `get_test_classes` as the test module would have `mark` as attribute, and ``` getattr(attr_value, "all_model_classes", []) ``` gives an `'MarkDecorator'` object (while `attr_value` is the `pytest.mark`). This PR `import p...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27390/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27390/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27390", "html_url": "https://github.com/huggingface/transformers/pull/27390", "diff_url": "https://github.com/huggingface/transformers/pull/27390.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27390.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27389
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27389/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27389/comments
https://api.github.com/repos/huggingface/transformers/issues/27389/events
https://github.com/huggingface/transformers/pull/27389
1,985,205,790
PR_kwDOCUB6oc5fAykA
27,389
Pin huggingface_hub
{ "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
[]
[ "Thanks a lot!", "Looks like we still get 0.19 ...", "😫 ", "`accelerate`!\r\n\r\n```\r\n Attempting uninstall: huggingface-hub\r\n Found existing installation: huggingface-hub 0.17.3\r\n Uninstalling huggingface-hub-0.17.3:\r\n Successfully uninstalled huggingface-hub-0.17.3\r\n Attempting unins...
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? Currently tests are failing on `test_torch` CI run e.g. [this one](https://app.circleci.com/pipelines/github/huggingface/transformers/77707/workflows/ababd81d-2704-4b31-914d-15784acfad8e/jobs/989825). The tests failing relating to the recent release of the hub are: ``` FAILED tests/mode...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27389/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27389/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27389", "html_url": "https://github.com/huggingface/transformers/pull/27389", "diff_url": "https://github.com/huggingface/transformers/pull/27389.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27389.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27388
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27388/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27388/comments
https://api.github.com/repos/huggingface/transformers/issues/27388/events
https://github.com/huggingface/transformers/pull/27388
1,985,062,319
PR_kwDOCUB6oc5fAS_c
27,388
Update tiny model summary file
{ "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 documentation is not available anymore as the PR was closed or merged._", "**Ignore this comment 🙏** \r\n\r\n```\r\n(py38) λ ruff check examples tests src utils setup.py conftest.py --fix\r\ntests\\models\\clvp\\test_modeling_clvp.py:284:64: F821 Undefined name `PipelineTesterMixin`\r\ntests\\models\\dpt\\...
1,699
1,700
1,700
COLLABORATOR
null
# What does this PR do? Update tiny model summary file (to enable pipeline testing for recently added models). ---------------------------------------------------------------------------------------------- The following is a more detailed step on how to do this update (as a reference for the ) #### Steps ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27388/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27388/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27388", "html_url": "https://github.com/huggingface/transformers/pull/27388", "diff_url": "https://github.com/huggingface/transformers/pull/27388.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27388.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27387
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27387/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27387/comments
https://api.github.com/repos/huggingface/transformers/issues/27387/events
https://github.com/huggingface/transformers/issues/27387
1,985,045,469
I_kwDOCUB6oc52UWPd
27,387
load tokenizer size is different config vocab_size
{ "login": "lw3259111", "id": 12690488, "node_id": "MDQ6VXNlcjEyNjkwNDg4", "avatar_url": "https://avatars.githubusercontent.com/u/12690488?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lw3259111", "html_url": "https://github.com/lw3259111", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hey! I recommend you to open the issue on the repo as we did not upload it and it might just be additional padding used for training that was not added to the tokenizer. ", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed ple...
1,699
1,702
1,702
NONE
null
### System Info transformers==4.35.0 python==3.10 ubuntu==20 ### Who can help? @ArthurZucker ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give detai...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27387/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27387/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27386
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27386/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27386/comments
https://api.github.com/repos/huggingface/transformers/issues/27386/events
https://github.com/huggingface/transformers/issues/27386
1,984,973,506
I_kwDOCUB6oc52UErC
27,386
Do I need to conduct example skipping myself for IterableDataset data type when resuming from last_checkpoint?
{ "login": "Zcchill", "id": 83019888, "node_id": "MDQ6VXNlcjgzMDE5ODg4", "avatar_url": "https://avatars.githubusercontent.com/u/83019888?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Zcchill", "html_url": "https://github.com/Zcchill", "followers_url": "https://api.github.com/users/Zcchil...
[]
closed
false
null
[]
[ "No, the trainer does this under the hood. Check out the `_inner_training_loop`, iirc the logic lies in there", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do...
1,699
1,702
1,702
NONE
null
### System Info transformers:4.27.0 torch 2.1.0 ### Who can help? @muellerzr, @pacman100 ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details bel...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27386/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27386/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27385
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27385/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27385/comments
https://api.github.com/repos/huggingface/transformers/issues/27385/events
https://github.com/huggingface/transformers/issues/27385
1,984,890,876
I_kwDOCUB6oc52Twf8
27,385
Whitespace at the start of generated sentence remains or get removed
{ "login": "LalchandPandia", "id": 115443428, "node_id": "U_kgDOBuGG5A", "avatar_url": "https://avatars.githubusercontent.com/u/115443428?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LalchandPandia", "html_url": "https://github.com/LalchandPandia", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hey! The reason for this is that the tokenizer by default prepends a space to any input. Thus when decoding it is skipped. ", "Hi, Thanks for the clarification. Is there any way to make sure, the space present in the output?. In my use case, I want to check how much probability it assigns to whitespace at each t...
1,699
1,702
1,702
NONE
null
### System Info transformers version: 4.34.0 pytorch:1.12.1 python:3.8 I am running llama -2 (Llama-2-7b-hf). If the generated content has whitepace at the beginning, the tokenizer skips it. For example: if tokens are [29871(id for space), id_for_Hey, id_for_there], the generated sentence is "Hey there". token...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27385/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27385/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27384
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27384/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27384/comments
https://api.github.com/repos/huggingface/transformers/issues/27384/events
https://github.com/huggingface/transformers/issues/27384
1,984,844,151
I_kwDOCUB6oc52TlF3
27,384
Ignore whisper previous tokens during loss calculation
{ "login": "DavraYoung", "id": 33338429, "node_id": "MDQ6VXNlcjMzMzM4NDI5", "avatar_url": "https://avatars.githubusercontent.com/u/33338429?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DavraYoung", "html_url": "https://github.com/DavraYoung", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "cc: @sanchit-gandhi ", "I think the cleanest way of doing this is actually in the data collator, as per: https://github.com/huggingface/distil-whisper/blob/e35cbff09e04f6e710c72f33e0441d6bebc47ec1/training/run_distillation.py#L400", "@sanchit-gandhi I think data collator may not be suitable here, since we are ...
1,699
1,701
1,700
NONE
null
### Feature request I am training whisper using previous prompts and according to whitepaper, its better to ignore the loss for previous tokens. > We only mask out the training loss over the previous context text, and train the model to predict all other tokens Which means: For: `<|startofprev|>Here goes ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27384/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27384/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27383
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27383/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27383/comments
https://api.github.com/repos/huggingface/transformers/issues/27383/events
https://github.com/huggingface/transformers/issues/27383
1,984,819,752
I_kwDOCUB6oc52TfIo
27,383
decoder only beam search decoding indices usage
{ "login": "Hustcketlyj", "id": 40982662, "node_id": "MDQ6VXNlcjQwOTgyNjYy", "avatar_url": "https://avatars.githubusercontent.com/u/40982662?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Hustcketlyj", "html_url": "https://github.com/Hustcketlyj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "cc @gante ", "Hey @Hustcketlyj 👋 \r\n\r\nThe beam indices ([docs](https://huggingface.co/docs/transformers/internal/generation_utils#transformers.generation.BeamSearchEncoderDecoderOutput.beam_indices)) are only -1 for unfilled positions ([reference in the code](https://github.com/huggingface/transformers/blob/...
1,699
1,702
1,702
NONE
null
### System Info I am using beam search decoding on opt-1.3b, and I wish to know which beam is selected as the final output along the generation process, I looked at beam_indices, but the size is prompt size+number of token generated, if I ignore the first prompt size indices, the remaining indices are all -1. So what ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27383/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27383/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27382
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27382/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27382/comments
https://api.github.com/repos/huggingface/transformers/issues/27382/events
https://github.com/huggingface/transformers/issues/27382
1,984,789,657
I_kwDOCUB6oc52TXyZ
27,382
Different PTB perplexity in transformers 4.31 vs 4.32
{ "login": "tsengalb99", "id": 33385672, "node_id": "MDQ6VXNlcjMzMzg1Njcy", "avatar_url": "https://avatars.githubusercontent.com/u/33385672?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tsengalb99", "html_url": "https://github.com/tsengalb99", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Interesting issue. \r\nDo you see differences in padding and masks before the forward? Or it only shows in the logits?\r\nIs the issue still present with `seqlen < 4096`? like 1024?\r\n", "Hey 🤗 ! Would recommend you to upgrade to the latest version, even if there is a bug and we fix it, we can't really do anyt...
1,699
1,703
1,703
NONE
null
### System Info python: 3.10 transformers 4.31 and 4.32 datasets: 2.14.6 pytorch 2.1.0 with cuda 11.8 OS: ubuntu 20.04 GPU: Various NVIDIA GPUs CPU: Various Intel CPUs I can reproduce this issue on multiple machines with different hardware configs. ### Who can help? @ArthurZucker @younesbelkada...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27382/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27382/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27381
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27381/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27381/comments
https://api.github.com/repos/huggingface/transformers/issues/27381/events
https://github.com/huggingface/transformers/issues/27381
1,984,664,494
I_kwDOCUB6oc52S5Ou
27,381
`YolosImageProcessor` violates `longest_edge` constraint for certain images
{ "login": "xenova", "id": 26504141, "node_id": "MDQ6VXNlcjI2NTA0MTQx", "avatar_url": "https://avatars.githubusercontent.com/u/26504141?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xenova", "html_url": "https://github.com/xenova", "followers_url": "https://api.github.com/users/xenova/fo...
[]
closed
false
null
[]
[ "Hi @xenova, thanks for reporting! \r\n\r\nLooking into it 🕵️‍♀️ ", "@xenova Apologies for the delay - I've opened a PR to fix! ", "@amyeroberts No worries! ;) Thanks so much!", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addr...
1,699
1,703
1,703
CONTRIBUTOR
null
### System Info - `transformers` version: 4.35.0 - Platform: Linux-5.15.120+-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.17.3 - Safetensors version: 0.4.0 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu118 (False) - Tensor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27381/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27381/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27380
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27380/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27380/comments
https://api.github.com/repos/huggingface/transformers/issues/27380/events
https://github.com/huggingface/transformers/issues/27380
1,984,652,131
I_kwDOCUB6oc52S2Nj
27,380
ValueError: Target module QuantLinear() is not supported. Currently, only `torch.nn.Linear` and `Conv1D` are supported.
{ "login": "jason-brian-anderson", "id": 34688597, "node_id": "MDQ6VXNlcjM0Njg4NTk3", "avatar_url": "https://avatars.githubusercontent.com/u/34688597?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jason-brian-anderson", "html_url": "https://github.com/jason-brian-anderson", "followers_url...
[]
closed
false
null
[]
[ "cc @younesbelkada ", "Hi @jason-brian-anderson \r\nThanks for the issue, there might be a regression but not sure\r\nAre you able to run this small snippet? The snippet below worked fine on my end (transformers main + PEFT 0.6.0)\r\n```python\r\nfrom transformers import AutoModelForCausalLM, GPTQConfig\r\nfrom p...
1,699
1,702
1,702
NONE
null
### System Info docker/python 3.9 ### Who can help? @muellerzr; @pacman100 ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details be...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27380/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27380/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27379
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27379/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27379/comments
https://api.github.com/repos/huggingface/transformers/issues/27379/events
https://github.com/huggingface/transformers/issues/27379
1,984,616,448
I_kwDOCUB6oc52StgA
27,379
dinov2 with REGISTERS
{ "login": "betterze", "id": 8336718, "node_id": "MDQ6VXNlcjgzMzY3MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/8336718?v=4", "gravatar_id": "", "url": "https://api.github.com/users/betterze", "html_url": "https://github.com/betterze", "followers_url": "https://api.github.com/users/bette...
[ { "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
[]
[ "Hello! Could you kindly assign this task to me? I'm eager to take it on as my first contribution and greatly appreciate any guidance or considerations you can provide. Thank you in advance.", "I am not a team member of hugging face, I can not 'assign the task to you'. But I believe you are very welcome to work o...
1,699
1,699
null
NONE
null
### Model description Dear huggingface team, The fair team published an improved version of dinov2 [VISION TRANSFORMERS NEED REGISTERS](https://arxiv.org/abs/2309.16588). The models and checkpoints are available in the [dinov2 website](https://github.com/facebookresearch/dinov2#pretrained-backbones-via-pytorch-hu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27379/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/27379/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27378
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27378/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27378/comments
https://api.github.com/repos/huggingface/transformers/issues/27378/events
https://github.com/huggingface/transformers/pull/27378
1,984,553,671
PR_kwDOCUB6oc5e-l1z
27,378
Change thresh in test
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? Last little bit for the new accelerate dataloaders logic, the new results are at 0.51, *just* above our thresh so slightly tweaks the thresh to be passing. (We will have our own CI running tests on examples etc here soon to catch these better :) ). IIRC these tests just verify it trains, w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27378/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27378/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27378", "html_url": "https://github.com/huggingface/transformers/pull/27378", "diff_url": "https://github.com/huggingface/transformers/pull/27378.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27378.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27377
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27377/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27377/comments
https://api.github.com/repos/huggingface/transformers/issues/27377/events
https://github.com/huggingface/transformers/issues/27377
1,984,214,547
I_kwDOCUB6oc52RLYT
27,377
Transformers need keras updates for tf-nightly + tf_keras (Keras 2.0) & keras 3.0
{ "login": "jojivk", "id": 45277591, "node_id": "MDQ6VXNlcjQ1Mjc3NTkx", "avatar_url": "https://avatars.githubusercontent.com/u/45277591?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jojivk", "html_url": "https://github.com/jojivk", "followers_url": "https://api.github.com/users/jojivk/fo...
[]
closed
false
null
[]
[ "Hi @jojivk, thanks for raising this issue! \r\n\r\nWe don't officially support nightly releases as they're not guaranteed to be stable. Our versions of tensorflow and keras are pinned because automatically installing the latest release tends to lead to many breaking changes. If there is a change in the import stru...
1,699
1,706
1,706
NONE
null
### System Info With new changes for Keras (https://groups.google.com/g/keras-users/c/jgGcX730WGE), we are seeing issues with using Huggingface models (GPT-J, Stable Diffusion, & Vision Transformer). We saw that transformers restrict the versions for Tensorflow and Keras. https://github.com/huggingface/transformers/bl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27377/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27377/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27376
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27376/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27376/comments
https://api.github.com/repos/huggingface/transformers/issues/27376/events
https://github.com/huggingface/transformers/issues/27376
1,984,176,435
I_kwDOCUB6oc52RCEz
27,376
keyerror : mistral (for transformer version = 4.30) and Import Error Using `load_in_8bit=True` requires Accelerate: for transformer version > 4.30
{ "login": "Abhaycnvrg", "id": 107987033, "node_id": "U_kgDOBm_AWQ", "avatar_url": "https://avatars.githubusercontent.com/u/107987033?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Abhaycnvrg", "html_url": "https://github.com/Abhaycnvrg", "followers_url": "https://api.github.com/users/Abh...
[]
closed
false
null
[]
[ "Hi @Abhaycnvrg, thanks for raising this issue! \r\n\r\nFirstly - please change your authentication key and ~remove it from this example~ (I removed it but it will still be in the history)- it should be secret", "We have many requests for help, which we can only attend at a decent pace if you help us too. Could y...
1,699
1,703
1,703
NONE
null
### System Info transformer version : 4.30,4.31,4.34,4.35 python version : 3.11.1, 3.11.5,3.8 ### 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/27376/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27376/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27375
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27375/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27375/comments
https://api.github.com/repos/huggingface/transformers/issues/27375/events
https://github.com/huggingface/transformers/pull/27375
1,984,071,968
PR_kwDOCUB6oc5e88pf
27,375
Update the TF pin for 2.15
{ "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 documentation is not available anymore as the PR was closed or merged._", "Seems to work locally! Marking this as ready for review.", "@ydshieh I didn't know that! It seems to be caused by one of the dependencies being slightly behind - 2.14 is the most recent version, and 2.15 is in RC.\r\n\r\nI'm not su...
1,699
1,700
1,700
MEMBER
null
This PR updates the TF pin to allow TF 2.15. Leaving it as a draft for now while I make sure this doesn't break anything!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27375/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27375/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27375", "html_url": "https://github.com/huggingface/transformers/pull/27375", "diff_url": "https://github.com/huggingface/transformers/pull/27375.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27375.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27374
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27374/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27374/comments
https://api.github.com/repos/huggingface/transformers/issues/27374/events
https://github.com/huggingface/transformers/pull/27374
1,984,063,275
PR_kwDOCUB6oc5e86sl
27,374
translate debugging.md to chinese
{ "login": "jiaqiw09", "id": 60021713, "node_id": "MDQ6VXNlcjYwMDIxNzEz", "avatar_url": "https://avatars.githubusercontent.com/u/60021713?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jiaqiw09", "html_url": "https://github.com/jiaqiw09", "followers_url": "https://api.github.com/users/jia...
[]
closed
false
null
[]
[ "@stevhliu\r\n\r\nhi, here is another pr for debugging doc. I think I can finish this section before next week.\r\n\r\nBest", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27374). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? Part of #26803 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-reques...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27374/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27374/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27374", "html_url": "https://github.com/huggingface/transformers/pull/27374", "diff_url": "https://github.com/huggingface/transformers/pull/27374.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27374.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27373
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27373/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27373/comments
https://api.github.com/repos/huggingface/transformers/issues/27373/events
https://github.com/huggingface/transformers/issues/27373
1,983,968,769
I_kwDOCUB6oc52QPYB
27,373
When using 4.35 to load llama2 and flash attention2 for training, the memory usage has nearly quadrupled
{ "login": "Trangle", "id": 3235116, "node_id": "MDQ6VXNlcjMyMzUxMTY=", "avatar_url": "https://avatars.githubusercontent.com/u/3235116?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Trangle", "html_url": "https://github.com/Trangle", "followers_url": "https://api.github.com/users/Trangle/...
[]
closed
false
null
[]
[ "Hi @Trangle, thanks for raising this issue! \r\n\r\nFor the diff highlighted in the issue, this shouldn't affect the memory consumption of the model. This is just a change in type annotation. \r\n\r\nCould you provide some more details about the setup and what's being observed? Specifically: \r\n* What hardware ar...
1,699
1,704
1,703
NONE
null
### System Info transformers version: 4.35.0 Platform: Ubuntu22.04 Python version: 3.11 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.0+cu121 (True) Tensorflow version (GPU?): not installed (NA) Flax version (CP...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27373/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27373/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27372
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27372/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27372/comments
https://api.github.com/repos/huggingface/transformers/issues/27372/events
https://github.com/huggingface/transformers/pull/27372
1,983,911,859
PR_kwDOCUB6oc5e8ZuJ
27,372
Fix tiny model script: not using `from_pt=True`
{ "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 documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? After #27064, the checkpoint is saved with format `safetensors`. If we specify `from_pretrained("...", from_pt=True)` while the checkpoint is in `safetensors` format, we get error like `invalid load key *\xa0* (or *\xd8* etc.)`. This PR remove the usage of `from_pt=True` and therefore fix ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27372/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27372/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27372", "html_url": "https://github.com/huggingface/transformers/pull/27372", "diff_url": "https://github.com/huggingface/transformers/pull/27372.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27372.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27371
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27371/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27371/comments
https://api.github.com/repos/huggingface/transformers/issues/27371/events
https://github.com/huggingface/transformers/issues/27371
1,983,861,267
I_kwDOCUB6oc52P1IT
27,371
Atrribute Error: 'AlignConfig' object has no attribute 'encoder', 'PoolFormerConfig' object has no attribute 'encoder'.
{ "login": "PriyaBSavithiri", "id": 104089347, "node_id": "U_kgDOBjRHAw", "avatar_url": "https://avatars.githubusercontent.com/u/104089347?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PriyaBSavithiri", "html_url": "https://github.com/PriyaBSavithiri", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi @PriyaBSavithiri, thanks for opening an issue! \r\n\r\nAs noted in the warning message, Hugging Face Benchmarking utilis are deprecated and we are no longer actively maintaining them. To benchmark models, please use external benchmarking libraries. ", "Thanks for the update @amyeroberts . I understand the dep...
1,699
1,702
1,702
NONE
null
Hi! I am using python==3.10, torch==1.13.0+cpu, transformers==4.35.0. I am trying to (cpu)benchmark the transformer models in pytorch framework using the command: `python run_benchmark.py --models kakaobrain/align-base --batch_sizes 1 --sequence_lengths 384` when I execute the command, am getting the atrribute e...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27371/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27371/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27370
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27370/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27370/comments
https://api.github.com/repos/huggingface/transformers/issues/27370/events
https://github.com/huggingface/transformers/issues/27370
1,983,745,146
I_kwDOCUB6oc52PYx6
27,370
Missing generation token for zephyr-beta
{ "login": "dt-ahmed-touila", "id": 28984325, "node_id": "MDQ6VXNlcjI4OTg0MzI1", "avatar_url": "https://avatars.githubusercontent.com/u/28984325?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dt-ahmed-touila", "html_url": "https://github.com/dt-ahmed-touila", "followers_url": "https://api...
[]
closed
false
null
[]
[ "cc @Rocketknight1 ", "cc @lewtun to this one, I think he wrote the chat template for Zephyr-beta!", "Wait, no, my mistake! The issue is just that your version of `transformers` is slightly out of date @dt-ahmed-touila, and `add_generation_prompt` was only added in 4.35. Please `pip install --upgrade transforme...
1,699
1,699
1,699
NONE
null
### System Info transformers version: 4.34.0 tokenizers version: 0.14.1 Platform: macOS 13.5.1 Python version: 3.8.10 huggingface-hub version: 0.17.3 PyTorch version(GPU?): 2.0.1 (False) Tensorflow version (GPU?): not installed (NA) Flax version (CPU?/GPU?/TPU?): not installed (NA) Jax version: not installed ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27370/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27370/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27369
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27369/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27369/comments
https://api.github.com/repos/huggingface/transformers/issues/27369/events
https://github.com/huggingface/transformers/pull/27369
1,983,707,931
PR_kwDOCUB6oc5e7tnO
27,369
Solve dimension mismatch error between input_embeds and embed_pos
{ "login": "MorenoLaQuatra", "id": 10062811, "node_id": "MDQ6VXNlcjEwMDYyODEx", "avatar_url": "https://avatars.githubusercontent.com/u/10062811?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MorenoLaQuatra", "html_url": "https://github.com/MorenoLaQuatra", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "It's literally 1-line change to avoid padding to 30s each time, can it be merged? @sanchit-gandhi", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow...
1,699
1,703
1,703
CONTRIBUTOR
null
When generating with WhisperForConditionalGeneration and specifying max_length, padding and truncation, a mismatch can occur between the input length after preprocessing and the size of the positional embedding tensor. This minimal change ensures the positional embeddings fit the input dimensions, avoiding the size ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27369/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27369/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27369", "html_url": "https://github.com/huggingface/transformers/pull/27369", "diff_url": "https://github.com/huggingface/transformers/pull/27369.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27369.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27368
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27368/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27368/comments
https://api.github.com/repos/huggingface/transformers/issues/27368/events
https://github.com/huggingface/transformers/issues/27368
1,983,665,546
I_kwDOCUB6oc52PFWK
27,368
`input_embeds` - `embed_pos` dimension mismatch when using `max_length` in Whisper (v3) model
{ "login": "MorenoLaQuatra", "id": 10062811, "node_id": "MDQ6VXNlcjEwMDYyODEx", "avatar_url": "https://avatars.githubusercontent.com/u/10062811?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MorenoLaQuatra", "html_url": "https://github.com/MorenoLaQuatra", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hello, sorry for the late reply, this is a duplicate of #25744! 🤗 ", "The Whisper model is trained on a context of fixed size (30 seconds = 1500 spectrogram frames = default max spectrogram length). It will give you gibberish if you go beyond this, since the embeddings will be randomly initialised. If you go be...
1,699
1,701
1,701
CONTRIBUTOR
null
### System Info - `transformers` version: 4.35.0 - Platform: Linux-6.2.0-36-generic-x86_64-with-glibc2.35 - Python version: 3.10.9 - Huggingface_hub version: 0.17.3 - Safetensors version: 0.4.0 - Accelerate version: 0.24.1 - Accelerate config: not found - PyTorch version (GPU?): 2.0.0+cu118 (True) - Tensorf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27368/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27368/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27367
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27367/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27367/comments
https://api.github.com/repos/huggingface/transformers/issues/27367/events
https://github.com/huggingface/transformers/pull/27367
1,983,665,458
PR_kwDOCUB6oc5e7kTr
27,367
test
{ "login": "ready-research", "id": 72916209, "node_id": "MDQ6VXNlcjcyOTE2MjA5", "avatar_url": "https://avatars.githubusercontent.com/u/72916209?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ready-research", "html_url": "https://github.com/ready-research", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "my mistake" ]
1,699
1,699
1,699
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/27367/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27367/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27367", "html_url": "https://github.com/huggingface/transformers/pull/27367", "diff_url": "https://github.com/huggingface/transformers/pull/27367.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27367.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27366
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27366/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27366/comments
https://api.github.com/repos/huggingface/transformers/issues/27366/events
https://github.com/huggingface/transformers/pull/27366
1,983,641,131
PR_kwDOCUB6oc5e7e8X
27,366
Put doctest options back to `pyproject.toml`
{ "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
[]
[ "Need to check run results: https://github.com/huggingface/transformers/actions/runs/6799119065", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? Put doctest options back to `pyproject.toml`. Fix #27345 Checked with a run https://github.com/huggingface/transformers/actions/runs/6800607292. The list of failing doctests is the same as before, so we are good with this change.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27366/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27366/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27366", "html_url": "https://github.com/huggingface/transformers/pull/27366", "diff_url": "https://github.com/huggingface/transformers/pull/27366.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27366.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27365
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27365/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27365/comments
https://api.github.com/repos/huggingface/transformers/issues/27365/events
https://github.com/huggingface/transformers/issues/27365
1,983,612,421
I_kwDOCUB6oc52O4YF
27,365
dev-ai
{ "login": "devgupta6", "id": 60378190, "node_id": "MDQ6VXNlcjYwMzc4MTkw", "avatar_url": "https://avatars.githubusercontent.com/u/60378190?v=4", "gravatar_id": "", "url": "https://api.github.com/users/devgupta6", "html_url": "https://github.com/devgupta6", "followers_url": "https://api.github.com/users/...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
null
[]
[ "Hi @devgupta6, thanks for opening an issue! \r\n\r\nThe easiest and recommended way to make a model available in `transformers` is to add the modeling code directly on the hub: https://huggingface.co/docs/transformers/custom_models. Here is a more general guide on adding models: https://huggingface.co/docs/transfo...
1,699
1,699
null
NONE
null
### Model description It a generative artifical intelligence model. I have the architecture ready but I am facing the problem to interagte it with transformer architure. It would be great if you provide me assistance with this. ### Open source status - [X] The model implementation is available - [ ] The model weight...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27365/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27365/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27364
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27364/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27364/comments
https://api.github.com/repos/huggingface/transformers/issues/27364/events
https://github.com/huggingface/transformers/pull/27364
1,983,589,963
PR_kwDOCUB6oc5e7TqH
27,364
Add Flash Attention 2 support to Bark
{ "login": "ylacombe", "id": 52246514, "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylacombe", "html_url": "https://github.com/ylacombe", "followers_url": "https://api.github.com/users/yla...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for the quick review, I've addressed your comments :hugs: ", "Merging ! thanks for the quick reviews!" ]
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? Following a recent series of PRs and issues to improve Bark, this PR aims to add FA2 support to Bark. Bark self-attention class supports both causal and non-causal attention but otherwise changes are minimal. I've also taken the opportunity to switch to `_prepare_4d_attention_mask` inste...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27364/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27364/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27364", "html_url": "https://github.com/huggingface/transformers/pull/27364", "diff_url": "https://github.com/huggingface/transformers/pull/27364.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27364.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27363
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27363/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27363/comments
https://api.github.com/repos/huggingface/transformers/issues/27363/events
https://github.com/huggingface/transformers/issues/27363
1,983,556,766
I_kwDOCUB6oc52Oqye
27,363
Whisper Large v3 Flax
{ "login": "peregilk", "id": 9079808, "node_id": "MDQ6VXNlcjkwNzk4MDg=", "avatar_url": "https://avatars.githubusercontent.com/u/9079808?v=4", "gravatar_id": "", "url": "https://api.github.com/users/peregilk", "html_url": "https://github.com/peregilk", "followers_url": "https://api.github.com/users/pereg...
[]
closed
false
null
[]
[]
1,699
1,699
1,699
CONTRIBUTOR
null
### System Info Latest. installed from source. ### Who can help? @sanchit-gandhi Num_mel_bins are hardcoded in class [FlaxWhisperPreTrainedModel](https://github.com/huggingface/transformers/blob/b6dbfee0a21d333447b47887dbe2cb87720ebfd0/src/transformers/models/whisper/modeling_flax_whisper.py#L870) Since num_m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27363/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27363/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27362
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27362/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27362/comments
https://api.github.com/repos/huggingface/transformers/issues/27362/events
https://github.com/huggingface/transformers/issues/27362
1,983,515,090
I_kwDOCUB6oc52OgnS
27,362
Mismatched dimensions error when using beam_size != 1 and return_timestamps="word" for AutomaticSpeechRecognitionPipeline with Whisper
{ "login": "nestormh", "id": 4995707, "node_id": "MDQ6VXNlcjQ5OTU3MDc=", "avatar_url": "https://avatars.githubusercontent.com/u/4995707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nestormh", "html_url": "https://github.com/nestormh", "followers_url": "https://api.github.com/users/nesto...
[]
closed
false
null
[]
[ "cc @sanchit-gandhi and @ylacombe ", "Taking a look, thanks for taking the time to describe the issue! The code is not working though!", "I believe this PR is taking care of this: #26699\r\n\r\n(#28007 refers to the same issue)", "Thanks!" ]
1,699
1,703
1,703
NONE
null
### System Info - `transformers` version: 4.33.3 - Platform: Linux-5.15.0-88-generic-x86_64-with-glibc2.31 - Python version: 3.9.18 - Huggingface_hub version: 0.17.3 - Safetensors version: 0.3.3 - Accelerate version: 0.23.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tens...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27362/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/27362/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27361
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27361/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27361/comments
https://api.github.com/repos/huggingface/transformers/issues/27361/events
https://github.com/huggingface/transformers/issues/27361
1,983,425,371
I_kwDOCUB6oc52OKtb
27,361
Add how to preprocess mask for finetuning with SAM
{ "login": "rwood-97", "id": 72076688, "node_id": "MDQ6VXNlcjcyMDc2Njg4", "avatar_url": "https://avatars.githubusercontent.com/u/72076688?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rwood-97", "html_url": "https://github.com/rwood-97", "followers_url": "https://api.github.com/users/rwo...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" }, { "id": 5769473378, ...
closed
false
null
[]
[ "Hi @rwood-97, thanks for raising this issue! \r\n\r\nAgreed - being able to pass in the masks to the image processor would be ideal! Feel free to ping me on a PR for review if you'd like to open one :) " ]
1,699
1,704
1,704
CONTRIBUTOR
null
### Feature request The [SAM image processor](https://github.com/huggingface/transformers/blob/main/src/transformers/models/sam/image_processing_sam.py) takes images as input and resizes them so that the longest edge is 1024 (using default values). This is the size expect as input fo the SAM model. For inference, th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27361/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27361/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27360
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27360/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27360/comments
https://api.github.com/repos/huggingface/transformers/issues/27360/events
https://github.com/huggingface/transformers/pull/27360
1,983,416,711
PR_kwDOCUB6oc5e6sy5
27,360
[Flax Whisper] large-v3 compatibility
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? Fixes #27363. Whisper large-v3 uses 128 log-mel bins, instead of 80 for previous Whisper checkpoints. This changes the shape of the input tensors to the model. For the JAX trace to work when initialising the weights, we need to set the input shape correctly based on the model dims.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27360/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27360/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27360", "html_url": "https://github.com/huggingface/transformers/pull/27360", "diff_url": "https://github.com/huggingface/transformers/pull/27360.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27360.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27359
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27359/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27359/comments
https://api.github.com/repos/huggingface/transformers/issues/27359/events
https://github.com/huggingface/transformers/pull/27359
1,982,952,332
PR_kwDOCUB6oc5e5Gcs
27,359
[`CodeLlamaTokenizer`] Nit, update __init__ to make sure the AddedTokens are not normalized because they are special
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? Bridges the gap between the slow and fast version follow the updates in #26570 (similar updates were done to Llama)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27359/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27359/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27359", "html_url": "https://github.com/huggingface/transformers/pull/27359", "diff_url": "https://github.com/huggingface/transformers/pull/27359.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27359.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27358
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27358/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27358/comments
https://api.github.com/repos/huggingface/transformers/issues/27358/events
https://github.com/huggingface/transformers/pull/27358
1,982,911,577
PR_kwDOCUB6oc5e49mD
27,358
Smangrul/fix failing ds ci tests
{ "login": "pacman100", "id": 13534540, "node_id": "MDQ6VXNlcjEzNTM0NTQw", "avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pacman100", "html_url": "https://github.com/pacman100", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? 1. Currently 2 DeepSpeed tests are failing with the error `E AssertionError: False is not true : [zero3] /tmp/tmp5ddklgb9/checkpoint-5/pytorch_model.bin is not found`. This is because of the recent change of switching to `safetensors` as a default. This PR fixes the concerned tests.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27358/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27358/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27358", "html_url": "https://github.com/huggingface/transformers/pull/27358", "diff_url": "https://github.com/huggingface/transformers/pull/27358.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27358.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27357
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27357/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27357/comments
https://api.github.com/repos/huggingface/transformers/issues/27357/events
https://github.com/huggingface/transformers/pull/27357
1,982,722,290
PR_kwDOCUB6oc5e4T4n
27,357
Replaced residual + hidden_states with torch.add(residual, hidden_states) to improve memory allocation.
{ "login": "philrwebb", "id": 6821955, "node_id": "MDQ6VXNlcjY4MjE5NTU=", "avatar_url": "https://avatars.githubusercontent.com/u/6821955?v=4", "gravatar_id": "", "url": "https://api.github.com/users/philrwebb", "html_url": "https://github.com/philrwebb", "followers_url": "https://api.github.com/users/ph...
[]
closed
false
null
[]
[ "Hi @philrwebb - thanks for opening a PR! \r\n\r\nCould you remove all of the formatting changes (splitting across lines) from the diff so that we can more easily review and assess the proposed changes? ", "This issue has been automatically marked as stale because it has not had recent activity. If you think this...
1,699
1,702
1,702
NONE
null
replaced tensor1 + tensor2 with torch.add(tensor1, tensor2) because the latter only allocates memory for output tensor. The tensor in question were hidden_states and residual. This was blowing up a google colab TPU out of memory. # What does this PR do? <!-- Congratulations! You've made it this far! You're n...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27357/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27357/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27357", "html_url": "https://github.com/huggingface/transformers/pull/27357", "diff_url": "https://github.com/huggingface/transformers/pull/27357.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27357.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27356
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27356/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27356/comments
https://api.github.com/repos/huggingface/transformers/issues/27356/events
https://github.com/huggingface/transformers/issues/27356
1,982,571,554
I_kwDOCUB6oc52K6Qi
27,356
Oneformer model exception on forward pass
{ "login": "nickponline", "id": 590151, "node_id": "MDQ6VXNlcjU5MDE1MQ==", "avatar_url": "https://avatars.githubusercontent.com/u/590151?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nickponline", "html_url": "https://github.com/nickponline", "followers_url": "https://api.github.com/user...
[]
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...
[ "@amyeroberts do you know if I'm missing something. Thank for the help", "Hi @nickponline I finally had the time to look into OneFormer.\r\n\r\nUploaded a demo notebook regarding fine-tuning here: https://github.com/NielsRogge/Transformers-Tutorials/blob/master/OneFormer/Fine_tune_OneFormer_for_semantic_segmentat...
1,699
1,707
null
NONE
null
### System Info - `transformers` version: 4.35.0.dev0 - Platform: macOS-13.4-arm64-arm-64bit - Python version: 3.10.6 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.2 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.1.0 (False) - Tensorflow version ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27356/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27356/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27355
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27355/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27355/comments
https://api.github.com/repos/huggingface/transformers/issues/27355/events
https://github.com/huggingface/transformers/pull/27355
1,982,569,641
PR_kwDOCUB6oc5e3yuH
27,355
Update deprecated torch.range in tests/models/ibert/test_modeling_ibert.py
{ "login": "kit1980", "id": 420184, "node_id": "MDQ6VXNlcjQyMDE4NA==", "avatar_url": "https://avatars.githubusercontent.com/u/420184?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kit1980", "html_url": "https://github.com/kit1980", "followers_url": "https://api.github.com/users/kit1980/fo...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27355). All of your documentation changes will be reflected on that endpoint.", "@ydshieh I've removed the commented out line." ]
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? `torch.range` is deprecated since PyTorch 0.4 and will be removed in a future PyTorch release. This PR updates it to `torch.arange`. Fixed with TorchFix https://github.com/pytorch/test-infra/tree/main/tools/torchfix ## Before submitting - [ ] This PR fixes a typo or improves the docs (y...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27355/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27355/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27355", "html_url": "https://github.com/huggingface/transformers/pull/27355", "diff_url": "https://github.com/huggingface/transformers/pull/27355.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27355.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27354
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27354/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27354/comments
https://api.github.com/repos/huggingface/transformers/issues/27354/events
https://github.com/huggingface/transformers/pull/27354
1,982,227,194
PR_kwDOCUB6oc5e2nKm
27,354
Remove unused param from example script tests
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? Removes a very old and unused param in the example script tests (`--fp16`) that wasn't ever really *part* of the example scripts, I think it was just a bad copy/paste when writing the tests potentially. Fixes # (issue) A few tests that were giving notice of weird args/params being pass...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27354/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27354/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27354", "html_url": "https://github.com/huggingface/transformers/pull/27354", "diff_url": "https://github.com/huggingface/transformers/pull/27354.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27354.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27353
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27353/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27353/comments
https://api.github.com/repos/huggingface/transformers/issues/27353/events
https://github.com/huggingface/transformers/pull/27353
1,982,146,075
PR_kwDOCUB6oc5e2VI7
27,353
Fix example tests from failing
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> inputs to the accelerate tests to align with the ones in the pytorch tests\r\n\r\nJust wondering where the is target of alignment (i.e. the pytorch tests). Otherwise, looks good to me as I trust you that the update makes sense (due...
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? This PR tweaks the inputs to the accelerate tests to align with the ones in the pytorch tests, which was causing test failures. (Plus some fixes in Accelerate main) ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27353/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27353/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27353", "html_url": "https://github.com/huggingface/transformers/pull/27353", "diff_url": "https://github.com/huggingface/transformers/pull/27353.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27353.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27352
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27352/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27352/comments
https://api.github.com/repos/huggingface/transformers/issues/27352/events
https://github.com/huggingface/transformers/pull/27352
1,982,011,555
PR_kwDOCUB6oc5e13oC
27,352
Adds dvclive callback
{ "login": "dberenbaum", "id": 2308172, "node_id": "MDQ6VXNlcjIzMDgxNzI=", "avatar_url": "https://avatars.githubusercontent.com/u/2308172?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dberenbaum", "html_url": "https://github.com/dberenbaum", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27352). All of your documentation changes will be reflected on that endpoint.", "> There was a recent update which addressed the currently (unrelated) failing tests. Could you rebase on main to resolve these?\r\n\r\nDone\r\...
1,699
1,700
1,699
CONTRIBUTOR
null
# What does this PR do? Adds a [DVCLive](https://dvc.org/doc/dvclive) callback. DVCLive is a logger for [DVC](https://dvc.org), which version data, models, metrics, etc. and keeps them connected to your Git repo. They can then be visualized in several different interfaces. For example, here is the output of [example...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27352/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27352/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27352", "html_url": "https://github.com/huggingface/transformers/pull/27352", "diff_url": "https://github.com/huggingface/transformers/pull/27352.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27352.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27351
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27351/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27351/comments
https://api.github.com/repos/huggingface/transformers/issues/27351/events
https://github.com/huggingface/transformers/pull/27351
1,981,876,099
PR_kwDOCUB6oc5e1aCc
27,351
🚨🚨 Fix beam score calculation issue for decoder-only models
{ "login": "VsonicV", "id": 23429580, "node_id": "MDQ6VXNlcjIzNDI5NTgw", "avatar_url": "https://avatars.githubusercontent.com/u/23429580?v=4", "gravatar_id": "", "url": "https://api.github.com/users/VsonicV", "html_url": "https://github.com/VsonicV", "followers_url": "https://api.github.com/users/Vsonic...
[]
closed
false
null
[]
[ "@gante This commit is only for fixing `beam_search`. If you think the fix is good to go, I can also apply the same fix to `beam_sample`, `group_beam_search` and `constrained_beam_search`.", "@gante I think the current tests regarding `beam_search` are using the results generated by previous \"buggy\" version, s...
1,699
1,704
1,700
CONTRIBUTOR
null
# What does this PR do? This PR fixes issue #26624 . In the original implementation of beam search, the beam score for decoder-only models is normalized by the total length of both prompt and generated sequence. However, the length of prompt should not be included in the normalization step. This issue would cause an...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27351/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27351/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27351", "html_url": "https://github.com/huggingface/transformers/pull/27351", "diff_url": "https://github.com/huggingface/transformers/pull/27351.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27351.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27349
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27349/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27349/comments
https://api.github.com/repos/huggingface/transformers/issues/27349/events
https://github.com/huggingface/transformers/pull/27349
1,981,791,058
PR_kwDOCUB6oc5e1HXe
27,349
[`Whisper`] Nit converting the tokenizer
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Sure, I can add one tomorrow 😉 " ]
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? Use `nospeech` instead of `nocaption`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27349/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27349/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27349", "html_url": "https://github.com/huggingface/transformers/pull/27349", "diff_url": "https://github.com/huggingface/transformers/pull/27349.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27349.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27348
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27348/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27348/comments
https://api.github.com/repos/huggingface/transformers/issues/27348/events
https://github.com/huggingface/transformers/pull/27348
1,981,731,728
PR_kwDOCUB6oc5e06bs
27,348
Remove padding_masks from `gpt_bigcode`.
{ "login": "susnato", "id": 56069179, "node_id": "MDQ6VXNlcjU2MDY5MTc5", "avatar_url": "https://avatars.githubusercontent.com/u/56069179?v=4", "gravatar_id": "", "url": "https://api.github.com/users/susnato", "html_url": "https://github.com/susnato", "followers_url": "https://api.github.com/users/susnat...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27348). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,699
1,699
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/27348/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27348/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27348", "html_url": "https://github.com/huggingface/transformers/pull/27348", "diff_url": "https://github.com/huggingface/transformers/pull/27348.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27348.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27347
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27347/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27347/comments
https://api.github.com/repos/huggingface/transformers/issues/27347/events
https://github.com/huggingface/transformers/pull/27347
1,981,692,353
PR_kwDOCUB6oc5e0xxU
27,347
Resolve AttributeError by utilizing device calculation at the start of the forward function
{ "login": "folbaeni", "id": 46280006, "node_id": "MDQ6VXNlcjQ2MjgwMDA2", "avatar_url": "https://avatars.githubusercontent.com/u/46280006?v=4", "gravatar_id": "", "url": "https://api.github.com/users/folbaeni", "html_url": "https://github.com/folbaeni", "followers_url": "https://api.github.com/users/fol...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27347). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? This commit addresses the 'NoneType' object AttributeError within the IdeficsModel forward function. Previously, the 'device' attribute was accessed directly from input_ids, resulting in a potential 'NoneType' error. Now, the device is taken by the one properly calculated at the beginning of ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27347/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27347/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27347", "html_url": "https://github.com/huggingface/transformers/pull/27347", "diff_url": "https://github.com/huggingface/transformers/pull/27347.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27347.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27346
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27346/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27346/comments
https://api.github.com/repos/huggingface/transformers/issues/27346/events
https://github.com/huggingface/transformers/pull/27346
1,981,687,995
PR_kwDOCUB6oc5e0w0a
27,346
Fix `Kosmos-2` device issue
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Merge this now, but feel free to drop your insights if any @muellerzr 🙏 ", "Hey @ydshieh, I had to do the same thing for [fuyu](https://github.com/huggingface/transformers/pull/26949#discussion_r1369058114) when I added the `devic...
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? Fix device issues in Kosmos-2 Fix #27301
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27346/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27346/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27346", "html_url": "https://github.com/huggingface/transformers/pull/27346", "diff_url": "https://github.com/huggingface/transformers/pull/27346.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27346.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27345
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27345/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27345/comments
https://api.github.com/repos/huggingface/transformers/issues/27345/events
https://github.com/huggingface/transformers/issues/27345
1,981,637,965
I_kwDOCUB6oc52HWVN
27,345
pyproject pytest config
{ "login": "diegovalenzuelaiturra", "id": 34951638, "node_id": "MDQ6VXNlcjM0OTUxNjM4", "avatar_url": "https://avatars.githubusercontent.com/u/34951638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/diegovalenzuelaiturra", "html_url": "https://github.com/diegovalenzuelaiturra", "followers_...
[]
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...
[ "cc @ydshieh ", "@diegovalenzuelaiturra Thank you a lot!\r\n\r\nI opened a draft PR #27366: we need to check if everything still run as expected. ", "Reference: https://docs.pytest.org/en/stable/reference/customize.html" ]
1,699
1,699
1,699
NONE
null
probably `[tool.pytest.ini_options]` instead of `[tool.pytest]` https://github.com/huggingface/transformers/blob/88832c01c8a962b653874c4ce4ed8df5783ac5cd/pyproject.toml#L21-L23
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27345/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27345/timeline
completed
null
null