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/28055 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28055/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28055/comments | https://api.github.com/repos/huggingface/transformers/issues/28055/events | https://github.com/huggingface/transformers/issues/28055 | 2,042,841,032 | I_kwDOCUB6oc55w0fI | 28,055 | Llama-2-70b-chat-hf get worse result than Llama-2-70B-Chat-GPTQ | {
"login": "fancyerii",
"id": 5372812,
"node_id": "MDQ6VXNlcjUzNzI4MTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5372812?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fancyerii",
"html_url": "https://github.com/fancyerii",
"followers_url": "https://api.github.com/users/fa... | [] | closed | false | null | [] | [
"Hi @fancyerii, thanks for raising an issue! \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports.",
"@amyeroberts thanks. But when I post this to forum, it says \"similar content already exist\" and do no... | 1,702 | 1,705 | 1,705 | NONE | null | ### System Info
- `transformers` version: 4.36.0
- Platform: Linux-4.15.0-213-generic-x86_64-with-glibc2.27
- Python version: 3.9.18
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: 0.25.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.1+cu121 (True)
- Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28055/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28055/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28054 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28054/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28054/comments | https://api.github.com/repos/huggingface/transformers/issues/28054/events | https://github.com/huggingface/transformers/pull/28054 | 2,042,669,233 | PR_kwDOCUB6oc5iDfJY | 28,054 | Make GPT2 traceable in meta state | {
"login": "kwen2501",
"id": 6676466,
"node_id": "MDQ6VXNlcjY2NzY0NjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6676466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kwen2501",
"html_url": "https://github.com/kwen2501",
"followers_url": "https://api.github.com/users/kwen2... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28054). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update."
] | 1,702 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
Before this PR, if we create GPT2 on "meta" device and trace it with dynamo or torch.export, the following line would create an error:
```
mask_value = torch.full([], mask_value, dtype=attn_weights.dtype).to(attn_weights.device)
```
```
torch._dynamo.exc.TorchRuntimeError: Failed runni... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28054/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28054/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28054",
"html_url": "https://github.com/huggingface/transformers/pull/28054",
"diff_url": "https://github.com/huggingface/transformers/pull/28054.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28054.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28052 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28052/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28052/comments | https://api.github.com/repos/huggingface/transformers/issues/28052/events | https://github.com/huggingface/transformers/issues/28052 | 2,042,532,506 | I_kwDOCUB6oc55vpKa | 28,052 | ValueError: Flash Attention 2.0 only supports torch.float16 and torch.bfloat16 dtypes. You passed torch.float32, this might lead to unexpected behaviour. | {
"login": "dakinggg",
"id": 43149077,
"node_id": "MDQ6VXNlcjQzMTQ5MDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/43149077?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dakinggg",
"html_url": "https://github.com/dakinggg",
"followers_url": "https://api.github.com/users/dak... | [] | closed | false | null | [] | [
"Also I thought `torch_dtype` wasn't even used when its in the config, maybe that has changed though.",
"Also even specifying `torch_dtype` results in a warnings `In [21]: transformers.AutoModelForCausalLM.from_config(llamacfg, torch_dtype=torch.bfloat16, use_flash_attention_2=True)\r\nYou are attempting to use F... | 1,702 | 1,706 | 1,706 | CONTRIBUTOR | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.36.0
- Platform: Linux-5.15.0-91-generic-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.3.1
- Accelerate version: 0.25.0... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28052/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28052/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28051 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28051/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28051/comments | https://api.github.com/repos/huggingface/transformers/issues/28051/events | https://github.com/huggingface/transformers/pull/28051 | 2,042,351,489 | PR_kwDOCUB6oc5iCYmn | 28,051 | [LLaVa] Add past_key_values to _skip_keys_device_placement to fix multi-GPU dispatch | {
"login": "aismlv",
"id": 13088690,
"node_id": "MDQ6VXNlcjEzMDg4Njkw",
"avatar_url": "https://avatars.githubusercontent.com/u/13088690?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aismlv",
"html_url": "https://github.com/aismlv",
"followers_url": "https://api.github.com/users/aismlv/fo... | [] | closed | false | null | [] | [
"Per my understanding this would only be applied for models that went through the recent cache refactoring. Llava is impacted since it uses Llama and Mistral under the hood, which are part of this PR: https://github.com/huggingface/transformers/pull/26681 \r\nThe recent Mixtral has it: https://github.com/huggingfac... | 1,702 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28051/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28051/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28051",
"html_url": "https://github.com/huggingface/transformers/pull/28051",
"diff_url": "https://github.com/huggingface/transformers/pull/28051.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28051.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28050 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28050/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28050/comments | https://api.github.com/repos/huggingface/transformers/issues/28050/events | https://github.com/huggingface/transformers/pull/28050 | 2,042,242,760 | PR_kwDOCUB6oc5iCAsK | 28,050 | [`EfficientSAM`] Add EfficientSAM to the library | {
"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... | [] | open | false | null | [] | [
"Hey when can we expect this to merge ?",
"Hi @rishabh063 \r\nThanks very much for your interest in this PR - hopefully quite soon, I need some time to make sure logits match then we can merge ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still n... | 1,702 | 1,708 | null | CONTRIBUTOR | null | # What does this PR do?
As per title, this PR adds EfficientSAM, a new architecture from https://github.com/yformer/EfficientSAM that is similar than SAM architecture but with the benefit of being much smaller.
Draft for now
@xenova @yformer | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28050/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 4,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28050/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28050",
"html_url": "https://github.com/huggingface/transformers/pull/28050",
"diff_url": "https://github.com/huggingface/transformers/pull/28050.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28050.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28049 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28049/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28049/comments | https://api.github.com/repos/huggingface/transformers/issues/28049/events | https://github.com/huggingface/transformers/issues/28049 | 2,042,219,768 | I_kwDOCUB6oc55ucz4 | 28,049 | Transformers 4.36 doesn't work with `microsoft/phi-1.5` unless you pass in `trust_remote_code=True` | {
"login": "arnavgarg1",
"id": 106701836,
"node_id": "U_kgDOBlwkDA",
"avatar_url": "https://avatars.githubusercontent.com/u/106701836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arnavgarg1",
"html_url": "https://github.com/arnavgarg1",
"followers_url": "https://api.github.com/users/arn... | [] | closed | false | null | [] | [
"Hi @arnavgarg1 \r\nphi-1 from microsoft still uses code on the Hub feature: https://huggingface.co/microsoft/phi-1_5 \r\nIf you want to use the HF version of Phi-1 you need to use the converted checkpoints from @susnato such as : https://huggingface.co/susnato/phi-1_5_dev - I think we should transfer those weights... | 1,702 | 1,705 | 1,705 | NONE | null | ### System Info
When the transformers library typically adds a new supported model, we no longer need to pass in `trust_remote_code=True` during model or tokenizer initialization.
However, even with the latest version of the transformers package (4.36.1), I see that I need to do it when I try using `microsoft/ph... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28049/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28049/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28048 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28048/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28048/comments | https://api.github.com/repos/huggingface/transformers/issues/28048/events | https://github.com/huggingface/transformers/pull/28048 | 2,042,137,173 | PR_kwDOCUB6oc5iBpkz | 28,048 | Remove warning when Annotion enum is created | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28048). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update."
] | 1,702 | 1,702 | 1,702 | COLLABORATOR | null | # What does this PR do?
The Annotion enum was deprecated in #26941.
I asked for there to be a deprecation warning to let users know if they chose to use the enum. This was overly defensive and in light of recent [complaints of objects being removed/moved from the library](https://github.com/huggingface/transform... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28048/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28048/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28048",
"html_url": "https://github.com/huggingface/transformers/pull/28048",
"diff_url": "https://github.com/huggingface/transformers/pull/28048.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28048.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28047 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28047/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28047/comments | https://api.github.com/repos/huggingface/transformers/issues/28047/events | https://github.com/huggingface/transformers/issues/28047 | 2,042,087,881 | I_kwDOCUB6oc55t8nJ | 28,047 | Don't listify batched pipeline output from input list | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | open | false | null | [] | [
"Somewhat related to this, the conversational pipeline's typing and docstrings do not seem correct (which brought me to the issue above):\r\n\r\nhttps://github.com/huggingface/transformers/blob/c48787f347bd604f656c2cfff730e029c8f8c1fe/src/transformers/pipelines/conversational.py#L262-L280\r\n\r\nThe signature allow... | 1,702 | 1,707 | null | COLLABORATOR | null | ### Feature request
Currently the output that you get from a pipeline seems to depend on the input type. While intuitively that makes sense for distinct primitive types, a difference also seems implemented for generators vs lists vs Datasets. I'd argue that that leads to unexpected behavior.
### Motivation
We can us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28047/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28047/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28046 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28046/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28046/comments | https://api.github.com/repos/huggingface/transformers/issues/28046/events | https://github.com/huggingface/transformers/pull/28046 | 2,042,000,996 | PR_kwDOCUB6oc5iBLr7 | 28,046 | Replace build() with build_in_name_scope() for some TF tests | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28046). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"@amyeroberts It's hard to say - it would depend exactly on how they were loading t... | 1,702 | 1,702 | 1,702 | MEMBER | null | Should have included this in the TF `build()` PR but I missed it until now - some of the TF tests should use `build_in_name_scope()` to ensure layer names aren't changed by that PR!
This fix is just for our tests - users shouldn't be affected by the `build()` PR unless they're manually calling `build()` on models an... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28046/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28046/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28046",
"html_url": "https://github.com/huggingface/transformers/pull/28046",
"diff_url": "https://github.com/huggingface/transformers/pull/28046.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28046.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28045 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28045/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28045/comments | https://api.github.com/repos/huggingface/transformers/issues/28045/events | https://github.com/huggingface/transformers/issues/28045 | 2,041,955,742 | I_kwDOCUB6oc55tcWe | 28,045 | AttributeError: 'tuple' object has no attribute 'to_legacy_cache' | {
"login": "wuxb45",
"id": 564235,
"node_id": "MDQ6VXNlcjU2NDIzNQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/564235?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wuxb45",
"html_url": "https://github.com/wuxb45",
"followers_url": "https://api.github.com/users/wuxb45/follow... | [] | closed | false | null | [] | [
"hi @wuxb45 \r\ncan you share a fully reproducible snippet?",
"I have the same issue with transofrmers 4.36.1. I am using DeepSpeed framework to generate a response and face this the same error. ",
"We cannot help you if you don't share a reproducible snippet. The way this part of the code works should not trig... | 1,702 | 1,708 | 1,707 | NONE | null | ### System Info
transformers 4.36.1.
```
transformers/models/llama/modeling_llama.py", line 1093, in forward
next_cache = next_decoder_cache.to_legacy_cache() if use_legacy_cache else next_decoder_cache
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'tuple' object has no attribute 'to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28045/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28045/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28044 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28044/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28044/comments | https://api.github.com/repos/huggingface/transformers/issues/28044/events | https://github.com/huggingface/transformers/pull/28044 | 2,041,925,830 | PR_kwDOCUB6oc5iA7Kp | 28,044 | Insertion Constraint | {
"login": "massabaali7",
"id": 100831623,
"node_id": "U_kgDOBgKRhw",
"avatar_url": "https://avatars.githubusercontent.com/u/100831623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/massabaali7",
"html_url": "https://github.com/massabaali7",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @gante ",
"@amyeroberts @gante did you get the chance to review my code?\r\nThanks in advance ",
"Hi @massabaali7 👋 \r\n\r\nIt is my understanding that constrained beam search is not very used by the community. As such, I'm not adding more code related to it at the moment, as we have limited bandwidth to e... | 1,702 | 1,707 | 1,707 | NONE | null | My contribution lies mainly in the constraints class, which is represented in the constrained beam search. It enables conditional token injection in the constrained beam search. The new constraint allows the insertion of one or more tokens from a list of words into the output. Also, you have the ability to not insert a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28044/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28044",
"html_url": "https://github.com/huggingface/transformers/pull/28044",
"diff_url": "https://github.com/huggingface/transformers/pull/28044.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28044.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28043 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28043/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28043/comments | https://api.github.com/repos/huggingface/transformers/issues/28043/events | https://github.com/huggingface/transformers/pull/28043 | 2,041,888,381 | PR_kwDOCUB6oc5iAzA7 | 28,043 | [`FA-2`] Fix fa-2 issue when passing `config` to `from_pretrained` | {
"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 | [] | [
"I am not 100% sure this approach is correct cc @fxmarty does this looks good to you (as you took care of the attention refactor) ?",
"I'm a bit concerned about this - this is effectively a patch inside `from_pretrained` to add backwards compatibility that should have already been handled. The main question this ... | 1,702 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
Fixes: https://github.com/huggingface/transformers/issues/28038
Some users pass the `config` attribute to `from_pretrained` in order to modify model's hyperparameters to modify the undelrying architecture.
Note in previous versions before the attention refactor, it was possible to perf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28043/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28043/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28043",
"html_url": "https://github.com/huggingface/transformers/pull/28043",
"diff_url": "https://github.com/huggingface/transformers/pull/28043.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28043.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28042 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28042/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28042/comments | https://api.github.com/repos/huggingface/transformers/issues/28042/events | https://github.com/huggingface/transformers/issues/28042 | 2,041,878,900 | I_kwDOCUB6oc55tJl0 | 28,042 | Confusing deprecation / warning messages | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"@patrickvonplaten Thanks for reporting. I think I know the culprit PR but indeed it shouldn't be triggered here. Looking into it 🕵️ ",
"Or, at least I know about `AnnotionFormat` - I don't have any immediate ideas regarding `text_config_dict`",
"~~The `text_config_dict` is from~~\r\n\r\n~~https://huggingface.... | 1,702 | 1,703 | 1,703 | MEMBER | null | ### System Info
```
- `transformers` version: 4.37.0.dev0
- Platform: Linux-5.15.0-88-generic-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.19.3
- Safetensors version: 0.4.1
- Accelerate version: 0.24.1
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.1+cu121 (Tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28042/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/28042/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28041 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28041/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28041/comments | https://api.github.com/repos/huggingface/transformers/issues/28041/events | https://github.com/huggingface/transformers/issues/28041 | 2,041,869,865 | I_kwDOCUB6oc55tHYp | 28,041 | Loading a model fails if it has been compiled with torch.compile | {
"login": "peacefulotter",
"id": 32218033,
"node_id": "MDQ6VXNlcjMyMjE4MDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/32218033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/peacefulotter",
"html_url": "https://github.com/peacefulotter",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"This would be better posted in the safetensors repo rather than transformers I believe? https://github.com/huggingface/safetensors",
"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 no... | 1,702 | 1,705 | 1,705 | NONE | null | ### System Info
- `transformers` version: 4.36.1
- Platform: Linux-6.2.0-37-generic-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu118 (False)
- T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28041/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28041/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28039 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28039/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28039/comments | https://api.github.com/repos/huggingface/transformers/issues/28039/events | https://github.com/huggingface/transformers/issues/28039 | 2,041,771,174 | I_kwDOCUB6oc55svSm | 28,039 | Unable to load models | {
"login": "dwojcik92",
"id": 10101471,
"node_id": "MDQ6VXNlcjEwMTAxNDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/10101471?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dwojcik92",
"html_url": "https://github.com/dwojcik92",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @dwojcik92, thanks for raising this issue! \r\n\r\nI'm unable to reproduce this on my side. It looks like the checkpoints have only partially downloaded in the cache. If you're not setting your cache path, the model downloads will be found under `$HOME/.cache/huggingface/hub`. Could you check there and see if t... | 1,702 | 1,705 | 1,705 | NONE | null | ### System Info
- `transformers` version: 4.37.0.dev0
- Platform: Linux-5.15.0-89-generic-x86_64-with-glibc2.35
- Python version: 3.10.10
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: 0.25.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.1+cu121 (True)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28039/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28039/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28038 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28038/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28038/comments | https://api.github.com/repos/huggingface/transformers/issues/28038/events | https://github.com/huggingface/transformers/issues/28038 | 2,041,768,889 | I_kwDOCUB6oc55suu5 | 28,038 | Cannot specify config and attn_implementation simultaneously | {
"login": "hiyouga",
"id": 16256802,
"node_id": "MDQ6VXNlcjE2MjU2ODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/16256802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hiyouga",
"html_url": "https://github.com/hiyouga",
"followers_url": "https://api.github.com/users/hiyoug... | [] | closed | false | null | [] | [
"hi @hiyouga \r\nThanks a lot for the issue! \r\nI think that you cannot pass both the config and `attn_implementation` , can you elaborate a bit on why you would like to pass the config as well as `attn_implementation` into `from_pretrained`? The canonical way to load a FA2 model is:\r\n\r\n```python\r\nimport tor... | 1,702 | 1,702 | 1,702 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.36.1
- Platform: Linux-5.15.0-89-generic-x86_64-with-glibc2.35
- Python version: 3.10.10
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.0
- Accelerate version: 0.23.0
- Accelerate config:
- compute_environment: LOCAL_MACHINE
- distributed_type: MULT... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28038/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/28038/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28037 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28037/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28037/comments | https://api.github.com/repos/huggingface/transformers/issues/28037/events | https://github.com/huggingface/transformers/pull/28037 | 2,041,737,247 | PR_kwDOCUB6oc5iARr7 | 28,037 | Generate: Mistral/Mixtral FA2 cache fix when going beyond the context window | {
"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 | [] | [
"This indeed seems to address what was described [here](https://github.com/huggingface/transformers/issues/27985#issuecomment-1855524359), well done!",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28037). All of your documentation changes will be reflected on that end... | 1,702 | 1,702 | 1,702 | MEMBER | null | # What does this PR do?
The FA2 code path was indexing the `Cache` object incorrectly. This PR fixes it.
Fixes #27985
_____________________________________________________________
NOTE: `tests/models/mistral/test_modeling_mistral.py::MistralIntegrationTest::test_model_7b_long_prompt` (slow test) was failin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28037/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/28037/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28037",
"html_url": "https://github.com/huggingface/transformers/pull/28037",
"diff_url": "https://github.com/huggingface/transformers/pull/28037.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28037.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28036 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28036/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28036/comments | https://api.github.com/repos/huggingface/transformers/issues/28036/events | https://github.com/huggingface/transformers/issues/28036 | 2,041,714,954 | I_kwDOCUB6oc55shkK | 28,036 | SeamlessM4T: `test_retain_grad_hidden_states_attentions` is flaky | {
"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... | [] | open | false | null | [] | [
"@ylacombe Re-opening as this isn't resolved by #28060 (it just makes sure our CI doesn't break)",
"Alright, copying the reasons for flakiness from #28060 for trackability then!\r\n\r\n> After investigating the reasons for the test_retain_grad_hidden_states_attentions flaky failure, I realized the speech encoder ... | 1,702 | 1,707 | null | MEMBER | null | See the related PR which added the `is_flaky` decorator: https://github.com/huggingface/transformers/pull/28035
cc @ylacombe, to explore in case you have spare bandwidth :) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28036/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28036/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28035 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28035/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28035/comments | https://api.github.com/repos/huggingface/transformers/issues/28035/events | https://github.com/huggingface/transformers/pull/28035 | 2,041,701,813 | PR_kwDOCUB6oc5iAJ18 | 28,035 | SeamlessM4T: `test_retain_grad_hidden_states_attentions` is flaky | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | MEMBER | null | # What does this PR do?
Adds the `@is_flaky()` decorator to `test_retain_grad_hidden_states_attentions` in SeamlessM4T, as it is a flaky test with a ~11% failure rate.
As discussed internally on Slack. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28035/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/28035/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28035",
"html_url": "https://github.com/huggingface/transformers/pull/28035",
"diff_url": "https://github.com/huggingface/transformers/pull/28035.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28035.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28034 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28034/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28034/comments | https://api.github.com/repos/huggingface/transformers/issues/28034/events | https://github.com/huggingface/transformers/issues/28034 | 2,041,607,169 | I_kwDOCUB6oc55sHQB | 28,034 | Some weights of BlipModel were not initialized from the model checkpoint. | {
"login": "u7122029",
"id": 111028268,
"node_id": "U_kgDOBp4oLA",
"avatar_url": "https://avatars.githubusercontent.com/u/111028268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/u7122029",
"html_url": "https://github.com/u7122029",
"followers_url": "https://api.github.com/users/u7122029/... | [] | closed | false | null | [] | [
"Hi @u7122029, thanks for raising this issue and taking the time to write up all of these details - it really helps us. \r\n\r\nIndeed, this doesn't seem like a desired behaviour. From the linked issue and these comments - [[1](https://github.com/huggingface/transformers/issues/25024#issuecomment-1648023318)], [[2]... | 1,702 | 1,708 | 1,708 | NONE | null | ### System Info
```py
import transformers
print(transformers.__version__)
>>> 4.35.2
```
Windows 10
### Who can help?
@amyeroberts
### 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/28034/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28034/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28033 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28033/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28033/comments | https://api.github.com/repos/huggingface/transformers/issues/28033/events | https://github.com/huggingface/transformers/issues/28033 | 2,041,498,499 | I_kwDOCUB6oc55rsuD | 28,033 | I got a message about Flash Attention 2 when I using axolotl full fine tuning mixtral7B x 8 | {
"login": "DopeorNope-Lee",
"id": 86828497,
"node_id": "MDQ6VXNlcjg2ODI4NDk3",
"avatar_url": "https://avatars.githubusercontent.com/u/86828497?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DopeorNope-Lee",
"html_url": "https://github.com/DopeorNope-Lee",
"followers_url": "https://api.gi... | [] | open | false | null | [] | [
"Hi @DopeorNope-Lee, thanks for raising this issue! \r\n\r\nCould you share your running environment: run `transformers-cli env` in the terminal and copy-paste the output? ",
"Use version `flash_attn==2.3.4`\r\nand on the axo cfg `flash_attention_2: true`",
"Hi @fblgit, thanks for providing this information. To... | 1,702 | 1,707 | null | NONE | null | ### System Info
```python3
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/conda/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/jovyan/fileviewer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28033/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28033/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28032 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28032/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28032/comments | https://api.github.com/repos/huggingface/transformers/issues/28032/events | https://github.com/huggingface/transformers/pull/28032 | 2,041,396,189 | PR_kwDOCUB6oc5h_Gaf | 28,032 | [`Llava`] Fix llava index errors | {
"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 | [] | [
"Hi @amyeroberts , I agree it is quite hacky, let me take some time to further investigate and provide a proper fix",
"@younesbelkada I saw no other issue except here onwards `batch_index, non_attended_tokens = torch.where(first_layer_past_key_value == 0)`\r\n\r\n`first_layer_past_key_value.shape[1]` is bigger th... | 1,702 | 1,703 | 1,703 | CONTRIBUTOR | null | # What does this PR do?
Fixes errors on the Hub such as https://huggingface.co/llava-hf/llava-1.5-7b-hf/discussions/6 and https://huggingface.co/llava-hf/bakLlava-v1-hf/discussions/4
I did not managed to repro as the issue seems to happen on some specific custom images for some reason, however @gullalc managed to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28032/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28032/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28032",
"html_url": "https://github.com/huggingface/transformers/pull/28032",
"diff_url": "https://github.com/huggingface/transformers/pull/28032.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28032.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28031 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28031/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28031/comments | https://api.github.com/repos/huggingface/transformers/issues/28031/events | https://github.com/huggingface/transformers/pull/28031 | 2,041,348,472 | PR_kwDOCUB6oc5h-7_X | 28,031 | [`core` / `modeling`] Fix training bug with PEFT + GC | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/28023
4.36.0 led to a bug when users are in the case of GC + training which should force-set `use_cache` to `False` here: https://github.com/huggingface/transformers/blob/main/src/transformers/models/llama/modeling_llama.py#L1008 - w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28031/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28031/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28031",
"html_url": "https://github.com/huggingface/transformers/pull/28031",
"diff_url": "https://github.com/huggingface/transformers/pull/28031.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28031.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28030 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28030/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28030/comments | https://api.github.com/repos/huggingface/transformers/issues/28030/events | https://github.com/huggingface/transformers/pull/28030 | 2,041,344,710 | PR_kwDOCUB6oc5h-7Kw | 28,030 | Generate: assisted decoding now uses `generate` for the assistant | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28030). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"@amyeroberts the failing test is also failing in the daily CI (i.e. unrelated to t... | 1,702 | 1,702 | 1,702 | MEMBER | null | # What does this PR do?
Subset of the original changes in #27979
"Reworks assisted candidate generation to call .generate(), instead of having its own custom generation loop. For most models this is nothing more than a nice abstraction. However, for models with a custom generate() function, this means the assista... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28030/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28030/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28030",
"html_url": "https://github.com/huggingface/transformers/pull/28030",
"diff_url": "https://github.com/huggingface/transformers/pull/28030.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28030.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28029 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28029/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28029/comments | https://api.github.com/repos/huggingface/transformers/issues/28029/events | https://github.com/huggingface/transformers/pull/28029 | 2,041,292,753 | PR_kwDOCUB6oc5h-vzv | 28,029 | Fix AMD push CI not triggered | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | COLLABORATOR | null | # What does this PR do?
Same as #27951 but for AMD Push CI (I didn't realize it has the same issue until today after looking [the run page](https://github.com/huggingface/transformers/actions/workflows/self-push-amd-mi210-caller.yml)) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28029/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28029/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28029",
"html_url": "https://github.com/huggingface/transformers/pull/28029",
"diff_url": "https://github.com/huggingface/transformers/pull/28029.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28029.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28028 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28028/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28028/comments | https://api.github.com/repos/huggingface/transformers/issues/28028/events | https://github.com/huggingface/transformers/issues/28028 | 2,041,162,326 | I_kwDOCUB6oc55qapW | 28,028 | An error occurred when using AWQ Fused modules | {
"login": "moufuyu",
"id": 62968285,
"node_id": "MDQ6VXNlcjYyOTY4Mjg1",
"avatar_url": "https://avatars.githubusercontent.com/u/62968285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/moufuyu",
"html_url": "https://github.com/moufuyu",
"followers_url": "https://api.github.com/users/moufuy... | [] | closed | false | null | [] | [
"cc @SunMarc ",
"Hi @moufuyu \r\nThanks for the issue and for your interest in using this feature! \r\nCurrently autoawq on pypi is broken with transformers 4.36.0, I fixed the issue on AutoAWQ side with https://github.com/casper-hansen/AutoAWQ/pull/244 but there is no release yet. To fix your issue you can eithe... | 1,702 | 1,705 | 1,705 | NONE | null | ### System Info
- `transformers` version: 4.36.0
- `autoawq` version: 0.1.7
- Platform: Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.26
- Python version: 3.10.13
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: 0.25.0
- Accelerate config: not found
- PyTorch versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28028/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28028/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28027 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28027/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28027/comments | https://api.github.com/repos/huggingface/transformers/issues/28027/events | https://github.com/huggingface/transformers/issues/28027 | 2,041,012,344 | I_kwDOCUB6oc55p2B4 | 28,027 | 4.36 transformers got wrong _save_checkpoint with deepspeed. work with previous versions | {
"login": "tszdanger",
"id": 35394351,
"node_id": "MDQ6VXNlcjM1Mzk0MzUx",
"avatar_url": "https://avatars.githubusercontent.com/u/35394351?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tszdanger",
"html_url": "https://github.com/tszdanger",
"followers_url": "https://api.github.com/users/... | [
{
"id": 5616426447,
"node_id": "LA_kwDOCUB6oc8AAAABTsPdzw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/solved",
"name": "solved",
"color": "B1D6DC",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"See this PR: https://github.com/huggingface/transformers/pull/28009\r\nIt can help overcome this issue.",
"Glad to see this issue has been fixed :) ",
"> See this PR: #28009 It can help overcome this issue.\r\n\r\nit not worked!",
"@jiezhangGt could you provide a reproduer / make sure you are using the lates... | 1,702 | 1,707 | null | NONE | null | ### System Info
transformers: 4.36.0
python: 3.10
deepspeed: 0.9.4
Traceback (most recent call last):
File "/home/xxxx/xxxx/src/./xxxx.py", line 363, in <module>
main(args)
File "/home/xxxx/xxxx/src/./xxxx.py", line 352, in main
run_training(args, train_dataset, eval_dataset, l... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28027/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28027/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28026 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28026/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28026/comments | https://api.github.com/repos/huggingface/transformers/issues/28026/events | https://github.com/huggingface/transformers/pull/28026 | 2,040,995,464 | PR_kwDOCUB6oc5h9wEN | 28,026 | [`SeamlessM4TTokenizer`] Safe import | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | COLLABORATOR | null | # What does this PR do?
Safe import for seamless M4T. Stumbled upon this doing the patch | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28026/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/28026/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28026",
"html_url": "https://github.com/huggingface/transformers/pull/28026",
"diff_url": "https://github.com/huggingface/transformers/pull/28026.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28026.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28025 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28025/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28025/comments | https://api.github.com/repos/huggingface/transformers/issues/28025/events | https://github.com/huggingface/transformers/issues/28025 | 2,040,894,624 | I_kwDOCUB6oc55pZSg | 28,025 | How to combine two pretrained model in huggingface transformers? | {
"login": "rangehow",
"id": 88258534,
"node_id": "MDQ6VXNlcjg4MjU4NTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/88258534?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rangehow",
"html_url": "https://github.com/rangehow",
"followers_url": "https://api.github.com/users/ran... | [] | closed | false | null | [] | [
"Hi @rangehow, thanks for raising this issue! \r\n\r\nAre you sure the weights save in `dir_to_bert_ckpt` aren't just gaussian initialized with bias at 0 and that's what's being loaded in? If I make my own dummy model, following the pattern in the example, the weights for the `self.bert` layer are loaded in, as ex... | 1,702 | 1,704 | 1,704 | NONE | null | ### Feature request
I want to combine two pretrained model(LLAMA and BERT) in a new python class. More specific,The way I've tried is to define a new class c that inherits llama and load bert in c's \_\_init\_\_ function.
` and could you `print(model)` as well?",
"Fixed by https://github.com/huggingface/transformers/pull/28031"
] | 1,702 | 1,703 | 1,703 | NONE | null | bisected to #26681
### System Info
Device: A10
- huggingface_hub version: 0.19.4
- Platform: Linux-5.10.134-15.al8.x86_64-x86_64-with-glibc2.32
- Python version: 3.10.13
- Running in iPython ?: No
- Running in notebook ?: No
- Running in Google Colab ?: No
- Token path ?: /home/ecs-user/.cache/huggingfac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28024/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28024/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28023 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28023/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28023/comments | https://api.github.com/repos/huggingface/transformers/issues/28023/events | https://github.com/huggingface/transformers/issues/28023 | 2,040,821,101 | I_kwDOCUB6oc55pHVt | 28,023 | PEFT+gradient checkpointing causes attention mask shape mismatch during backward pass | {
"login": "geoffreyangus",
"id": 29719151,
"node_id": "MDQ6VXNlcjI5NzE5MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/29719151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/geoffreyangus",
"html_url": "https://github.com/geoffreyangus",
"followers_url": "https://api.githu... | [] | closed | false | {
"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... | [
{
"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"... | [
"hi @geoffreyangus \r\nthanks for the clean reproducer, I can confirm #28031 fixes the bug",
"Ah, @younesbelkada were you able to try with Mixtral as well (the commented out MODEL_ID in the reproducer)? It still seems to be broken on my side.",
"Hi @geoffreyangus \r\nThanks, indeed, just made #28061"
] | 1,702 | 1,702 | 1,702 | NONE | null | ### System Info
- `transformers` version: 4.36.0
- Platform: Linux-5.4.0-152-generic-x86_64-with-glibc2.17
- Python version: 3.8.13
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: 0.24.1
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.1+cu121 (True)
- Tensor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28023/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 1,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28023/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28022 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28022/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28022/comments | https://api.github.com/repos/huggingface/transformers/issues/28022/events | https://github.com/huggingface/transformers/issues/28022 | 2,040,774,659 | I_kwDOCUB6oc55o8AD | 28,022 | No effect of gradient_checkpointing when training llama-2 | {
"login": "getao",
"id": 12735658,
"node_id": "MDQ6VXNlcjEyNzM1NjU4",
"avatar_url": "https://avatars.githubusercontent.com/u/12735658?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/getao",
"html_url": "https://github.com/getao",
"followers_url": "https://api.github.com/users/getao/follow... | [] | closed | false | null | [] | [
"Could you share a minimal reproducer that shows that there is no improvements / how you are enabling it? ",
"> Could you share a minimal reproducer that shows that there is no improvements / how you are enabling it?\r\n\r\n```\r\n\r\ndef main():\r\n parser = transformers.HfArgumentParser((ModelArguments, Data... | 1,702 | 1,707 | 1,707 | NONE | null | ### System Info
transformers == 4.35.2
pytorch == 2.1.1
### Who can help?
@ArthurZucker
Hello, I'm training Llama-2 with flash-attn 2 using torchrun. However, I found that using gradient_checkpointing doesn't help save GPU memory. The training speed doesn't reduce either.
I doubt there is something wrong with... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28022/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28022/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28021 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28021/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28021/comments | https://api.github.com/repos/huggingface/transformers/issues/28021/events | https://github.com/huggingface/transformers/issues/28021 | 2,040,645,353 | I_kwDOCUB6oc55ocbp | 28,021 | Incorrect router probability calculation | {
"login": "lhallee",
"id": 72926928,
"node_id": "MDQ6VXNlcjcyOTI2OTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/72926928?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhallee",
"html_url": "https://github.com/lhallee",
"followers_url": "https://api.github.com/users/lhalle... | [] | closed | false | null | [] | [
"Sorry could you either show the issue or detail where you had a problem? The computation is different because the output shape are also different, the routing mecanism is also different. 🤗 ",
"Sure! @ArthurZucker\r\n\r\nHere's the current loss function for convenience\r\n```\r\ndef load_balancing_loss_func(gat... | 1,702 | 1,703 | 1,703 | NONE | null | ### System Info
transformers version 4.36.0
### Who can help?
@ArthurZucker and @younesbelkada
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give detai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28021/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28021/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28020 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28020/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28020/comments | https://api.github.com/repos/huggingface/transformers/issues/28020/events | https://github.com/huggingface/transformers/pull/28020 | 2,040,514,024 | PR_kwDOCUB6oc5h8KMu | 28,020 | Fix wrong examples in llava usage. | {
"login": "Lyken17",
"id": 7783214,
"node_id": "MDQ6VXNlcjc3ODMyMTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7783214?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lyken17",
"html_url": "https://github.com/Lyken17",
"followers_url": "https://api.github.com/users/Lyken17/... | [] | closed | false | null | [] | [
"@amyeroberts I have revised the docs, please have a check."
] | 1,702 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28020/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28020/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28020",
"html_url": "https://github.com/huggingface/transformers/pull/28020",
"diff_url": "https://github.com/huggingface/transformers/pull/28020.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28020.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28019 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28019/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28019/comments | https://api.github.com/repos/huggingface/transformers/issues/28019/events | https://github.com/huggingface/transformers/pull/28019 | 2,040,461,517 | PR_kwDOCUB6oc5h7-qh | 28,019 | Fix languages covered by M4Tv2 | {
"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 | [] | [
"Thanks for the suggestion @amyeroberts ! I've integrated them and will merge when the CI is green!"
] | 1,702 | 1,702 | 1,702 | COLLABORATOR | null | # What does this PR do?
Currently, M4Tv2 into-text tasks (ASR, S2TT, T2TT) do not work for languages outside of the 36 for which audio is supported. This is linked to a test at the beginning of the model generate. The model previously verified if the `tgt_lang` was in a bunch of dictionaries, independently from the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28019/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28019/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28019",
"html_url": "https://github.com/huggingface/transformers/pull/28019",
"diff_url": "https://github.com/huggingface/transformers/pull/28019.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28019.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28018 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28018/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28018/comments | https://api.github.com/repos/huggingface/transformers/issues/28018/events | https://github.com/huggingface/transformers/pull/28018 | 2,040,430,141 | PR_kwDOCUB6oc5h73xE | 28,018 | [GPTQ] Fix test | {
"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 | [] | [
"@SunMarc Do you have permissions to merge? If not, I can merge this in if it's good to go",
"I'll merge it ! thx for the reminder "
] | 1,702 | 1,705 | 1,705 | MEMBER | null | # What does this PR do ?
This PR fixes failing tests related to GPTQ quantization. The breaking tests are related to modification on optimum side and OOM from the new runner. I've also replaced for a smaller model. related optimum [PR](https://github.com/huggingface/optimum/pull/1574/files#) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28018/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28018/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28018",
"html_url": "https://github.com/huggingface/transformers/pull/28018",
"diff_url": "https://github.com/huggingface/transformers/pull/28018.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28018.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28017 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28017/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28017/comments | https://api.github.com/repos/huggingface/transformers/issues/28017/events | https://github.com/huggingface/transformers/pull/28017 | 2,040,398,233 | PR_kwDOCUB6oc5h7wxc | 28,017 | [`chore`] Update warning text, a word was missing | {
"login": "tomaarsen",
"id": 37621491,
"node_id": "MDQ6VXNlcjM3NjIxNDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/37621491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomaarsen",
"html_url": "https://github.com/tomaarsen",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@amyeroberts This should be a simple merge; but I'd like to leave it to a core maintainer as I'm not 100% sure whether non-core maintainers should be merging on `transformers`.",
"We usually let HF people merge their own PRs 😉 Could you rebase on main before merging? ",
"Good to know!\r\n\r\nRebased & force p... | 1,702 | 1,705 | 1,705 | MEMBER | null | Hello!
# What does this PR do?
* Updates a warning text: "lead" was missing.
I missed this in the original PR, apologies.
## Before submitting
- [x] This PR fixes a typo or improves the docs
## Who can review?
@ArthurZucker
cc: @stas00 Thanks for pointing this out here: https://github.com/huggingf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28017/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/28017/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28017",
"html_url": "https://github.com/huggingface/transformers/pull/28017",
"diff_url": "https://github.com/huggingface/transformers/pull/28017.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28017.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28016 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28016/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28016/comments | https://api.github.com/repos/huggingface/transformers/issues/28016/events | https://github.com/huggingface/transformers/pull/28016 | 2,040,375,252 | PR_kwDOCUB6oc5h7r4k | 28,016 | [docs] MPS | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | MEMBER | null | As a part of a larger effort to clean up the `Trainer` API docs in #27986, this PR moves the [Trainer for accelerated PyTorch training on Mac](https://huggingface.co/docs/transformers/main/en/main_classes/trainer#using-trainer-for-accelerated-pytorch-training-on-mac) section to the currently empty [Training on Speciali... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28016/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28016/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28016",
"html_url": "https://github.com/huggingface/transformers/pull/28016",
"diff_url": "https://github.com/huggingface/transformers/pull/28016.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28016.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28015 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28015/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28015/comments | https://api.github.com/repos/huggingface/transformers/issues/28015/events | https://github.com/huggingface/transformers/issues/28015 | 2,040,353,985 | I_kwDOCUB6oc55nVTB | 28,015 | Race condition while saving the checkpoint of the model | {
"login": "upperwal",
"id": 5246435,
"node_id": "MDQ6VXNlcjUyNDY0MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5246435?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/upperwal",
"html_url": "https://github.com/upperwal",
"followers_url": "https://api.github.com/users/upper... | [] | closed | false | null | [] | [
"@upperwal see https://github.com/huggingface/transformers/pull/28009",
"@thundergolfer Oh, awesome! Will close this issue. "
] | 1,702 | 1,702 | 1,702 | NONE | null | ### System Info
- `transformers` version: 4.36.0
- Platform: Linux-5.4.0-80-generic-x86_64-with-glibc2.31
- Python version: 3.11.5
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: 0.25.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (True)
- Tensorflow vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28015/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28015/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28014 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28014/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28014/comments | https://api.github.com/repos/huggingface/transformers/issues/28014/events | https://github.com/huggingface/transformers/pull/28014 | 2,040,315,855 | PR_kwDOCUB6oc5h7e7a | 28,014 | Fixed spelling error in T5 tokenizer warning message (s/thouroughly/t… | {
"login": "jeddobson",
"id": 11461294,
"node_id": "MDQ6VXNlcjExNDYxMjk0",
"avatar_url": "https://avatars.githubusercontent.com/u/11461294?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeddobson",
"html_url": "https://github.com/jeddobson",
"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_28014). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update."
] | 1,702 | 1,704 | 1,702 | CONTRIBUTOR | null | # Spelling correction
This is a simple word change for a warning message generated by the T5 tokenizer ('src/transformers/models/t5/tokenization_t5.py') that appeared when converting LLAMA weights to HF format.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28014/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28014/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28014",
"html_url": "https://github.com/huggingface/transformers/pull/28014",
"diff_url": "https://github.com/huggingface/transformers/pull/28014.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28014.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28013 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28013/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28013/comments | https://api.github.com/repos/huggingface/transformers/issues/28013/events | https://github.com/huggingface/transformers/issues/28013 | 2,040,312,392 | I_kwDOCUB6oc55nLJI | 28,013 | What's the purpose of Pad to 64 in LLaVA | {
"login": "ShoufaChen",
"id": 28682908,
"node_id": "MDQ6VXNlcjI4NjgyOTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/28682908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShoufaChen",
"html_url": "https://github.com/ShoufaChen",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @ShoufaChen \r\nThanks for the issue,\r\nIn contrast to the official implementation, we decided to padd the language model's vocabulary size to introduce the new `<image>` token. Instead of adding 2, which is in fact sufficient, we decided to go for 64 for performance reasons as explained in this document: http... | 1,702 | 1,702 | 1,702 | NONE | null | Hello @younesbelkada,
Thanks for your awesome work that integrates LLaVA to transformers repo.
Would you mind providing more details about the padding tokenizer to 64 here?
https://github.com/huggingface/transformers/blob/fe44b1f1a974139cd32a8884a63686425283b07c/src/transformers/models/llava/convert_llava_wei... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28013/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28013/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28012 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28012/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28012/comments | https://api.github.com/repos/huggingface/transformers/issues/28012/events | https://github.com/huggingface/transformers/pull/28012 | 2,040,227,416 | PR_kwDOCUB6oc5h7LgK | 28,012 | [Flax BERT] Update deprecated 'split' method | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
Fixes #27644. JAX Array split method was deprecated in JAX 0.4.5: https://jax.readthedocs.io/en/latest/changelog.html#jax-0-4-5-mar-2-2023
This PR updates the four uses in the codebase to use the (recommended) `jnp.split` replacement.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28012/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28012/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28012",
"html_url": "https://github.com/huggingface/transformers/pull/28012",
"diff_url": "https://github.com/huggingface/transformers/pull/28012.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28012.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28011 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28011/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28011/comments | https://api.github.com/repos/huggingface/transformers/issues/28011/events | https://github.com/huggingface/transformers/pull/28011 | 2,040,213,311 | PR_kwDOCUB6oc5h7Ib7 | 28,011 | [`Whisper`] nit | {
"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 | [] | [
"@ArthurZucker is there any plans to include this fix in patch release?",
"I don't think so! But the next release will have it"
] | 1,702 | 1,704 | 1,702 | COLLABORATOR | null | # What does this PR do?
Was getting these strange warnings:
```python
Ignored unknown kwarg option normalize
Ignored unknown kwarg option normalize
Ignored unknown kwarg option normalize
Ignored unknown kwarg option normalize
```
with processor = AutoProcessor.from_pretrained("asapp/sew-d-tiny-100k-ft-ls100h") | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28011/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/28011/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28011",
"html_url": "https://github.com/huggingface/transformers/pull/28011",
"diff_url": "https://github.com/huggingface/transformers/pull/28011.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28011.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28010 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28010/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28010/comments | https://api.github.com/repos/huggingface/transformers/issues/28010/events | https://github.com/huggingface/transformers/pull/28010 | 2,040,127,379 | PR_kwDOCUB6oc5h61ri | 28,010 | [`Core tokenization`] `add_dummy_prefix_space` option to help with latest issues | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28010). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"Just wanted to say this would be hugely helpful for us over at https://github.com/... | 1,702 | 1,708 | 1,708 | COLLABORATOR | null | # What does this PR do?
Allows users to use `tokenizer.tokenize` controlling the addition of prefix space. Let's also update fast!
fixes #28622
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28010/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/28010/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28010",
"html_url": "https://github.com/huggingface/transformers/pull/28010",
"diff_url": "https://github.com/huggingface/transformers/pull/28010.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28010.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28009 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28009/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28009/comments | https://api.github.com/repos/huggingface/transformers/issues/28009/events | https://github.com/huggingface/transformers/pull/28009 | 2,040,069,367 | PR_kwDOCUB6oc5h6o8t | 28,009 | Fix bug with rotating checkpoints | {
"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 | [] | [
"Somewhat of an aside, but there's no guarantee that a previous writer has created the directory before this point: https://github.com/huggingface/transformers/pull/28009/files#diff-ed55888e6665791fe92cc8fc0c499da54f4ace6738551cd9a2591881cda076deR2379\r\n\r\nI've seen recently that a process entering this function ... | 1,702 | 1,705 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
There was a bug introduced in https://github.com/huggingface/transformers/pull/27820 where if we were on multi-GPU systems we would hit a race condition after saving on the processes because we cannot rename the staging directory multiple times. This PR ensures that it only happens on the mai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28009/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/28009/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28009",
"html_url": "https://github.com/huggingface/transformers/pull/28009",
"diff_url": "https://github.com/huggingface/transformers/pull/28009.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28009.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28008 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28008/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28008/comments | https://api.github.com/repos/huggingface/transformers/issues/28008/events | https://github.com/huggingface/transformers/issues/28008 | 2,040,014,898 | I_kwDOCUB6oc55mCgy | 28,008 | Supoport batch image processing | {
"login": "wcy1122",
"id": 31536861,
"node_id": "MDQ6VXNlcjMxNTM2ODYx",
"avatar_url": "https://avatars.githubusercontent.com/u/31536861?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wcy1122",
"html_url": "https://github.com/wcy1122",
"followers_url": "https://api.github.com/users/wcy112... | [] | closed | false | null | [] | [
"The input images are not necessary homogenous (unlike a tensor with batch dimension along which the elements are the same format).\r\n\r\nYou can definitely use `datasets` batch processing feature to speedup the task.\r\n\r\ncc @amyeroberts to see if they has any further suggestion/comment.",
"Hi @wcy1122, than... | 1,702 | 1,703 | 1,703 | NONE | null | ### Feature request
A faster image processing which supports batch image processing, especially for input data like video.
### Motivation
The speed of image processing is too slow if the amount of image is large.
>
### Your contribution
The image processor like CLIPImageProcessor processes each image sequentia... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28008/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28008/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28007 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28007/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28007/comments | https://api.github.com/repos/huggingface/transformers/issues/28007/events | https://github.com/huggingface/transformers/issues/28007 | 2,039,893,753 | I_kwDOCUB6oc55lk75 | 28,007 | Can't do word timestamps and beam search at the same time (whisper) | {
"login": "Snarkdoof",
"id": 5370689,
"node_id": "MDQ6VXNlcjUzNzA2ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5370689?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Snarkdoof",
"html_url": "https://github.com/Snarkdoof",
"followers_url": "https://api.github.com/users/Sn... | [] | closed | false | null | [] | [
"cc @gante ",
"I believe there's already an active PR for this: https://github.com/huggingface/transformers/pull/26699 However, the PR might need a little more work as it is not a polished solution yet (at least that's what I think).",
"Fixed by https://github.com/huggingface/transformers/pull/28114 👍 "
] | 1,702 | 1,703 | 1,703 | NONE | null | ### System Info
Tested on python 3.8.10, transformers 4.36.0.dev0
### Who can help?
@ArthurZucker @sanchit-gandhi (suggested by peregilk)
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28007/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/28007/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28006 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28006/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28006/comments | https://api.github.com/repos/huggingface/transformers/issues/28006/events | https://github.com/huggingface/transformers/pull/28006 | 2,039,889,300 | PR_kwDOCUB6oc5h6B8a | 28,006 | Clearer error for SDPA when explicitely requested | {
"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 | [] | [
"@fxmarty Are you happy for me to merge? ",
"sure @amyeroberts !"
] | 1,702 | 1,705 | 1,705 | COLLABORATOR | null | As per title, partially fixes https://github.com/huggingface/transformers/issues/28003. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28006/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28006/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28006",
"html_url": "https://github.com/huggingface/transformers/pull/28006",
"diff_url": "https://github.com/huggingface/transformers/pull/28006.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28006.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28005 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28005/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28005/comments | https://api.github.com/repos/huggingface/transformers/issues/28005/events | https://github.com/huggingface/transformers/issues/28005 | 2,039,623,205 | I_kwDOCUB6oc55ki4l | 28,005 | Open to contribution: adding `torch.nn.functional.scaled_dot_product_attention` support for more architectures | {
"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/... | [
{
"id": 6126880899,
"node_id": "LA_kwDOCUB6oc8AAAABbTDIgw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/contributions-welcome",
"name": "contributions-welcome",
"color": "F99E09",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hi @fxmarty I can take a look at this issue. Of I can ask questions if necessary. Or has anyone taken it already?",
"does someone know if longT5 and all T5 models are blocked by bias support in flash attention ?\r\n\r\nhttps://github.com/Dao-AILab/flash-attention/pull/617",
"Hi @davidan5 are you working on the... | 1,702 | 1,706 | null | COLLABORATOR | null | ### Feature request
In [`Transformers 4.36`](https://github.com/huggingface/transformers/releases/tag/v4.36.0), we started adding native support of [torch.nn.functional.scaled_dot_product_attention](https://pytorch.org/docs/master/generated/torch.nn.functional.scaled_dot_product_attention.html) (SDPA), enabled by defa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28005/reactions",
"total_count": 7,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 0,
"rocket": 4,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28005/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28004 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28004/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28004/comments | https://api.github.com/repos/huggingface/transformers/issues/28004/events | https://github.com/huggingface/transformers/issues/28004 | 2,039,618,109 | I_kwDOCUB6oc55kho9 | 28,004 | Error in loading reduced multilingual layoutxlm model: RuntimeError: Error(s) in loading state_dict for LayoutLMv2ForTokenClassification: | {
"login": "Merchaoui",
"id": 80455763,
"node_id": "MDQ6VXNlcjgwNDU1NzYz",
"avatar_url": "https://avatars.githubusercontent.com/u/80455763?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Merchaoui",
"html_url": "https://github.com/Merchaoui",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @Merchaoui, thanks for raising this issue! \r\n\r\nLoading the model with `ignore_mismatched_sizes=True` is the correct way to go i.e.:\r\n\r\n```py\r\nmodel = LayoutLMv2ForTokenClassification.from_pretrained(\r\n \"./layoutxlm_reduced/microsoft/layoutxlm-base\",\r\n num_labels=len(labels),\r\n ignore_... | 1,702 | 1,705 | 1,705 | NONE | null | ### System Info
- `transformers` version: 4.33.3
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.9.18
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.3.3
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cpu (False)
- Tensorflow version (GPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28004/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28004/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28003 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28003/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28003/comments | https://api.github.com/repos/huggingface/transformers/issues/28003/events | https://github.com/huggingface/transformers/issues/28003 | 2,039,616,571 | I_kwDOCUB6oc55khQ7 | 28,003 | (LLama-2) (4.36.0) TensorParallelPreTrainedModel does not support an attention implementation through torch.nn.functional.scaled_dot_product_attention | {
"login": "VasilGeorgiev39",
"id": 149842188,
"node_id": "U_kgDOCO5pDA",
"avatar_url": "https://avatars.githubusercontent.com/u/149842188?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VasilGeorgiev39",
"html_url": "https://github.com/VasilGeorgiev39",
"followers_url": "https://api.githu... | [] | open | false | null | [] | [
"Thank you @VasilGeorgiev39, a quick fix is to load your transformers model with\r\n\r\n```python\r\nimport transformers\r\nimport tensor_parallel as tp\r\n\r\ntokenizer = transformers.AutoTokenizer.from_pretrained(\"meta-llama/Llama-2-13b-chat-hf\")\r\nmodel = transformers.AutoModelForCausalLM.from_pretrained(\"me... | 1,702 | 1,707 | null | NONE | null | ### System Info
- `transformers` version: 4.36.0
- Platform: Linux-5.4.0-150-generic-x86_64-with-glibc2.31
- Python version: 3.10.13
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: 0.25.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.1 (True)
- Tensorflow ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28003/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/28003/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28002 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28002/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28002/comments | https://api.github.com/repos/huggingface/transformers/issues/28002/events | https://github.com/huggingface/transformers/issues/28002 | 2,039,559,344 | I_kwDOCUB6oc55kTSw | 28,002 | Not handled case when use_weighted_layer_sum and return-dict=True in WhisperForAudioClassification | {
"login": "ElsebaiyMohamed",
"id": 77920008,
"node_id": "MDQ6VXNlcjc3OTIwMDA4",
"avatar_url": "https://avatars.githubusercontent.com/u/77920008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ElsebaiyMohamed",
"html_url": "https://github.com/ElsebaiyMohamed",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hi @ElsebaiyMohamed, thanks for raising this issue and providing details on the error + a snippet. Could you also provide information about the running environment: run `transformers-cli env` in the terminal and copy-paste the output? ",
"Hi @amyeroberts ,\r\nApologies for the delayed response! 🙏 Life threw a c... | 1,702 | 1,705 | 1,705 | NONE | null | @sanchit-gandhi
I use WhisperForAudioClassification task and want to use `use_weighted_layer_sum=True`, but there is a problem when call forward,
the encoder part can return tuple or dict if `return_dict=True` but the code for use `use_weighted_layer_sum=True` assume the return to be tuple only and this line raise ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28002/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28002/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28001 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28001/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28001/comments | https://api.github.com/repos/huggingface/transformers/issues/28001/events | https://github.com/huggingface/transformers/issues/28001 | 2,039,508,919 | I_kwDOCUB6oc55kG-3 | 28,001 | UserWarning: Using `max_length`'s default (448) at Inference Enpoint deployment | {
"login": "SeeknnDestroy",
"id": 44926076,
"node_id": "MDQ6VXNlcjQ0OTI2MDc2",
"avatar_url": "https://avatars.githubusercontent.com/u/44926076?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeeknnDestroy",
"html_url": "https://github.com/SeeknnDestroy",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hi @SeeknnDestroy, thanks for raising an issue! \r\n\r\nThere's three parts to the issue being raised. \r\n\r\nWith regards to the error message, this is because the deprecated argument `max_length` is used for that checkpoint's [generation config](https://huggingface.co/distil-whisper/distil-large-v2/blob/c204f3c... | 1,702 | 1,707 | 1,707 | NONE | null | ### System Info
**Inference Endpoints**
- **Model**: distil-whisper/distil-large-v2
- **Task**: automatic-speech-recognition
- **Revision**: c204f3c76ec464a0ab9bcfd19afa0add93f69983
- **Container type**: Default
- **Instance**: AWS, us-east-1
- **Instance Type**: GPU · Nvidia Tesla T4 · 1x GPU · 16 GB
### W... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28001/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28001/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28000 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28000/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28000/comments | https://api.github.com/repos/huggingface/transformers/issues/28000/events | https://github.com/huggingface/transformers/issues/28000 | 2,039,461,943 | I_kwDOCUB6oc55j7g3 | 28,000 | XLM question-answering pipeline is flacky | {
"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 | [] | [
"Hi @fxmarty - thanks for raising this! \r\n\r\nTo help with debugging - has this been observed with other checkpoints or only the tiny random ones for testing? "
] | 1,702 | 1,705 | 1,705 | COLLABORATOR | null | ### System Info
transformers main, but tested on commits in the last three weeks, same issue
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My ow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28000/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28000/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27999 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27999/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27999/comments | https://api.github.com/repos/huggingface/transformers/issues/27999/events | https://github.com/huggingface/transformers/pull/27999 | 2,039,327,117 | PR_kwDOCUB6oc5h4GDC | 27,999 | [`CI slow`] Fix expected values | {
"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 | [] | [
"Thanks a lot!"
] | 1,702 | 1,702 | 1,702 | COLLABORATOR | null | # What does this PR do?
Fix slow test. The init was probably done twice because:
```pyton
Some weights of ViTMSNForImageClassification were not initialized from the model checkpoint at facebook/vit-msn-small and are newly initialized: ['classifier.bias', 'classifier.weight']
```
so the weights should no be initialize... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27999/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27999/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27999",
"html_url": "https://github.com/huggingface/transformers/pull/27999",
"diff_url": "https://github.com/huggingface/transformers/pull/27999.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27999.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27998 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27998/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27998/comments | https://api.github.com/repos/huggingface/transformers/issues/27998/events | https://github.com/huggingface/transformers/issues/27998 | 2,039,321,707 | I_kwDOCUB6oc55jZRr | 27,998 | CodeLlama-34b-Instruct-hf | {
"login": "zhaotyer",
"id": 89376832,
"node_id": "MDQ6VXNlcjg5Mzc2ODMy",
"avatar_url": "https://avatars.githubusercontent.com/u/89376832?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhaotyer",
"html_url": "https://github.com/zhaotyer",
"followers_url": "https://api.github.com/users/zha... | [] | open | false | null | [] | [
"cc @younesbelkada as the error seems to be being hit in bitsandbytes ",
"Hi @zhaotyer -- can you reproduce the issue with a smaller, publically available model like `codellama/CodeLlama-7b-hf`?\r\n\r\nThe `RuntimeError` you got often shows up in OOM cases. It would be weird to get one given that you're using a 3... | 1,702 | 1,707 | null | NONE | null | ### System Info
- `transformers` version: 4.35.2
- Platform: Linux-3.10.0-1160.el7.x86_64-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.25.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27998/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/27998/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27997 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27997/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27997/comments | https://api.github.com/repos/huggingface/transformers/issues/27997/events | https://github.com/huggingface/transformers/pull/27997 | 2,039,306,675 | PR_kwDOCUB6oc5h4Bmb | 27,997 | Fix PatchTSMixer slow tests | {
"login": "ajati",
"id": 41211350,
"node_id": "MDQ6VXNlcjQxMjExMzUw",
"avatar_url": "https://avatars.githubusercontent.com/u/41211350?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ajati",
"html_url": "https://github.com/ajati",
"followers_url": "https://api.github.com/users/ajati/follow... | [] | closed | false | null | [] | [
"@kashif "
] | 1,702 | 1,702 | 1,702 | CONTRIBUTOR | null | Fix `PatchTSMixer` slow tests and relax asset conditions in functional tests. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27997/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27997/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27997",
"html_url": "https://github.com/huggingface/transformers/pull/27997",
"diff_url": "https://github.com/huggingface/transformers/pull/27997.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27997.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27996 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27996/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27996/comments | https://api.github.com/repos/huggingface/transformers/issues/27996/events | https://github.com/huggingface/transformers/pull/27996 | 2,039,288,621 | PR_kwDOCUB6oc5h39qu | 27,996 | add torch.compile in pipeline | {
"login": "jiqing-feng",
"id": 107918818,
"node_id": "U_kgDOBm614g",
"avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiqing-feng",
"html_url": "https://github.com/jiqing-feng",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @gante @sywangyi ",
"Hi @jiqing-feng, thanks for opening this PR! \r\n\r\nI don't think this is a feature we want to add at the moment. Users can already pass compiled models to the pipeline to use, and there they can control which parts will or won't be compiled. There's many optimization choices one might m... | 1,702 | 1,706 | 1,706 | CONTRIBUTOR | null | Hi @Narsil . Since torch compile is supported in pytorch2.0, see [here](https://pytorch.org/tutorials/intermediate/torch_compile_tutorial.html).
However, users usually use pipeline and don't know which model function (`forward` or `generate`) should be compiled.
I was thinking add `torch.compile` in pipeline to m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27996/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27996/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27996",
"html_url": "https://github.com/huggingface/transformers/pull/27996",
"diff_url": "https://github.com/huggingface/transformers/pull/27996.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27996.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27995 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27995/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27995/comments | https://api.github.com/repos/huggingface/transformers/issues/27995/events | https://github.com/huggingface/transformers/pull/27995 | 2,039,173,651 | PR_kwDOCUB6oc5h3kl1 | 27,995 | Assitant model may on a different device | {
"login": "jiqing-feng",
"id": 107918818,
"node_id": "U_kgDOBm614g",
"avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiqing-feng",
"html_url": "https://github.com/jiqing-feng",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @gante @amyeroberts . Would you please help me to review it? Thx!"
] | 1,702 | 1,704 | 1,704 | CONTRIBUTOR | null | Hi @gante . Would you please have a look at this PR. The motivation is that I try to put assistant model and self model in different cuda device, or put assistant model on CPU. This PR should enable assistant model on a different device.
I have tested it on both decoder-only model and encoder-decoder model. Could yo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27995/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27995/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27995",
"html_url": "https://github.com/huggingface/transformers/pull/27995",
"diff_url": "https://github.com/huggingface/transformers/pull/27995.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27995.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27994 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27994/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27994/comments | https://api.github.com/repos/huggingface/transformers/issues/27994/events | https://github.com/huggingface/transformers/issues/27994 | 2,038,987,548 | I_kwDOCUB6oc55iHsc | 27,994 | Performance degradation with BF16 precision | {
"login": "jerin-scalers-ai",
"id": 125901005,
"node_id": "U_kgDOB4EYzQ",
"avatar_url": "https://avatars.githubusercontent.com/u/125901005?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jerin-scalers-ai",
"html_url": "https://github.com/jerin-scalers-ai",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"The inference time in bfloat16 depends on the hardware you are using and the pytorch version as well. Recommending you to use float16 for inference. ",
"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 t... | 1,702 | 1,705 | 1,705 | NONE | null | ### System Info
Transformers: 4.35.2
Torch: 2.1.1-cpu
CPU: Intel Xeon 4th Gen processor
### Who can help?
@ArthurZucker
Hi,
I was comparing performance of Llama 2 7b chat hf model with different precisions.
I observed that there is a significant degrade on performance (inference time) with bfloat16 co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27994/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27994/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27993 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27993/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27993/comments | https://api.github.com/repos/huggingface/transformers/issues/27993/events | https://github.com/huggingface/transformers/pull/27993 | 2,038,894,860 | PR_kwDOCUB6oc5h2nxD | 27,993 | When save a model on TPU, make a copy to be moved to CPU | {
"login": "qihqi",
"id": 1719482,
"node_id": "MDQ6VXNlcjE3MTk0ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1719482?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qihqi",
"html_url": "https://github.com/qihqi",
"followers_url": "https://api.github.com/users/qihqi/follower... | [] | closed | false | null | [] | [
"@qihqi this is done inside `_save_tpu` https://github.com/huggingface/transformers/pull/27799/files, or we missed something?",
"> @qihqi this is done inside `_save_tpu` https://github.com/huggingface/transformers/pull/27799/files, or we missed something?\r\n\r\nI see, we need to make a copy. Should we do that in... | 1,702 | 1,706 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
When we save a model on TPU, we first move it to CPU because TPU tensors have no
storage. However, we should do it with a copy of the model, so that the original model
still on TPU. Because otherwise `model.to('cpu')` would also modify the model in-place.
Then, it would raise the followi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27993/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27993/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27993",
"html_url": "https://github.com/huggingface/transformers/pull/27993",
"diff_url": "https://github.com/huggingface/transformers/pull/27993.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27993.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27992 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27992/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27992/comments | https://api.github.com/repos/huggingface/transformers/issues/27992/events | https://github.com/huggingface/transformers/issues/27992 | 2,038,857,369 | I_kwDOCUB6oc55hn6Z | 27,992 | Memory leak (not released) when calling Seq2SeqTrainer for fine-tuning | {
"login": "xyx361100238",
"id": 19569322,
"node_id": "MDQ6VXNlcjE5NTY5MzIy",
"avatar_url": "https://avatars.githubusercontent.com/u/19569322?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xyx361100238",
"html_url": "https://github.com/xyx361100238",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey @xyx361100238! Do you have a script I can use to reproduce the error and identify the memory increase? It's maybe worth trying adding the flag for full fp16 eval as well to avoid upcasting the weights to fp32 for inference:\r\n\r\n```\r\n--fp16_full_eval\r\n```\r\n\r\n_c.f._ https://huggingface.co/docs/transfo... | 1,702 | 1,707 | 1,707 | NONE | null | ### System Info
- `transformers` version: 4.34.0
- Platform: Linux-5.4.0-167-generic-x86_64-with-glibc2.31
- Python version: 3.9.18
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 1.13.1+cu116 (True)
- Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27992/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27992/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27991 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27991/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27991/comments | https://api.github.com/repos/huggingface/transformers/issues/27991/events | https://github.com/huggingface/transformers/issues/27991 | 2,038,842,972 | I_kwDOCUB6oc55hkZc | 27,991 | Error in all_reduce when GPT2 200B inferencing with dynamo and multi GPU | {
"login": "jcai04",
"id": 62895533,
"node_id": "MDQ6VXNlcjYyODk1NTMz",
"avatar_url": "https://avatars.githubusercontent.com/u/62895533?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jcai04",
"html_url": "https://github.com/jcai04",
"followers_url": "https://api.github.com/users/jcai04/fo... | [] | closed | false | null | [] | [
"Hi @jcai04, this does not seems to be an issue with transformers. Please submit this issue in the pytorch repo. ",
"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 tha... | 1,702 | 1,705 | 1,705 | NONE | null | ### System Info
version:
- `transformers` version: 4.35.2
- Platform: Linux-5.4.0-125-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.4.0
- Accelerate version: 0.4.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu121 (True)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27991/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27991/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27990 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27990/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27990/comments | https://api.github.com/repos/huggingface/transformers/issues/27990/events | https://github.com/huggingface/transformers/pull/27990 | 2,038,800,937 | PR_kwDOCUB6oc5h2UYP | 27,990 | [DETA] Improvement and Sync from DETA especially for training | {
"login": "SangbumChoi",
"id": 34004152,
"node_id": "MDQ6VXNlcjM0MDA0MTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/34004152?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SangbumChoi",
"html_url": "https://github.com/SangbumChoi",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Also due to change of major arguments I think we need to rewrite the test function for swin_backbone.",
"Hi @SangbumChoi thanks so much for your PR. Could you try to make the CI green by running `make fixup` locally and fixing the errors it gives?\r\n\r\nBtw if you would have the time, would be great look into w... | 1,702 | 1,704 | 1,704 | CONTRIBUTOR | null | # What does this PR do?
Fixes # (issue)
## 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-reque... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27990/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27990/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27990",
"html_url": "https://github.com/huggingface/transformers/pull/27990",
"diff_url": "https://github.com/huggingface/transformers/pull/27990.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27990.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27989 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27989/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27989/comments | https://api.github.com/repos/huggingface/transformers/issues/27989/events | https://github.com/huggingface/transformers/pull/27989 | 2,038,797,508 | PR_kwDOCUB6oc5h2TsF | 27,989 | Added @property into the modeliing_encoder_decoder file. | {
"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 | [] | [
"Hi @hi-sushanta, thanks for opening a PR! \r\n\r\nWhy make these changes? ",
"Hello, @amyeroberts.\r\n\r\nHere are the reasons why I made the changes described in the code review comment:\r\n\r\n***1. Improved user-friendliness:***\r\n\r\nMaking the \"encoder\" and \"decoder\" properties read-only prevents accid... | 1,702 | 1,702 | 1,702 | CONTRIBUTOR | null | I made the "encoder" and "decoder" properties easier to use by making them "read-only". This means you can see their values, but not change them directly.
Additionally, I created a special way to change the "output embeddings" of the decoder. You can use this by assigning a new value to the "output_embeddings" prope... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27989/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27989/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27989",
"html_url": "https://github.com/huggingface/transformers/pull/27989",
"diff_url": "https://github.com/huggingface/transformers/pull/27989.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27989.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27988 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27988/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27988/comments | https://api.github.com/repos/huggingface/transformers/issues/27988/events | https://github.com/huggingface/transformers/issues/27988 | 2,038,788,279 | I_kwDOCUB6oc55hXC3 | 27,988 | Design of xxxAttention, xxxFlashAttention and xxxSdpaAttention | {
"login": "ccdv-ai",
"id": 94319594,
"node_id": "U_kgDOBZ8z6g",
"avatar_url": "https://avatars.githubusercontent.com/u/94319594?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ccdv-ai",
"html_url": "https://github.com/ccdv-ai",
"followers_url": "https://api.github.com/users/ccdv-ai/follow... | [] | closed | false | null | [] | [
"Thank you. It's a tradeoff to have between the \"one-model one-file\" philosophy (https://huggingface.co/blog/transformers-design-philosophy) and offloading code to other files/classes.\r\n\r\nWe already kind of deviate from the \"one-model one-file\" philosophy with the KV cache refactor (https://github.com/huggi... | 1,702 | 1,705 | 1,705 | NONE | null | Hey
Following the addition of `torch.nn.functional.scaled_dot_product_attention` (#26572), there is a lot of deduplicated code between the `xxxAttention`, `xxxFlashAttention2` and `xxxSdpaAttention` classes. The main differences between the classes lie in the attention computation, the rest being the same (Q, K, V com... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27988/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27988/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27987 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27987/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27987/comments | https://api.github.com/repos/huggingface/transformers/issues/27987/events | https://github.com/huggingface/transformers/issues/27987 | 2,038,783,490 | I_kwDOCUB6oc55hV4C | 27,987 | An error occurred when saving the model | {
"login": "Decem-Y",
"id": 68498490,
"node_id": "MDQ6VXNlcjY4NDk4NDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/68498490?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Decem-Y",
"html_url": "https://github.com/Decem-Y",
"followers_url": "https://api.github.com/users/Decem-... | [] | closed | false | null | [] | [
"I find it https://github.com/huggingface/transformers/issues/27925#issuecomment-1851779674",
"Please fix the bug caused by this merged PR https://github.com/huggingface/transformers/pull/27820.",
"cc @pacman100 @muellerzr "
] | 1,702 | 1,702 | 1,702 | NONE | null | https://github.com/huggingface/transformers/blob/14666775a296a76c88e1aa686a9547f393d322e2/src/transformers/trainer.py#L2349
When I update transformers == 4.36.0 for multi-GPU training to save the model, an error occurs prompting to save to "tmp-checkpoint-xx" instead of "checkpoint-xx". | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27987/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27987/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27986 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27986/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27986/comments | https://api.github.com/repos/huggingface/transformers/issues/27986/events | https://github.com/huggingface/transformers/pull/27986 | 2,038,731,291 | PR_kwDOCUB6oc5h2Fa8 | 27,986 | [docs] Trainer | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | MEMBER | null | This PR attempts to clean up some of the current navigational complexity of the [`Trainer`](https://huggingface.co/docs/transformers/main/en/main_classes/trainer) API doc to make it easier to use as a purely reference lookup page. A lot of the content (checkpoints, logging, customization, etc.) is moved and organized i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27986/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27986/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27986",
"html_url": "https://github.com/huggingface/transformers/pull/27986",
"diff_url": "https://github.com/huggingface/transformers/pull/27986.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27986.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27985 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27985/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27985/comments | https://api.github.com/repos/huggingface/transformers/issues/27985/events | https://github.com/huggingface/transformers/issues/27985 | 2,038,727,057 | I_kwDOCUB6oc55hIGR | 27,985 | `KeyError: 'Cache only has 0 layers, attempted to access layer with index 0'` | {
"login": "MohamedAliRashad",
"id": 26205298,
"node_id": "MDQ6VXNlcjI2MjA1Mjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/26205298?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MohamedAliRashad",
"html_url": "https://github.com/MohamedAliRashad",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hi @MohamedAliRashad, thanks for raising this issue! \r\n\r\nCould you share the error encountered including its full traceback as well? ",
"@amyeroberts \r\nYou are unable to reproduce ?",
"Hi! \r\nI'm Having the same Error: \r\nonly happens when the token length is greater than the sliding window size\r\n(I ... | 1,702 | 1,704 | 1,702 | NONE | null | ### System Info
- `transformers` version: 4.36.0
- Platform: Linux-5.15.0-70-generic-x86_64-with-glibc2.35
- Python version: 3.11.4
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.3.3
- Accelerate version: 0.25.0.dev0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu121 (True)
- T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27985/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27985/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27983 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27983/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27983/comments | https://api.github.com/repos/huggingface/transformers/issues/27983/events | https://github.com/huggingface/transformers/pull/27983 | 2,038,546,330 | PR_kwDOCUB6oc5h1dmL | 27,983 | fix typo in dvclive callback | {
"login": "dberenbaum",
"id": 2308172,
"node_id": "MDQ6VXNlcjIzMDgxNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2308172?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dberenbaum",
"html_url": "https://github.com/dberenbaum",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
Fixes a typo in the dvclive callback that prevents it from being set as initialized.
## 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/t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27983/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27983/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27983",
"html_url": "https://github.com/huggingface/transformers/pull/27983",
"diff_url": "https://github.com/huggingface/transformers/pull/27983.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27983.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27982 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27982/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27982/comments | https://api.github.com/repos/huggingface/transformers/issues/27982/events | https://github.com/huggingface/transformers/pull/27982 | 2,038,542,337 | PR_kwDOCUB6oc5h1cuw | 27,982 | fix bug in dvclive callback | {
"login": "dberenbaum",
"id": 2308172,
"node_id": "MDQ6VXNlcjIzMDgxNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2308172?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dberenbaum",
"html_url": "https://github.com/dberenbaum",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
Fixes a typo in the dvclive callback that prevents it from being set as initialized.
## 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/t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27982/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27982/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27982",
"html_url": "https://github.com/huggingface/transformers/pull/27982",
"diff_url": "https://github.com/huggingface/transformers/pull/27982.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27982.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27981 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27981/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27981/comments | https://api.github.com/repos/huggingface/transformers/issues/27981/events | https://github.com/huggingface/transformers/pull/27981 | 2,038,458,905 | PR_kwDOCUB6oc5h1Kwy | 27,981 | [doc] fix typo | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | CONTRIBUTOR | null | Fixing doc to use the correct package name. Thank you. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27981/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27981/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27981",
"html_url": "https://github.com/huggingface/transformers/pull/27981",
"diff_url": "https://github.com/huggingface/transformers/pull/27981.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27981.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27980 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27980/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27980/comments | https://api.github.com/repos/huggingface/transformers/issues/27980/events | https://github.com/huggingface/transformers/issues/27980 | 2,038,207,555 | I_kwDOCUB6oc55fJRD | 27,980 | LLaMa-VID: An Image is Worth 2 Tokens in LLMs | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [
{
"id": 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 @amyeroberts , Can I take up the task of porting this model ?\r\n",
"@venkateshtata Certainly! Feel free to open a PR and ping me when it's ready for review. Let us know if you have any questions about porting into transformers in the meantime :) "
] | 1,702 | 1,704 | null | COLLABORATOR | null | ### Model description
LLaMA-VID is an open-source chatbot trained by fine-tuning LLaMA/Vicuna on GPT-generated multimodal instruction-following data. LLaMA-VID empowers existing frameworks to support hour-long videos and pushes their upper limit with an extra context token. We build this repo based on LLaVA.
LLaMA-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27980/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27980/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27979 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27979/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27979/comments | https://api.github.com/repos/huggingface/transformers/issues/27979/events | https://github.com/huggingface/transformers/pull/27979 | 2,038,075,732 | PR_kwDOCUB6oc5hz3Of | 27,979 | Generate: speculative decoding | {
"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 | [] | [
"@patrickvonplaten tagging you here for a 2nd set of eyes on the speculative decoding method (changes in `utils.py`), which I'm assuming you're familiar with. Feel free to delegate to someone else who is familiar with the method! 🤗 ",
"Thanks for adding this! Can we split this up into two separate PRs: one chang... | 1,702 | 1,706 | 1,702 | MEMBER | null | # What does this PR do?
Useful context:
In a recent PR (#27750), the candidate generation in assisted generation got abstracted, so we can host new candidate generation techniques (such as #27722).
_______________________________________________________
This PR:
1. ~Reworks assisted candidate generation to c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27979/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27979/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27979",
"html_url": "https://github.com/huggingface/transformers/pull/27979",
"diff_url": "https://github.com/huggingface/transformers/pull/27979.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27979.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27978 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27978/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27978/comments | https://api.github.com/repos/huggingface/transformers/issues/27978/events | https://github.com/huggingface/transformers/pull/27978 | 2,038,063,478 | PR_kwDOCUB6oc5hz0iz | 27,978 | [`Add Deci`] Llama with variable GQA per layer | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | open | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27978). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"Glad to know it doesn't cause (many) extra issues 😆 ",
"Not at all! It's really... | 1,702 | 1,706 | null | COLLABORATOR | null | # What does this PR do?
Add support for Deci. `# Ignore copy` makes it a lot easier @ydshieh 🪂 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27978/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27978/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27978",
"html_url": "https://github.com/huggingface/transformers/pull/27978",
"diff_url": "https://github.com/huggingface/transformers/pull/27978.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27978.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27977 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27977/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27977/comments | https://api.github.com/repos/huggingface/transformers/issues/27977/events | https://github.com/huggingface/transformers/issues/27977 | 2,037,859,553 | I_kwDOCUB6oc55d0Th | 27,977 | Image size understanding in DinoV2 and Transformers generally | {
"login": "lombardata",
"id": 39915110,
"node_id": "MDQ6VXNlcjM5OTE1MTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/39915110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lombardata",
"html_url": "https://github.com/lombardata",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @lombardata,\r\n\r\nYou can specify both the size the image is resized to during the `resize` call and the crop size e.g.: \r\n\r\n```\r\nimage_processor = AutoImageProcessor.from_pretrained(checkpoint, crop_size={\"height\": 320, \"width\": 256})\r\n```\r\n\r\nnote: I don't know if in this timm example if the ... | 1,702 | 1,705 | 1,705 | NONE | null | ### Feature request
Hi everyone,
I was playing with Dinov2 model of the transformers library of HF and I have a question :
is there a way to change model input image sizes like in the timm library?
i.e. the 11 August they added here :
https://github.com/huggingface/pytorch-image-models
an option to change input ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27977/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27977/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27976 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27976/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27976/comments | https://api.github.com/repos/huggingface/transformers/issues/27976/events | https://github.com/huggingface/transformers/pull/27976 | 2,037,857,883 | PR_kwDOCUB6oc5hzG-V | 27,976 | Better key error for AutoConfig | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | MEMBER | null | When users try to load a model with AutoModel/AutoConfig but the model type isn't recognized, they get a confusing error about missing keys. However, these errors are usually caused by their version of `Transformers` being out of date. I've seen several users asking for help with this issue trying to load `mixtral`, so... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27976/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27976/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27976",
"html_url": "https://github.com/huggingface/transformers/pull/27976",
"diff_url": "https://github.com/huggingface/transformers/pull/27976.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27976.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27975 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27975/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27975/comments | https://api.github.com/repos/huggingface/transformers/issues/27975/events | https://github.com/huggingface/transformers/issues/27975 | 2,037,705,585 | I_kwDOCUB6oc55dOtx | 27,975 | ImageToTextPipeline does not support InstructBlip Models | {
"login": "elena-soare20",
"id": 114069526,
"node_id": "U_kgDOBsyQFg",
"avatar_url": "https://avatars.githubusercontent.com/u/114069526?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elena-soare20",
"html_url": "https://github.com/elena-soare20",
"followers_url": "https://api.github.com/... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | open | false | null | [] | [
"Hi @elena-soare20, thanks for raising this issue! \r\n\r\nYes, at the moment InstructBLIP isn't compatible with the pipeline because of the specific processing it does - which is different from many other models. Specifically, it has two tokenizers to create `qformer_input_ids` and `input_ids` to be passed to the ... | 1,702 | 1,706 | null | NONE | null | ### System Info
- `transformers` version: 4.36.0.dev0
- Platform: Linux-generic-x86_64
- Python version: 3.8.12
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 1.10.0a0+0aef44c (True)
- Tensorflow vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27975/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27975/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27974 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27974/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27974/comments | https://api.github.com/repos/huggingface/transformers/issues/27974/events | https://github.com/huggingface/transformers/issues/27974 | 2,037,705,024 | I_kwDOCUB6oc55dOlA | 27,974 | how to replace the existing token in a tokenizer | {
"login": "muziyongshixin",
"id": 21971718,
"node_id": "MDQ6VXNlcjIxOTcxNzE4",
"avatar_url": "https://avatars.githubusercontent.com/u/21971718?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muziyongshixin",
"html_url": "https://github.com/muziyongshixin",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hi @muziyongshixin, thanks for raising an issue!\r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports.\r\n\r\nTo learn about how to how to modify the tokenizers, you can check out the documentation, [1](http... | 1,702 | 1,705 | 1,705 | NONE | null | ### Feature request
I have a tokenizer which have lots of preserved tokens like bellow:
```
'<reserved_7>': 100,
'<reserved_8>': 101,
'<reserved_9>': 102,
'<reserved_10>': 103,
'<reserved_11>': 104,
'<reserved_12>': 105,
'<reserved_13>': 106,
'<reserved_14>': 107,
```
I want to replace the '<reser... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27974/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27974/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27973 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27973/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27973/comments | https://api.github.com/repos/huggingface/transformers/issues/27973/events | https://github.com/huggingface/transformers/pull/27973 | 2,037,623,817 | PR_kwDOCUB6oc5hyTqg | 27,973 | Fix SDPA correctness following torch==2.1.2 regression | {
"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 | [] | [] | 1,702 | 1,702 | 1,702 | COLLABORATOR | null | As explained in https://github.com/pytorch/pytorch/issues/112577, `torch==2.1.2` reintroduces a bug (that was first introduced in 2.1.0 and fixed in 2.1.1) in SDPA where the operator produces wrong outputs when using a custom `attn_mask`, cuda device and memory-efficient attention backend.
This PR makes it so that w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27973/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27973/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27973",
"html_url": "https://github.com/huggingface/transformers/pull/27973",
"diff_url": "https://github.com/huggingface/transformers/pull/27973.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27973.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27972 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27972/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27972/comments | https://api.github.com/repos/huggingface/transformers/issues/27972/events | https://github.com/huggingface/transformers/issues/27972 | 2,037,560,259 | I_kwDOCUB6oc55crPD | 27,972 | T5 model: There were missing keys in the checkpoint model loaded: ['encoder.embed_tokens.weight', 'decoder.embed_tokens.weight', 'lm_head.weight']. | {
"login": "alexcoca",
"id": 30216068,
"node_id": "MDQ6VXNlcjMwMjE2MDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/30216068?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexcoca",
"html_url": "https://github.com/alexcoca",
"followers_url": "https://api.github.com/users/ale... | [] | 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... | [
"I also have this issue, and once prompted, the training will be terminated directly. Have you resolved it?\r\n\r\nWhen this happens, the training will be immediately terminated. What problem would it be? Than... | 1,702 | 1,708 | null | NONE | null | ### System Info
- `transformers` version: 4.35.2
- Platform: Linux-5.4.0-148-generic-x86_64-with-glibc2.27
- Python version: 3.10.11
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.0
- Accelerate version: 0.24.1
- Accelerate config: not found
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tens... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27972/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27972/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27971 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27971/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27971/comments | https://api.github.com/repos/huggingface/transformers/issues/27971/events | https://github.com/huggingface/transformers/pull/27971 | 2,037,529,925 | PR_kwDOCUB6oc5hx_Eb | 27,971 | [`Whisper`] raise better errors | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | COLLABORATOR | null | fixes #27893 for the new cantonese language, whisper needs to properly error out if the model does not support it | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27971/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27971/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27971",
"html_url": "https://github.com/huggingface/transformers/pull/27971",
"diff_url": "https://github.com/huggingface/transformers/pull/27971.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27971.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27970 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27970/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27970/comments | https://api.github.com/repos/huggingface/transformers/issues/27970/events | https://github.com/huggingface/transformers/pull/27970 | 2,037,477,029 | PR_kwDOCUB6oc5hxzeZ | 27,970 | [Trainer] move dataloader after the model wrapping | {
"login": "kashif",
"id": 8100,
"node_id": "MDQ6VXNlcjgxMDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kashif",
"html_url": "https://github.com/kashif",
"followers_url": "https://api.github.com/users/kashif/followers",
... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27970). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"This issue has been automatically marked as stale because it has not had recent ac... | 1,702 | 1,705 | 1,705 | CONTRIBUTOR | null | # What does this PR do?
Call the dataloader after the model has been prepared | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27970/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27970/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27970",
"html_url": "https://github.com/huggingface/transformers/pull/27970",
"diff_url": "https://github.com/huggingface/transformers/pull/27970.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27970.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27969 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27969/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27969/comments | https://api.github.com/repos/huggingface/transformers/issues/27969/events | https://github.com/huggingface/transformers/pull/27969 | 2,037,458,927 | PR_kwDOCUB6oc5hxvhs | 27,969 | Fix link in README.md of Image Captioning | {
"login": "saswatmeher",
"id": 35535056,
"node_id": "MDQ6VXNlcjM1NTM1MDU2",
"avatar_url": "https://avatars.githubusercontent.com/u/35535056?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saswatmeher",
"html_url": "https://github.com/saswatmeher",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | CONTRIBUTOR | null | Update the link for vision encoder decoder doc used by FlaxVisionEncoderDecoderModel link inside README.md of Image Captioning.
# 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 y... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27969/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27969/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27969",
"html_url": "https://github.com/huggingface/transformers/pull/27969",
"diff_url": "https://github.com/huggingface/transformers/pull/27969.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27969.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27967 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27967/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27967/comments | https://api.github.com/repos/huggingface/transformers/issues/27967/events | https://github.com/huggingface/transformers/issues/27967 | 2,037,358,828 | I_kwDOCUB6oc55b6Ds | 27,967 | `device_map = "auto"` failed for LLaMA model on H800 | {
"login": "ruikangliu",
"id": 69446971,
"node_id": "MDQ6VXNlcjY5NDQ2OTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/69446971?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ruikangliu",
"html_url": "https://github.com/ruikangliu",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"This may arise from hardware issues... Thanks for your time and attention.",
"> This may arise from hardware issues... Thanks for your time and attention.\r\n\r\nhi, i have encountered the same issue with a4500 and a6000 gpu. may i ask if you have identified the cause of this problem late... | 1,702 | 1,703 | 1,702 | NONE | null | ### System Info
When I use `device_map = "auto"` for LLaMA model on more than 3 H800 GPUs, errors pop up during model inference. But when I use fewer than 3 H800 GPUs, everything is OK. It seems to be something wrong with data transfer across devices on H800 GPUs.
My transformers version is 4.36.0, cuda version is... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27967/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27967/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27966 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27966/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27966/comments | https://api.github.com/repos/huggingface/transformers/issues/27966/events | https://github.com/huggingface/transformers/issues/27966 | 2,037,353,627 | I_kwDOCUB6oc55b4yb | 27,966 | Fine tuned Mistral inference issue for >4k context length | {
"login": "oooodoori",
"id": 153339467,
"node_id": "U_kgDOCSPGSw",
"avatar_url": "https://avatars.githubusercontent.com/u/153339467?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oooodoori",
"html_url": "https://github.com/oooodoori",
"followers_url": "https://api.github.com/users/oooodo... | [] | closed | false | null | [] | [
"Hi @oooodoori, thanks for raising this issue! \r\n\r\nSo that we can best help, could you provide some more details about the issue? e.g.: \r\n* Have you tried this on 4.35 as well? How about the recent stable 4.36 release?\r\n* Could you provide an example of a good versus bad output? \r\n* Is the only difference... | 1,702 | 1,705 | 1,705 | NONE | null | **System Info**
- `transformers` version: 4.36.0-dev (main branch)
- Huggingface_hub version: 0.19.4
- PyTorch version: 2.1.0
- Using GPU in script?: yes
We fine tuned a mistralai/Mistral-7B-Instruct-v0.1using LoRa on some 8k context length data. The inferencing was fine with transformers at 4.34.0, but after up... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27966/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27966/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27968 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27968/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27968/comments | https://api.github.com/repos/huggingface/transformers/issues/27968/events | https://github.com/huggingface/transformers/issues/27968 | 2,037,377,705 | I_kwDOCUB6oc55b-qp | 27,968 | Link is invalid in “examples/flax/image-captioning/README.md” | {
"login": "wplf",
"id": 95006218,
"node_id": "U_kgDOBamuCg",
"avatar_url": "https://avatars.githubusercontent.com/u/95006218?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wplf",
"html_url": "https://github.com/wplf",
"followers_url": "https://api.github.com/users/wplf/followers",
"fol... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | NONE | null | **This repository is focused on the Hub experience and documentation. If you're facing an issue with a specific library, please open an issue in the corresponding GitHub repo. If you're facing an issue with a specific model or dataset, please open an issue in the corresponding HF repo.**
**Bug description.**
A cl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27968/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27968/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27964 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27964/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27964/comments | https://api.github.com/repos/huggingface/transformers/issues/27964/events | https://github.com/huggingface/transformers/issues/27964 | 2,037,255,672 | I_kwDOCUB6oc55bg34 | 27,964 | RuntimeError: Failed to import transformers.pipelines because of the following error (look up to see its traceback): cannot import name 'AutoModelForImageToImage' from 'transformers.models.auto.modeling_auto' (/opt/conda/envs/prototype/lib/python3.8/site-packages/transformers/models/auto/modeling_auto.py) | {
"login": "LucaYoy",
"id": 40484649,
"node_id": "MDQ6VXNlcjQwNDg0NjQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/40484649?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LucaYoy",
"html_url": "https://github.com/LucaYoy",
"followers_url": "https://api.github.com/users/LucaYo... | [] | closed | false | null | [] | [
"Hi @LucaYoy, thanks for raising this issue! \r\n\r\nWhich version of tensorflow are you running in your environment? ",
"@amyeroberts im using 2.13.0",
"It seems this is an incompatibility between numpy and tensorflow or tensorflow-related libraries. You'll need to find compatible versions to get things to run... | 1,702 | 1,705 | 1,703 | NONE | null | Hi I also have a similar issue to #23340 but this type numpy is the culprit
```cannot import name 'AutoModelForImageToImage' from 'transformers.models.auto.modeling_auto' (/opt/conda/envs/prototype/lib/python3.8/site-packages/transformers/models/auto/modeling_auto.py)
```
transformers-cli env gives:
```
To e... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27964/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27964/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27963 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27963/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27963/comments | https://api.github.com/repos/huggingface/transformers/issues/27963/events | https://github.com/huggingface/transformers/issues/27963 | 2,037,028,845 | I_kwDOCUB6oc55apft | 27,963 | (LLama-2) TensorParallelPreTrainedModel does not support an attention implementation through torch.nn.functional.scaled_dot_product_attention | {
"login": "VasilGeorgiev39",
"id": 149842188,
"node_id": "U_kgDOCO5pDA",
"avatar_url": "https://avatars.githubusercontent.com/u/149842188?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VasilGeorgiev39",
"html_url": "https://github.com/VasilGeorgiev39",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hi @VasilGeorgiev39, thanks for raising an issue! \r\n\r\nSo that we can best help you, please make sure to follow the [issue template](https://github.com/huggingface/transformers/blob/main/.github/ISSUE_TEMPLATE/bug-report.yml) and provide information about the running environment and full details of the error en... | 1,702 | 1,702 | 1,702 | NONE | null | ```python
import transformers
import tensor_parallel as tp
tokenizer = transformers.AutoTokenizer.from_pretrained("meta-llama/Llama-2-13b-chat-hf")
model = transformers.AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-13b-chat-hf")
modelp = tp.tensor_parallel(model) #error
```
As is the example fro... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27963/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27963/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27962 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27962/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27962/comments | https://api.github.com/repos/huggingface/transformers/issues/27962/events | https://github.com/huggingface/transformers/issues/27962 | 2,036,853,873 | I_kwDOCUB6oc55Z-xx | 27,962 | IterableDatasetShard' object has no attribute '_epoch' | {
"login": "johnchienbronci",
"id": 27708347,
"node_id": "MDQ6VXNlcjI3NzA4MzQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/27708347?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johnchienbronci",
"html_url": "https://github.com/johnchienbronci",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hi @johnchienbronci, thanks for raising this issue! \r\n\r\nThe examples in the research projects, e.g. run_speech_recognition_ctc_streaming.py, aren't actively maintained. Have you observed this error anywhere else when using the library? ",
"I only found the problem with this script, because `ShuffleCallback` ... | 1,702 | 1,705 | 1,705 | NONE | null | transformers>=4.35.2
finetune wav2vec2 ctc using multiple gpu by streaming mode have error.
This error occurs on multiple gpus. ( No errors will occur on a single GPU or transformers version 4.30.2)
code:
```
class ShuffleCallback(TrainerCallback):
def on_epoch_begin(self, args, state, control, tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27962/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27962/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27961 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27961/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27961/comments | https://api.github.com/repos/huggingface/transformers/issues/27961/events | https://github.com/huggingface/transformers/issues/27961 | 2,036,767,263 | I_kwDOCUB6oc55Zpof | 27,961 | CLIPTokenizer (and others based on the same telephoned OpenAI code) incorrect tokenize 1138 out of 34483 words that have an exact match in vocab | {
"login": "doctorpangloss",
"id": 2229300,
"node_id": "MDQ6VXNlcjIyMjkzMDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2229300?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/doctorpangloss",
"html_url": "https://github.com/doctorpangloss",
"followers_url": "https://api.gith... | [
{
"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 | [] | [
"I'll have a look",
"Few things that seem wrong to me:\r\n- why should each whole word be tokenized as a single word? This is not how BPE works. \r\n- if the original tokenizer works this way, there is no way for us to change this as we try to reproduce the results. \r\n- What issue did this actually have on your... | 1,702 | 1,705 | null | NONE | null | ### System Info
- `transformers` version: 4.36.0
- Platform: Linux-5.15.120+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu118 (False)
- Tensorfl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27961/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27961/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27960 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27960/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27960/comments | https://api.github.com/repos/huggingface/transformers/issues/27960/events | https://github.com/huggingface/transformers/pull/27960 | 2,036,751,270 | PR_kwDOCUB6oc5hvXto | 27,960 | Auto model time series | {
"login": "wgifford",
"id": 79663411,
"node_id": "MDQ6VXNlcjc5NjYzNDEx",
"avatar_url": "https://avatars.githubusercontent.com/u/79663411?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wgifford",
"html_url": "https://github.com/wgifford",
"followers_url": "https://api.github.com/users/wgi... | [] | closed | false | null | [] | [
"Hi @wgifford, thanks for opening this PR! \r\n\r\nAutoModelForXxx APIs are intended for crossloading of models with the same inputs and outputs for a specific task. As there's just two (new) models at the moment, I suggest waiting until we know what the standardised API should be for the time series case. ",
"Hi... | 1,702 | 1,705 | 1,705 | CONTRIBUTOR | null | # What does this PR do?
Adds auto model capability for PatchTSMixer and PatchTST models. This includes support for:
- AutoModelForTimeSeriesClassification
- AutoModelForTimeSeriesPrediction
- AutoModelForTimeSeriesRegression
@kashif | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27960/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27960/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27960",
"html_url": "https://github.com/huggingface/transformers/pull/27960",
"diff_url": "https://github.com/huggingface/transformers/pull/27960.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27960.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27959 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27959/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27959/comments | https://api.github.com/repos/huggingface/transformers/issues/27959/events | https://github.com/huggingface/transformers/issues/27959 | 2,036,723,024 | I_kwDOCUB6oc55Ze1Q | 27,959 | KeyError: 'mistral' | {
"login": "brian-bould",
"id": 144232955,
"node_id": "U_kgDOCJjR-w",
"avatar_url": "https://avatars.githubusercontent.com/u/144232955?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brian-bould",
"html_url": "https://github.com/brian-bould",
"followers_url": "https://api.github.com/users/... | [] | open | false | null | [] | [
"Would it be possible for you to provide the complete code for your reference kindly?",
"this means you aren't using latest transformers version\r\n",
"Hi @brian-bould, thanks for raising this issue! \r\n\r\nAs @ehartford mentions, this is most likely because the transformers version in your environment does no... | 1,702 | 1,706 | null | NONE | null | ### System Info
System Info
M2
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [X] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
ru... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27959/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27959/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27958 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27958/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27958/comments | https://api.github.com/repos/huggingface/transformers/issues/27958/events | https://github.com/huggingface/transformers/pull/27958 | 2,036,665,751 | PR_kwDOCUB6oc5hvE1b | 27,958 | [Doc] Spanish translation of glossary.md | {
"login": "aaronjimv",
"id": 67152883,
"node_id": "MDQ6VXNlcjY3MTUyODgz",
"avatar_url": "https://avatars.githubusercontent.com/u/67152883?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aaronjimv",
"html_url": "https://github.com/aaronjimv",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hello, there are a lot of technical concepts so I am open to any feedback.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27958). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"Th... | 1,702 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27958/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27958/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27958",
"html_url": "https://github.com/huggingface/transformers/pull/27958",
"diff_url": "https://github.com/huggingface/transformers/pull/27958.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27958.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27957 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27957/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27957/comments | https://api.github.com/repos/huggingface/transformers/issues/27957/events | https://github.com/huggingface/transformers/issues/27957 | 2,036,541,854 | I_kwDOCUB6oc55Yyme | 27,957 | XLMRoberta with Flash Attention 2 | {
"login": "IvanPy96",
"id": 64599936,
"node_id": "MDQ6VXNlcjY0NTk5OTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/64599936?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IvanPy96",
"html_url": "https://github.com/IvanPy96",
"followers_url": "https://api.github.com/users/Iva... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | open | false | null | [] | [
"Thanks for opening, will mark as a good second issue 🤗 ",
"Hi @IvanPy96 & @ArthurZucker I want to work on this issue. Could you please assign it to me? ",
"Hey, we don't assign issue, feel free to open a PR and link it to this issue 😉 "
] | 1,702 | 1,703 | null | NONE | null | ### System Info
- transformers version: 4.36.0
- Platform: Linux-4.19.0-22-amd64-x86_64-with-glibc2.31
- Python version: 3.10.13
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.0
- Accelerate version: 0.24.1
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27957/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27957/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27956 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27956/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27956/comments | https://api.github.com/repos/huggingface/transformers/issues/27956/events | https://github.com/huggingface/transformers/pull/27956 | 2,036,515,405 | PR_kwDOCUB6oc5hujXW | 27,956 | add `modules_in_block_to_quantize` arg in GPTQconfig | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27956). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update."
] | 1,702 | 1,702 | 1,702 | MEMBER | null | # What does this PR do?
This PR adds the `modules_in_block_to_quantize ` quantization arg for gptq. This is necessary for converting specific layers to quantized layers. With this PR, we should be able to run the gptq mixtral model. See related [PR](https://github.com/huggingface/optimum/pull/1585) in optimum.
```p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27956/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27956/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27956",
"html_url": "https://github.com/huggingface/transformers/pull/27956",
"diff_url": "https://github.com/huggingface/transformers/pull/27956.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27956.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27955 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27955/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27955/comments | https://api.github.com/repos/huggingface/transformers/issues/27955/events | https://github.com/huggingface/transformers/pull/27955 | 2,036,220,067 | PR_kwDOCUB6oc5htic8 | 27,955 | [`Mixtral`] Change mistral op order | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
This PR slightly refactors the forward pass logic of `MixtralBLockSparseTop2MLP` to not have `routing_weights` as a required arg in the forward pass as AWQ does not handle multiple args in the forward pass of the modules (assumes all modules have `hidden_states` as input)
cc @ArthurZucker ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27955/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27955/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27955",
"html_url": "https://github.com/huggingface/transformers/pull/27955",
"diff_url": "https://github.com/huggingface/transformers/pull/27955.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27955.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27954 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27954/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27954/comments | https://api.github.com/repos/huggingface/transformers/issues/27954/events | https://github.com/huggingface/transformers/issues/27954 | 2,036,020,560 | I_kwDOCUB6oc55WzVQ | 27,954 | does not appear to have a file named config.json | {
"login": "riyaj8888",
"id": 29457825,
"node_id": "MDQ6VXNlcjI5NDU3ODI1",
"avatar_url": "https://avatars.githubusercontent.com/u/29457825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/riyaj8888",
"html_url": "https://github.com/riyaj8888",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Can't reproduce. On colab, the following works\r\n\r\n```\r\nfrom transformers import AutoModel\r\nAutoModel.from_pretrained(\"codellama/CodeLlama-7b-Instruct-hf\")\r\n```\r\n\r\nPlease follow the template to provide the necessary information when opening an issue, like system info and a code snippet.",
"first i... | 1,702 | 1,707 | 1,707 | NONE | null | initially i was able to load this model , now suddenly its giving below error, in the same notebook
codellama/CodeLlama-7b-Instruct-hf does not appear to have a file named config.json | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27954/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27954/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27953 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27953/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27953/comments | https://api.github.com/repos/huggingface/transformers/issues/27953/events | https://github.com/huggingface/transformers/issues/27953 | 2,035,940,203 | I_kwDOCUB6oc55Wftr | 27,953 | Multi GPU infrerence not supported with Mixtral(moe)! | {
"login": "DataCTE",
"id": 105170707,
"node_id": "U_kgDOBkTHEw",
"avatar_url": "https://avatars.githubusercontent.com/u/105170707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DataCTE",
"html_url": "https://github.com/DataCTE",
"followers_url": "https://api.github.com/users/DataCTE/foll... | [] | closed | false | null | [] | [
"cc @SunMarc? ",
"There's a related PR with the fix here: #27948 ",
"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](... | 1,702 | 1,704 | 1,704 | NONE | null | ### System Info
(most recent call last):
File "/deep-pool/inference/text-generation-webui/modules/callbacks.py", line 57, in gentask
ret = self.mfunc(callback=_callback, args, self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/deep-pool/inference/text-generation-webui/module... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27953/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/27953/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27951 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27951/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27951/comments | https://api.github.com/repos/huggingface/transformers/issues/27951/events | https://github.com/huggingface/transformers/pull/27951 | 2,035,826,425 | PR_kwDOCUB6oc5hsLfw | 27,951 | Fix AMD scheduled CI not triggered | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [] | 1,702 | 1,702 | 1,702 | COLLABORATOR | null | # What does this PR do?
A bug is introduced in #27743: the AMD scheduled CI is restructured, but the `github.event_name == 'schedule'` should be changed to `github.event_name == 'workflow_run'`.
Curretnly, the (actual) AMD scheduled CI is not triggered. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27951/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27951/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27951",
"html_url": "https://github.com/huggingface/transformers/pull/27951",
"diff_url": "https://github.com/huggingface/transformers/pull/27951.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27951.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.