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/27344
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27344/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27344/comments
https://api.github.com/repos/huggingface/transformers/issues/27344/events
https://github.com/huggingface/transformers/pull/27344
1,981,545,602
PR_kwDOCUB6oc5e0Ro6
27,344
[WIP] script to fine tune CLIPSeg
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27344). 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,702
1,702
CONTRIBUTOR
null
# What does this PR do? This PR aims to include a tutorial on how to fune tune clipseg model. Fixes #24494 ## Before submitting - [ ] 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/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27344/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27344/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27344", "html_url": "https://github.com/huggingface/transformers/pull/27344", "diff_url": "https://github.com/huggingface/transformers/pull/27344.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27344.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27343
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27343/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27343/comments
https://api.github.com/repos/huggingface/transformers/issues/27343/events
https://github.com/huggingface/transformers/issues/27343
1,981,500,131
I_kwDOCUB6oc52G0rj
27,343
IDEFICS AttributeError: 'NoneType' object has no attribute 'device' when calling forward with inputs_embeds and image_encoder_embeddings
{ "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
[]
[ "Hey! Could you share the full reproducer please? 🤗 " ]
1,699
1,699
1,699
CONTRIBUTOR
null
### System Info - `transformers` version: 4.35.0.dev0 - Platform: Linux-6.1.0-10-amd64-x86_64-with-glibc2.36 - Python version: 3.10.8 - Huggingface_hub version: 0.17.3 - Safetensors version: 0.4.0 - Accelerate version: 0.24.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tens...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27343/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27343/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27342
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27342/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27342/comments
https://api.github.com/repos/huggingface/transformers/issues/27342/events
https://github.com/huggingface/transformers/pull/27342
1,981,231,118
PR_kwDOCUB6oc5ezMDw
27,342
device-agnostic deepspeed testing
{ "login": "statelesshz", "id": 28150734, "node_id": "MDQ6VXNlcjI4MTUwNzM0", "avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/statelesshz", "html_url": "https://github.com/statelesshz", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Verified with Ascend NPU via the following `spec.py` file:\r\n```python\r\nimport torch\r\nimport torch_npu\r\n# !! Further additional imports can be added here !!\r\n# Specify the device name (eg. 'cuda', 'cpu', 'npu')\r\nDEVICE_NAME = 'npu:0'\r\n# Specify device-specific backends to dispatch to.\r\n# If not spec...
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? Part of https://github.com/huggingface/transformers/issues/25654#issuecomment-1783704306 ## 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/huggingfa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27342/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27342/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27342", "html_url": "https://github.com/huggingface/transformers/pull/27342", "diff_url": "https://github.com/huggingface/transformers/pull/27342.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27342.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27341
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27341/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27341/comments
https://api.github.com/repos/huggingface/transformers/issues/27341/events
https://github.com/huggingface/transformers/issues/27341
1,981,229,177
I_kwDOCUB6oc52Fyh5
27,341
Generate: should `softmax` be upcasted to `.float()`?
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[ { "id": 2392046359, "node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue", "name": "Good Second Issue", "color": "dd935a", "default": false, "description": "Issues that are more difficult to do than \"Good First...
closed
false
null
[]
[ "Note: According to this [issue](https://github.com/pytorch/pytorch/pull/103167#issuecomment-1583326602), PyTorch already uses 32 bit accumulation under the hood. \r\n\r\nIf true, we can do the opposite -- remove all manual casts to `torch.float32`", "Hi @gante I would love to take up this issue.", "Hey @nandwa...
1,699
1,707
1,701
MEMBER
null
I am looking for a contributor to do some numerical exploration across models! 💛 ### Context Some operations are notoriously unstable at lower precisions, such as the `softmax`. In fact, in the models' attention layers, we often force the `softmax` operation to run in 32-bit FP precision ([example](https://github...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27341/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27341/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27340
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27340/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27340/comments
https://api.github.com/repos/huggingface/transformers/issues/27340/events
https://github.com/huggingface/transformers/pull/27340
1,981,000,356
PR_kwDOCUB6oc5eyZqj
27,340
Add discriminator to vits
{ "login": "ylacombe", "id": 52246514, "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylacombe", "html_url": "https://github.com/ylacombe", "followers_url": "https://api.github.com/users/yla...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27340). 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,704
1,704
COLLABORATOR
null
# What does this PR do? Vits is a TTS model that have been supported in HF for a few months now. MMS-tts, Meta's models on a thousand languages, also uses VITS architecture. Vits is a peculiar model, a GAN, a VAE a flow-based, all at the same time. To train it, one needs a discriminator, which this PR adds to Tra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27340/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27340/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27340", "html_url": "https://github.com/huggingface/transformers/pull/27340", "diff_url": "https://github.com/huggingface/transformers/pull/27340.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27340.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27339
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27339/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27339/comments
https://api.github.com/repos/huggingface/transformers/issues/27339/events
https://github.com/huggingface/transformers/pull/27339
1,980,986,600
PR_kwDOCUB6oc5eyWnS
27,339
Fix autoawq docker image
{ "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_27339). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? Fixes AWQ-related failing tests in: https://github.com/huggingface/transformers/actions/runs/6779219624/job/18426184991 Autoawq recently made a release that distributed pre-compiled kernels on CUDA 12.2. Our VM support CUDA 11.8 As we were testing everything before that release, we need to ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27339/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27339/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27339", "html_url": "https://github.com/huggingface/transformers/pull/27339", "diff_url": "https://github.com/huggingface/transformers/pull/27339.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27339.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27338
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27338/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27338/comments
https://api.github.com/repos/huggingface/transformers/issues/27338/events
https://github.com/huggingface/transformers/pull/27338
1,980,921,791
PR_kwDOCUB6oc5eyIVW
27,338
[`Whisper`] Add conversion script for 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._", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27338). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,699
1,699
COLLABORATOR
null
# What does this PR do? Aligned with #27336 this PR adds the conversion of the tokenizer form `tiktoken` to `transformers`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27338/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27338/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27338", "html_url": "https://github.com/huggingface/transformers/pull/27338", "diff_url": "https://github.com/huggingface/transformers/pull/27338.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27338.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27337
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27337/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27337/comments
https://api.github.com/repos/huggingface/transformers/issues/27337/events
https://github.com/huggingface/transformers/pull/27337
1,980,882,516
PR_kwDOCUB6oc5ex_yC
27,337
moving example of benchmarking to legacy dir
{ "login": "statelesshz", "id": 28150734, "node_id": "MDQ6VXNlcjI4MTUwNzM0", "avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/statelesshz", "html_url": "https://github.com/statelesshz", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Agree! Wdyt @ArthurZucker ", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27337). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? Since benchmarking tools was deprecated by https://github.com/huggingface/transformers/pull/15848, I think it is more appropriate to put the corresponding examples in the legacy directory :-). WDYT @patrickvonplaten @LysandreJik
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27337/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27337/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27337", "html_url": "https://github.com/huggingface/transformers/pull/27337", "diff_url": "https://github.com/huggingface/transformers/pull/27337.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27337.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27336
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27336/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27336/comments
https://api.github.com/repos/huggingface/transformers/issues/27336/events
https://github.com/huggingface/transformers/pull/27336
1,980,735,428
PR_kwDOCUB6oc5exgAV
27,336
[Whisper] Add `large-v3` version support
{ "login": "flyingleafe", "id": 1803963, "node_id": "MDQ6VXNlcjE4MDM5NjM=", "avatar_url": "https://avatars.githubusercontent.com/u/1803963?v=4", "gravatar_id": "", "url": "https://api.github.com/users/flyingleafe", "html_url": "https://github.com/flyingleafe", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Thanks, this can be extremely helpful!", "@ArthurZucker Thanks! Did not see the download fixing PR, and you were quite fast with tokenizer support, congrats)\r\nExcept for the tokenizer, the feature extractor parameters should also be fetched and exported, esp. given that `v3` uses a different number of melbanks...
1,699
1,705
1,700
CONTRIBUTOR
null
# What does this PR do? Adds the ability to download and convert the fresh `large-v3` version of Whisper (https://github.com/openai/whisper/pull/1761/files). Closes #27331. The usage of `_download` method in `convert_openai_to_hf.py` turned out to be broken, that was fixed. I also plan to add the processor (fea...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27336/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27336/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27336", "html_url": "https://github.com/huggingface/transformers/pull/27336", "diff_url": "https://github.com/huggingface/transformers/pull/27336.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27336.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27335
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27335/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27335/comments
https://api.github.com/repos/huggingface/transformers/issues/27335/events
https://github.com/huggingface/transformers/pull/27335
1,980,681,676
PR_kwDOCUB6oc5exUOr
27,335
OpenAI to HF: Add large-v3 to conversion script
{ "login": "jstoone", "id": 1711456, "node_id": "MDQ6VXNlcjE3MTE0NTY=", "avatar_url": "https://avatars.githubusercontent.com/u/1711456?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jstoone", "html_url": "https://github.com/jstoone", "followers_url": "https://api.github.com/users/jstoone/...
[]
closed
false
null
[]
[ "I've converted PR to draft, as I'm currently getting the following exception:\r\n```\r\nTraceback (most recent call last):\r\n File \"/Users/jstoone/Sites/huggingface/transformers/src/transformers/models/whisper/convert_openai_to_hf.py\", line 185, in <module>\r\n convert_openai_whisper_to_tfms(args.checkpoint...
1,699
1,699
1,699
NONE
null
# What does this PR do? It adds the new large-v3 to the script which converts OpenAI model to HF. The URL is copied from the PR releasing large-v3: https://github.com/openai/whisper/pull/1761 I can't find any tests related to the conversion script, so I've gone ahead and skipped that. Let me know, if I've missed...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27335/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27335/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27335", "html_url": "https://github.com/huggingface/transformers/pull/27335", "diff_url": "https://github.com/huggingface/transformers/pull/27335.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27335.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27334
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27334/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27334/comments
https://api.github.com/repos/huggingface/transformers/issues/27334/events
https://github.com/huggingface/transformers/pull/27334
1,980,571,030
PR_kwDOCUB6oc5ew8Hr
27,334
translate big_models.md and performance.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, I will translate `Performance and scalability` part next.\r\n\r\nFor the possible merge conflict, I will fix it later after another pr merged. \r\n\r\nBest", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27334). All of your documentation changes w...
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/27334/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27334/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27334", "html_url": "https://github.com/huggingface/transformers/pull/27334", "diff_url": "https://github.com/huggingface/transformers/pull/27334.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27334.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27333
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27333/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27333/comments
https://api.github.com/repos/huggingface/transformers/issues/27333/events
https://github.com/huggingface/transformers/pull/27333
1,980,539,859
PR_kwDOCUB6oc5ew1kb
27,333
[fix] bug about label padding in data collator for seq2seq
{ "login": "cs-wangchong", "id": 17706003, "node_id": "MDQ6VXNlcjE3NzA2MDAz", "avatar_url": "https://avatars.githubusercontent.com/u/17706003?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cs-wangchong", "html_url": "https://github.com/cs-wangchong", "followers_url": "https://api.github.c...
[]
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
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/27333/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27333/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27333", "html_url": "https://github.com/huggingface/transformers/pull/27333", "diff_url": "https://github.com/huggingface/transformers/pull/27333.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27333.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27332
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27332/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27332/comments
https://api.github.com/repos/huggingface/transformers/issues/27332/events
https://github.com/huggingface/transformers/issues/27332
1,980,460,013
I_kwDOCUB6oc52C2vt
27,332
Early stopping can not save best model at last
{ "login": "ILG2021", "id": 93691919, "node_id": "U_kgDOBZWgDw", "avatar_url": "https://avatars.githubusercontent.com/u/93691919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ILG2021", "html_url": "https://github.com/ILG2021", "followers_url": "https://api.github.com/users/ILG2021/follow...
[]
open
false
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[ { "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api...
[ "cc @muellerzr ", "Hi @ILG2021, what is in `trainer.args`?" ]
1,699
1,707
null
NONE
null
### System Info - `transformers` version: 4.35.0 - Platform: Linux-5.15.0-88-generic-x86_64-with-glibc2.31 - Python version: 3.10.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.0.1 (True) - Tensorflow ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27332/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27332/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27331
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27331/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27331/comments
https://api.github.com/repos/huggingface/transformers/issues/27331/events
https://github.com/huggingface/transformers/issues/27331
1,980,420,148
I_kwDOCUB6oc52CtA0
27,331
Add OpenAI Whisper Large-v3 weights
{ "login": "gau-nernst", "id": 26946864, "node_id": "MDQ6VXNlcjI2OTQ2ODY0", "avatar_url": "https://avatars.githubusercontent.com/u/26946864?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gau-nernst", "html_url": "https://github.com/gau-nernst", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "cc @sanchit-gandhi ", "I saw that the weights are already ported here: https://huggingface.co/openai/whisper-large-v3, and the announcements made by the team. Awesome work!\r\nAre there any reasons why this issue is not closed?", " @gau-nernst As it's your issue, you can close it if you think it's resolved. #2...
1,699
1,700
1,700
CONTRIBUTOR
null
### Feature request OpenAI released Whisper Large-v3. https://github.com/openai/whisper/discussions/1762 I haven't looked into it closely but it seems the only difference is using 128-bin Mel-spec instead of 80-bin, thus weight conversion should be the same. ### Motivation NA ### Your contribution NA
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27331/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27331/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27330
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27330/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27330/comments
https://api.github.com/repos/huggingface/transformers/issues/27330/events
https://github.com/huggingface/transformers/pull/27330
1,979,997,157
PR_kwDOCUB6oc5eu_yO
27,330
Fix FA2 import + deprecation cycle
{ "login": "SunMarc", "id": 57196510, "node_id": "MDQ6VXNlcjU3MTk2NTEw", "avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SunMarc", "html_url": "https://github.com/SunMarc", "followers_url": "https://api.github.com/users/SunMar...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@SunMarc Merging so this can be part of a patch release. " ]
1,699
1,699
1,699
MEMBER
null
# What does this PR do ? This PR puts back `is_flash_attn_available` and make it go through a deprecation cycle. It was removed in this [PR](#26785). As this method was never private, some remote modeling files used it. Fixes #27319
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27330/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27330/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27330", "html_url": "https://github.com/huggingface/transformers/pull/27330", "diff_url": "https://github.com/huggingface/transformers/pull/27330.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27330.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27329
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27329/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27329/comments
https://api.github.com/repos/huggingface/transformers/issues/27329/events
https://github.com/huggingface/transformers/issues/27329
1,979,904,689
I_kwDOCUB6oc52AvKx
27,329
Should I be getting more speedup/memory reduction from FlashAttention2 with Mistral?
{ "login": "cassianlewis", "id": 131266258, "node_id": "U_kgDOB9L20g", "avatar_url": "https://avatars.githubusercontent.com/u/131266258?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cassianlewis", "html_url": "https://github.com/cassianlewis", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @cassianlewis \r\nThanks a lot for the extensive benchmark here! \r\nMany things in your setup can add an overhead here, I think we should test it without `use_double_quant=True` and make sure to use the same dtype for `compute_dtype` and `torch_dtype`. For better efficiency, I would try with `torch_dtype=torch...
1,699
1,699
1,699
NONE
null
### System Info transformers: 4.35.0 python: 3.9.13 ### Who can help? @SunMarc @younesbelkada @gant ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or dataset (g...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27329/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27329/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27328
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27328/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27328/comments
https://api.github.com/repos/huggingface/transformers/issues/27328/events
https://github.com/huggingface/transformers/pull/27328
1,979,824,130
PR_kwDOCUB6oc5euZTO
27,328
Allow `# Ignore copy`
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27328). All of your documentation changes will be reflected on that endpoint.", "## observed code (where there is `#Copied from`)\r\n#### (There are 2 `# ignore copied` blocks: one is not in the target code, another one is ...
1,699
1,701
1,701
COLLABORATOR
null
# What does this PR do? Allow `# ignore copied` as suggested in https://github.com/huggingface/transformers/pull/26713#discussion_r1354625364 The runtime of `check_copies` is the same as before. See the comment below for an example.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27328/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27328/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27328", "html_url": "https://github.com/huggingface/transformers/pull/27328", "diff_url": "https://github.com/huggingface/transformers/pull/27328.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27328.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27327
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27327/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27327/comments
https://api.github.com/repos/huggingface/transformers/issues/27327/events
https://github.com/huggingface/transformers/pull/27327
1,979,766,039
PR_kwDOCUB6oc5euMLs
27,327
[docs] fixed links with 404
{ "login": "MKhalusova", "id": 1065417, "node_id": "MDQ6VXNlcjEwNjU0MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MKhalusova", "html_url": "https://github.com/MKhalusova", "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
The PR fixes some links that were resulting in 404 for various reasons: typos, external doc (e.g. for `flax.linen.Module`) moved, etc.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27327/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27327/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27327", "html_url": "https://github.com/huggingface/transformers/pull/27327", "diff_url": "https://github.com/huggingface/transformers/pull/27327.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27327.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27326
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27326/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27326/comments
https://api.github.com/repos/huggingface/transformers/issues/27326/events
https://github.com/huggingface/transformers/pull/27326
1,979,704,919
PR_kwDOCUB6oc5et-kz
27,326
storing & logging gradient norm in trainer
{ "login": "shijie-wu", "id": 2987758, "node_id": "MDQ6VXNlcjI5ODc3NTg=", "avatar_url": "https://avatars.githubusercontent.com/u/2987758?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shijie-wu", "html_url": "https://github.com/shijie-wu", "followers_url": "https://api.github.com/users/sh...
[]
closed
false
null
[]
[ "cc @muellerzr ", "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/mai...
1,699
1,708
1,708
CONTRIBUTOR
null
# What does this PR do? Report gradient norm during training - Fixes #26143 ## 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/CONTRIBUTI...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27326/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27326/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27326", "html_url": "https://github.com/huggingface/transformers/pull/27326", "diff_url": "https://github.com/huggingface/transformers/pull/27326.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27326.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27325
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27325/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27325/comments
https://api.github.com/repos/huggingface/transformers/issues/27325/events
https://github.com/huggingface/transformers/pull/27325
1,979,703,404
PR_kwDOCUB6oc5et-O6
27,325
Modify group_sub_entities in TokenClassification Pipeline to support label with "-"
{ "login": "eshoyuan", "id": 57313880, "node_id": "MDQ6VXNlcjU3MzEzODgw", "avatar_url": "https://avatars.githubusercontent.com/u/57313880?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eshoyuan", "html_url": "https://github.com/eshoyuan", "followers_url": "https://api.github.com/users/esh...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27325). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,701
1,701
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/27325/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27325/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27325", "html_url": "https://github.com/huggingface/transformers/pull/27325", "diff_url": "https://github.com/huggingface/transformers/pull/27325.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27325.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27324
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27324/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27324/comments
https://api.github.com/repos/huggingface/transformers/issues/27324/events
https://github.com/huggingface/transformers/pull/27324
1,979,661,588
PR_kwDOCUB6oc5et09f
27,324
Enhance Text Grouping with Dynamic Padding for Variable Sequence Lengths
{ "login": "itsmenick212", "id": 52716575, "node_id": "MDQ6VXNlcjUyNzE2NTc1", "avatar_url": "https://avatars.githubusercontent.com/u/52716575?v=4", "gravatar_id": "", "url": "https://api.github.com/users/itsmenick212", "html_url": "https://github.com/itsmenick212", "followers_url": "https://api.github.c...
[]
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
NONE
null
This commit introduces an enhancement to the `group_texts` function, allowing it to dynamically pad sequences within each batch to match the length of the longest sequence. This change ensures that batches fed into the model have uniform sequence lengths, improving model training stability and performance. # What do...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27324/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27324/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27324", "html_url": "https://github.com/huggingface/transformers/pull/27324", "diff_url": "https://github.com/huggingface/transformers/pull/27324.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27324.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27323
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27323/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27323/comments
https://api.github.com/repos/huggingface/transformers/issues/27323/events
https://github.com/huggingface/transformers/pull/27323
1,979,653,291
PR_kwDOCUB6oc5etzJm
27,323
Fix `Kosmos2Processor` batch mode
{ "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
[]
[ "All tests (even slow) pass!", "_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? Fix `Kosmos2Processor` batch mode as there is a bug, see comment in the code change. Fix one issue about batch mode opened in #27301
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27323/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27323/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27323", "html_url": "https://github.com/huggingface/transformers/pull/27323", "diff_url": "https://github.com/huggingface/transformers/pull/27323.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27323.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27322
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27322/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27322/comments
https://api.github.com/repos/huggingface/transformers/issues/27322/events
https://github.com/huggingface/transformers/pull/27322
1,979,559,213
PR_kwDOCUB6oc5eteZ4
27,322
[Whisper] Block language/task args for English-only
{ "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
[]
[ "Thanks for taking care of this so swiftly! 🤗 ", "_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? The `language`/`task` args should only be forwarded to the multilingual Whisper models. Passing these args to the English-only models gives the wrong error message currently: ``` ValueError: The generation config is outdated and is thus not compatible with the `language` argument to `gene...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27322/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/27322/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27322", "html_url": "https://github.com/huggingface/transformers/pull/27322", "diff_url": "https://github.com/huggingface/transformers/pull/27322.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27322.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27321
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27321/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27321/comments
https://api.github.com/repos/huggingface/transformers/issues/27321/events
https://github.com/huggingface/transformers/issues/27321
1,979,516,675
I_kwDOCUB6oc51_QcD
27,321
AWQ quantization example in colab failures
{ "login": "poedator", "id": 24738311, "node_id": "MDQ6VXNlcjI0NzM4MzEx", "avatar_url": "https://avatars.githubusercontent.com/u/24738311?v=4", "gravatar_id": "", "url": "https://api.github.com/users/poedator", "html_url": "https://github.com/poedator", "followers_url": "https://api.github.com/users/poe...
[]
closed
false
null
[]
[ "Thanks @poedator for reporting, everything should be back to normal now. \r\nWe tested it with autoawq==0.1.4 which did not had the strong requirement for CUDA>=12.0, that has been introduced in the most recent release: https://github.com/casper-hansen/AutoAWQ/releases/tag/v0.1.6 . To install autoawq with CUDA < 1...
1,699
1,703
1,699
CONTRIBUTOR
null
### System Info colab ### Who can help? @younesbelkada @SunMarc ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ### Reproduction pa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27321/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27321/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27320
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27320/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27320/comments
https://api.github.com/repos/huggingface/transformers/issues/27320/events
https://github.com/huggingface/transformers/pull/27320
1,979,506,849
PR_kwDOCUB6oc5etS-w
27,320
[`Quantization`] Add str to enum conversion for AWQ
{ "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 documentation is not available anymore as the PR was closed or merged._", "@amyeroberts yes correct there is no backward compatibility to handle, it is more about users that can easily make the typo (\"GEMM\" vs \"gemm\") and lead to an error that is hard to understand for them. \r\nFor quantizing a model o...
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? Fixes https://github.com/huggingface/transformers/issues/27318 Some repositories that use the old conversion script have the `version` field set to `GEMM` whereas it should be `gemm`. Despite the fix should be that we should convert the config file accordingly e.g.: https://huggingface.co/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27320/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27320/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27320", "html_url": "https://github.com/huggingface/transformers/pull/27320", "diff_url": "https://github.com/huggingface/transformers/pull/27320.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27320.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27319
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27319/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27319/comments
https://api.github.com/repos/huggingface/transformers/issues/27319/events
https://github.com/huggingface/transformers/issues/27319
1,979,503,155
I_kwDOCUB6oc51_NIz
27,319
ImportError: cannot import name 'is_flash_attn_available' from 'transformers.utils' (~/lib/python3.10/site-packages/transformers/utils/__init__.py)
{ "login": "Rajmehta123", "id": 22636443, "node_id": "MDQ6VXNlcjIyNjM2NDQz", "avatar_url": "https://avatars.githubusercontent.com/u/22636443?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rajmehta123", "html_url": "https://github.com/Rajmehta123", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hi @Rajmehta123 ! Thanks for reporting this issue. This happens because in the latest version of transformers, we removed `is_flash_attn_available()` in favor of `is_flash_attn_2_available()`. See related [PR](https://github.com/huggingface/transformers/pull/26785). I guess the remote [code](https://huggingface.co...
1,699
1,706
1,699
NONE
null
### System Info transformers: 4.35.0 python: 3.10.13 Platform: Linux ### Who can help? @Narsil @ArthurZucker @SunMarc ### 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/27319/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27319/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27318
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27318/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27318/comments
https://api.github.com/repos/huggingface/transformers/issues/27318/events
https://github.com/huggingface/transformers/issues/27318
1,979,478,212
I_kwDOCUB6oc51_HDE
27,318
AWQ model error when `AwqConfig['version']` is a string
{ "login": "poedator", "id": 24738311, "node_id": "MDQ6VXNlcjI0NzM4MzEx", "avatar_url": "https://avatars.githubusercontent.com/u/24738311?v=4", "gravatar_id": "", "url": "https://api.github.com/users/poedator", "html_url": "https://github.com/poedator", "followers_url": "https://api.github.com/users/poe...
[]
closed
false
null
[]
[ "Hi the normal Cuda load as seen below\r\n\r\n**from transformers import AutoModelForCausalLM, AutoTokenizer\r\nimport torch\r\n\r\ntokenizer = AutoTokenizer.from_pretrained(\"quant_autoawq\")\r\nmodel = AutoModelForCausalLM.from_pretrained(\"quant_autoawq\", device_map=\"cuda:0\")****\r\n\r\nis taking up too much...
1,699
1,699
1,699
CONTRIBUTOR
null
### System Info A100 Cuda 12.2 transformers 4.36.0.dev (Nov4) ### Who can help? @younesbelkada @SunMarc ### 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 (g...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27318/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27318/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27317
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27317/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27317/comments
https://api.github.com/repos/huggingface/transformers/issues/27317/events
https://github.com/huggingface/transformers/issues/27317
1,979,456,875
I_kwDOCUB6oc51_B1r
27,317
audio pipeline support for initial_prompt?
{ "login": "silvacarl2", "id": 4220915, "node_id": "MDQ6VXNlcjQyMjA5MTU=", "avatar_url": "https://avatars.githubusercontent.com/u/4220915?v=4", "gravatar_id": "", "url": "https://api.github.com/users/silvacarl2", "html_url": "https://github.com/silvacarl2", "followers_url": "https://api.github.com/users...
[]
open
false
null
[]
[ "cc @sanchit-gandhi ", "let me know if i am mistaken, but we cannot find initial_prompt in audio pipeline.", "Hey @silvacarl2! The `pipeline` is a high-level helper function that is compatible with **all** audio models in the Transformers library. It's not meant to be fully comprehensive, but rather an easy API...
1,699
1,707
null
NONE
null
### System Info Is there a parameter someplace for audio pipeline support for initial_prompt? like this: https://github.com/openai/whisper/discussions/963 $ whisper --help optional arguments: --initial_prompt INITIAL_PROMPT optional text to provide as a prompt for the first window. (default: None) $ whispe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27317/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/27317/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27316
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27316/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27316/comments
https://api.github.com/repos/huggingface/transformers/issues/27316/events
https://github.com/huggingface/transformers/pull/27316
1,979,357,119
PR_kwDOCUB6oc5esyHS
27,316
Fix Falcon tokenizer loading in pipeline
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This turned out to be a more involved fix than I thought, so I'm going to put in a quick hack at @ArthurZucker's suggestion to fix it for Falcon, and come back to it later when the Keras 3 Situation is less urgent!", "Some unrelate...
1,699
1,699
1,699
MEMBER
null
Previously, pipelines checked `config.json` for info on the model tokenizer. However, often the information they want is not here, and is instead stored in `tokenizer_config.json`. This PR changes the pipeline code to more aggressively try `AutoTokenizer.from_pretrained()` even if `model.config` doesn't contain tokeniz...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27316/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/27316/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27316", "html_url": "https://github.com/huggingface/transformers/pull/27316", "diff_url": "https://github.com/huggingface/transformers/pull/27316.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27316.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27315
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27315/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27315/comments
https://api.github.com/repos/huggingface/transformers/issues/27315/events
https://github.com/huggingface/transformers/pull/27315
1,979,267,354
PR_kwDOCUB6oc5eseF-
27,315
[`Llama + Mistral`] Add attention dropout
{ "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? fixes #26616 by adding the `attention_dropout` attribute to the config and the logic in the code.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27315/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27315/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27315", "html_url": "https://github.com/huggingface/transformers/pull/27315", "diff_url": "https://github.com/huggingface/transformers/pull/27315.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27315.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27314
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27314/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27314/comments
https://api.github.com/repos/huggingface/transformers/issues/27314/events
https://github.com/huggingface/transformers/pull/27314
1,979,140,359
PR_kwDOCUB6oc5esCGg
27,314
Fix id_tensor_storage in case the tensor is a view of an other tensor
{ "login": "fxmarty", "id": 9808326, "node_id": "MDQ6VXNlcjk4MDgzMjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fxmarty", "html_url": "https://github.com/fxmarty", "followers_url": "https://api.github.com/users/fxmarty/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27314). 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,701
1,701
COLLABORATOR
null
As per title and discussed offline @LysandreJik Currently `safe_serialization=True` may unexpectedly erase tensors from the state_dict due to this issue. A release or patch release including https://github.com/huggingface/safetensors/pull/379 will be needed to work with this PR, to avoid this error with the curr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27314/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27314/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27314", "html_url": "https://github.com/huggingface/transformers/pull/27314", "diff_url": "https://github.com/huggingface/transformers/pull/27314.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27314.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27313
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27313/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27313/comments
https://api.github.com/repos/huggingface/transformers/issues/27313/events
https://github.com/huggingface/transformers/pull/27313
1,979,065,776
PR_kwDOCUB6oc5erynL
27,313
[`PretrainedTokenizer`] add some of the most important functions to the doc
{ "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? Fixes #27132 by adding `add_tokens` and `add_special_tokens` to the documentation
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27313/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27313/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27313", "html_url": "https://github.com/huggingface/transformers/pull/27313", "diff_url": "https://github.com/huggingface/transformers/pull/27313.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27313.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27312
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27312/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27312/comments
https://api.github.com/repos/huggingface/transformers/issues/27312/events
https://github.com/huggingface/transformers/issues/27312
1,978,865,742
I_kwDOCUB6oc518xhO
27,312
Want to add a new model
{ "login": "ReCag", "id": 150021192, "node_id": "U_kgDOCPEkSA", "avatar_url": "https://avatars.githubusercontent.com/u/150021192?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ReCag", "html_url": "https://github.com/ReCag", "followers_url": "https://api.github.com/users/ReCag/followers", ...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[ "Closing as this is a duplicate of #27308" ]
1,699
1,699
1,699
NONE
null
### Model description ReCag will be a generative model ### Open source status - [X] The model implementation is available - [ ] The model weights are available ### Provide useful links for the implementation _No response_
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27312/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27312/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27311
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27311/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27311/comments
https://api.github.com/repos/huggingface/transformers/issues/27311/events
https://github.com/huggingface/transformers/issues/27311
1,978,836,007
I_kwDOCUB6oc518qQn
27,311
TypeError: ResNet.__init__() got an unexpected keyword argument 'out_indices'
{ "login": "wuxiaolianggit", "id": 34123600, "node_id": "MDQ6VXNlcjM0MTIzNjAw", "avatar_url": "https://avatars.githubusercontent.com/u/34123600?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wuxiaolianggit", "html_url": "https://github.com/wuxiaolianggit", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hi @wuxiaolianggit, thanks for raising this issue. \r\n\r\nSo that we can help you, could you make sure to fill out the [bug report template](https://github.com/huggingface/transformers/blob/main/.github/ISSUE_TEMPLATE/bug-report.yml) and include: \r\n\r\n* Minimal code reproducer\r\n* The running environment: run...
1,699
1,702
1,702
NONE
null
Hello, may I ask you a question? How to solve this problem about “TypeError: ResNet.__init__() got an unexpected keyword argument 'out_indices‘”?@ @vanpelt @tmm1 @pvl @tmc @arfon
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27311/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27311/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27310
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27310/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27310/comments
https://api.github.com/repos/huggingface/transformers/issues/27310/events
https://github.com/huggingface/transformers/issues/27310
1,978,762,758
I_kwDOCUB6oc518YYG
27,310
Evaluation with HuggingFace Whisper
{ "login": "qnxgy921", "id": 35495714, "node_id": "MDQ6VXNlcjM1NDk1NzE0", "avatar_url": "https://avatars.githubusercontent.com/u/35495714?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qnxgy921", "html_url": "https://github.com/qnxgy921", "followers_url": "https://api.github.com/users/qnx...
[]
closed
false
null
[]
[ "Hey @qnxgy921, could you possibly share the audio sample you're using so we can run the example end-to-end? Currently, it uses a local audio file, so we cannot reproduce the repeating prompt phenomenon. Happy to advise on how to fix the parameters here!", "This issue has been automatically marked as stale becaus...
1,699
1,704
1,704
NONE
null
### System Info Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points. - `transformers` version: 4.35.0 - Platform: Linux-5.15.0-88-generic-x86_64-with-glibc2.31 - Python version: 3.10.12 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - Accelerate version: 0.25.0.d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27310/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/27310/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27309
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27309/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27309/comments
https://api.github.com/repos/huggingface/transformers/issues/27309/events
https://github.com/huggingface/transformers/issues/27309
1,978,762,621
I_kwDOCUB6oc518YV9
27,309
model.add_adapter() does not work correctly, raising the following error while check_peft_version : [PEFT is not installed. Please install it with `pip install peft`]
{ "login": "aghris", "id": 56536283, "node_id": "MDQ6VXNlcjU2NTM2Mjgz", "avatar_url": "https://avatars.githubusercontent.com/u/56536283?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aghris", "html_url": "https://github.com/aghris", "followers_url": "https://api.github.com/users/aghris/fo...
[]
closed
false
null
[]
[ "cc @pacman100 @younesbelkada ", "you may have a broken installation of peft, can you try to re-run your script by uninstall peft and re-installing it again?\r\n```bash\r\npip uninstall peft && pip install -U peft\r\n```", "Thank you for your response. However, I have implemented that solution previously but en...
1,699
1,702
1,702
NONE
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: 0.24.1 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu121 (True) - Tensorflow ve...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27309/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27309/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27308
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27308/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27308/comments
https://api.github.com/repos/huggingface/transformers/issues/27308/events
https://github.com/huggingface/transformers/issues/27308
1,978,762,289
I_kwDOCUB6oc518YQx
27,308
Add ReCag model
{ "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 opening this new model request! \r\n\r\nCould you update the issue description to include any relevant links to the model, such as the paper and any relevant repos?\r\n\r\nWe have recently been trying to push for `model on the hub` and have as much support as we can there. It will also ...
1,699
1,699
null
NONE
null
### Model description Want to add a new model ReCag in Transformers. ### Open source status - [X] The model implementation is available - [ ] The model weights are available ### Provide useful links for the implementation _No response_
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27308/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27308/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27307
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27307/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27307/comments
https://api.github.com/repos/huggingface/transformers/issues/27307/events
https://github.com/huggingface/transformers/pull/27307
1,978,735,719
PR_kwDOCUB6oc5eqp3o
27,307
Fix daily CI image build
{ "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 is currently failing due to `intel_extension_for_pytorch`. The post fix in the version like `intel_extension_for_pytorch==1.11.0+cpu` is no longer working 4 days ago. So I remove it. Also update the version to `2.1.0`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27307/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27307/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27307", "html_url": "https://github.com/huggingface/transformers/pull/27307", "diff_url": "https://github.com/huggingface/transformers/pull/27307.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27307.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27306
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27306/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27306/comments
https://api.github.com/repos/huggingface/transformers/issues/27306/events
https://github.com/huggingface/transformers/pull/27306
1,978,731,139
PR_kwDOCUB6oc5eqo49
27,306
Update doctest workflow 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
{ "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...
[ "_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? @glegendre01 mentioned this to me, due to a change in AWS CI runner setting. Without this, this CI could not find runner to run.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27306/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27306/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27306", "html_url": "https://github.com/huggingface/transformers/pull/27306", "diff_url": "https://github.com/huggingface/transformers/pull/27306.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27306.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27305
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27305/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27305/comments
https://api.github.com/repos/huggingface/transformers/issues/27305/events
https://github.com/huggingface/transformers/issues/27305
1,978,710,314
I_kwDOCUB6oc518Lkq
27,305
SAM discrepancies between automatic mask generation and bbox/point guided
{ "login": "rb-synth", "id": 135021519, "node_id": "U_kgDOCAxDzw", "avatar_url": "https://avatars.githubusercontent.com/u/135021519?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rb-synth", "html_url": "https://github.com/rb-synth", "followers_url": "https://api.github.com/users/rb-synth/...
[]
closed
false
null
[]
[ "Hi @rb-synth \r\nThanks for the issue and your interest for using SAM ! \r\nDo you observe the same behaviour when using the original repository? I think that this is expected as you always need to provide at least a single 2D point or a bounding box in order for the model to predict accurately segmentation masks....
1,699
1,707
1,707
NONE
null
### System Info - `transformers` version: 4.35.0 - Platform: Linux-5.15.0-1043-aws-x86_64-with-glibc2.31 - Python version: 3.10.13 - 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) - Tenso...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27305/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27305/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27304
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27304/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27304/comments
https://api.github.com/repos/huggingface/transformers/issues/27304/events
https://github.com/huggingface/transformers/issues/27304
1,978,548,835
I_kwDOCUB6oc517kJj
27,304
DirectML quantized models
{ "login": "PHIL-GIBSON-1990", "id": 21168288, "node_id": "MDQ6VXNlcjIxMTY4Mjg4", "avatar_url": "https://avatars.githubusercontent.com/u/21168288?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PHIL-GIBSON-1990", "html_url": "https://github.com/PHIL-GIBSON-1990", "followers_url": "https://...
[]
closed
false
null
[]
[ "Hi @PHIL-GIBSON-1990, thanks for raising this issue! \r\n\r\nI'm not familiar with DirectML, or our support for it - cc @SunMarc as this error seems to be triggered with [GPTQ quantization](https://github.com/huggingface/transformers/blob/eef7ea98c31a333bacdc7ae7a2372bde772be8e4/src/transformers/modeling_utils.py...
1,699
1,702
1,702
NONE
null
### System Info - `transformers` version: 4.34.1 - Platform: Windows-10-10.0.19045-SP0 - Python version: 3.10.6 - 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+cpu (False) - Tensorflow version (GPU?)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27304/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27304/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27303
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27303/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27303/comments
https://api.github.com/repos/huggingface/transformers/issues/27303/events
https://github.com/huggingface/transformers/issues/27303
1,978,412,872
I_kwDOCUB6oc517C9I
27,303
KV cache optimization with paged attention
{ "login": "liangan1", "id": 46986936, "node_id": "MDQ6VXNlcjQ2OTg2OTM2", "avatar_url": "https://avatars.githubusercontent.com/u/46986936?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liangan1", "html_url": "https://github.com/liangan1", "followers_url": "https://api.github.com/users/lia...
[ { "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
[]
[ "cc @gante (I think this is closest to your work - sorry if wrong! ) ", "@jgong5\r\n", "Hi @liangan1 👋 \r\n\r\nWe are close to introducing a new cache abstraction (https://github.com/huggingface/transformers/pull/26681). I believe that, after this PR is merged, adding paged attention would become directly appl...
1,699
1,704
null
NONE
null
### Feature request Paged attention has been enabled by a lot of server engine, e.g., [vllm](https://github.com/vllm-project/vllm), [tensorrt-llm](https://github.com/NVIDIA/TensorRT-LLM/blob/release/0.5.0/tensorrt_llm/runtime/kv_cache_manager.py) ### Motivation KV cache is used to reduce computation for Decod...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27303/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27303/timeline
reopened
null
null
https://api.github.com/repos/huggingface/transformers/issues/27302
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27302/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27302/comments
https://api.github.com/repos/huggingface/transformers/issues/27302/events
https://github.com/huggingface/transformers/issues/27302
1,978,370,685
I_kwDOCUB6oc5164p9
27,302
Issue with Whisper model
{ "login": "lem21h", "id": 668165, "node_id": "MDQ6VXNlcjY2ODE2NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/668165?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lem21h", "html_url": "https://github.com/lem21h", "followers_url": "https://api.github.com/users/lem21h/follow...
[]
closed
false
null
[]
[ "After a bit of digging the Whisper AI builds a map of special tokens:\r\n```\r\nadditional_tokens = dict(\r\n zip(\r\n tokenizer.tokenizer.additional_special_tokens,\r\n tokenizer.tokenizer.additional_special_tokens_ids,\r\n )\r\n )\r\n```\r\n \r\non v...
1,699
1,702
1,702
NONE
null
### System Info After upgrading from version 4.30.2 to 4.35.0 the Whisper model stopped working. The issue is with the following piece of the code: ``` if tokenizer is None: tokenizer = get_tokenizer(model.is_multilingual) if tokenizer.language is None or tokenizer.language_token not in tokenizer.so...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27302/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27302/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27301
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27301/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27301/comments
https://api.github.com/repos/huggingface/transformers/issues/27301/events
https://github.com/huggingface/transformers/issues/27301
1,978,228,011
I_kwDOCUB6oc516V0r
27,301
Kosmos2 device_map and batch processing issues.
{ "login": "rabiulcste", "id": 7416164, "node_id": "MDQ6VXNlcjc0MTYxNjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/7416164?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rabiulcste", "html_url": "https://github.com/rabiulcste", "followers_url": "https://api.github.com/users...
[]
closed
false
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[ { "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.githu...
[ "cc @ydshieh ", "Hi @rabiulcste \r\n\r\nThank you (again) for opening this issue. I will take a look. In order to ease the process, could you provide all the necessary imports and variable definition.\r\n\r\nThe goal is to have a self-complete code snippet that could be run, so we can debug it straightforward.", ...
1,699
1,699
1,699
NONE
null
### System Info - `transformers` version: 4.36.0.dev0 - Platform: Linux-4.15.0-213-generic-x86_64-with-glibc2.27 - Python version: 3.10.11 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.2 - Accelerate version: 0.21.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (True...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27301/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27301/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27300
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27300/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27300/comments
https://api.github.com/repos/huggingface/transformers/issues/27300/events
https://github.com/huggingface/transformers/issues/27300
1,978,134,929
I_kwDOCUB6oc515_GR
27,300
There is a bug when using the neftune_noise_alpha feature in transformers v4.35.0.
{ "login": "CaC033", "id": 34328295, "node_id": "MDQ6VXNlcjM0MzI4Mjk1", "avatar_url": "https://avatars.githubusercontent.com/u/34328295?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CaC033", "html_url": "https://github.com/CaC033", "followers_url": "https://api.github.com/users/CaC033/fo...
[]
closed
false
null
[]
[ "cc @muellerz @pacman100 ", "Hello @amyeroberts , tagging @younesbelkada would added the feature. Untagging myself.", "The error is \r\n\r\n```bash\r\nTypeError: _set_gradient_checkpointing() got an unexpected keyword argument 'enable'\r\n```\r\n\r\nThis is because you are using a model that uses code on the Hu...
1,699
1,700
1,700
NONE
null
### System Info - `transformers` version: 4.35.0 - Platform: Linux-4.19.91-014.kangaroo.alios7.x86_64-x86_64-with-glibc2.17 - Python version: 3.8.13 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - Accelerate version: 0.21.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27300/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/27300/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27299
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27299/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27299/comments
https://api.github.com/repos/huggingface/transformers/issues/27299/events
https://github.com/huggingface/transformers/issues/27299
1,978,032,618
I_kwDOCUB6oc515mHq
27,299
Deepspeed integration: support batch sizes that are less than the number of gpus/ranks
{ "login": "IMbackK", "id": 13803414, "node_id": "MDQ6VXNlcjEzODAzNDE0", "avatar_url": "https://avatars.githubusercontent.com/u/13803414?v=4", "gravatar_id": "", "url": "https://api.github.com/users/IMbackK", "html_url": "https://github.com/IMbackK", "followers_url": "https://api.github.com/users/IMback...
[ { "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": 2659267025, ...
open
false
null
[]
[ "cc @muellerzr @pacman100 ", "Hello, this isn't possible. DeepSpeed is a Data Parallel paradigm, meaning each process/rank should get at least one sample. \r\n\r\n> As far as i know there is no fundamental requirement with zero style shading for there to be one batch per GPU.\r\n\r\nData Parallel by definition re...
1,699
1,700
null
NONE
null
### Feature request Currently when training using trainer and the deepspeed zero integration the minimum total effective batch size is one per gpu/rank, thus on a 8 gpu machine the minimum effective batch size is 8. As far as i know there is no fundamental requirement with zero style shading for there to be one b...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27299/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27299/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27298
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27298/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27298/comments
https://api.github.com/repos/huggingface/transformers/issues/27298/events
https://github.com/huggingface/transformers/issues/27298
1,977,984,216
I_kwDOCUB6oc515aTY
27,298
cannot import name 'LlamaConfig' from 'transformers
{ "login": "Ahmed-Roushdy", "id": 68569076, "node_id": "MDQ6VXNlcjY4NTY5MDc2", "avatar_url": "https://avatars.githubusercontent.com/u/68569076?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Ahmed-Roushdy", "html_url": "https://github.com/Ahmed-Roushdy", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi @Ahmed-Roushdy !\r\nI see from the details above that:\r\n\r\n> adapter-transformers version: 3.2.1\r\n\r\nCan you try to install the latest `transformers` package instead? `pip install -U transformers`", "This issue has been automatically marked as stale because it has not had recent activity. If you think t...
1,699
1,702
1,702
NONE
null
### System Info - `adapter-transformers` version: 3.2.1 - Platform: Linux-5.8.0-59-generic-x86_64-with-glibc2.17 - Python version: 3.8.16 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.11.0+cu113 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27298/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27298/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27297
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27297/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27297/comments
https://api.github.com/repos/huggingface/transformers/issues/27297/events
https://github.com/huggingface/transformers/issues/27297
1,977,965,674
I_kwDOCUB6oc515Vxq
27,297
Unable to uninstall transformers package
{ "login": "Ahmed-Roushdy", "id": 68569076, "node_id": "MDQ6VXNlcjY4NTY5MDc2", "avatar_url": "https://avatars.githubusercontent.com/u/68569076?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Ahmed-Roushdy", "html_url": "https://github.com/Ahmed-Roushdy", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi @Ahmed-Roushdy, thanks for opening an issue. \r\n\r\nFrom the error, it looks like this isn't a transformers library but due to not having write access for running pip in the environment. As such, this isn't something we're able to help with. If you installed `transformers` using `sudo`, you should try uninstal...
1,699
1,699
1,699
NONE
null
### System Info Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points. - `adapter-transformers` version: 3.2.1 - Platform: Linux-5.8.0-59-generic-x86_64-with-glibc2.17 - Python version: 3.8.16 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.11.0+cu113 (True) - Tensor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27297/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27297/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27296
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27296/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27296/comments
https://api.github.com/repos/huggingface/transformers/issues/27296/events
https://github.com/huggingface/transformers/pull/27296
1,977,933,606
PR_kwDOCUB6oc5en-a2
27,296
Fix VideoMAEforPretrained dtype error
{ "login": "ikergarcia1996", "id": 18737249, "node_id": "MDQ6VXNlcjE4NzM3MjQ5", "avatar_url": "https://avatars.githubusercontent.com/u/18737249?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ikergarcia1996", "html_url": "https://github.com/ikergarcia1996", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hi @amyeroberts \r\n\r\nAfter further investigation into the issue, I discovered that the pixel_values are of the correct dtype. However, in L851, the MEAN and STD values are loaded as float32. Consequently, in L853, where `frames = pixel_values * std + mean`, frames is converted to float32. This causes problems i...
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/27296/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27296/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27296", "html_url": "https://github.com/huggingface/transformers/pull/27296", "diff_url": "https://github.com/huggingface/transformers/pull/27296.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27296.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27295
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27295/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27295/comments
https://api.github.com/repos/huggingface/transformers/issues/27295/events
https://github.com/huggingface/transformers/issues/27295
1,977,933,384
I_kwDOCUB6oc515N5I
27,295
VideoMAEforPretrained cannot be trained with Bfloat16
{ "login": "ikergarcia1996", "id": 18737249, "node_id": "MDQ6VXNlcjE4NzM3MjQ5", "avatar_url": "https://avatars.githubusercontent.com/u/18737249?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ikergarcia1996", "html_url": "https://github.com/ikergarcia1996", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hi @ikergarcia1996 thanks for reporting and opening a PR! \r\n\r\nI've started a review on the PR around implementation specifics and I think once merged that should resolve the issue.", "Fixed #27296" ]
1,699
1,699
1,699
CONTRIBUTOR
null
### System Info - `transformers` version: 4.35.0 - Platform: Linux-6.5.6-76060506-generic-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - Accelerate version: 0.24.1 - Accelerate config: not found - PyTorch version (GPU?): 2.2.0.dev20230907 (Tru...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27295/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27295/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27294
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27294/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27294/comments
https://api.github.com/repos/huggingface/transformers/issues/27294/events
https://github.com/huggingface/transformers/issues/27294
1,977,914,522
I_kwDOCUB6oc515JSa
27,294
large alloc when running code flax speech recognition.
{ "login": "pphuc25", "id": 81808312, "node_id": "MDQ6VXNlcjgxODA4MzEy", "avatar_url": "https://avatars.githubusercontent.com/u/81808312?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pphuc25", "html_url": "https://github.com/pphuc25", "followers_url": "https://api.github.com/users/pphuc2...
[]
closed
false
null
[]
[ "cc @sanchit-gandhi ", "Hey @pphuc25 - you can ignore this warning. It doesn't mean that training will be slower or that there's anything wrong with the script. _c.f._ https://stackoverflow.com/a/52399665. You can change the `tcmalloc` threshold if you want to hide these warnings, e.g. as per https://github.com/h...
1,699
1,701
1,701
CONTRIBUTOR
null
### System Info When I run the code for training, the problem appears when the warning large alloc, but I do not understand why this happens, this make the training progress really slow, I am currently run on TPU v3-8 The warning be like ``` cmalloc: large alloc 13261799424 bytes == 0x53d90000 @ 0x7efe22acb680...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27294/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27294/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27293
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27293/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27293/comments
https://api.github.com/repos/huggingface/transformers/issues/27293/events
https://github.com/huggingface/transformers/issues/27293
1,977,875,244
I_kwDOCUB6oc514_ss
27,293
Shared tensors not correctly saved.
{ "login": "Luodian", "id": 15847405, "node_id": "MDQ6VXNlcjE1ODQ3NDA1", "avatar_url": "https://avatars.githubusercontent.com/u/15847405?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Luodian", "html_url": "https://github.com/Luodian", "followers_url": "https://api.github.com/users/Luodia...
[]
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...
[ "Thanks for reporting! I can reproduce, I'm fixing.", "Hmmm actually, it seems like it was just a mistake on my end, I cannot reproduce after trying again.\r\n\r\nIf you load the fuyu model, save it, and reload it once again, do you have an error? Does it only happen after fine-tuning?", "> Hmmm actually, it se...
1,699
1,708
null
NONE
null
### System Info - `transformers` version: 4.36.0.dev0 - Platform: Linux-4.19.0-25-cloud-amd64-x86_64-with-glibc2.28 - Python version: 3.9.17 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.2 - Accelerate version: 0.24.1 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu118 (True) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27293/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27293/timeline
reopened
null
null
https://api.github.com/repos/huggingface/transformers/issues/27292
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27292/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27292/comments
https://api.github.com/repos/huggingface/transformers/issues/27292/events
https://github.com/huggingface/transformers/issues/27292
1,977,819,033
I_kwDOCUB6oc514x-Z
27,292
Error inferencing on 2x A100 GPUs
{ "login": "RonanKMcGovern", "id": 78278410, "node_id": "MDQ6VXNlcjc4Mjc4NDEw", "avatar_url": "https://avatars.githubusercontent.com/u/78278410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RonanKMcGovern", "html_url": "https://github.com/RonanKMcGovern", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hi @RonanKMcGovern \r\nThanks for the issue! :D \r\nOne thing that is a bit unusual here is that you are forcing the whole model to fit on a single GPU (through `device_map={\"\": \"cuda:0\"}`) for a 40B model in bfloat16. I don't think such a model should fit in a single A100 GPU for generation. Since you force t...
1,699
1,702
1,702
NONE
null
### System Info I'm getting this issue with 2x A100s for inference (or training too), but I don't get the issue with 4x A6000s. *Environment* ``` - `transformers` version: 4.36.0.dev0 - Platform: Linux-5.4.0-149-generic-x86_64-with-glibc2.35 - Python version: 3.10.6 - Huggingface_hub version: 0.18.0 - Safeten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27292/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27292/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27291
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27291/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27291/comments
https://api.github.com/repos/huggingface/transformers/issues/27291/events
https://github.com/huggingface/transformers/pull/27291
1,977,739,921
PR_kwDOCUB6oc5enYzX
27,291
translate the en tokenizer_summary.md to Chinese
{ "login": "ZouJiu1", "id": 34758215, "node_id": "MDQ6VXNlcjM0NzU4MjE1", "avatar_url": "https://avatars.githubusercontent.com/u/34758215?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZouJiu1", "html_url": "https://github.com/ZouJiu1", "followers_url": "https://api.github.com/users/ZouJiu...
[]
closed
false
null
[]
[ "> Thanks for the translation! Remember to add it to [`source/zh/_toctree.yml`](https://github.com/huggingface/transformers/blob/main/docs/source/zh/_toctree.yml) so it gets built :)\r\n\r\nI add the file to the _toctree.yml file.\r\n\r\n", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/doc...
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/27291/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27291/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27291", "html_url": "https://github.com/huggingface/transformers/pull/27291", "diff_url": "https://github.com/huggingface/transformers/pull/27291.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27291.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27290
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27290/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27290/comments
https://api.github.com/repos/huggingface/transformers/issues/27290/events
https://github.com/huggingface/transformers/issues/27290
1,977,707,617
I_kwDOCUB6oc514Wxh
27,290
Bart vs T5 inference time
{ "login": "hadifar", "id": 7101287, "node_id": "MDQ6VXNlcjcxMDEyODc=", "avatar_url": "https://avatars.githubusercontent.com/u/7101287?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hadifar", "html_url": "https://github.com/hadifar", "followers_url": "https://api.github.com/users/hadifar/...
[]
closed
false
null
[]
[ "@hadifar can i work on this issue ? i think we can use quantization to reduce the size of the BART-base model and potentially improve its inference speed.", "Hey 🤗 You are running a summurization task, which depends a lot on how well the model performs because the generation time is bounded by how much text is...
1,699
1,702
1,702
NONE
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) - Ten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27290/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27290/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27289
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27289/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27289/comments
https://api.github.com/repos/huggingface/transformers/issues/27289/events
https://github.com/huggingface/transformers/issues/27289
1,977,653,461
I_kwDOCUB6oc514JjV
27,289
[Efficiency] Decoding can be made faster by not converting special tokens to ids for each token.
{ "login": "ganeshpatelQB", "id": 139111971, "node_id": "U_kgDOCEquIw", "avatar_url": "https://avatars.githubusercontent.com/u/139111971?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ganeshpatelQB", "html_url": "https://github.com/ganeshpatelQB", "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
[]
[ "Very good catch! I'll open a pr for this. Affect both `convert_ids_to_tokens` and decode. 🤗 I need to do some benchmarking as I suspect this does won't have a huge impact but will give it a shot. I plan to benchmark our full calls to make sure we don't have things similar to this else where", "My initial tests ...
1,699
1,704
null
NONE
null
### System Info - `transformers` version: 4.29.0.dev0 - Platform: macOS-14.0-arm64-arm-64bit - Python version: 3.11.4 - Huggingface_hub version: 0.13.3 - Safetensors version: not installed - PyTorch version (GPU?): 2.0.0 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27289/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27289/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27288
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27288/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27288/comments
https://api.github.com/repos/huggingface/transformers/issues/27288/events
https://github.com/huggingface/transformers/pull/27288
1,977,577,865
PR_kwDOCUB6oc5em5r1
27,288
Remove a redundant variable.
{ "login": "hi-sushanta", "id": 93595990, "node_id": "U_kgDOBZQpVg", "avatar_url": "https://avatars.githubusercontent.com/u/93595990?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hi-sushanta", "html_url": "https://github.com/hi-sushanta", "followers_url": "https://api.github.com/users/hi...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27288). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,699
1,699
CONTRIBUTOR
null
Remove the redundant variable from the feature_extraction.py file. Here's what it looks like now!: ![Screenshot (12)](https://github.com/huggingface/transformers/assets/93595990/931e2f09-08c7-413e-9204-3af856a3df22) ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27288/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27288/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27288", "html_url": "https://github.com/huggingface/transformers/pull/27288", "diff_url": "https://github.com/huggingface/transformers/pull/27288.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27288.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27287
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27287/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27287/comments
https://api.github.com/repos/huggingface/transformers/issues/27287/events
https://github.com/huggingface/transformers/pull/27287
1,977,574,749
PR_kwDOCUB6oc5em5Fj
27,287
fix device issue
{ "login": "grahamannett", "id": 7343667, "node_id": "MDQ6VXNlcjczNDM2Njc=", "avatar_url": "https://avatars.githubusercontent.com/u/7343667?v=4", "gravatar_id": "", "url": "https://api.github.com/users/grahamannett", "html_url": "https://github.com/grahamannett", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "this might need to be split into 3 lines as I edited the file online so no format/linter", "Hey! I'll ping @molbap as he recently re-worked that part! Thanks for reporting\r\n", "Hi @grahamannett, thanks! indeed this would cause errors, ideally it would be good to ensure all tensors are on the same device for ...
1,699
1,704
1,704
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/27287/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/27287/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27287", "html_url": "https://github.com/huggingface/transformers/pull/27287", "diff_url": "https://github.com/huggingface/transformers/pull/27287.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27287.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27286
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27286/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27286/comments
https://api.github.com/repos/huggingface/transformers/issues/27286/events
https://github.com/huggingface/transformers/issues/27286
1,977,567,931
I_kwDOCUB6oc5130q7
27,286
run_glue.py on stsb works on bert-base-uncased but fails on a finetuned BERT ckpt
{ "login": "BiEchi", "id": 60613238, "node_id": "MDQ6VXNlcjYwNjEzMjM4", "avatar_url": "https://avatars.githubusercontent.com/u/60613238?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BiEchi", "html_url": "https://github.com/BiEchi", "followers_url": "https://api.github.com/users/BiEchi/fo...
[]
closed
false
null
[]
[ "I'm closing this issue as adding `problem_type='regression'` solves this issue." ]
1,699
1,699
1,699
NONE
null
### System Info - `transformers` version: 4.32.0.dev0 - Platform: Linux-3.10.0-1160.31.1.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.9.0 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - Accelerate version: 0.21.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27286/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27286/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27285
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27285/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27285/comments
https://api.github.com/repos/huggingface/transformers/issues/27285/events
https://github.com/huggingface/transformers/issues/27285
1,977,465,272
I_kwDOCUB6oc513bm4
27,285
Implement Cross Attention in LLAMA Model
{ "login": "eitamar-saraf", "id": 36766320, "node_id": "MDQ6VXNlcjM2NzY2MzIw", "avatar_url": "https://avatars.githubusercontent.com/u/36766320?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eitamar-saraf", "html_url": "https://github.com/eitamar-saraf", "followers_url": "https://api.githu...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[ "@amyeroberts @eitamar-saraf can i work on this ? i think Preparing separate embeddings for different modalities and Modifying query, key, and value matrices to attend to tokens might work ", "@amyeroberts can i work on this \r\n", "@shankarsharma8089 One thing to note is that Llama is a decoder-only model - wh...
1,699
1,700
null
NONE
null
### Feature request The current implementation of the LLAMA model in the Hugging Face Transformers repository supports self-attention layers as per the standard design of transformer models. I propose the addition of an option to use several or all attention layers as cross-attention layers instead of self-attention...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27285/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/27285/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27284
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27284/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27284/comments
https://api.github.com/repos/huggingface/transformers/issues/27284/events
https://github.com/huggingface/transformers/issues/27284
1,977,463,185
I_kwDOCUB6oc513bGR
27,284
Implement Cross Attention in LLAMA Model
{ "login": "eitamarSaraf", "id": 134390603, "node_id": "U_kgDOCAKjSw", "avatar_url": "https://avatars.githubusercontent.com/u/134390603?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eitamarSaraf", "html_url": "https://github.com/eitamarSaraf", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,699
1,706
1,699
NONE
null
### Feature request The current implementation of the LLAMA model in the Hugging Face Transformers repository supports self-attention layers as per the standard design of transformer models. I propose the addition of an option to use several or all attention layers as cross-attention layers instead of self-attention l...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27284/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/27284/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27283
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27283/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27283/comments
https://api.github.com/repos/huggingface/transformers/issues/27283/events
https://github.com/huggingface/transformers/pull/27283
1,977,361,739
PR_kwDOCUB6oc5emO86
27,283
translate model_sharing.md and llm_tutorial.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 are last two files of Tutorials section. And I have a problem to translate `moving parts`in llm_tutorial.md.\r\nI think `moving parts` means \"there are many things that must all happen for success. But only one thing must go wrong for failure.\" And it's very hard to be translate...
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/27283/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27283/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27283", "html_url": "https://github.com/huggingface/transformers/pull/27283", "diff_url": "https://github.com/huggingface/transformers/pull/27283.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27283.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27282
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27282/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27282/comments
https://api.github.com/repos/huggingface/transformers/issues/27282/events
https://github.com/huggingface/transformers/pull/27282
1,977,308,856
PR_kwDOCUB6oc5emD7V
27,282
make torch.load a bit safer
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27282). 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,702
MEMBER
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27282/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27282/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27282", "html_url": "https://github.com/huggingface/transformers/pull/27282", "diff_url": "https://github.com/huggingface/transformers/pull/27282.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27282.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27281
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27281/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27281/comments
https://api.github.com/repos/huggingface/transformers/issues/27281/events
https://github.com/huggingface/transformers/pull/27281
1,977,185,722
PR_kwDOCUB6oc5elrdX
27,281
Update sequence_classification.md
{ "login": "akshayvkt", "id": 64036106, "node_id": "MDQ6VXNlcjY0MDM2MTA2", "avatar_url": "https://avatars.githubusercontent.com/u/64036106?v=4", "gravatar_id": "", "url": "https://api.github.com/users/akshayvkt", "html_url": "https://github.com/akshayvkt", "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_27281). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? Resolve the ImportError raised when running the [Text classification](https://huggingface.co/docs/transformers/tasks/sequence_classification) notebook. I'm adding accelerate as one of the libraries to instal, as the model would otherwise error out with the below error when we attempt to ru...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27281/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27281/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27281", "html_url": "https://github.com/huggingface/transformers/pull/27281", "diff_url": "https://github.com/huggingface/transformers/pull/27281.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27281.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27280
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27280/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27280/comments
https://api.github.com/repos/huggingface/transformers/issues/27280/events
https://github.com/huggingface/transformers/pull/27280
1,977,152,547
PR_kwDOCUB6oc5elkqc
27,280
enable memory tracker metrics for npu
{ "login": "statelesshz", "id": 28150734, "node_id": "MDQ6VXNlcjI4MTUwNzM0", "avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/statelesshz", "html_url": "https://github.com/statelesshz", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Verified with the following test case.\r\n```python\r\n# spec.py\r\nimport torch\r\nimport torch_npu\r\n# User can add additional imports here\r\n\r\n# Specify the device name (eg. 'cuda', 'cpu')\r\nDEVICE_NAME = 'npu:0'\r\n\r\n# Specify device-specific backends to dispatch to.\r\n# If not specified (i.e., `None`)...
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? As per title. ## 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-request...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27280/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27280/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27280", "html_url": "https://github.com/huggingface/transformers/pull/27280", "diff_url": "https://github.com/huggingface/transformers/pull/27280.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27280.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27279
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27279/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27279/comments
https://api.github.com/repos/huggingface/transformers/issues/27279/events
https://github.com/huggingface/transformers/issues/27279
1,977,149,033
I_kwDOCUB6oc512OZp
27,279
Different handling of added tokens between fast and slow LlamaTokenizer
{ "login": "cg123", "id": 397199, "node_id": "MDQ6VXNlcjM5NzE5OQ==", "avatar_url": "https://avatars.githubusercontent.com/u/397199?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cg123", "html_url": "https://github.com/cg123", "followers_url": "https://api.github.com/users/cg123/followers"...
[]
closed
false
null
[]
[ "guess it's the same issue as this one: https://github.com/huggingface/transformers/issues/27132", "Yep looks pretty similar. This nevered worked for any tokenizers before 😉 ", "so if I understand the answer in the other thread correctly, using `normalized=False` would yield consistent results for fast and slo...
1,699
1,702
1,702
NONE
null
### System Info - `transformers` version: 4.35.0 - Platform: Linux-5.15.0-67-generic-x86_64-with-glibc2.31 - Python version: 3.10.11 - 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 (True) - Tensorflow ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27279/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27279/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27278
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27278/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27278/comments
https://api.github.com/repos/huggingface/transformers/issues/27278/events
https://github.com/huggingface/transformers/issues/27278
1,977,053,371
I_kwDOCUB6oc5113C7
27,278
Transformers version 4.35.0 is breaking PEFT 0.0.6 -- IndexError
{ "login": "alexsherstinsky", "id": 339166, "node_id": "MDQ6VXNlcjMzOTE2Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/339166?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alexsherstinsky", "html_url": "https://github.com/alexsherstinsky", "followers_url": "https://api.git...
[]
closed
false
null
[]
[ "cc @younesbelkada ", "This should be fixed in https://github.com/huggingface/peft/pull/1084 \r\nWould it makes sense to have a patch release on PEFT side @BenjaminBossan @pacman100 ?", "Thank you very much for jumping on this so fast! If you decide to make a patch, please notify herein -- as I am watching thi...
1,699
1,699
1,699
NONE
null
### System Info Hello, With the Transformers version 4.35.0 and PEFT version 0.6.0 -- when running a model with `input_ids` and `attention_mask` as arguments, the IndexError exception occurs in "peft/tuners/adaption_prompt/utils.py:45": ``` model(input_ids=model_inputs, attention_mask=attention_masks).get("lo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27278/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/27278/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27277
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27277/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27277/comments
https://api.github.com/repos/huggingface/transformers/issues/27277/events
https://github.com/huggingface/transformers/issues/27277
1,976,949,541
I_kwDOCUB6oc511dsl
27,277
Question: Resources to implement random & greedy sampling, beam search?
{ "login": "EricLBuehler", "id": 65165915, "node_id": "MDQ6VXNlcjY1MTY1OTE1", "avatar_url": "https://avatars.githubusercontent.com/u/65165915?v=4", "gravatar_id": "", "url": "https://api.github.com/users/EricLBuehler", "html_url": "https://github.com/EricLBuehler", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hi @EricLBuehler - thanks for raising an issue! \r\n\r\nI can see that the issue is closed but for anyone in future visiting this thread, details on customising generation strategies can be found here: https://huggingface.co/docs/transformers/generation_strategies" ]
1,699
1,699
1,699
NONE
null
Hello everybody, I want to implement random sampling, greedy sampling, and beam search, but cannot seem to find any useful resources on how to implement them. Could you please provide some resources or code examples (perhaps from this repo) on how to implement the sampling strategies above?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27277/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27277/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27276
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27276/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27276/comments
https://api.github.com/repos/huggingface/transformers/issues/27276/events
https://github.com/huggingface/transformers/pull/27276
1,976,903,748
PR_kwDOCUB6oc5ekvri
27,276
Minor type annotation fix
{ "login": "vwxyzjn", "id": 5555347, "node_id": "MDQ6VXNlcjU1NTUzNDc=", "avatar_url": "https://avatars.githubusercontent.com/u/5555347?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vwxyzjn", "html_url": "https://github.com/vwxyzjn", "followers_url": "https://api.github.com/users/vwxyzjn/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi @amyeroberts thanks foe the comment!\r\n\r\n```\r\nFAILED examples/pytorch/test_accelerate_examples.py::ExamplesTestsNoTrainer::test_run_glue_no_trainer - AssertionError: 0.6666666666666666 not greater than or equal to 0.75\r\nFAI...
1,699
1,700
1,699
CONTRIBUTOR
null
# What does this PR do? Very minor type annotation fix. <!-- 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 contribut...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27276/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27276/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27276", "html_url": "https://github.com/huggingface/transformers/pull/27276", "diff_url": "https://github.com/huggingface/transformers/pull/27276.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27276.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27275
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27275/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27275/comments
https://api.github.com/repos/huggingface/transformers/issues/27275/events
https://github.com/huggingface/transformers/pull/27275
1,976,900,834
PR_kwDOCUB6oc5ekvD3
27,275
VSCode pylance auto-completion for `HfArgumentParser` (limited support)
{ "login": "vwxyzjn", "id": 5555347, "node_id": "MDQ6VXNlcjU1NTUzNDc=", "avatar_url": "https://avatars.githubusercontent.com/u/5555347?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vwxyzjn", "html_url": "https://github.com/vwxyzjn", "followers_url": "https://api.github.com/users/vwxyzjn/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27275). All of your documentation changes will be reflected on that endpoint.", "Hello!\r\n\r\nAs some alternative suggestions, `typing.Generic` does make specificity in `parse_args_into_dataclasses()` possible.\r\n\r\n(1) ...
1,699
1,702
1,702
CONTRIBUTOR
null
# Problem description This PR empowers limited support of VSCode auto-completion for `HfArgumentParser`. Currently, the return type of `parse_args_into_dataclasses` is `DataClass = NewType("DataClass", Any)`, which limits pylance's ability to infer types even if we specifically assert a dataclass type fo the args. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27275/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27275/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27275", "html_url": "https://github.com/huggingface/transformers/pull/27275", "diff_url": "https://github.com/huggingface/transformers/pull/27275.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27275.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27274
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27274/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27274/comments
https://api.github.com/repos/huggingface/transformers/issues/27274/events
https://github.com/huggingface/transformers/pull/27274
1,976,695,752
PR_kwDOCUB6oc5ekCo7
27,274
Track the number of tokens seen to metrics
{ "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._", "@amyeroberts question: these failures are all because they cannot find the `main_input_name` in the batch. Does this mean some of the models are wrong?\r\n\r\nFor instance, one of the failures in the examples script is from `SpeechEn...
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? This PR adds `num_tokens_seen` to the `TrainerState` allowing users to know how many tokens were passed in an individual batch. Uses `gather` to ensure that in DDP this can be known as well. Fixes https://github.com/huggingface/transformers/issues/27027 ## Before submitting - [ ] Thi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27274/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27274/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27274", "html_url": "https://github.com/huggingface/transformers/pull/27274", "diff_url": "https://github.com/huggingface/transformers/pull/27274.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27274.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27273
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27273/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27273/comments
https://api.github.com/repos/huggingface/transformers/issues/27273/events
https://github.com/huggingface/transformers/issues/27273
1,976,627,971
I_kwDOCUB6oc510PMD
27,273
Installing pydantic>=2.4.0 would cause error and fail to load model
{ "login": "Luodian", "id": 15847405, "node_id": "MDQ6VXNlcjE1ODQ3NDA1", "avatar_url": "https://avatars.githubusercontent.com/u/15847405?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Luodian", "html_url": "https://github.com/Luodian", "followers_url": "https://api.github.com/users/Luodia...
[]
closed
false
null
[]
[ "Hi @Luodian, thanks for raising this issue! \r\n\r\nI looks like we might have to pin pydantic in our setup.py - WDYT @ydshieh?", "Hi @Luodian \r\n\r\nWe do have `\"pydantic<2\",` in out `setup.py`\r\n\r\nRelated https://github.com/huggingface/transformers/pull/24596\r\n\r\nNot sure how much we can do with `pyda...
1,699
1,702
1,702
NONE
null
### System Info The error would be as ``` Failed to import transformers.generation.utils because of the following error (look up to see its traceback): 'FieldInfo' object has no attribute 'required' ``` I spent a lot of time to spot it's the version change from the installation of upgrading `gradio` and it cau...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27273/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27273/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27272
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27272/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27272/comments
https://api.github.com/repos/huggingface/transformers/issues/27272/events
https://github.com/huggingface/transformers/pull/27272
1,976,505,409
PR_kwDOCUB6oc5ejbM2
27,272
Remove an unexpected argument for FlaxResNetBasicLayerCollection
{ "login": "pingzhili", "id": 55396526, "node_id": "MDQ6VXNlcjU1Mzk2NTI2", "avatar_url": "https://avatars.githubusercontent.com/u/55396526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pingzhili", "html_url": "https://github.com/pingzhili", "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_27272). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? Remove an unexpected argument `activation` which shouldn't be passed to FlaxResNetBasicLayerCollection. Fixes #27257 ## 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 guidel...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27272/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27272/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27272", "html_url": "https://github.com/huggingface/transformers/pull/27272", "diff_url": "https://github.com/huggingface/transformers/pull/27272.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27272.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27271
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27271/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27271/comments
https://api.github.com/repos/huggingface/transformers/issues/27271/events
https://github.com/huggingface/transformers/pull/27271
1,976,484,179
PR_kwDOCUB6oc5ejWoR
27,271
FIx Bark batching feature
{ "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 your reviews here! merging! ", "This was very helpful. Thanks!" ]
1,699
1,706
1,699
COLLABORATOR
null
# What does this PR do? This PR aims to fix batching with Bark: > Currently, when several samples are transmitted to Bark at the same time, i.e. during batch generation, the generated audios all have the same duration, which extends the length of the shortest audios to the longest audio in the batch. > This prob...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27271/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27271/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27271", "html_url": "https://github.com/huggingface/transformers/pull/27271", "diff_url": "https://github.com/huggingface/transformers/pull/27271.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27271.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27270
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27270/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27270/comments
https://api.github.com/repos/huggingface/transformers/issues/27270/events
https://github.com/huggingface/transformers/pull/27270
1,976,393,220
PR_kwDOCUB6oc5ejC3I
27,270
Generate: add DeepMind's Speculative sampling in assisted_generation
{ "login": "domgri", "id": 47460259, "node_id": "MDQ6VXNlcjQ3NDYwMjU5", "avatar_url": "https://avatars.githubusercontent.com/u/47460259?v=4", "gravatar_id": "", "url": "https://api.github.com/users/domgri", "html_url": "https://github.com/domgri", "followers_url": "https://api.github.com/users/domgri/fo...
[]
closed
false
null
[]
[ "cc @gante ", "Hey @domgri 👋 \r\n\r\nThank you for opening the PR! Let me know when you'd like a review 💪 ", "Sure, absolutely. Sorry for not responding sooner, got some unexpected workload, hope to comeback to finish implementation in a week🤞", "Hey, so I gave a couple of tries to finish implementation, a...
1,699
1,700
1,700
NONE
null
# What does this PR do? Implements #27186. Still a draft, work in progress. Implementation inspired from original [paper](https://arxiv.org/abs/2302.01318) and these[[1](https://github.com/feifeibear/LLMSpeculativeSampling/tree/main)][[2](https://github.com/jaymody/speculative-sampling)] existing implementations....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27270/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27270/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27270", "html_url": "https://github.com/huggingface/transformers/pull/27270", "diff_url": "https://github.com/huggingface/transformers/pull/27270.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27270.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27269
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27269/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27269/comments
https://api.github.com/repos/huggingface/transformers/issues/27269/events
https://github.com/huggingface/transformers/pull/27269
1,976,295,430
PR_kwDOCUB6oc5eiui8
27,269
translate autoclass_tutorial 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. I will fix merge conflict later.\r\n\r\nBesides, I think final insturction of `AutoModelForTokenClassification` and `TFAutoModelForSequenceClassification` is a bit repetitive. I think it's better to reduce some introduction and just show differences.\r\n\r\nBest", "The d...
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/27269/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27269/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27269", "html_url": "https://github.com/huggingface/transformers/pull/27269", "diff_url": "https://github.com/huggingface/transformers/pull/27269.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27269.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27268
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27268/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27268/comments
https://api.github.com/repos/huggingface/transformers/issues/27268/events
https://github.com/huggingface/transformers/pull/27268
1,976,289,238
PR_kwDOCUB6oc5eitMQ
27,268
[`Docs` / `SAM` ] Reflect correct changes to run inference without OOM
{ "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_27268). All of your documentation changes will be reflected on that endpoint." ]
1,699
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? Fixes https://github.com/huggingface/transformers/issues/27266 One needs to always wrap the model forward pass to avoid OOM issues for SAM forward pass. In the orignal modeling code they force-use `torch.no_grad()` context manager in the forward pass: https://github.com/facebookresearch/se...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27268/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27268/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27268", "html_url": "https://github.com/huggingface/transformers/pull/27268", "diff_url": "https://github.com/huggingface/transformers/pull/27268.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27268.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27267
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27267/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27267/comments
https://api.github.com/repos/huggingface/transformers/issues/27267/events
https://github.com/huggingface/transformers/pull/27267
1,976,131,753
PR_kwDOCUB6oc5eiKe_
27,267
Add RoPE dimensions to LLaMA config
{ "login": "xunkai55", "id": 4828553, "node_id": "MDQ6VXNlcjQ4Mjg1NTM=", "avatar_url": "https://avatars.githubusercontent.com/u/4828553?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xunkai55", "html_url": "https://github.com/xunkai55", "followers_url": "https://api.github.com/users/xunka...
[]
closed
false
null
[]
[ "cc @gante @ArthurZucker ", "I also would like to get your advise here -\r\n\r\nThe CI \"repository consistency\" fails because this PR upgrades RoPE implementation. However, some models copied RoPE from Llama and marked the functions as copied (example: https://github.com/huggingface/transformers/blob/main/src/t...
1,699
1,700
1,699
NONE
null
# What does this PR do? This PR enables partial RoPE that can be applied to Llama variants / siblings. It's discussed that only applying a half of positional encodings could lead to slight improvements on model performance. Example: https://github.com/lucidrains/x-transformers/issues/40 ## Before submitting -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27267/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27267/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27267", "html_url": "https://github.com/huggingface/transformers/pull/27267", "diff_url": "https://github.com/huggingface/transformers/pull/27267.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27267.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27266
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27266/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27266/comments
https://api.github.com/repos/huggingface/transformers/issues/27266/events
https://github.com/huggingface/transformers/issues/27266
1,975,997,209
I_kwDOCUB6oc51x1MZ
27,266
Segment anything: CUDA out of memory
{ "login": "rb-synth", "id": 135021519, "node_id": "U_kgDOCAxDzw", "avatar_url": "https://avatars.githubusercontent.com/u/135021519?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rb-synth", "html_url": "https://github.com/rb-synth", "followers_url": "https://api.github.com/users/rb-synth/...
[]
closed
false
null
[]
[ "Hi @rb-synth, thanks for raising this issue! \r\n\r\nInteresting - looking at the [checkpoint on the hub](https://huggingface.co/facebook/sam-vit-huge/tree/main), the weights for `sam-vit-huge` are 2.56 GB so should fit into 24GB memory. \r\n\r\nRunning the script on an NVIDIA A10G, I'm able to load the model onto...
1,699
1,699
1,699
NONE
null
### System Info - `transformers` version: 4.35.0 - Platform: Linux-5.15.0-1043-aws-x86_64-with-glibc2.31 - Python version: 3.10.13 - 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+cu121 (True) - Ten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27266/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27266/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27265
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27265/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27265/comments
https://api.github.com/repos/huggingface/transformers/issues/27265/events
https://github.com/huggingface/transformers/pull/27265
1,975,937,027
PR_kwDOCUB6oc5ehe2a
27,265
Generate: skip tests on unsupported models instead of passing
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,699
1,701
1,699
MEMBER
null
# What does this PR do? Skip tests on unsupported models instead of passing, as discussed in #25086 NOTE: I've skipped to whole test in the loop over different heads as soon as it encountered a problem because a) the reason for the skips in generate is always due to some core property of the architecture (AFAIK)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27265/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27265/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27265", "html_url": "https://github.com/huggingface/transformers/pull/27265", "diff_url": "https://github.com/huggingface/transformers/pull/27265.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27265.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27264
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27264/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27264/comments
https://api.github.com/repos/huggingface/transformers/issues/27264/events
https://github.com/huggingface/transformers/pull/27264
1,975,862,192
PR_kwDOCUB6oc5ehOIN
27,264
Translate `en/model_doc` to JP
{ "login": "rajveer43", "id": 64583161, "node_id": "MDQ6VXNlcjY0NTgzMTYx", "avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rajveer43", "html_url": "https://github.com/rajveer43", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Sure\r\n\r\n> Hi, thanks for your PR and apologies for the delay! Several things:\r\n> \r\n> 1. There is some overlap in models (`albert.md` to `autoformer.md`) here with [Translating `en/model_doc` docs to Japanese. #27401](https://github.com/huggingface/transformers/pull/27401) so lets remove those from this PR....
1,699
1,701
1,701
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/27264/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27264/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27264", "html_url": "https://github.com/huggingface/transformers/pull/27264", "diff_url": "https://github.com/huggingface/transformers/pull/27264.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27264.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27263
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27263/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27263/comments
https://api.github.com/repos/huggingface/transformers/issues/27263/events
https://github.com/huggingface/transformers/issues/27263
1,975,788,574
I_kwDOCUB6oc51xCQe
27,263
Huggingface Models doesnt save back to valid LLama weights
{ "login": "kiamesdavies", "id": 3046068, "node_id": "MDQ6VXNlcjMwNDYwNjg=", "avatar_url": "https://avatars.githubusercontent.com/u/3046068?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kiamesdavies", "html_url": "https://github.com/kiamesdavies", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "Hey @kiamesdavies, I see two potential issues in your approach:\r\n- You're using `AutoModel`, which automatically discards the LM head. Given you're using the model for text generation, you really shouldn't discard the LM head. Please use `AutoModelForCausalLM` instead.\r\n- Why are you using `torch.save(model.st...
1,699
1,702
1,702
NONE
null
### System Info - `transformers` version: 4.35.0 - Platform: Linux-5.15.0-84-generic-x86_64-with-glibc2.31 - Python version: 3.10.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) - Tenso...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27263/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27263/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27262
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27262/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27262/comments
https://api.github.com/repos/huggingface/transformers/issues/27262/events
https://github.com/huggingface/transformers/pull/27262
1,975,554,604
PR_kwDOCUB6oc5egLdL
27,262
Avoid many failing tests in doctesting
{ "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,698
1,699
1,699
COLLABORATOR
null
# What does this PR do? Avoid many failing tests in doctesting: currently, src/transformers/models/blip_2/modeling_blip_2.py and docs/source/en/tasks/idefics.md cause problem to other tests With this PR: the failing list is much shorter ``` transformers.generation.configuration_utils.GenerationConfig.from_pretr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27262/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27262/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27262", "html_url": "https://github.com/huggingface/transformers/pull/27262", "diff_url": "https://github.com/huggingface/transformers/pull/27262.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27262.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27261
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27261/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27261/comments
https://api.github.com/repos/huggingface/transformers/issues/27261/events
https://github.com/huggingface/transformers/pull/27261
1,975,535,232
PR_kwDOCUB6oc5egHPt
27,261
Add config.rope_dim to LLaMA
{ "login": "xunkai55", "id": 4828553, "node_id": "MDQ6VXNlcjQ4Mjg1NTM=", "avatar_url": "https://avatars.githubusercontent.com/u/4828553?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xunkai55", "html_url": "https://github.com/xunkai55", "followers_url": "https://api.github.com/users/xunka...
[]
closed
false
null
[]
[ "Ooops, we just found that we are sending a PR from `main` branch.\r\n\r\nTo avoid any confusions we're closing this PR and creating a new one later." ]
1,698
1,699
1,698
NONE
null
# What does this PR do? This PR enables partial RoPE that can be applied to Llama variants / siblings. It's discussed that only applying a half of positional encodings could lead to slight improvements on model performance. Example: https://github.com/lucidrains/x-transformers/issues/40 ## Before submitting -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27261/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27261/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27261", "html_url": "https://github.com/huggingface/transformers/pull/27261", "diff_url": "https://github.com/huggingface/transformers/pull/27261.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27261.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27260
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27260/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27260/comments
https://api.github.com/repos/huggingface/transformers/issues/27260/events
https://github.com/huggingface/transformers/issues/27260
1,975,529,226
I_kwDOCUB6oc51wC8K
27,260
Possible data converting problem when using flash attention 2 with whisper
{ "login": "changyeli", "id": 9058204, "node_id": "MDQ6VXNlcjkwNTgyMDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/9058204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/changyeli", "html_url": "https://github.com/changyeli", "followers_url": "https://api.github.com/users/ch...
[]
closed
false
null
[]
[ "cc @younesbelkada ", "hi @changyeli \r\nCan you share the full traceback of the two errors you are getting?", "Can you also share the content of the dataset? note only the `input_features` needs to be casted in float16 and not the entire entries on your dataset. Perhaps you can use `dataset.map(xxx, batched=Tr...
1,698
1,705
1,705
NONE
null
### System Info - `transformers` version: 4.35.0 - Platform: Linux-5.14.0-284.25.1.el9_2.x86_64-x86_64-with-glibc2.34 - Python version: 3.11.5 - 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) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27260/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27260/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27259
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27259/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27259/comments
https://api.github.com/repos/huggingface/transformers/issues/27259/events
https://github.com/huggingface/transformers/pull/27259
1,975,520,225
PR_kwDOCUB6oc5egD-d
27,259
Add NucleusX Model
{ "login": "syncdoth", "id": 45599998, "node_id": "MDQ6VXNlcjQ1NTk5OTk4", "avatar_url": "https://avatars.githubusercontent.com/u/45599998?v=4", "gravatar_id": "", "url": "https://api.github.com/users/syncdoth", "html_url": "https://github.com/syncdoth", "followers_url": "https://api.github.com/users/syn...
[ { "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 current test failure at `tests_pr_documentation_tests` is due to the incorrect repo_id and links, namely `NucleusAI/NucleusX-7B` and https://huggingface.co/NucleusAI/NucleusX-7B used in examples and model docs. These checkpoints are not released yet; we plan to release them soon.", "cc: @sippycoder and also ...
1,698
1,707
null
NONE
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27259/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27259/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27259", "html_url": "https://github.com/huggingface/transformers/pull/27259", "diff_url": "https://github.com/huggingface/transformers/pull/27259.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27259.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27258
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27258/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27258/comments
https://api.github.com/repos/huggingface/transformers/issues/27258/events
https://github.com/huggingface/transformers/pull/27258
1,975,493,774
PR_kwDOCUB6oc5ef-QN
27,258
[`PEFT` / `Tests` ] Fix peft integration failing tests
{ "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 documentation is not available anymore as the PR was closed or merged._" ]
1,698
1,699
1,699
CONTRIBUTOR
null
# What does this PR do? As per title, this PR fixes issues with respect to failing PEFT tests. Due to the safetensors format being the default format of saving models we need to adapt expected results from tests accordingly. Also added regression tests to make sure previous behaviour is preserved Links to failin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27258/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27258/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27258", "html_url": "https://github.com/huggingface/transformers/pull/27258", "diff_url": "https://github.com/huggingface/transformers/pull/27258.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27258.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27257
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27257/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27257/comments
https://api.github.com/repos/huggingface/transformers/issues/27257/events
https://github.com/huggingface/transformers/issues/27257
1,975,485,946
I_kwDOCUB6oc51v4X6
27,257
An unexpected argument in the ResNet Flax implementation
{ "login": "pingzhili", "id": 55396526, "node_id": "MDQ6VXNlcjU1Mzk2NTI2", "avatar_url": "https://avatars.githubusercontent.com/u/55396526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pingzhili", "html_url": "https://github.com/pingzhili", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi @pingzhili, thanks for raising this issue! \r\n\r\nIndeed, it seems that `activation` shouldn't be passed to FlaxResNetBasicLayerCollection [here](https://github.com/huggingface/transformers/blob/5964f820db1568d26298b37dea9db328185c7f7c/src/transformers/models/resnet/modeling_flax_resnet.py#L218C3-L218C3). Woul...
1,698
1,699
1,699
CONTRIBUTOR
null
### System Info The class `FlaxResNetBasicLayerCollection` does not expect the argument `activation`, but here passes it and would raise error: https://github.com/huggingface/transformers/blob/8a312956fd49efd69adb98c40996719d4c276a01/src/transformers/models/resnet/modeling_flax_resnet.py#L215-L220 The definition...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27257/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27257/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27256
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27256/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27256/comments
https://api.github.com/repos/huggingface/transformers/issues/27256/events
https://github.com/huggingface/transformers/pull/27256
1,975,410,116
PR_kwDOCUB6oc5efsTe
27,256
get default device through `PartialState().default_device` as it has been officially released
{ "login": "statelesshz", "id": 28150734, "node_id": "MDQ6VXNlcjI4MTUwNzM0", "avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/statelesshz", "html_url": "https://github.com/statelesshz", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27256). All of your documentation changes will be reflected on that endpoint.", "@muellerzr If we've had a deprecation notice for a few releases and it's available from the lowest version of accelerate officially supported ...
1,698
1,707
1,706
CONTRIBUTOR
null
# What does this PR do? As per title. The main branch is now at 4.38.dev0, so I submit this PR which is a continuation of (the merged) https://github.com/huggingface/transformers/pull/26774. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ca...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27256/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27256/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27256", "html_url": "https://github.com/huggingface/transformers/pull/27256", "diff_url": "https://github.com/huggingface/transformers/pull/27256.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27256.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27255
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27255/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27255/comments
https://api.github.com/repos/huggingface/transformers/issues/27255/events
https://github.com/huggingface/transformers/issues/27255
1,975,184,370
I_kwDOCUB6oc51uuvy
27,255
Fuyu training fails with a padding error for the same inputs as the test case
{ "login": "Carolinabanana", "id": 140120812, "node_id": "U_kgDOCFoS7A", "avatar_url": "https://avatars.githubusercontent.com/u/140120812?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Carolinabanana", "html_url": "https://github.com/Carolinabanana", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hi @Carolinabanana , I answered here https://github.com/huggingface/transformers/pull/26997#issuecomment-1798846118 to another training script issue, can you check it it helps your case?", "Hey did you get your script working? I'm trying to fine-tune Fuyu as well and would appreciate an example script.", "Hey,...
1,698
1,706
1,699
NONE
null
### System Info transformers-4.36.0.dev0 (commit commit 552ff24488d4027590deded3b2b0d1716df341c3) ### Who can help? @molbap ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27255/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27255/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27254
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27254/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27254/comments
https://api.github.com/repos/huggingface/transformers/issues/27254/events
https://github.com/huggingface/transformers/pull/27254
1,975,155,253
PR_kwDOCUB6oc5ee0u6
27,254
Refactor and Enhance Readability of Zero-Shot Distillation in Transformers
{ "login": "itsmenick212", "id": 52716575, "node_id": "MDQ6VXNlcjUyNzE2NTc1", "avatar_url": "https://avatars.githubusercontent.com/u/52716575?v=4", "gravatar_id": "", "url": "https://api.github.com/users/itsmenick212", "html_url": "https://github.com/itsmenick212", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hi @itsmenick212, thanks for opening this PR and contributing to improving the repo! \r\n\r\nThe research projects are [not maintained](https://github.com/huggingface/transformers/blob/8f1a43cd91cb22b65f1f840f6bca0e156e5e8495/examples/research_projects/README.md#L4) - as such we don't accept new PRs to update them...
1,698
1,702
1,702
NONE
null
# Description: This pull request introduces a series of improvements to the HuggingFace Transformers library, specifically within the zero-shot distillation research project. The changes aim to enhance the code's readability, maintainability, and clarity through thoughtful refactoring and clear organization of datas...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27254/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27254/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27254", "html_url": "https://github.com/huggingface/transformers/pull/27254", "diff_url": "https://github.com/huggingface/transformers/pull/27254.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27254.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27253
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27253/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27253/comments
https://api.github.com/repos/huggingface/transformers/issues/27253/events
https://github.com/huggingface/transformers/pull/27253
1,975,020,392
PR_kwDOCUB6oc5eeW5m
27,253
Fix offload disk for loading derivated model checkpoint into base model
{ "login": "SunMarc", "id": 57196510, "node_id": "MDQ6VXNlcjU3MTk2NTEw", "avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SunMarc", "html_url": "https://github.com/SunMarc", "followers_url": "https://api.github.com/users/SunMar...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for the review @amyeroberts ! Any idea where I should add this test ? I don't think we want to test this for all our models but maybe just for one ? ", "@SunMarc Agreed - just for one model should be enough. I'd suggest putt...
1,698
1,700
1,700
MEMBER
null
# What does this PR This PR fixes #27199. It was not possible load weights from a derived model into the base model when we are offloading parameters to the disk + safetensors. The issue was that we were not able to create the right `offload_index` because the weights didn't match. Example : ```py from trans...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27253/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27253/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27253", "html_url": "https://github.com/huggingface/transformers/pull/27253", "diff_url": "https://github.com/huggingface/transformers/pull/27253.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27253.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27252
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27252/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27252/comments
https://api.github.com/repos/huggingface/transformers/issues/27252/events
https://github.com/huggingface/transformers/issues/27252
1,974,963,717
I_kwDOCUB6oc51t44F
27,252
[i18n-<languageCode>] Translating docs to <languageName>
{ "login": "julija1", "id": 26845972, "node_id": "MDQ6VXNlcjI2ODQ1OTcy", "avatar_url": "https://avatars.githubusercontent.com/u/26845972?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julija1", "html_url": "https://github.com/julija1", "followers_url": "https://api.github.com/users/julija...
[ { "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
[]
[ "Hi @julija1, what language are you wanting to kickstart the community translations for? " ]
1,698
1,698
null
NONE
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 <languageName>-speaking community 🌐 (currently 0 out of 267 complete) Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/hug...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27252/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27252/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/27251
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27251/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27251/comments
https://api.github.com/repos/huggingface/transformers/issues/27251/events
https://github.com/huggingface/transformers/issues/27251
1,974,833,876
I_kwDOCUB6oc51tZLU
27,251
Suspected Blip2ForConditionalGeneration attention mask not working properly
{ "login": "nnethercott", "id": 53127799, "node_id": "MDQ6VXNlcjUzMTI3Nzk5", "avatar_url": "https://avatars.githubusercontent.com/u/53127799?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nnethercott", "html_url": "https://github.com/nnethercott", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Another fun example \r\n\r\nDecoding each question one at a time\r\n```python\r\nprompt = \"Question: {} Answer:\"\r\n\r\ninputs = processor(raw_image, prompt.format(question1), return_tensors = 'pt')\r\nout = model.generate(**inputs)\r\n\r\nprint(processor.tokenizer.decode(out[0], skip_special_tokens = True).stri...
1,698
1,702
1,702
NONE
null
### System Info - `transformers` version: 4.34.1 - Platform: Linux-6.2.0-35-generic-x86_64-with-glibc2.37 - Python version: 3.10.13 - Huggingface_hub version: 0.17.3 - Safetensors version: 0.4.0 - Accelerate version: 0.24.0 - Accelerate config: - compute_environment: LOCAL_MACHINE - distributed_type: MULTI_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27251/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27251/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/27250
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27250/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27250/comments
https://api.github.com/repos/huggingface/transformers/issues/27250/events
https://github.com/huggingface/transformers/pull/27250
1,974,813,378
PR_kwDOCUB6oc5edp7r
27,250
Update the ConversationalPipeline docstring 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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,698
1,699
1,699
MEMBER
null
The `ConversationalPipeline` docstring was a bit out of date - this updates it for the chat template era!
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27250/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27250/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27250", "html_url": "https://github.com/huggingface/transformers/pull/27250", "diff_url": "https://github.com/huggingface/transformers/pull/27250.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27250.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27249
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27249/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27249/comments
https://api.github.com/repos/huggingface/transformers/issues/27249/events
https://github.com/huggingface/transformers/pull/27249
1,974,812,012
PR_kwDOCUB6oc5edpoh
27,249
Normalize floating point cast
{ "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._", "> as the floating values being used to divide the image are now set to 0.\r\n\r\ncould you explain this a bit more?", ">> as the floating values being used to divide the image are now set to 0.\r\n\r\n> could you explain this a bit...
1,698
1,699
1,699
COLLABORATOR
null
# What does this PR do? This is done if the input image isn't of floating type. Issues can occur when `do_rescale=False` is set in an image processor. When this happens, the image passed to the call is of type uint8 because of the type casting that happens in `resize` because of the PIL image library. As the mean an...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27249/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27249/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27249", "html_url": "https://github.com/huggingface/transformers/pull/27249", "diff_url": "https://github.com/huggingface/transformers/pull/27249.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27249.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27248
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27248/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27248/comments
https://api.github.com/repos/huggingface/transformers/issues/27248/events
https://github.com/huggingface/transformers/pull/27248
1,974,721,308
PR_kwDOCUB6oc5edVwP
27,248
Fuyu protection
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,698
1,698
1,698
MEMBER
null
Fuyu was under the wrong protection, this updates it.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27248/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27248/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27248", "html_url": "https://github.com/huggingface/transformers/pull/27248", "diff_url": "https://github.com/huggingface/transformers/pull/27248.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27248.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27247
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27247/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27247/comments
https://api.github.com/repos/huggingface/transformers/issues/27247/events
https://github.com/huggingface/transformers/pull/27247
1,974,650,616
PR_kwDOCUB6oc5edF-X
27,247
Add model RTDetr
{ "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...
[ { "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
[]
[ "@rafaelpadilla Nice work! Excited to get this model added to the library 💪 \r\n\r\nI'm removing the review request for Arthur, as you only need one core maintainer's approval. @NielsRogge if you have time, could you give this a quick review once tests are all passing? It would be good to get your thoughts especia...
1,698
1,706
null
CONTRIBUTOR
null
# What does this PR do? Adds new model RTDetr. Image processing: - [x] preprocess - [x] post_process - [x] post_process_object_detection Tests: - [x] image processing: test_image_processor_outputs - [x] image processing: test_multiple_images_processor_outputs - [x] model: logits and boxes match the or...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27247/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27247/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27247", "html_url": "https://github.com/huggingface/transformers/pull/27247", "diff_url": "https://github.com/huggingface/transformers/pull/27247.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27247.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27246
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27246/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27246/comments
https://api.github.com/repos/huggingface/transformers/issues/27246/events
https://github.com/huggingface/transformers/pull/27246
1,974,536,698
PR_kwDOCUB6oc5ectH3
27,246
translate run_scripts.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 of run_scripts.md, and I will fix merge conflict later.\r\n\r\nBest", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27246). All of your documentation changes will be reflected on that endpoint.", "@stevhliu \r\n\r\nrevi...
1,698
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/27246/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27246/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/27246", "html_url": "https://github.com/huggingface/transformers/pull/27246", "diff_url": "https://github.com/huggingface/transformers/pull/27246.diff", "patch_url": "https://github.com/huggingface/transformers/pull/27246.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/27245
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/27245/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/27245/comments
https://api.github.com/repos/huggingface/transformers/issues/27245/events
https://github.com/huggingface/transformers/issues/27245
1,974,428,910
I_kwDOCUB6oc51r2Tu
27,245
ImportError: cannot import name 'PegasusXForConditionalGeneration'
{ "login": "wlmnzf", "id": 6256515, "node_id": "MDQ6VXNlcjYyNTY1MTU=", "avatar_url": "https://avatars.githubusercontent.com/u/6256515?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wlmnzf", "html_url": "https://github.com/wlmnzf", "followers_url": "https://api.github.com/users/wlmnzf/foll...
[]
closed
false
null
[]
[ "Hi @wlmnzf, thanks for raising this issue! \r\n\r\nIt looks like the might be an issue with the installation of transformers in your environment. Please note that the lowest supported version of python is 3.8. I would suggest first try upgrading your python version and then reinstalling transformers. ", "@amyero...
1,698
1,702
1,702
NONE
null
### System Info I follow the page(https://huggingface.co/docs/transformers/model_doc/pegasus_x) to try to use the PegasusXForConditionalGeneration. But when I import the package ```from transformers import AutoTokenizer, PegasusXForConditionalGeneration```, it goes wrong. ### Who can help? _No response_ ### Info...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/27245/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/27245/timeline
completed
null
null