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/25322 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25322/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25322/comments | https://api.github.com/repos/huggingface/transformers/issues/25322/events | https://github.com/huggingface/transformers/issues/25322 | 1,837,090,414 | I_kwDOCUB6oc5tf8Zu | 25,322 | Explanation of the default "auto" values for DeepSpeed stage 3? | {
"login": "garrett361",
"id": 44747910,
"node_id": "MDQ6VXNlcjQ0NzQ3OTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/44747910?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/garrett361",
"html_url": "https://github.com/garrett361",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi, thanks for raising an issue! \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports.",
"Ah, thank you! Will ask there, I wasn't aware of the forums.",
"@garrett361,\r\n\r\n- The only real magical `aut... | 1,691 | 1,692 | 1,691 | NONE | null | Hi, I would like to know how the default values of the various [default DeepSpeed stage 3 parameters](https://huggingface.co/docs/transformers/main_classes/deepspeed?_sm_vck=D7sD5KLsJ4kfrtW4NKbQJqJWqH4bkFR7JkHK7fQtHk65Kst1nq7r#zero3-config) were determined when using `"auto"` fields. They seem to work quite well, but I... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25322/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25322/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25321 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25321/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25321/comments | https://api.github.com/repos/huggingface/transformers/issues/25321/events | https://github.com/huggingface/transformers/issues/25321 | 1,837,082,718 | I_kwDOCUB6oc5tf6he | 25,321 | Adding gpu devices to Trainer.train | {
"login": "Ofir408",
"id": 33639234,
"node_id": "MDQ6VXNlcjMzNjM5MjM0",
"avatar_url": "https://avatars.githubusercontent.com/u/33639234?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ofir408",
"html_url": "https://github.com/Ofir408",
"followers_url": "https://api.github.com/users/Ofir40... | [] | closed | false | null | [] | [
"@Ofir408 thanks for raising this feature request!\r\n\r\n> This extension can be implemented by setting the environment variable CUDA_VISIBLE_DEVICES appropriately before the training process begins.\r\n\r\nIt's already possible to set the GPUs used during training with the `CUDA_VISIBLE_DEVICES` argument. See the... | 1,691 | 1,691 | 1,691 | NONE | null | ### Feature request
It would be helpful to extend the `train` method of the `Trainer` class with additional parameters to specify the GPUs devices we want to use during training. This extension can be implemented by setting the environment variable ``CUDA_VISIBLE_DEVICES`` appropriately before the training process beg... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25321/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25321/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25320 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25320/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25320/comments | https://api.github.com/repos/huggingface/transformers/issues/25320/events | https://github.com/huggingface/transformers/pull/25320 | 1,836,902,132 | PR_kwDOCUB6oc5XNLcd | 25,320 | [MusicGen] Add streamer to generate | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the review @gante! We now yield successive audio chunks as suggested",
"Ready for core-maintainer review! What are your thoughts about adding a streamer example to the docs @ArthurZucker @gante? The code is quite involve... | 1,691 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Adds the `streamer` to MusicGen's generate, along with an example test for returning chunks of numpy audio arrays _on-the-fly_ as they are generated.
Facilitates using MusicGen with streaming mode as per the Gradio update: https://github.com/gradio-app/gradio/pull/5077
cc @Vaibhavs10 @y... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25320/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/25320/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25320",
"html_url": "https://github.com/huggingface/transformers/pull/25320",
"diff_url": "https://github.com/huggingface/transformers/pull/25320.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25320.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25319 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25319/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25319/comments | https://api.github.com/repos/huggingface/transformers/issues/25319/events | https://github.com/huggingface/transformers/pull/25319 | 1,836,692,485 | PR_kwDOCUB6oc5XMdK4 | 25,319 | Document toc check and doctest check scripts | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
This PR continues to document the scripts used in our quality tooling with the one that checks the table of content and the one that checks the doctest list. For the second one, I added the option to auto-fix (as for everything else). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25319/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25319/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25319",
"html_url": "https://github.com/huggingface/transformers/pull/25319",
"diff_url": "https://github.com/huggingface/transformers/pull/25319.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25319.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25318 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25318/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25318/comments | https://api.github.com/repos/huggingface/transformers/issues/25318/events | https://github.com/huggingface/transformers/pull/25318 | 1,836,676,011 | PR_kwDOCUB6oc5XMZmu | 25,318 | Load state in else | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger good for another look here!"
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
If we just want to load the most recent checkpoint by passing `resume_from_checkpoint`, we need to actually load it in
Fixes # (issue)
Solves https://github.com/huggingface/transformers/issues/25269
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dism... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25318/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25318/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25318",
"html_url": "https://github.com/huggingface/transformers/pull/25318",
"diff_url": "https://github.com/huggingface/transformers/pull/25318.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25318.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25317 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25317/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25317/comments | https://api.github.com/repos/huggingface/transformers/issues/25317/events | https://github.com/huggingface/transformers/pull/25317 | 1,836,655,311 | PR_kwDOCUB6oc5XMVIO | 25,317 | add docstring examples to Encoder repetition penalty logits processor | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@gante , I will test the examples and make suitable changes in the files!",
"@gante Will you suggest something for this PR?",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25317). All of your documentation changes will be reflected on that endpoint.",
"Hi @rajveer... | 1,691 | 1,695 | 1,694 | 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/25317/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25317/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25317",
"html_url": "https://github.com/huggingface/transformers/pull/25317",
"diff_url": "https://github.com/huggingface/transformers/pull/25317.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25317.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25316 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25316/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25316/comments | https://api.github.com/repos/huggingface/transformers/issues/25316/events | https://github.com/huggingface/transformers/issues/25316 | 1,836,579,210 | I_kwDOCUB6oc5td_mK | 25,316 | PreTrainedTokenizerFast converted from SentencePiece Unigram behaviour difference | {
"login": "meliksahturker",
"id": 67103746,
"node_id": "MDQ6VXNlcjY3MTAzNzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/67103746?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/meliksahturker",
"html_url": "https://github.com/meliksahturker",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Hey @meliksahturker sorry I did not have time to look at this. I ll have a look. \r\ncc @Narsil I think you already solved something like this! ",
"You can check this out: https://github.com/huggingface/tokenizers/pull/401\r\n\r\nBasically 100% parity is not possible. `...` -> `..` + `.` ... | 1,691 | 1,697 | 1,697 | NONE | null | ### System Info
transformers version: 4.28.1 (tested on 4.31.0 as well)
platform: windows
python version: 3.8.10
We have converted a pre-trained SentencePiece unigram tokenizer to PreTrainedTokenizerFast, setting vocabulary, special tokens and so on as below:
```
import sentencepiece as spm
from transforme... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25316/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25316/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25315 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25315/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25315/comments | https://api.github.com/repos/huggingface/transformers/issues/25315/events | https://github.com/huggingface/transformers/pull/25315 | 1,836,575,303 | PR_kwDOCUB6oc5XMDip | 25,315 | Give more memory in test_disk_offload | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
Give more memory available in `disk_offload_test` by using the second split (0.7) instead of the first (0.5). I haven't tried all of them, but it seems to fix all the ones I tried. We will know more at the next GPU CI run. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25315/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25315/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25315",
"html_url": "https://github.com/huggingface/transformers/pull/25315",
"diff_url": "https://github.com/huggingface/transformers/pull/25315.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25315.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25314 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25314/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25314/comments | https://api.github.com/repos/huggingface/transformers/issues/25314/events | https://github.com/huggingface/transformers/issues/25314 | 1,836,478,015 | I_kwDOCUB6oc5tdm4_ | 25,314 | Reducing CPU usage during decoding | {
"login": "bloodraven66",
"id": 23132495,
"node_id": "MDQ6VXNlcjIzMTMyNDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/23132495?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bloodraven66",
"html_url": "https://github.com/bloodraven66",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi @bloodraven66, thanks for raising this issue. \r\n\r\nFor us to be able to help you'll need to provide some more information and context: \r\n* How and where is `num_workers=1` being set?\r\n* Could you provide a code snippet which produces the conditions seen? We should be able to copy-paste the code and run i... | 1,691 | 1,694 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.24.0
- Platform: Linux-5.15.0-1032-gcp-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.10.1
- PyTorch version (GPU?): 1.13.0+cu117 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25314/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25314/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25313 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25313/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25313/comments | https://api.github.com/repos/huggingface/transformers/issues/25313/events | https://github.com/huggingface/transformers/issues/25313 | 1,836,410,947 | I_kwDOCUB6oc5tdWhD | 25,313 | Consume some many memory when setting eval_accumulation_steps | {
"login": "SingL3",
"id": 20473466,
"node_id": "MDQ6VXNlcjIwNDczNDY2",
"avatar_url": "https://avatars.githubusercontent.com/u/20473466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SingL3",
"html_url": "https://github.com/SingL3",
"followers_url": "https://api.github.com/users/SingL3/fo... | [] | closed | false | null | [] | [
"I'm not sure how you want us to help without even telling us which arguments you used to launch this script or which exact model on the Hub you are using.",
"@sgugger, sorry that I didnt provide enough info\r\nLaunch script:\r\n```\r\ntorchrun --nproc_per_node=4 --master_port=30500 train.py \\\r\n --model_nam... | 1,691 | 1,692 | 1,692 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-4.18.0-425.3.1.el8.x86_64-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.15.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25313/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25313/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25311 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25311/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25311/comments | https://api.github.com/repos/huggingface/transformers/issues/25311/events | https://github.com/huggingface/transformers/issues/25311 | 1,836,280,586 | I_kwDOCUB6oc5tc2sK | 25,311 | Llama 2: NaN values when torch_dtype=torch.float16 and padding_side="left" | {
"login": "ValeKnappich",
"id": 39188710,
"node_id": "MDQ6VXNlcjM5MTg4NzEw",
"avatar_url": "https://avatars.githubusercontent.com/u/39188710?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ValeKnappich",
"html_url": "https://github.com/ValeKnappich",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Closing as duplicate of #25065, but thanks a lot for putting effort in having a nice small reproducer! "
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-4.18.0-477.13.1.el8_8.x86_64-x86_64-with-glibc2.28
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (Tru... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25311/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25311/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25310 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25310/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25310/comments | https://api.github.com/repos/huggingface/transformers/issues/25310/events | https://github.com/huggingface/transformers/pull/25310 | 1,836,194,673 | PR_kwDOCUB6oc5XKyAb | 25,310 | Move usage of deprecated logging.warn to logging.warning | {
"login": "PeterJCLaw",
"id": 336212,
"node_id": "MDQ6VXNlcjMzNjIxMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/336212?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PeterJCLaw",
"html_url": "https://github.com/PeterJCLaw",
"followers_url": "https://api.github.com/users/P... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | The former spelling is deprecated and has been discouraged for a while. The latter spelling seems to be more common in this project anyway, so this change ought to be safe.
Does this project have testing for things like warnings? Or a developer style guide we could add a note to? (Is this worth it?)
Fixes https:/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25310/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25310/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25310",
"html_url": "https://github.com/huggingface/transformers/pull/25310",
"diff_url": "https://github.com/huggingface/transformers/pull/25310.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25310.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25309 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25309/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25309/comments | https://api.github.com/repos/huggingface/transformers/issues/25309/events | https://github.com/huggingface/transformers/issues/25309 | 1,836,019,521 | I_kwDOCUB6oc5tb29B | 25,309 | the code in the main readme file isnt working | {
"login": "akintola4",
"id": 61349895,
"node_id": "MDQ6VXNlcjYxMzQ5ODk1",
"avatar_url": "https://avatars.githubusercontent.com/u/61349895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akintola4",
"html_url": "https://github.com/akintola4",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"It indeed performs its intended function, and the issues you mentioned appear to be merely log messages.",
"I was expecting it to display a Image like the one in the main Readme file, correct me if am mistaken. this my first time using it, am new to all this.",
"For that, you have to write a script that would ... | 1,691 | 1,694 | 1,694 | NONE | null | ### System Info
it brings out this error when i try to run the code for the cat and remote identification .
No model was supplied, defaulted to facebook/detr-resnet-50 and revision 2729413 (https://huggingface.co/facebook/detr-resnet-50).
Using a pipeline without specifying a model name and revision in production ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25309/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25309/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25308 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25308/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25308/comments | https://api.github.com/repos/huggingface/transformers/issues/25308/events | https://github.com/huggingface/transformers/pull/25308 | 1,835,980,981 | PR_kwDOCUB6oc5XKFnr | 25,308 | Fixed "Dynamic" issue in LlamaDynamicNTKScalingRotaryEmbedding | {
"login": "LetianLee",
"id": 73881739,
"node_id": "MDQ6VXNlcjczODgxNzM5",
"avatar_url": "https://avatars.githubusercontent.com/u/73881739?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LetianLee",
"html_url": "https://github.com/LetianLee",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @ArthurZucker and @gante ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25308). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this ... | 1,691 | 1,694 | 1,694 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25308/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25308/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25308",
"html_url": "https://github.com/huggingface/transformers/pull/25308",
"diff_url": "https://github.com/huggingface/transformers/pull/25308.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25308.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25307 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25307/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25307/comments | https://api.github.com/repos/huggingface/transformers/issues/25307/events | https://github.com/huggingface/transformers/issues/25307 | 1,835,972,226 | I_kwDOCUB6oc5tbraC | 25,307 | Return updated attention mask from Wav2Vec 2.0 | {
"login": "gau-nernst",
"id": 26946864,
"node_id": "MDQ6VXNlcjI2OTQ2ODY0",
"avatar_url": "https://avatars.githubusercontent.com/u/26946864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gau-nernst",
"html_url": "https://github.com/gau-nernst",
"followers_url": "https://api.github.com/use... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"cc @sanchit-gandhi ",
"Hey @gau-nernst - thanks for the great issue report. Having gone through the fariseq code, I could see this being a valuable contribution, since the original implementation does indeed return the attention mask for downstream use cases. However, I'm not entirely sure what such use cases wo... | 1,691 | 1,703 | null | CONTRIBUTOR | null | ### Feature request
In Wav2Vec 2.0, the first few convolution layers affect the attention mask. Thus, if I want to use all Wav2Vec 2.0 outputs (last_hidden_state), I need access to the updated attention mask. Currently the workaround is to call the private method `._get_feature_vector_attention_mask()`. To return this... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25307/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25307/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25306 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25306/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25306/comments | https://api.github.com/repos/huggingface/transformers/issues/25306/events | https://github.com/huggingface/transformers/issues/25306 | 1,835,894,897 | I_kwDOCUB6oc5tbYhx | 25,306 | "Dynamic" Issue in LlamaDynamicNTKScalingRotaryEmbedding - Long context inference will impact short context inference. | {
"login": "LetianLee",
"id": 73881739,
"node_id": "MDQ6VXNlcjczODgxNzM5",
"avatar_url": "https://avatars.githubusercontent.com/u/73881739?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LetianLee",
"html_url": "https://github.com/LetianLee",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @gante @ArthurZucker ",
"Hey! Thanks for reporting, this is a duplicate of #25104. Will link it in the PR as well",
"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 issu... | 1,691 | 1,698 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.22.0.dev0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25306/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25306/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25305 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25305/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25305/comments | https://api.github.com/repos/huggingface/transformers/issues/25305/events | https://github.com/huggingface/transformers/issues/25305 | 1,835,859,392 | I_kwDOCUB6oc5tbP3A | 25,305 | Unable to change default cache folders despite setting environment variables | {
"login": "kiasar",
"id": 23178294,
"node_id": "MDQ6VXNlcjIzMTc4Mjk0",
"avatar_url": "https://avatars.githubusercontent.com/u/23178294?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kiasar",
"html_url": "https://github.com/kiasar",
"followers_url": "https://api.github.com/users/kiasar/fo... | [] | closed | false | null | [] | [
"Hi @kiasar, thanks for raising this issue! \r\n\r\nCould you provide information about the hugging face libraries installed (run `transformers-cli env` in the terminal and copy-paste the output)? \r\n\r\nWhen setting the environment variables, are you running in the same python session i.e. are the `os.environ` co... | 1,691 | 1,702 | 1,691 | NONE | null | ### System Info
Collecting environment information...
PyTorch version: 2.0.1+cu117
Is debug build: False
CUDA used to build PyTorch: 11.7
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.2 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: Could no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25305/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25305/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25304 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25304/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25304/comments | https://api.github.com/repos/huggingface/transformers/issues/25304/events | https://github.com/huggingface/transformers/issues/25304 | 1,835,842,238 | I_kwDOCUB6oc5tbLq- | 25,304 | Tokenizer failing to encode chatml correctly | {
"login": "ozreact",
"id": 130388602,
"node_id": "U_kgDOB8WSeg",
"avatar_url": "https://avatars.githubusercontent.com/u/130388602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ozreact",
"html_url": "https://github.com/ozreact",
"followers_url": "https://api.github.com/users/ozreact/foll... | [] | closed | false | null | [] | [
"Hi ! Could you demonstrate this issue with a small but complete code snippet. That will help us a lot, thanks in advance.",
"Yep, I had it linked above.\n\nhttps://gist.github.com/ozreact/a4b565cd2c7fac65d6cb76c78dbdf9e2\n\nJust replace the model path.",
"OK, thank you. I thought it was a full repository 😅 ",... | 1,691 | 1,702 | 1,698 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.14.0-284.18.1.el9_2.x86_64-x86_64-with-glibc2.34
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25304/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/25304/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25303 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25303/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25303/comments | https://api.github.com/repos/huggingface/transformers/issues/25303/events | https://github.com/huggingface/transformers/issues/25303 | 1,835,759,416 | I_kwDOCUB6oc5ta3c4 | 25,303 | loss reduction for `Llama2ForCausalLM.forward` | {
"login": "ain-soph",
"id": 13214530,
"node_id": "MDQ6VXNlcjEzMjE0NTMw",
"avatar_url": "https://avatars.githubusercontent.com/u/13214530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ain-soph",
"html_url": "https://github.com/ain-soph",
"followers_url": "https://api.github.com/users/ain... | [] | closed | false | null | [] | [
"Hi @ain-soph \r\n\r\nThis is not supported. But you can choose `not to pass labels` to the `model forward`, but compute the loss in you own code 🤗 .",
"@ydshieh Thanks for your reply. Yeah, so my current workaround is to copy the implementation of `LlamaForCausalLM.forward` and calculate in my own, and it works... | 1,691 | 1,691 | 1,691 | NONE | null | ### Feature request
In `forward` method, it outputs `loss` when `labels` are provided. But the `loss` shape is always `(1,)` because `reduction='mean'` in CrossEntropy. I wonder if I could pass `reduction='none'` and get a `(batch_size,)` shaped loss tensor.
https://github.com/huggingface/transformers/blob/641adca5... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25303/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25303/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25302 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25302/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25302/comments | https://api.github.com/repos/huggingface/transformers/issues/25302/events | https://github.com/huggingface/transformers/pull/25302 | 1,835,662,498 | PR_kwDOCUB6oc5XJDFj | 25,302 | Fix typo: Roberta -> RoBERTa | {
"login": "MrGeislinger",
"id": 9027783,
"node_id": "MDQ6VXNlcjkwMjc3ODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9027783?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MrGeislinger",
"html_url": "https://github.com/MrGeislinger",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
Small typo in docs: "Roberta" should have the correct capitalization "RoBERTa".
Fixes #25301
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
<!--
- [ ] Did you read the [contributor guideline](https://githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25302/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25302/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25302",
"html_url": "https://github.com/huggingface/transformers/pull/25302",
"diff_url": "https://github.com/huggingface/transformers/pull/25302.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25302.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25301 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25301/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25301/comments | https://api.github.com/repos/huggingface/transformers/issues/25301/events | https://github.com/huggingface/transformers/issues/25301 | 1,835,655,434 | I_kwDOCUB6oc5taeEK | 25,301 | Minor typo referencing RoBERTa | {
"login": "MrGeislinger",
"id": 9027783,
"node_id": "MDQ6VXNlcjkwMjc3ODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9027783?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MrGeislinger",
"html_url": "https://github.com/MrGeislinger",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | "Roberta" should use the correct capitalization: "RoBERTa"
https://github.com/huggingface/transformers/blob/d27e4c18fe2970abcb9a48dcb8a824e48083b15f/docs/source/en/tokenizer_summary.md?plain=1#L144
Should be a simple fix. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25301/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25301/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25300 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25300/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25300/comments | https://api.github.com/repos/huggingface/transformers/issues/25300/events | https://github.com/huggingface/transformers/issues/25300 | 1,835,650,285 | I_kwDOCUB6oc5taczt | 25,300 | Add zero-shot classification task for BLIP-2 | {
"login": "youssefadr",
"id": 104783077,
"node_id": "U_kgDOBj7c5Q",
"avatar_url": "https://avatars.githubusercontent.com/u/104783077?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/youssefadr",
"html_url": "https://github.com/youssefadr",
"followers_url": "https://api.github.com/users/you... | [
{
"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 | [] | [
"Yes so ideally you can add `get_image_feature` and `get_text_feature` to the Blip2ForConditionalGeneration class. For that you can refer to the [original implementation ](https://github.com/salesforce/LAVIS/blob/f982acc73288408bceda2d35471a8fcf55aa04ca/lavis/models/blip2_models/blip2_qformer.py#L387).",
"@youss... | 1,691 | 1,705 | null | CONTRIBUTOR | null | ### Feature request
I would like to add the support for the zero-shot classification task using BLIP2, computing text-image similarities with the normalized embeddings, that would be accessed from BLIP2 feature extractor.
The idea is to enable calling the zero-shot classification pipeline using BLIP2, by implement... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25300/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25300/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25299 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25299/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25299/comments | https://api.github.com/repos/huggingface/transformers/issues/25299/events | https://github.com/huggingface/transformers/issues/25299 | 1,835,580,863 | I_kwDOCUB6oc5taL2_ | 25,299 | cannot import name 'Module' from '_pytest.doctest' | {
"login": "jingyanwangms",
"id": 47403504,
"node_id": "MDQ6VXNlcjQ3NDAzNTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/47403504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jingyanwangms",
"html_url": "https://github.com/jingyanwangms",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"You might need a `pip install --upgrade pytest`.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com... | 1,691 | 1,694 | 1,694 | NONE | null | ### System Info
transformers 4.32.0.dev0
torch 2.1.0.dev20230523+cu117
Error:
Traceback (most recent call last):
File "/workspace/transformers/examples/pytorch/language-modeling/run_clm.py", line 52, in <module>
Traceback (most recent call last):
File "/workspace/tran... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25299/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25299/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25298 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25298/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25298/comments | https://api.github.com/repos/huggingface/transformers/issues/25298/events | https://github.com/huggingface/transformers/pull/25298 | 1,835,494,991 | PR_kwDOCUB6oc5XIgRa | 25,298 | [Whisper] Better error message for outdated generation config | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
Gives a better error message in the case that a user tries using an outdated generation config with the new generation arguments `language` and `task` (as described in https://github.com/huggingface/transformers/issues/25084#issuecomment-1653722724).
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25298/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25298/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25298",
"html_url": "https://github.com/huggingface/transformers/pull/25298",
"diff_url": "https://github.com/huggingface/transformers/pull/25298.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25298.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25297 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25297/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25297/comments | https://api.github.com/repos/huggingface/transformers/issues/25297/events | https://github.com/huggingface/transformers/pull/25297 | 1,835,484,593 | PR_kwDOCUB6oc5XIeHd | 25,297 | MaskFormer, Mask2Former - replace einsum for tracing | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Sorry, let me check something first before merge 🙏 .",
"Hi @amyeroberts \r\n\r\nSo the issue only happens at the 2nd `out = traced_model(torch.randn((2,3,640,640)).to(device))`. Before that (last) line, everything is fine. I am a ... | 1,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
Maskformer cannot currently be traced because of einsum operations. This PR replaces the einsum operations with standard matmuls.
With this PR, the following now runs:
```python
import torch
from transformers import Mask2FormerForUniversalSegmentation
device = torch.device("cuda... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25297/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25297/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25297",
"html_url": "https://github.com/huggingface/transformers/pull/25297",
"diff_url": "https://github.com/huggingface/transformers/pull/25297.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25297.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25296 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25296/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25296/comments | https://api.github.com/repos/huggingface/transformers/issues/25296/events | https://github.com/huggingface/transformers/issues/25296 | 1,835,422,058 | I_kwDOCUB6oc5tZlFq | 25,296 | BertForSequenceClassification does not support 'device_map':"auto" yet | {
"login": "goodaytar",
"id": 65249001,
"node_id": "MDQ6VXNlcjY1MjQ5MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/65249001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/goodaytar",
"html_url": "https://github.com/goodaytar",
"followers_url": "https://api.github.com/users/... | [
{
"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 @goodaytar, thanks for raising this issue! \r\n\r\nYes, the BERT models don't support the use of `device_map=xxx` yet. In the full error message, you should have seen: \r\n\r\n```\r\nBertForSequenceClassification not support `device_map=\"auto\"`. To implement support, the model class needs to implement the `_n... | 1,691 | 1,708 | null | NONE | null | ### System Info
I have trained a model and am now trying to load and quantise it but getting the error:
BertForSequenceClassification does not support 'device_map':"auto" yet
Code for loading is simply:
` model = AutoModelForSequenceClassification.from_pretrained(model_dir, device_map='auto', load_in_8bit=T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25296/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/25296/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25295 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25295/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25295/comments | https://api.github.com/repos/huggingface/transformers/issues/25295/events | https://github.com/huggingface/transformers/pull/25295 | 1,835,410,228 | PR_kwDOCUB6oc5XIOnn | 25,295 | [small] llama2.md typo | {
"login": "H-Huang",
"id": 14858254,
"node_id": "MDQ6VXNlcjE0ODU4MjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/14858254?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/H-Huang",
"html_url": "https://github.com/H-Huang",
"followers_url": "https://api.github.com/users/H-Huan... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null |
# What does this PR do?
`groupe` -> `grouped`
<!--
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.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25295/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25295/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25295",
"html_url": "https://github.com/huggingface/transformers/pull/25295",
"diff_url": "https://github.com/huggingface/transformers/pull/25295.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25295.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25294 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25294/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25294/comments | https://api.github.com/repos/huggingface/transformers/issues/25294/events | https://github.com/huggingface/transformers/pull/25294 | 1,835,406,815 | PR_kwDOCUB6oc5XIN5O | 25,294 | Generate: remove Marian hack | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | MEMBER | null | # What does this PR do?
Removes `adjust_logits_during_generation`, clearing a temporary hack for `Marian` that has been long fixed.
- In TF: `adjust_logits_during_generation` is defined but not called anywhere, and is not a public function, so it can be deleted.
- In PT: `adjust_logits_during_generation` is redu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25294/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25294/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25294",
"html_url": "https://github.com/huggingface/transformers/pull/25294",
"diff_url": "https://github.com/huggingface/transformers/pull/25294.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25294.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25293 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25293/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25293/comments | https://api.github.com/repos/huggingface/transformers/issues/25293/events | https://github.com/huggingface/transformers/issues/25293 | 1,835,396,657 | I_kwDOCUB6oc5tZe4x | 25,293 | MassFormer | {
"login": "yunyicheng",
"id": 55462866,
"node_id": "MDQ6VXNlcjU1NDYyODY2",
"avatar_url": "https://avatars.githubusercontent.com/u/55462866?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yunyicheng",
"html_url": "https://github.com/yunyicheng",
"followers_url": "https://api.github.com/use... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hey @amyeroberts, could I implement this?\r\nI think the implemented link is [here](https://github.com/Roestlab/massformer)",
"Hi Adithya, thank you for your interest in this project! However, this is my undergraduate research project in Röst Lab, and I am working with Adamo Young now, planning to optimize the o... | 1,691 | 1,691 | null | NONE | null | ### Model description
We propose adding a new model, MassFormer, to predict tandem mass spectra accurately. MassFormer uses a graph transformer architecture to model long-distance relationships between atoms in the molecule. The transformer module is initialized with parameters obtained through a chemical pre-training... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25293/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25293/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25292 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25292/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25292/comments | https://api.github.com/repos/huggingface/transformers/issues/25292/events | https://github.com/huggingface/transformers/pull/25292 | 1,835,383,654 | PR_kwDOCUB6oc5XII65 | 25,292 | Generate: get generation mode as an enum | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | MEMBER | null | # What does this PR do?
Currently, generate gets several `is_XXX_mode` flags, to determine the generation mode. This was cool when there were a handful of generation modes, but now it means we have many variables. This PR replaces that part of the logic by a single variable -- an enum.
In a future PR, I will use ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25292/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25292/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25292",
"html_url": "https://github.com/huggingface/transformers/pull/25292",
"diff_url": "https://github.com/huggingface/transformers/pull/25292.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25292.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25291 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25291/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25291/comments | https://api.github.com/repos/huggingface/transformers/issues/25291/events | https://github.com/huggingface/transformers/pull/25291 | 1,835,335,118 | PR_kwDOCUB6oc5XH-vS | 25,291 | Document check copies | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Little late but great fix and the diff is really nice too!"
] | 1,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
This PR document a little bit better how or `Copied from` framework works, adds comments in the actual scripts and rework a bit the test to be better.
In passing I added a feature requested which was to make sure `make fix-copies` took the function definition or the superclass into account... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25291/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25291/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25291",
"html_url": "https://github.com/huggingface/transformers/pull/25291",
"diff_url": "https://github.com/huggingface/transformers/pull/25291.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25291.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25290 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25290/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25290/comments | https://api.github.com/repos/huggingface/transformers/issues/25290/events | https://github.com/huggingface/transformers/pull/25290 | 1,835,297,393 | PR_kwDOCUB6oc5XH2wU | 25,290 | Make `bark` could have tiny model | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Hi @ydshieh, many thanks for your help in that matter! Looks great to me, I will implement some actual tests ASAP\r\n\r\nI think you already tests in your PR. I will try to merger your PR with my own, see how those tests go and let... | 1,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
Make `bark` could have tiny model. This is mainly for #24952
cc @ylacombe | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25290/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25290/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25290",
"html_url": "https://github.com/huggingface/transformers/pull/25290",
"diff_url": "https://github.com/huggingface/transformers/pull/25290.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25290.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25289 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25289/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25289/comments | https://api.github.com/repos/huggingface/transformers/issues/25289/events | https://github.com/huggingface/transformers/issues/25289 | 1,835,268,080 | I_kwDOCUB6oc5tY_fw | 25,289 | Quantized models + PEFT + multi-gpu setup failing during training | {
"login": "cassianlewis",
"id": 131266258,
"node_id": "U_kgDOB9L20g",
"avatar_url": "https://avatars.githubusercontent.com/u/131266258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cassianlewis",
"html_url": "https://github.com/cassianlewis",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@younesbelkada maybe you can have a look at it? ",
"`ddp_find_unused_parameters=False` has fixed it for now :) ",
"I am having the same issue and in my case even \r\n`ddp_find_unused_parameters=False` does not fix it\r\n\r\n",
"I run into the same issues even after setting `ddp_find_unused_parameters=False` ... | 1,691 | 1,695 | 1,695 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.10.178-162.673.amzn2.x86_64-x86_64-with-glibc2.26
- Python version: 3.10.8
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
### Who can help?
@younesbelkada
### Information
- [] The offici... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25289/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/huggingface/transformers/issues/25289/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25288 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25288/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25288/comments | https://api.github.com/repos/huggingface/transformers/issues/25288/events | https://github.com/huggingface/transformers/issues/25288 | 1,835,116,493 | I_kwDOCUB6oc5tYafN | 25,288 | device_map="auto" -> uninitialized parameters | {
"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... | [] | closed | false | null | [] | [
"I think this should have been fixed by #25101 Could you try again with a source install?\r\n(Yes it is a false positive, just tied weights where the copies are not present in the state dict.)",
"Awesome, that works. Was afraid that I was messing something up with converting to safetensors. Glad that that is not ... | 1,691 | 1,691 | 1,691 | COLLABORATOR | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Windows-10-10.0.19045-SP0
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
### Who can help?
@Arthur... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25288/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25288/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25287 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25287/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25287/comments | https://api.github.com/repos/huggingface/transformers/issues/25287/events | https://github.com/huggingface/transformers/issues/25287 | 1,835,034,516 | I_kwDOCUB6oc5tYGeU | 25,287 | Transformers Agent suggesting it should use text_generator although it is not provided. | {
"login": "tordbb",
"id": 11409776,
"node_id": "MDQ6VXNlcjExNDA5Nzc2",
"avatar_url": "https://avatars.githubusercontent.com/u/11409776?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tordbb",
"html_url": "https://github.com/tordbb",
"followers_url": "https://api.github.com/users/tordbb/fo... | [] | closed | false | null | [] | [
"I'm not too sure why you are reporting a bug. The agent is an LLM which sometimes hallucinate content (in this case, a tool that does not exist). If your prompt does not work, you should try refining it. You should also try using another model and see if it performs better.",
"This issue has been automatically m... | 1,691 | 1,694 | 1,694 | NONE | null | ### System Info
I am running a version of [your notebook on Transformers Agent](https://colab.research.google.com/drive/1c7MHD-T1forUPGcC_jlwsIptOzpG3hSj), where I have added a cell where I ask the StarCoder agent to generate a sentence for me.
I am using StarCoder, as you can see:
```
#@title Agent init
agent... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25287/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25287/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25286 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25286/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25286/comments | https://api.github.com/repos/huggingface/transformers/issues/25286/events | https://github.com/huggingface/transformers/pull/25286 | 1,835,007,607 | PR_kwDOCUB6oc5XG4Bd | 25,286 | [JAX] Bump min version | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
Bumps the minimum version of JAX to [0.4.1](https://jax.readthedocs.io/en/latest/changelog.html#jax-0-4-1-dec-13-2022), the earliest version where the new `jax.Array` API is introduced, replacing the deprecated `jax.numpy.DeviceArray` API. This allows compatibility with the latest JAX version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25286/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25286/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25286",
"html_url": "https://github.com/huggingface/transformers/pull/25286",
"diff_url": "https://github.com/huggingface/transformers/pull/25286.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25286.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25284 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25284/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25284/comments | https://api.github.com/repos/huggingface/transformers/issues/25284/events | https://github.com/huggingface/transformers/pull/25284 | 1,834,924,179 | PR_kwDOCUB6oc5XGll1 | 25,284 | Fix Llama's attention map handling for left padding which causes numerical instability and performance drops | {
"login": "Randolph-zeng",
"id": 11933185,
"node_id": "MDQ6VXNlcjExOTMzMTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/11933185?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Randolph-zeng",
"html_url": "https://github.com/Randolph-zeng",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Hi Arthur, thanks for the comment. Yes this PR should affect the inference because otherwise it causes performance drops or error. I think it applies both to training issue you mentioned and inference. I will do the checks you mentioned above locally and push again today after some meetings.... | 1,691 | 1,701 | 1,694 | NONE | null | Hi this PR is trying to address the performance drop and potential numerical instability caused by vanilla left padding in Llama.
Here is the explanation:
1. If we initialize the tokenizer with left padding and call model.generate without passing in corresponding attention_mask, the code will run, but for the instanc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25284/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25284/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25284",
"html_url": "https://github.com/huggingface/transformers/pull/25284",
"diff_url": "https://github.com/huggingface/transformers/pull/25284.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25284.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25283 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25283/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25283/comments | https://api.github.com/repos/huggingface/transformers/issues/25283/events | https://github.com/huggingface/transformers/issues/25283 | 1,834,888,888 | I_kwDOCUB6oc5tXi64 | 25,283 | Use of logging.warn is deprecated in favour of logging.warning | {
"login": "PeterJCLaw",
"id": 336212,
"node_id": "MDQ6VXNlcjMzNjIxMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/336212?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PeterJCLaw",
"html_url": "https://github.com/PeterJCLaw",
"followers_url": "https://api.github.com/users/P... | [] | closed | false | null | [] | [
"@PeterJCLaw Indeed! Happy to review a PR :) "
] | 1,691 | 1,691 | 1,691 | CONTRIBUTOR | null | There are a few places where `transformers` uses the deprecated `warn` method on a logger, while most of the library uses `warning`. While this works for now, it will presumably be removed at some point (calling it emits a `DeprecationWarning`) and it means that strict test runners (such as `pytest`) complain about som... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25283/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25283/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25282 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25282/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25282/comments | https://api.github.com/repos/huggingface/transformers/issues/25282/events | https://github.com/huggingface/transformers/issues/25282 | 1,834,637,369 | I_kwDOCUB6oc5tWlg5 | 25,282 | Timm models Safetensor weights give 'NoneType' object has no attribute 'get', weight re-initialization and wrong num_labels | {
"login": "sawradip",
"id": 67541368,
"node_id": "MDQ6VXNlcjY3NTQxMzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/67541368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sawradip",
"html_url": "https://github.com/sawradip",
"followers_url": "https://api.github.com/users/saw... | [] | closed | false | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [
{
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "htt... | [
"@sawradip `timm` weights on the hub work in timm, unless I'm missing something (some automatic conversion was added that I'm not aware) I don't think there is any expectation you can load them in `transformers`? I feel the pytorch native weights is a bug that it doesn't crash and it's probably not loading any keys... | 1,691 | 1,694 | 1,694 | NONE | null | ### System Info
My env information:
```
- `transformers` version: 4.31.0
- Platform: Linux-5.15.0-78-generic-x86_64-with-glibc2.31
- Python version: 3.9.17
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.20.3
- Accelerate config: not found
- PyTorch version (GPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25282/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25282/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25281 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25281/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25281/comments | https://api.github.com/repos/huggingface/transformers/issues/25281/events | https://github.com/huggingface/transformers/pull/25281 | 1,834,591,089 | PR_kwDOCUB6oc5XFbri | 25,281 | Docs: Update list of `report_to` logging integrations in docstring | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | MEMBER | null | # What does this PR do?
## Pull Request overview
* Add missing `dagshub`, `codecarbon` and `flyte` integrations to `TrainingArguments` docstring.
* Update `report_to` type hint to allow strings.
## Details
I also converted the ordering back to alphabetical.
I considered using a typing `Literal` as the type... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25281/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25281/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25281",
"html_url": "https://github.com/huggingface/transformers/pull/25281",
"diff_url": "https://github.com/huggingface/transformers/pull/25281.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25281.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25280 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25280/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25280/comments | https://api.github.com/repos/huggingface/transformers/issues/25280/events | https://github.com/huggingface/transformers/issues/25280 | 1,834,418,422 | I_kwDOCUB6oc5tVwD2 | 25,280 | How to download files from HF spaces | {
"login": "andysingal",
"id": 20493493,
"node_id": "MDQ6VXNlcjIwNDkzNDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/20493493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andysingal",
"html_url": "https://github.com/andysingal",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @andysingal, \r\n\r\nThere is a typo in the repo_id. The correct command is: \r\n\r\n```\r\nmodel_path = hf_hub_download(repo_id=\"xinyu1205/recognize_anything_model\", filename=\"tag2text_swin_14m.pth\", local_dir = \"/content\")\r\n```\r\n\r\nIf you receive an error that a repo doesn't exist, the best thing... | 1,691 | 1,694 | 1,694 | NONE | null | ### System Info
google colab
### Who can help?
@sanchit-gandhi @rock
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproductio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25280/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25280/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25279 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25279/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25279/comments | https://api.github.com/repos/huggingface/transformers/issues/25279/events | https://github.com/huggingface/transformers/pull/25279 | 1,834,334,251 | PR_kwDOCUB6oc5XEj_5 | 25,279 | CI 🚀 even more | {
"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 | [] | [
"Well, request a review too quickly, sorry, but just a few tiny thing to fix ...",
"_The documentation is not available anymore as the PR was closed or merged._",
"OK, fair point. At least a (closed) PR is in the history for reference if we ever need it in the future. Thanks!",
"(we will need to keep an eye ... | 1,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
A follow up of #25274:
- To reduce `torch_job` reaches `95%` RAM --> with this PR, it reaches only `82%`.
- Also smaller RAM usage for: `tf_job`: `60%` | `flax_job`: `86%`
- Avoid the non-modeling files being tested redundantly
- we save the timing for ~ 2 x 8 = 16 min.
Now, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25279/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25279/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25279",
"html_url": "https://github.com/huggingface/transformers/pull/25279",
"diff_url": "https://github.com/huggingface/transformers/pull/25279.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25279.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25278 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25278/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25278/comments | https://api.github.com/repos/huggingface/transformers/issues/25278/events | https://github.com/huggingface/transformers/pull/25278 | 1,834,212,897 | PR_kwDOCUB6oc5XEKDh | 25,278 | Llama tokenizer add_prefix_space | {
"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 | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25278). All of your documentation changes will be reflected on that endpoint.",
"Hi @sgugger , I have the same request here. My problem is as follows: \r\n\r\n\"\\nObservation\" is a substring of \"!\\nObservation\", but i... | 1,691 | 1,695 | 1,695 | CONTRIBUTOR | null | Hi @sgugger
This PR enables llama tokenizer supporting `add_prefix_space`.
Would you please help me review it? Thanks! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25278/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25278/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25278",
"html_url": "https://github.com/huggingface/transformers/pull/25278",
"diff_url": "https://github.com/huggingface/transformers/pull/25278.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25278.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25277 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25277/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25277/comments | https://api.github.com/repos/huggingface/transformers/issues/25277/events | https://github.com/huggingface/transformers/issues/25277 | 1,834,064,623 | I_kwDOCUB6oc5tUZrv | 25,277 | Unable to quantize Meta's new AudioCraft MusicGen model | {
"login": "xNul",
"id": 894305,
"node_id": "MDQ6VXNlcjg5NDMwNQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/894305?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xNul",
"html_url": "https://github.com/xNul",
"followers_url": "https://api.github.com/users/xNul/followers",
... | [] | closed | false | null | [] | [
"I figured out a fix by adding the line\r\n```python\r\ninputs_embeds = inputs_embeds.to(torch.float16)\r\n```\r\nright after line 776, but I noticed commit https://github.com/huggingface/transformers/commit/03f98f96836477f6f5b86957d3ce98778cad5d94 which also fixes this bug. So the second bug is fixed if you're usi... | 1,691 | 1,706 | 1,697 | CONTRIBUTOR | null | ### System Info
- Windows 11 64bit
- Python 3.10.12
- Torch v2.0.1+cu117
- Transformers v4.31.0
- audiocraft v0.0.2
- bitsandbytes v0.41.0
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `exa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25277/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25277/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25276 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25276/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25276/comments | https://api.github.com/repos/huggingface/transformers/issues/25276/events | https://github.com/huggingface/transformers/pull/25276 | 1,833,894,412 | PR_kwDOCUB6oc5XDFaW | 25,276 | vectorize PrefixConstrainedLogitsProcessor | {
"login": "erip",
"id": 2348806,
"node_id": "MDQ6VXNlcjIzNDg4MDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2348806?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erip",
"html_url": "https://github.com/erip",
"followers_url": "https://api.github.com/users/erip/followers",
... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25276). All of your documentation changes will be reflected on that endpoint.",
"There's a silly shape thing happening here which I'll try to debug ASAP (unless others are interested). Unfortunately testing locally is not w... | 1,691 | 1,694 | 1,694 | 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/25276/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/25276/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25276",
"html_url": "https://github.com/huggingface/transformers/pull/25276",
"diff_url": "https://github.com/huggingface/transformers/pull/25276.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25276.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25275 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25275/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25275/comments | https://api.github.com/repos/huggingface/transformers/issues/25275/events | https://github.com/huggingface/transformers/pull/25275 | 1,833,832,593 | PR_kwDOCUB6oc5XC36I | 25,275 | Replace jnp.DeviceArray with jax.Array in FLAX models | {
"login": "akhilgoe",
"id": 114951738,
"node_id": "U_kgDOBtoGOg",
"avatar_url": "https://avatars.githubusercontent.com/u/114951738?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akhilgoe",
"html_url": "https://github.com/akhilgoe",
"followers_url": "https://api.github.com/users/akhilgoe/... | [] | closed | false | null | [] | [
"Thanks for the fix @akhilgoe - believe this is a duplicate of #24875?",
"\r\n\r\n\r\n> Thanks for the fix @akhilgoe - believe this is a duplicate of #24875?\r\n\r\nYes correct! ",
"If it's okay with you can we give @mariecwhite the opportunity to finish their PR since they've worked on it since last week? (sho... | 1,691 | 1,691 | 1,691 | NONE | null | ## What does this PR do?
Recent JAX versions have dropped support for jax.numpy.DeviceArray. Many FLAX models refer to jax.numpy.DeviceArray which causes a crash. This PR replaces all references to jax.numpy.DeviceArray with jax.Array.
<!--
Congratulations! You've made it this far! You're not quite done yet thou... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25275/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25275/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25275",
"html_url": "https://github.com/huggingface/transformers/pull/25275",
"diff_url": "https://github.com/huggingface/transformers/pull/25275.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25275.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25274 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25274/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25274/comments | https://api.github.com/repos/huggingface/transformers/issues/25274/events | https://github.com/huggingface/transformers/pull/25274 | 1,833,772,102 | PR_kwDOCUB6oc5XCqcG | 25,274 | CI with `pytest_num_workers=8` for torch/tf jobs | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,691 | 1,691 | 1,691 | COLLABORATOR | null | We set `pytest_num_workers` to `3` for `torch_job` and 6 for `tf_job` to avoid OOM. With the recent efforts of reducing model size in CI, we can actually set `pytest_num_workers=8`.
- The full suite: all 3 jobs (PT/TF/Flax): `12-15 minutes`
- On the latest nightly CI (without all PRs merged today): `PT: 37 min | TF... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25274/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25274/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25274",
"html_url": "https://github.com/huggingface/transformers/pull/25274",
"diff_url": "https://github.com/huggingface/transformers/pull/25274.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25274.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25273 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25273/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25273/comments | https://api.github.com/repos/huggingface/transformers/issues/25273/events | https://github.com/huggingface/transformers/pull/25273 | 1,833,767,739 | PR_kwDOCUB6oc5XCpfI | 25,273 | use `pytest_num_workers=8` for `torch_job` and `tf_job` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25273). All of your documentation changes will be reflected on that endpoint."
] | 1,691 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
We set `pytest_num_workers` to `3` for `torch_job` and `6` for `tf_job` to avoid OOM. With the recent efforts of reducing model size in CI, we can actually set `pytest_num_workers=8`.
The full suite: all 3 jobs (PT/TF/Flax) 12-15 minutes
(on the latest nightly CI without all PRs merged to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25273/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25273/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25273",
"html_url": "https://github.com/huggingface/transformers/pull/25273",
"diff_url": "https://github.com/huggingface/transformers/pull/25273.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25273.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25272 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25272/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25272/comments | https://api.github.com/repos/huggingface/transformers/issues/25272/events | https://github.com/huggingface/transformers/issues/25272 | 1,833,591,983 | I_kwDOCUB6oc5tSmSv | 25,272 | Question about generate method for AutoModelForCausalLM | {
"login": "alimirgh75",
"id": 31241070,
"node_id": "MDQ6VXNlcjMxMjQxMDcw",
"avatar_url": "https://avatars.githubusercontent.com/u/31241070?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alimirgh75",
"html_url": "https://github.com/alimirgh75",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi, thanks for raising an issue! \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports."
] | 1,690 | 1,690 | 1,690 | NONE | null | Hi,
I am trying to use the git model from the pretrained to pass to captum API for calculation of the attribution score.
`
### Initialize the attribution algorithm
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("microsoft/git-base")
ig = IntegratedGradients(model... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25272/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25272/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25271 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25271/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25271/comments | https://api.github.com/repos/huggingface/transformers/issues/25271/events | https://github.com/huggingface/transformers/issues/25271 | 1,833,358,501 | I_kwDOCUB6oc5tRtSl | 25,271 | EncoderDecoder does not automatically create decoder_attention_mask to match decoder_input_ids | {
"login": "StevenSong",
"id": 26208374,
"node_id": "MDQ6VXNlcjI2MjA4Mzc0",
"avatar_url": "https://avatars.githubusercontent.com/u/26208374?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StevenSong",
"html_url": "https://github.com/StevenSong",
"followers_url": "https://api.github.com/use... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | closed | false | null | [] | [
"somewhat related, it seems like in the notebook, the `decoder_input_ids` nor the `labels` are shifted; Patrick claims it's because:\r\n> `\"labels\"` are shifted automatically to the left for language modeling training.\r\n\r\nbut I don't see any evidence of this in the implementation. Was this behavior changed at... | 1,690 | 1,698 | 1,698 | NONE | null | ### System Info
```
- `transformers` version: 4.31.0
- Platform: Linux-4.15.0-192-generic-x86_64-with-glibc2.27
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25271/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25271/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25270 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25270/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25270/comments | https://api.github.com/repos/huggingface/transformers/issues/25270/events | https://github.com/huggingface/transformers/issues/25270 | 1,833,213,811 | I_kwDOCUB6oc5tRJ9z | 25,270 | Device errors when loading in 8 bit | {
"login": "cassianlewis",
"id": 131266258,
"node_id": "U_kgDOB9L20g",
"avatar_url": "https://avatars.githubusercontent.com/u/131266258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cassianlewis",
"html_url": "https://github.com/cassianlewis",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"You cannot re-dispatch a model that was loaded in 8bit. You need to pass along your `max_memory` or `device_map` to the call to `from_pretrained`.",
"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 thre... | 1,690 | 1,693 | 1,693 | NONE | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.31.0
- Platform: Linux-5.10.178-162.673.amzn2.x86_64-x86_64-with-glibc2.26
- Python version: 3.10.10
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25270/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25270/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25269 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25269/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25269/comments | https://api.github.com/repos/huggingface/transformers/issues/25269/events | https://github.com/huggingface/transformers/issues/25269 | 1,833,213,138 | I_kwDOCUB6oc5tRJzS | 25,269 | run_clm_no_trainer.py example - problem with most recent checkpoint loading | {
"login": "TomerRonen34",
"id": 38310481,
"node_id": "MDQ6VXNlcjM4MzEwNDgx",
"avatar_url": "https://avatars.githubusercontent.com/u/38310481?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TomerRonen34",
"html_url": "https://github.com/TomerRonen34",
"followers_url": "https://api.github.c... | [] | closed | 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... | [
"Hi @TomerRonen34, thanks for raising this issue! \r\n\r\nCan you make sure to follow the issue template and include: \r\n* A reproducible code snippet\r\n* Details of the expected and observed behaviour including the full traceback if it exists\r\n* Information about the running environment: run `transformers-cli ... | 1,690 | 1,693 | 1,693 | NONE | null | The example has code for finding the latest checkpoint, but accelerator.load_state isn't called.
https://github.com/huggingface/transformers/blob/1baeed5bdf3c58b723a6125632567f97bdf322c6/examples/pytorch/language-modeling/run_clm_no_trainer.py#L561C15-L561C15 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25269/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25269/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25268 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25268/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25268/comments | https://api.github.com/repos/huggingface/transformers/issues/25268/events | https://github.com/huggingface/transformers/pull/25268 | 1,833,200,046 | PR_kwDOCUB6oc5XAtCn | 25,268 | recommend DeepSpeed's Argument Parsing documentation | {
"login": "BurnzZ",
"id": 3449761,
"node_id": "MDQ6VXNlcjM0NDk3NjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3449761?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BurnzZ",
"html_url": "https://github.com/BurnzZ",
"followers_url": "https://api.github.com/users/BurnzZ/foll... | [] | closed | false | null | [] | [
"cc @pacman100 ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
Clarify how to properly set the arguments passed by `deepspeed` when running in CLI.
For example the following errors might be raised when running something like `deepspeed --num_gpus=2 fine-tune.py google/flan-t5-xxl` due to args passed by `deepspeed`:
```
usage: fine-tune.py [-h] mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25268/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/25268/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25268",
"html_url": "https://github.com/huggingface/transformers/pull/25268",
"diff_url": "https://github.com/huggingface/transformers/pull/25268.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25268.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25267 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25267/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25267/comments | https://api.github.com/repos/huggingface/transformers/issues/25267/events | https://github.com/huggingface/transformers/pull/25267 | 1,833,188,471 | PR_kwDOCUB6oc5XAqfm | 25,267 | [MMS] Fix mms | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ydshieh ok to merge or should we run some more tests?",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25267). All of your documentation changes will be reflected on that endpoint."
] | 1,690 | 1,690 | 1,690 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25267/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/25267/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25267",
"html_url": "https://github.com/huggingface/transformers/pull/25267",
"diff_url": "https://github.com/huggingface/transformers/pull/25267.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25267.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25266 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25266/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25266/comments | https://api.github.com/repos/huggingface/transformers/issues/25266/events | https://github.com/huggingface/transformers/pull/25266 | 1,833,157,441 | PR_kwDOCUB6oc5XAjsZ | 25,266 | CI with layers=2 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
Running a (sub) set of 24315 tests (given by test fetcher) - only tests in `test_modeling_xxx.py`.
(for a full run like nightly run, it doesn't seem change anything about running time - need more investigation)
Running time:
- num_layers = mixed (2, 3, 4, 5, 6) - currently `main`
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25266/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25266/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25266",
"html_url": "https://github.com/huggingface/transformers/pull/25266",
"diff_url": "https://github.com/huggingface/transformers/pull/25266.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25266.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25265 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25265/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25265/comments | https://api.github.com/repos/huggingface/transformers/issues/25265/events | https://github.com/huggingface/transformers/pull/25265 | 1,833,141,863 | PR_kwDOCUB6oc5XAgS9 | 25,265 | [`Docs` / `BetterTransformer` ] Added more details about flash attention + SDPA | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks a lot for the extensive review @stevhliu ! 🎉 ",
"Thanks @fxmarty for all the reviews, @stevhliu this is ready for another pass !"
] | 1,690 | 1,692 | 1,692 | CONTRIBUTOR | null | # What does this PR do?
as discussed offline with @LysandreJik
This PR clarifies to users how it is possible to use Flash Attention as a backend for most used models in transformers. As we have a seen some questions from users asking whether it is possible to integrate flash attention into HF models, whereas you... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25265/reactions",
"total_count": 4,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25265/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25265",
"html_url": "https://github.com/huggingface/transformers/pull/25265",
"diff_url": "https://github.com/huggingface/transformers/pull/25265.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25265.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25264 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25264/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25264/comments | https://api.github.com/repos/huggingface/transformers/issues/25264/events | https://github.com/huggingface/transformers/issues/25264 | 1,833,087,035 | I_kwDOCUB6oc5tQrA7 | 25,264 | [Question] How to load AutoFeatureExtractor on GPU? | {
"login": "treya-lin",
"id": 86940562,
"node_id": "MDQ6VXNlcjg2OTQwNTYy",
"avatar_url": "https://avatars.githubusercontent.com/u/86940562?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/treya-lin",
"html_url": "https://github.com/treya-lin",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @treya-lin, 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\nYou can move arrays prepared by the feature extractor to the GPU using the `to` method on its outputs... | 1,690 | 1,694 | 1,694 | NONE | null | Hi, I am following this guide to learn how to do audio classification with wav2vec2: https://huggingface.co/docs/transformers/main/tasks/audio_classification
I intend to extract features of my data with the following codes
```
feature_extractor = AutoFeatureExtractor.from_pretrained("/workspace/models/wav2vec2-lar... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25264/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25264/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25263 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25263/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25263/comments | https://api.github.com/repos/huggingface/transformers/issues/25263/events | https://github.com/huggingface/transformers/pull/25263 | 1,833,007,052 | PR_kwDOCUB6oc5XAC3l | 25,263 | Remove `pytest_options={"rA": None}` in CI | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"\r\n> For reference, I think `-rA` generates a [detailed summary report for all groups](https://docs.pytest.org/en/6.2.x/usage.html#detailed-summary-report).\r\n\r\nOh yes, my memory mixed the `--make-reports` and `-rA` things. Thank... | 1,690 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
This option causes the (TF/Flax) jobs to spend 6-8 minutes (for a full set run) to prepare something for reporting after the actual tests are finished.
Taking [this TF job (nightly run)](https://app.circleci.com/pipelines/github/huggingface/transformers/69562/workflows/8fd9db08-9730-4d57-9... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25263/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25263/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25263",
"html_url": "https://github.com/huggingface/transformers/pull/25263",
"diff_url": "https://github.com/huggingface/transformers/pull/25263.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25263.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25262 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25262/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25262/comments | https://api.github.com/repos/huggingface/transformers/issues/25262/events | https://github.com/huggingface/transformers/issues/25262 | 1,832,981,522 | I_kwDOCUB6oc5tQRQS | 25,262 | model.push_to_hub not working for gtr-large while loading with 8-bit using bnb | {
"login": "nss-programmer",
"id": 3127373,
"node_id": "MDQ6VXNlcjMxMjczNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3127373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nss-programmer",
"html_url": "https://github.com/nss-programmer",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"Hi @nss-programmer, thanks for raising this issue. \r\n\r\nThere's been quite a few updates between bitsandbytes and transformers recently. Could you update your local transformers version to the most recent release `pip install --upgrade transformers` and try again? If that doesn't work, then could you try from s... | 1,690 | 1,694 | 1,694 | NONE | null | ### System Info
Issue :- I want to load gtr-large model in 8-bits using bitsandbytes and save it for future usage
model = T5ForConditionalGeneration.from_pretrained('sentence-transformers/gtr-t5-large',load_in_8bit=True)
model.push_to_hub("snigdhachandan/gtr_large_8bit")
Error :-
Traceback (most recen... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25262/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25262/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25261 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25261/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25261/comments | https://api.github.com/repos/huggingface/transformers/issues/25261/events | https://github.com/huggingface/transformers/issues/25261 | 1,832,964,496 | I_kwDOCUB6oc5tQNGQ | 25,261 | Mask2Former broadcasting issue when running inference on model traced with GPU device | {
"login": "matteot11",
"id": 15927868,
"node_id": "MDQ6VXNlcjE1OTI3ODY4",
"avatar_url": "https://avatars.githubusercontent.com/u/15927868?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/matteot11",
"html_url": "https://github.com/matteot11",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [
{
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "htt... | [
"Hi @matteot11, thanks for reporting this and for providing such a detailed and clean issue report ❤️ \r\n\r\nLooking into it 🔍 ",
"@matteot11 I'm going to open up a PR soon to resolve this and remove the einsum operations. In the meantime, if you need to be able to run a compiled model now, it will run on torch... | 1,690 | 1,694 | 1,694 | NONE | null | ### System Info
```
- System information: x86_64 GNU/Linux
- Ubuntu version: 18.04
- Python version: 3.8.12
- CUDA version: 11.1
- PyTorch version: 2.0.1
- transformers version: 4.31.0
```
### Who can help?
@amyeroberts
@sgugger
@muellerzr
### Information
- [ ] The official example scripts
- [ ] My own... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25261/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/25261/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25260 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25260/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25260/comments | https://api.github.com/repos/huggingface/transformers/issues/25260/events | https://github.com/huggingface/transformers/issues/25260 | 1,832,893,935 | I_kwDOCUB6oc5tP73v | 25,260 | ⚠️ [Wav2Vec2-MMS] `pipeline` and `from_pretrained` fail to load the Wav2Vec2 MMS checkpoints | {
"login": "Vaibhavs10",
"id": 18682411,
"node_id": "MDQ6VXNlcjE4NjgyNDEx",
"avatar_url": "https://avatars.githubusercontent.com/u/18682411?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Vaibhavs10",
"html_url": "https://github.com/Vaibhavs10",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @patrickvonplaten ",
"It looks like it's related to some recent changes and accelerate.\r\n\r\nIf you checkout this commit:\r\nhttps://github.com/huggingface/transformers/commit/b0513b013b10939a2b47ab94933c2cca909716a2\r\n\r\nand uninstall accelerate the code snippet works fine for me.",
"IIRC, fast loading... | 1,690 | 1,690 | 1,690 | MEMBER | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (False)
- Tensor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25260/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/25260/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25259 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25259/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25259/comments | https://api.github.com/repos/huggingface/transformers/issues/25259/events | https://github.com/huggingface/transformers/pull/25259 | 1,832,861,030 | PR_kwDOCUB6oc5W_jD1 | 25,259 | Update rescale tests - cast to float after rescaling to reflect #25229 | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
In #25229 - the casting to float was moved back to after rescaling. This wasn't reflected in the specific rescaling tests for EfficientNet and ViVit, resulting in failing tests.
This PR resolves this.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dis... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25259/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25259/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25259",
"html_url": "https://github.com/huggingface/transformers/pull/25259",
"diff_url": "https://github.com/huggingface/transformers/pull/25259.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25259.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25258 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25258/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25258/comments | https://api.github.com/repos/huggingface/transformers/issues/25258/events | https://github.com/huggingface/transformers/issues/25258 | 1,832,802,857 | I_kwDOCUB6oc5tPlop | 25,258 | Why I cannot assign new parameter to the whisper pretrained config? | {
"login": "teinhonglo",
"id": 7367516,
"node_id": "MDQ6VXNlcjczNjc1MTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7367516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/teinhonglo",
"html_url": "https://github.com/teinhonglo",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Hi @teinhonglo, thanks for raising this issue! \r\n\r\nThe reason for not being able to assign through the `from_pretrained` call is a safety check. Unknown kwargs are not applied: their application is ambigious - should they control the `from_pretrained` behaviour or be set as a config attribute? You can see whic... | 1,690 | 1,694 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.4.0-155-generic-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25258/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25258/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25257 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25257/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25257/comments | https://api.github.com/repos/huggingface/transformers/issues/25257/events | https://github.com/huggingface/transformers/issues/25257 | 1,832,775,037 | I_kwDOCUB6oc5tPe19 | 25,257 | how to print out the data loaded by each epoch during trainer.train() training? | {
"login": "ahong007007",
"id": 22077027,
"node_id": "MDQ6VXNlcjIyMDc3MDI3",
"avatar_url": "https://avatars.githubusercontent.com/u/22077027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahong007007",
"html_url": "https://github.com/ahong007007",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @ahong007007, 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.",
"This issue has been automatically marked as stale because it has not had recent activity. If you thin... | 1,690 | 1,694 | 1,694 | NONE | null | ### Feature request
please tell to me,
how to print out the data loaded by each epoch during trainer.train() training?
### Motivation
how to print out the data loaded by each epoch during trainer.train() training?
### Your contribution
how to print out the data loaded by each epoch during trainer.train() train... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25257/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25257/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25256 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25256/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25256/comments | https://api.github.com/repos/huggingface/transformers/issues/25256/events | https://github.com/huggingface/transformers/issues/25256 | 1,832,745,919 | I_kwDOCUB6oc5tPXu_ | 25,256 | Use 'transformers.BertModel.from_pretrained', The code is blocked | {
"login": "yangh0597",
"id": 86940083,
"node_id": "MDQ6VXNlcjg2OTQwMDgz",
"avatar_url": "https://avatars.githubusercontent.com/u/86940083?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yangh0597",
"html_url": "https://github.com/yangh0597",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi, are you running the script/command in some particular setting?\r\n\r\nLooks like it's in a multiprocessing setting? Could you provide a self-complete code snippet instead of just uploading screenshot? Thanks in advance.",
"if not use pyrocketmq is ok. but use pyrocketmq not ok. the code is:\r\n```\r\nimpor... | 1,690 | 1,694 | 1,694 | NONE | null | 
this is py-spy result:

| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25256/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25256/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25255 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25255/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25255/comments | https://api.github.com/repos/huggingface/transformers/issues/25255/events | https://github.com/huggingface/transformers/pull/25255 | 1,832,722,517 | PR_kwDOCUB6oc5W_FDd | 25,255 | fix bad URL to Llama 2 | {
"login": "fangli80",
"id": 9782948,
"node_id": "MDQ6VXNlcjk3ODI5NDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/9782948?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fangli80",
"html_url": "https://github.com/fangli80",
"followers_url": "https://api.github.com/users/fangl... | [] | closed | false | null | [] | [
"@fangli80 Running`make fix-copies` and pushing the changes will resolve the failing quality CI checks",
"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 fo... | 1,690 | 1,694 | 1,694 | NONE | null | # What does this PR do?
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25255/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/25255/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25255",
"html_url": "https://github.com/huggingface/transformers/pull/25255",
"diff_url": "https://github.com/huggingface/transformers/pull/25255.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25255.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25254 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25254/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25254/comments | https://api.github.com/repos/huggingface/transformers/issues/25254/events | https://github.com/huggingface/transformers/pull/25254 | 1,832,688,911 | PR_kwDOCUB6oc5W-9s5 | 25,254 | Add FlaxCLIPTextModelWithProjection | {
"login": "pcuenca",
"id": 1177582,
"node_id": "MDQ6VXNlcjExNzc1ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1177582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pcuenca",
"html_url": "https://github.com/pcuenca",
"followers_url": "https://api.github.com/users/pcuenca/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Should we maybe for now just add it in a subfolder of sdxl in diffusers here: https://github.com/huggingface/diffusers/tree/main/src/diffusers/pipelines/stable_diffusion_xl instead of having to rely on `transformers` here? I'm not 1... | 1,690 | 1,692 | 1,692 | MEMBER | null | # What does this PR do?
`FlaxCLIPTextModelWithProjection` is necessary to support the Flax port of Stable Diffusion XL: https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/blob/fb6d705fb518524cabc79c77f13a0e7921bcab3a/text_encoder_2/config.json#L3
I can add some tests, if necessary, after this appr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25254/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25254/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25254",
"html_url": "https://github.com/huggingface/transformers/pull/25254",
"diff_url": "https://github.com/huggingface/transformers/pull/25254.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25254.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25253 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25253/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25253/comments | https://api.github.com/repos/huggingface/transformers/issues/25253/events | https://github.com/huggingface/transformers/issues/25253 | 1,832,621,154 | I_kwDOCUB6oc5tO5Ri | 25,253 | RWKV-WORLD-4 | {
"login": "CosmoLM",
"id": 138301484,
"node_id": "U_kgDOCD5QLA",
"avatar_url": "https://avatars.githubusercontent.com/u/138301484?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CosmoLM",
"html_url": "https://github.com/CosmoLM",
"followers_url": "https://api.github.com/users/CosmoLM/foll... | [
{
"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 @CosmoLM, thanks for opening this model request! \r\n\r\nThe RWKV-4 model already exists in transformers -- [PR](https://github.com/huggingface/transformers/pull/22797), [docs](https://huggingface.co/docs/transformers/v4.31.0/en/model_doc/rwkv#rwkv-attention-and-the-recurrent-formulas). To enable loading the mo... | 1,690 | 1,699 | null | NONE | null | ### Model description
BlinkDL/rwkv-4-world is a repo present on Huggingface i want the model's tokenizer and the model to be added to the Transformers Lib.
### Open source status
- [X] The model implementation is available
- [X] The model weights are available
### Provide useful links for the implementation
_No r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25253/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25253/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25252 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25252/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25252/comments | https://api.github.com/repos/huggingface/transformers/issues/25252/events | https://github.com/huggingface/transformers/issues/25252 | 1,832,606,551 | I_kwDOCUB6oc5tO1tX | 25,252 | run_mae.py can not be used directly on own dir | {
"login": "CheungZeeCn",
"id": 2025362,
"node_id": "MDQ6VXNlcjIwMjUzNjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2025362?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CheungZeeCn",
"html_url": "https://github.com/CheungZeeCn",
"followers_url": "https://api.github.com/us... | [] | open | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"The error\r\n\r\n> FileNotFoundError: Unable to find '/home/ana/data4/datasets/rvl_cdip/data/pretrain_images/train/' at /\r\n\r\nshows you don't have local datasets (or there is some issue to locate it). Could you verify this on your own side? Thanks.",
"Hi @CheungZeeCn, thanks for raising this issue! \r\n\r\nSo... | 1,690 | 1,707 | null | NONE | null | ### System Info
ref: https://github.com/huggingface/transformers/tree/main/examples/pytorch/image-pretraining
python run_mae.py \
--model_type vit_mae \
--dataset_name nateraw/image-folder \
--train_dir <path-to-train-root> \
--output_dir ./outputs/ \
--remove_unused_columns False \
--... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25252/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25252/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25251 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25251/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25251/comments | https://api.github.com/repos/huggingface/transformers/issues/25251/events | https://github.com/huggingface/transformers/issues/25251 | 1,832,446,081 | I_kwDOCUB6oc5tOOiB | 25,251 | Defining top_k within pipeline changes output from list to nested list | {
"login": "Harjas123",
"id": 107530287,
"node_id": "U_kgDOBmjILw",
"avatar_url": "https://avatars.githubusercontent.com/u/107530287?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Harjas123",
"html_url": "https://github.com/Harjas123",
"followers_url": "https://api.github.com/users/Harjas... | [] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"Hi @Harjas123 thank you for reporting! Our team will take a look.",
"also cc @Narsil ",
"I agree that this is inconsistent but I don't think there is much to do about it now since this has been the case for the past three years, and making any change would break a lot of users code.",
"I understand. Would it... | 1,690 | 1,691 | 1,691 | NONE | null | ### System Info
```
- `transformers` version: 4.30.2
- Platform: Linux-5.14.0-162.22.2.el9_1.x86_64-x86_64-with-glibc2.34
- Python version: 3.9.17
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 1.11.0+cu102 (True)
- Tensorflow version (GPU?): not installed (NA)
- Fla... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25251/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25251/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25250 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25250/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25250/comments | https://api.github.com/repos/huggingface/transformers/issues/25250/events | https://github.com/huggingface/transformers/pull/25250 | 1,832,373,593 | PR_kwDOCUB6oc5W9592 | 25,250 | Ko perf train gpu one | {
"login": "HongB1",
"id": 54663536,
"node_id": "MDQ6VXNlcjU0NjYzNTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/54663536?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HongB1",
"html_url": "https://github.com/HongB1",
"followers_url": "https://api.github.com/users/HongB1/fo... | [] | closed | false | null | [] | [
"번역 문서가 새롭게 업데이트 되었습니다! 아직 번역이 완료되지 않으셨다면, 문서 업데이트 부탁드립니다 😄 ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https:... | 1,690 | 1,697 | 1,697 | NONE | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.md` to Korean" 으로 부탁드립니다! -->
# What does this PR do?
Translated the `<your_file>.md` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
## Before reviewing
- [ ] Chec... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25250/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25250/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25250",
"html_url": "https://github.com/huggingface/transformers/pull/25250",
"diff_url": "https://github.com/huggingface/transformers/pull/25250.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25250.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25249 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25249/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25249/comments | https://api.github.com/repos/huggingface/transformers/issues/25249/events | https://github.com/huggingface/transformers/pull/25249 | 1,832,311,548 | PR_kwDOCUB6oc5W9s3G | 25,249 | Bump cryptography from 41.0.2 to 41.0.3 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major ... | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.2 to 41.0.3.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst">cryptography's changelog</a>.</em></p>
<blockquote>
<p>41.0.3 - 2023-08-01</p>
<pre><code>
* Fixed performan... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25249/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25249/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25249",
"html_url": "https://github.com/huggingface/transformers/pull/25249",
"diff_url": "https://github.com/huggingface/transformers/pull/25249.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25249.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25248 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25248/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25248/comments | https://api.github.com/repos/huggingface/transformers/issues/25248/events | https://github.com/huggingface/transformers/pull/25248 | 1,831,987,116 | PR_kwDOCUB6oc5W8m5n | 25,248 | Allow `trust_remote_code` in example scripts | {
"login": "Jackmin801",
"id": 56836461,
"node_id": "MDQ6VXNlcjU2ODM2NDYx",
"avatar_url": "https://avatars.githubusercontent.com/u/56836461?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jackmin801",
"html_url": "https://github.com/Jackmin801",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Will do flax and tf tomorrow. I have a few questions though:\r\n1. @ydshieh, this script is still using `use_auth_token`. Is this intended? \r\nhttps://github.com/huggingface/transformers/blob/main/examples/pytorch/image-pretraining/... | 1,690 | 1,691 | 1,691 | 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/25248/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25248/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25248",
"html_url": "https://github.com/huggingface/transformers/pull/25248",
"diff_url": "https://github.com/huggingface/transformers/pull/25248.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25248.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25247 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25247/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25247/comments | https://api.github.com/repos/huggingface/transformers/issues/25247/events | https://github.com/huggingface/transformers/issues/25247 | 1,831,903,410 | I_kwDOCUB6oc5tMKCy | 25,247 | Enable use of best epoch in Trial, with early stopping, during hyperparameter search | {
"login": "antonioalegria",
"id": 49322,
"node_id": "MDQ6VXNlcjQ5MzIy",
"avatar_url": "https://avatars.githubusercontent.com/u/49322?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/antonioalegria",
"html_url": "https://github.com/antonioalegria",
"followers_url": "https://api.github.com/u... | [
{
"id": 2155169140,
"node_id": "MDU6TGFiZWwyMTU1MTY5MTQw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/trainer",
"name": "trainer",
"color": "2ef289",
"default": false,
"description": ""
},
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
... | open | false | null | [] | [
"cc @sgugger ",
"Yes this is not currently supported. Could be nice to add, but this is not high-priority on our side, so it would have to be a contribution :-) Happy to review a PR!",
"Hi, I was looking to contribute here so I dug into the code. @antonioalegria , what hyperparameter search backend are you sear... | 1,690 | 1,693 | null | NONE | null | ### Feature request
When running a `Trainer.hyperparameter_search`, each trial's value is calculated from the last epoch's chosen metric. However, especially when using early stopping and `load_best_model_at_end`, it would be useful to use the best model instead.
This could be a parameter of `Trainer.hyperparameter... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25247/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25247/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25246 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25246/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25246/comments | https://api.github.com/repos/huggingface/transformers/issues/25246/events | https://github.com/huggingface/transformers/pull/25246 | 1,831,809,902 | PR_kwDOCUB6oc5W8BK9 | 25,246 | Fix return_dict_in_generate bug in InstructBlip generate function | {
"login": "euanong",
"id": 8283298,
"node_id": "MDQ6VXNlcjgyODMyOTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8283298?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/euanong",
"html_url": "https://github.com/euanong",
"followers_url": "https://api.github.com/users/euanong/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
Previously, the postprocessing conducted on generated sequences in InstructBlip's generate function assumed these sequences were tensors (i.e. that `return_dict_in_generate == False`).
This PR updates the InstructBlip generate function to check whether the result of the call to the wrapped... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25246/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25246/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25246",
"html_url": "https://github.com/huggingface/transformers/pull/25246",
"diff_url": "https://github.com/huggingface/transformers/pull/25246.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25246.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25245 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25245/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25245/comments | https://api.github.com/repos/huggingface/transformers/issues/25245/events | https://github.com/huggingface/transformers/issues/25245 | 1,831,801,078 | I_kwDOCUB6oc5tLxD2 | 25,245 | BLIP-2 request: If it's even possible, can you please provide an official example script of how to get the text(caption) features and image features into the same vector space (e.g. for cross-modal retrieval/search using BLIP-2 models, similar to what we can already do with CLIP.) Thanks in advance. | {
"login": "wingz1",
"id": 30269996,
"node_id": "MDQ6VXNlcjMwMjY5OTk2",
"avatar_url": "https://avatars.githubusercontent.com/u/30269996?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wingz1",
"html_url": "https://github.com/wingz1",
"followers_url": "https://api.github.com/users/wingz1/fo... | [] | closed | false | null | [] | [
"Hi @wingz1, 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\nThere are code examples of how to use [BLIP](https://huggingface.co/docs/transformers/v4.31.0/en/model_d... | 1,690 | 1,695 | 1,695 | NONE | null | ### System Info
linux, python 3.8+, pytorch '1.13.0+cu116'
### Who can help?
@sgugger
### 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 details below)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25245/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25245/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25244 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25244/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25244/comments | https://api.github.com/repos/huggingface/transformers/issues/25244/events | https://github.com/huggingface/transformers/pull/25244 | 1,831,770,731 | PR_kwDOCUB6oc5W744_ | 25,244 | VQA task guide | {
"login": "MKhalusova",
"id": 1065417,
"node_id": "MDQ6VXNlcjEwNjU0MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MKhalusova",
"html_url": "https://github.com/MKhalusova",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Addressed @NielsRogge's and @Steven's feedback. @amyeroberts please take a look :) "
] | 1,690 | 1,691 | 1,691 | CONTRIBUTOR | null | This PR adds a new Visual Question Answering task guide to the transformers docs:
fine-tuning ViLT, based on @NielsRogge 's [notebook](https://github.com/NielsRogge/Transformers-Tutorials/blob/master/ViLT/Fine_tuning_ViLT_for_VQA.ipynb)
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25244/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25244/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25244",
"html_url": "https://github.com/huggingface/transformers/pull/25244",
"diff_url": "https://github.com/huggingface/transformers/pull/25244.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25244.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25243 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25243/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25243/comments | https://api.github.com/repos/huggingface/transformers/issues/25243/events | https://github.com/huggingface/transformers/issues/25243 | 1,831,740,024 | I_kwDOCUB6oc5tLiJ4 | 25,243 | RetNet model support | {
"login": "yoinked-h",
"id": 63889420,
"node_id": "MDQ6VXNlcjYzODg5NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/63889420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yoinked-h",
"html_url": "https://github.com/yoinked-h",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 5724035499,
"node_id": "LA_kwDOCUB6oc8AAAABVS3Z... | open | false | null | [] | [
"cc @ArthurZucker @younesbelkada ",
"p.s. if google offered any bigger TPU's for TRC; i could train retnet-3b (the point at which retnet is better than regular transformers), but as of now; theres retnet_base (small) and retnet_medium (ill upload it when it gets good)",
"I am wondering if the original authors r... | 1,690 | 1,695 | null | CONTRIBUTOR | null | ### Model description
RetNet / Retentive Networks is a new model *archetype* released by microsoft; the research paper is [here](https://arxiv.org/pdf/2307.08621.pdf). As of now, there is *one* model for retnet; [made by me](https://huggingface.co/parsee-mizuhashi/retnet-tiny-wikitext-undertrained); which is undertrai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25243/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25243/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25242 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25242/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25242/comments | https://api.github.com/repos/huggingface/transformers/issues/25242/events | https://github.com/huggingface/transformers/pull/25242 | 1,831,600,184 | PR_kwDOCUB6oc5W7UVu | 25,242 | In assisted decoding, pass model_kwargs to model's forward call (fix prepare_input_for_generation in all models) | {
"login": "sinking-point",
"id": 17532243,
"node_id": "MDQ6VXNlcjE3NTMyMjQz",
"avatar_url": "https://avatars.githubusercontent.com/u/17532243?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sinking-point",
"html_url": "https://github.com/sinking-point",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"@sinking-point the PR has \"WIP\" in the title -- is it still under development, or is it ready to review?",
"Not ready yet. Still have to fix more models and see what's breaking the other test. I've deprioritised this somewhat as it's quite time consuming, but I'll keep chipping away at it whenever I can.\n\nIf... | 1,690 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Previously, assisted decoding would ignore any additional kwargs that it doesn't explicitly handle. This was inconsistent with other generation methods, which pass the model_kwargs through prepare_inputs_for_generation and forward the returned dict to the model's forward call.
The prepare_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25242/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/25242/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25242",
"html_url": "https://github.com/huggingface/transformers/pull/25242",
"diff_url": "https://github.com/huggingface/transformers/pull/25242.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25242.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25241 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25241/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25241/comments | https://api.github.com/repos/huggingface/transformers/issues/25241/events | https://github.com/huggingface/transformers/issues/25241 | 1,831,599,250 | I_kwDOCUB6oc5tK_yS | 25,241 | Bug in `PreTrainedModel.resize_token_embeddings` When Using DeepSpeed Zero Stage 3 | {
"login": "sinamoeini",
"id": 4393595,
"node_id": "MDQ6VXNlcjQzOTM1OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4393595?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sinamoeini",
"html_url": "https://github.com/sinamoeini",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Hi! Would it possible for you to do `resize_token_embeddings` without DeepSpeed, save the model, and load the new model in the script where you use DeepSpeed.\r\n\r\nThis might be easier and quicker in terms of solution/workaround (if it works).",
"Hi, thanks for the suggestion. I have RCed this and have a nonha... | 1,690 | 1,695 | 1,695 | CONTRIBUTOR | null | ### System Info
transformers version: 4.31.0
Platform: Linux 5.4.238-148.346.amzn2.x86_64
Python version: 3.8.10
Huggingface_hub version: 0.14.1
Safetensors version: 0.3.1
PyTorch version (GPU?): 2.0.1+cu117 (True)
Tensorflow version (GPU?): not installed (NA)
Flax version (CPU?/GPU?/TPU?): not installed (NA)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25241/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25241/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25240 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25240/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25240/comments | https://api.github.com/repos/huggingface/transformers/issues/25240/events | https://github.com/huggingface/transformers/pull/25240 | 1,831,586,487 | PR_kwDOCUB6oc5W7RSu | 25,240 | Docs: introduction to generation with LLMs | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Do we really want to include non-text parts so prominently here? I think 99% of the users clicking on \"Generation\" expect to see only text generation and not anything multi-modal.",
"I would actually just call it \"text-generatio... | 1,690 | 1,693 | 1,691 | MEMBER | null | # What does this PR do?
This PR adds a sort of landing page on `generate`, which was missing in our docs. This page is useful for beginners and experienced users alike -- it goes through the basic generate API for both LLMs and non-text tasks, common caveats, and ends with pointers for advanced exploration.
I ex... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25240/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25240/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25240",
"html_url": "https://github.com/huggingface/transformers/pull/25240",
"diff_url": "https://github.com/huggingface/transformers/pull/25240.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25240.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25239 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25239/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25239/comments | https://api.github.com/repos/huggingface/transformers/issues/25239/events | https://github.com/huggingface/transformers/pull/25239 | 1,831,467,512 | PR_kwDOCUB6oc5W63ZA | 25,239 | Fix set of model parallel in the Trainer when no GPUs are available | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
Fixes how `self.is_model_parallel` is set in the Trainer when no GPUs are available.
Fixes #25236 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25239/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25239/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25239",
"html_url": "https://github.com/huggingface/transformers/pull/25239",
"diff_url": "https://github.com/huggingface/transformers/pull/25239.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25239.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25238 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25238/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25238/comments | https://api.github.com/repos/huggingface/transformers/issues/25238/events | https://github.com/huggingface/transformers/pull/25238 | 1,831,456,260 | PR_kwDOCUB6oc5W608w | 25,238 | TF-OPT attention mask fixes | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"No response, but we should probably merge anyway. Pinging @amyeroberts for core maintainer review!",
"@amyeroberts Sorry for the delay, I lost track of this one!"
] | 1,690 | 1,694 | 1,694 | MEMBER | null | With apologies for the delay, this PR should hopefully resolve the issues in #24637. @abb128 can you please try installing from this PR and verify if it resolves your issues? You can install from this PR with:
`pip install --upgrade git+https://github.com/huggingface/transformers.git@tf_opt_fixes`
Fixes #24637 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25238/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25238/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25238",
"html_url": "https://github.com/huggingface/transformers/pull/25238",
"diff_url": "https://github.com/huggingface/transformers/pull/25238.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25238.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25237 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25237/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25237/comments | https://api.github.com/repos/huggingface/transformers/issues/25237/events | https://github.com/huggingface/transformers/pull/25237 | 1,831,440,926 | PR_kwDOCUB6oc5W6xmX | 25,237 | Deal with nested configs better in base class | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ArthurZucker the `is_composition=True` is not necessary anymore except for configs which have no default for their subconfigs. And it should only be set to `True` in that case, otherwise in `to_diff_dict` we put too much stuff. I ad... | 1,690 | 1,692 | 1,691 | COLLABORATOR | null | # What does this PR do?
This PR removes the need to override `to_dict` in model configs by implementing the whole logic in the base class. It also deals better with `to_diff_dict` for those configs, by analyzing the dict of sub-configs key by key and not as a whole. This also removes the `is_composition` flag from c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25237/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25237/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25237",
"html_url": "https://github.com/huggingface/transformers/pull/25237",
"diff_url": "https://github.com/huggingface/transformers/pull/25237.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25237.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25236 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25236/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25236/comments | https://api.github.com/repos/huggingface/transformers/issues/25236/events | https://github.com/huggingface/transformers/issues/25236 | 1,831,429,780 | I_kwDOCUB6oc5tKWaU | 25,236 | Fails to create Trainer object. IndexError: list index out of range at --> torch.device(devices[0]); | {
"login": "nkgrush",
"id": 25302233,
"node_id": "MDQ6VXNlcjI1MzAyMjMz",
"avatar_url": "https://avatars.githubusercontent.com/u/25302233?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nkgrush",
"html_url": "https://github.com/nkgrush",
"followers_url": "https://api.github.com/users/nkgrus... | [] | closed | false | null | [] | [
"Same issue as: https://discuss.huggingface.co/t/indexerror-on-devices-0-when-initializing-a-trainer/46410",
"I can fix that particular issue but you won't be able to actually train a model with CPU/disk offload, only do evaluation.",
"I figured out in my case removing\r\n`os.environ[\"CUDA_VISIBLE_DEVICES\"]=\... | 1,690 | 1,690 | 1,690 | NONE | null | ### System Info
The system is google colab, transformers related packages are installed from git.
```
- `transformers` version: 4.32.0.dev0
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.22.0.dev... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25236/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25236/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25235 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25235/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25235/comments | https://api.github.com/repos/huggingface/transformers/issues/25235/events | https://github.com/huggingface/transformers/pull/25235 | 1,831,427,657 | PR_kwDOCUB6oc5W6ur6 | 25,235 | Docs: separate generate section | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,691 | 1,691 | MEMBER | null | # What does this PR do?
A conclusion of the latest doc brainstorming section with @patrickvonplaten was that generate-related doc discoverability will become harder as we add more guides. The plan would envision a tutorial page and a few new developer guides -- in addition to the existing task pages, developer guide... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25235/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/25235/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25235",
"html_url": "https://github.com/huggingface/transformers/pull/25235",
"diff_url": "https://github.com/huggingface/transformers/pull/25235.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25235.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25234 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25234/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25234/comments | https://api.github.com/repos/huggingface/transformers/issues/25234/events | https://github.com/huggingface/transformers/pull/25234 | 1,831,221,063 | PR_kwDOCUB6oc5W6CQ4 | 25,234 | Update bark doc | {
"login": "ylacombe",
"id": 52246514,
"node_id": "MDQ6VXNlcjUyMjQ2NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ylacombe",
"html_url": "https://github.com/ylacombe",
"followers_url": "https://api.github.com/users/yla... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @MKhalusova and @sanchit-gandhi , I've updated the docs according to your comments!\r\nThanks for the review!",
"Thanks @ylacombe for the recent round of changes!"
] | 1,690 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
Bark can be greatly optimized with a few lines of code, which is discussed and explained in more detail in this [blog post](https://github.com/huggingface/blog/pull/1353). To encourage adoption and promote the use of optimization, I've added a few lines to the Bark documentation to reflect th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25234/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25234/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25234",
"html_url": "https://github.com/huggingface/transformers/pull/25234",
"diff_url": "https://github.com/huggingface/transformers/pull/25234.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25234.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25233 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25233/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25233/comments | https://api.github.com/repos/huggingface/transformers/issues/25233/events | https://github.com/huggingface/transformers/pull/25233 | 1,831,079,305 | PR_kwDOCUB6oc5W5jRL | 25,233 | add generate method to SpeechT5ForTextToSpeech | {
"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 | [] | [
"cc @gante as well",
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @sanchit-gandhi and @sgugger , thanks for the review! \r\n\r\nI would like to add `SpeechT5ForTextToSpeechWithHiFiGAN` in another PR if that's ok with you, since it requires additional tests, and since the c... | 1,690 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
This simple PR aims at adding a `generate` method to `SpeechT5ForTextToSpeech`, which does exactly the same than `generate_speech`.
`generate_speech` was left for backward compatibility.
The goal is to make `SpeechT5ForTextToSpeech` compatible with the [incoming TTS pipeline](https://g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25233/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25233/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25233",
"html_url": "https://github.com/huggingface/transformers/pull/25233",
"diff_url": "https://github.com/huggingface/transformers/pull/25233.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25233.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25232 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25232/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25232/comments | https://api.github.com/repos/huggingface/transformers/issues/25232/events | https://github.com/huggingface/transformers/issues/25232 | 1,831,027,195 | I_kwDOCUB6oc5tI0H7 | 25,232 | AddedToken problems in LlamaTokenizer | {
"login": "wlhgtc",
"id": 16603773,
"node_id": "MDQ6VXNlcjE2NjAzNzcz",
"avatar_url": "https://avatars.githubusercontent.com/u/16603773?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wlhgtc",
"html_url": "https://github.com/wlhgtc",
"followers_url": "https://api.github.com/users/wlhgtc/fo... | [] | closed | false | {
"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... | [
{
"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": "... | [
"This is part of the `stripping` issue mentionned on the PR. As you can see the following works as expected:\r\n```python \r\n\r\n>>> dd = {\"additional_special_tokens\": [AddedToken(\"<bot>\", rstrip = False)]}\r\n\r\n>>> tokenizer2.add_special_tokens(dd)\r\n>>> t1 = tokenizer1.tokenize(txt)\r\n>>> t2 = tokenizer2... | 1,690 | 1,695 | 1,695 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.31.0
- Platform: macOS-13.5-x86_64-i386-64bit
- Python version: 3.9.5
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (False)
- Tensorflow version (GPU?): no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25232/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25232/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25231 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25231/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25231/comments | https://api.github.com/repos/huggingface/transformers/issues/25231/events | https://github.com/huggingface/transformers/issues/25231 | 1,830,926,003 | I_kwDOCUB6oc5tIbaz | 25,231 | Seq2SeqTrainer.evaluate and predict don't yield the right number of predictions when num_return_sequences > 1 | {
"login": "antonioalegria",
"id": 49322,
"node_id": "MDQ6VXNlcjQ5MzIy",
"avatar_url": "https://avatars.githubusercontent.com/u/49322?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/antonioalegria",
"html_url": "https://github.com/antonioalegria",
"followers_url": "https://api.github.com/u... | [] | closed | 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... | [
"It looks more like something in `accelerate`, so cc @muellerzr .\r\n\r\nBut @antonioalegria \r\n\r\n> . It drops num_return_sequences - 1 sequences in the last batch\r\n\r\nCould you explain a bit more about this number? It doesn't seem corresponding to what you showed in the code snippet ..?",
"Apologies for no... | 1,690 | 1,699 | 1,699 | NONE | null | ### System Info
transformers: 4.31.0
accelerate: 0.21.0
python: 2.11.3
env: macOS 13.4.1
### Who can help?
@gante, I think, because this is related with generation
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25231/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25231/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25230 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25230/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25230/comments | https://api.github.com/repos/huggingface/transformers/issues/25230/events | https://github.com/huggingface/transformers/pull/25230 | 1,830,887,645 | PR_kwDOCUB6oc5W46qX | 25,230 | [`Detr`] Fix detr BatchNorm replacement issue | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25230). All of your documentation changes will be reflected on that endpoint."
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
Fixes the current failing CI on #25077 / related failing jobs: https://app.circleci.com/pipelines/github/huggingface/transformers/69452/workflows/999f3686-2d9a-4324-bed6-1c858f4d8246/jobs/871127
In #25077 I decided to [add a property method `current_adapter`](https://github.com/younesbelk... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25230/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25230/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25230",
"html_url": "https://github.com/huggingface/transformers/pull/25230",
"diff_url": "https://github.com/huggingface/transformers/pull/25230.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25230.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25229 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25229/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25229/comments | https://api.github.com/repos/huggingface/transformers/issues/25229/events | https://github.com/huggingface/transformers/pull/25229 | 1,830,859,164 | PR_kwDOCUB6oc5W40mY | 25,229 | Move rescale dtype recasting to match torchvision ToTensor | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you very much, Amy!"
] | 1,690 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
The dtype casting of the input image when rescaling was moved in #25174 so that precision was kept when rescaling if desired. However, this broke equivalence tests with torchvision's `ToTensor` transform c.f. [this comment](https://github.com/huggingface/transformers/pull/24796#issuecomment-1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25229/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25229/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25229",
"html_url": "https://github.com/huggingface/transformers/pull/25229",
"diff_url": "https://github.com/huggingface/transformers/pull/25229.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25229.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25228 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25228/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25228/comments | https://api.github.com/repos/huggingface/transformers/issues/25228/events | https://github.com/huggingface/transformers/issues/25228 | 1,830,856,427 | I_kwDOCUB6oc5tIKbr | 25,228 | chatglm2 load_in_8bit=true can't reduce gpu memory when using transformer==4.31.0 | {
"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... | [] | closed | false | null | [] | [
"ref:https://github.com/THUDM/ChatGLM2-6B/issues/163",
"cc @younesbelkada ",
"+1",
"Thanks, my feeling is that it is related with the issue described in https://github.com/huggingface/transformers/pull/25105 \r\nCan you try that version of transformers meanwhile and let me know if this fixes your issue?\r\n\r... | 1,690 | 1,692 | 1,691 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-3.10.0-1160.92.1.el7.x86_64-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.0+cu117 (True)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25228/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25228/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25227 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25227/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25227/comments | https://api.github.com/repos/huggingface/transformers/issues/25227/events | https://github.com/huggingface/transformers/pull/25227 | 1,830,784,393 | PR_kwDOCUB6oc5W4k0x | 25,227 | resolving zero3 init when using accelerate config with Trainer | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
1. Fixes https://github.com/huggingface/accelerate/issues/1801 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25227/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/25227/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25227",
"html_url": "https://github.com/huggingface/transformers/pull/25227",
"diff_url": "https://github.com/huggingface/transformers/pull/25227.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25227.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25226 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25226/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25226/comments | https://api.github.com/repos/huggingface/transformers/issues/25226/events | https://github.com/huggingface/transformers/pull/25226 | 1,830,767,603 | PR_kwDOCUB6oc5W4hSN | 25,226 | Add offline mode for agents | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I'm getting an error:\r\n\r\n```\r\nValueError: image-transformation is not implemented on the Hub.\r\n```\r\n\r\nIt's coming from ```_setup_default_tools``` called from the ```__init__```.\r\n\r\nIt's because of the for loop that ch... | 1,690 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
This PR adds a check in the remote tools setup to bypass it when Transformers is in offline mode.
Fixes #25223 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25226/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25226/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25226",
"html_url": "https://github.com/huggingface/transformers/pull/25226",
"diff_url": "https://github.com/huggingface/transformers/pull/25226.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25226.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25225 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25225/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25225/comments | https://api.github.com/repos/huggingface/transformers/issues/25225/events | https://github.com/huggingface/transformers/issues/25225 | 1,830,737,244 | I_kwDOCUB6oc5tHtVc | 25,225 | [Bis] Adding new tokens while preserving tokenization of adjacent tokens | {
"login": "Madjakul",
"id": 37739377,
"node_id": "MDQ6VXNlcjM3NzM5Mzc3",
"avatar_url": "https://avatars.githubusercontent.com/u/37739377?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Madjakul",
"html_url": "https://github.com/Madjakul",
"followers_url": "https://api.github.com/users/Mad... | [] | closed | false | null | [] | [
"Hey! This has already been answered, and is a duplicate of #14770. Will be fixed by #23909. \r\n"
] | 1,690 | 1,690 | 1,690 | NONE | null | ### System Info
* `transformers` version: 4.31
* Platform: Linux [...] 5.19.0-50-generic 50-Ubuntu x86_64 GNU/Linux
* Python version: 3.10.12
* Huggingface_hub version: 0.16.4
* PyTorch version (GPU?): 2.0.1+cu118 (True)
* Using GPU in script?: No
* Using distributed or parallel set-up in script?: No
### W... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25225/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25225/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25224 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25224/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25224/comments | https://api.github.com/repos/huggingface/transformers/issues/25224/events | https://github.com/huggingface/transformers/pull/25224 | 1,830,639,403 | PR_kwDOCUB6oc5W4Fx4 | 25,224 | 🚨🚨🚨 [`SPM`] Finish fix spm models 🚨🚨🚨 | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Will fix the prefixing of special tokens! ",
"@ArthurZucker any update to this PR? ",
"Hey @faaany, I am updating it right now! ",
"Reverted the changes as adding proper support for `add_prefix_space` is actully questionable. T... | 1,690 | 1,695 | 1,692 | COLLABORATOR | null | # What does this PR do?
Modifies `Llama` and `T5` other sentencepiece based tokenizer will follow.
Previous behaviour is always possible with ` tokenizer = AutoTokenizer.from_pretrained("huggyllama/llama-7b", legacy = True)`
## The goal of `transformers`'s wrapping around `sentencepiece`
To clarify, we want to:
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25224/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/25224/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25224",
"html_url": "https://github.com/huggingface/transformers/pull/25224",
"diff_url": "https://github.com/huggingface/transformers/pull/25224.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25224.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25223 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25223/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25223/comments | https://api.github.com/repos/huggingface/transformers/issues/25223/events | https://github.com/huggingface/transformers/issues/25223 | 1,830,634,404 | I_kwDOCUB6oc5tHUOk | 25,223 | Agent trying to load remote tools when being offline | {
"login": "Romainlg29",
"id": 31577471,
"node_id": "MDQ6VXNlcjMxNTc3NDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/31577471?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Romainlg29",
"html_url": "https://github.com/Romainlg29",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @Romainlg29 \r\n\r\nCould you provide a complete code snippet instead of definitions like `model = ...`. Thanks in advance!",
"> Hi @Romainlg29\r\n> \r\n> Could you provide a complete code snippet instead of definitions like `model = ...`. Thanks in advance!\r\n\r\nHi,\r\n\r\nIt's the following.\r\n\r\n```\r\... | 1,690 | 1,691 | 1,691 | NONE | null | ### System Info
Transformers 4.31
Python 3.11.4
Windows 10
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or datase... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25223/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25223/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25222 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25222/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25222/comments | https://api.github.com/repos/huggingface/transformers/issues/25222/events | https://github.com/huggingface/transformers/issues/25222 | 1,830,611,419 | I_kwDOCUB6oc5tHOnb | 25,222 | config.json file not available | {
"login": "andysingal",
"id": 20493493,
"node_id": "MDQ6VXNlcjIwNDkzNDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/20493493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andysingal",
"html_url": "https://github.com/andysingal",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The error on the shared colab is \r\n```python \r\nOSError: None is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'\r\nIf this is a private repository, make sure to pass a token having permission to this repo with `use_auth_token` or \r\nlog in with `huggingface-cli... | 1,690 | 1,691 | 1,691 | NONE | null | ### System Info
colab
notebook: https://colab.research.google.com/drive/118RTcKAQFIICDsgTcabIF-_XKmOgM-cc?usp=sharing
### Who can help?
@ArthurZucker @youn
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25222/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25222/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25221 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25221/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25221/comments | https://api.github.com/repos/huggingface/transformers/issues/25221/events | https://github.com/huggingface/transformers/issues/25221 | 1,830,471,138 | I_kwDOCUB6oc5tGsXi | 25,221 | [BUG REPORT] inconsistent inference results between batch of samples and a single sample in BLIP / BLIP2 | {
"login": "xk-huang",
"id": 33593707,
"node_id": "MDQ6VXNlcjMzNTkzNzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/33593707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xk-huang",
"html_url": "https://github.com/xk-huang",
"followers_url": "https://api.github.com/users/xk-... | [] | closed | false | null | [] | [
"cc @younesbelkada , but @xk-huang Could you first try all the suggestions in [Reproducibility](https://pytorch.org/docs/stable/notes/randomness.html) 🙏 Thanks a lot.\r\n\r\nAlso\r\n\r\n```\r\n# `False` is already the default\r\ntorch.backends.cuda.matmul.allow_tf32 = False\r\n\r\n# The flag below controls whethe... | 1,690 | 1,691 | 1,691 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-5.15.0-1041-azure-x86_64-with-glibc2.31
- Python version: 3.9.17
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25221/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25221/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.