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/25825 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25825/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25825/comments | https://api.github.com/repos/huggingface/transformers/issues/25825/events | https://github.com/huggingface/transformers/issues/25825 | 1,871,633,097 | I_kwDOCUB6oc5vjtrJ | 25,825 | Usage of FusedRMSNorm with T5 model | {
"login": "sh0tcall3r",
"id": 87083958,
"node_id": "MDQ6VXNlcjg3MDgzOTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/87083958?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sh0tcall3r",
"html_url": "https://github.com/sh0tcall3r",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @sh0tcall3r \r\n\r\nI assume you use https://huggingface.co/bigscience/mt0-xxl/blob/main/config.json\r\n\r\nIt is `MT5ForConditionalGeneration` whose definition is in `src/transformers/models/mt5/modeling_mt5.py`. In that file, `FusedRMSNorm` is not used.",
"However, I think what you see should be `MT5LayerNo... | 1,693 | 1,693 | 1,693 | NONE | null | Hello!
In HF T5 model description I found that if I had installed Nvidia apex package, T5 model would automatically use FusedRMSNorm instead of T5LayerNorm and hence inference would increase.
I just installed apex and using mt0-xxl model in 8bit loading mode, which I've already fine-tuned. But I see no difference nei... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25825/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25825/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25824 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25824/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25824/comments | https://api.github.com/repos/huggingface/transformers/issues/25824/events | https://github.com/huggingface/transformers/issues/25824 | 1,871,572,833 | I_kwDOCUB6oc5vje9h | 25,824 | replace roberta embedding with bge_base | {
"login": "shameem198",
"id": 45461737,
"node_id": "MDQ6VXNlcjQ1NDYxNzM3",
"avatar_url": "https://avatars.githubusercontent.com/u/45461737?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shameem198",
"html_url": "https://github.com/shameem198",
"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 | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!"
] | 1,693 | 1,693 | null | NONE | null | ### Model description
I'm experimenting Funsd like dataset using layoutLmv3, I'm trying to replace roberta embedding with new bge_large, Is it possible to replace the embedding? will it improve the accuracy?
### Open source status
- [ ] The model implementation is available
- [ ] The model weights are availab... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25824/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25824/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25823 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25823/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25823/comments | https://api.github.com/repos/huggingface/transformers/issues/25823/events | https://github.com/huggingface/transformers/pull/25823 | 1,871,472,084 | PR_kwDOCUB6oc5ZBnF8 | 25,823 | [`Docs`] More clarifications on BT + FA | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
As per title, in fact, the model needs to be casted in half-precision before using FA
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25823/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25823/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25823",
"html_url": "https://github.com/huggingface/transformers/pull/25823",
"diff_url": "https://github.com/huggingface/transformers/pull/25823.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25823.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25822 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25822/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25822/comments | https://api.github.com/repos/huggingface/transformers/issues/25822/events | https://github.com/huggingface/transformers/issues/25822 | 1,871,461,709 | I_kwDOCUB6oc5vjD1N | 25,822 | `speed_metrics` may cause ambiguity under multi-nodes scenario | {
"login": "CokeDong",
"id": 20747551,
"node_id": "MDQ6VXNlcjIwNzQ3NTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/20747551?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CokeDong",
"html_url": "https://github.com/CokeDong",
"followers_url": "https://api.github.com/users/Cok... | [] | closed | false | null | [] | [
"Hi @CokeDong!\r\n\r\nSince the output is identical, I would say it's not a big issue :-)",
"cc @muellerzr @pacman100 ",
"yes, except the `train_runtime` is not the same. ",
"@CokeDong train runtime will be slightly different as it comes from each node, and each one can take slightly longer depending on the c... | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.32.0
- Platform: Linux-3.10.0-957.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 1.13.1+cu117 (True)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25822/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25822/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25821 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25821/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25821/comments | https://api.github.com/repos/huggingface/transformers/issues/25821/events | https://github.com/huggingface/transformers/issues/25821 | 1,871,410,673 | I_kwDOCUB6oc5vi3Xx | 25,821 | MT5 OutOfMemory Error | {
"login": "semindan",
"id": 54636335,
"node_id": "MDQ6VXNlcjU0NjM2MzM1",
"avatar_url": "https://avatars.githubusercontent.com/u/54636335?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/semindan",
"html_url": "https://github.com/semindan",
"followers_url": "https://api.github.com/users/sem... | [] | closed | false | null | [] | [
"I can't reproduce this, and not sure if I see anything wrong here. Would recommend you to use `low_cpu_mem_usage = True` as whether you have a GPU or not should not affect the scripts you shared (you are not using `to` or `.cuda()` anywhere. `device_map = \"auto\"` should help if you don't have enough RAM, and wan... | 1,693 | 1,693 | 1,693 | NONE | null | ### System Info
## Setup 1
- `transformers` version: 4.32.1
- Platform: Linux-4.18.0-425.13.1.el8_7.x86_64-x86_64-with-glibc2.28
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25821/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25821/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25820 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25820/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25820/comments | https://api.github.com/repos/huggingface/transformers/issues/25820/events | https://github.com/huggingface/transformers/pull/25820 | 1,871,339,246 | PR_kwDOCUB6oc5ZBJqb | 25,820 | Resolving Attribute error when using the FSDP ram efficient feature | {
"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,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
1. Currently, for few models getting Attribute errors such as `AttributeError: 'OPTForCausalLM' object has no attribute 'decoder'` when using the FSDP ram efficient feature. This PR fixes it. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25820/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25820/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25820",
"html_url": "https://github.com/huggingface/transformers/pull/25820",
"diff_url": "https://github.com/huggingface/transformers/pull/25820.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25820.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25819 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25819/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25819/comments | https://api.github.com/repos/huggingface/transformers/issues/25819/events | https://github.com/huggingface/transformers/pull/25819 | 1,871,315,660 | PR_kwDOCUB6oc5ZBEgW | 25,819 | Error with checking args.eval_accumulation_steps to gather tensors | {
"login": "chaumng",
"id": 60038822,
"node_id": "MDQ6VXNlcjYwMDM4ODIy",
"avatar_url": "https://avatars.githubusercontent.com/u/60038822?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chaumng",
"html_url": "https://github.com/chaumng",
"followers_url": "https://api.github.com/users/chaumn... | [] | closed | false | null | [] | [
"cc @muellerzr ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25819). All of your documentation changes will be reflected on that endpoint.",
"@muellerzr Thank you. I have run the make commands. All tests passed."
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | The error is in ```trainer.py```.
While the deprecated (legacy) code has the correct check (line 3772):
```python
if args.eval_accumulation_steps is not None and (step + 1) % args.eval_accumulation_steps == 0:
```
The current code does not (line 3196):
```python
if args.eval_accumulation_steps is not None ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25819/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25819/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25819",
"html_url": "https://github.com/huggingface/transformers/pull/25819",
"diff_url": "https://github.com/huggingface/transformers/pull/25819.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25819.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25818 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25818/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25818/comments | https://api.github.com/repos/huggingface/transformers/issues/25818/events | https://github.com/huggingface/transformers/issues/25818 | 1,871,227,461 | I_kwDOCUB6oc5viKpF | 25,818 | convert_llama_weights_to_hf.py json.decoder.JSONDecodeError | {
"login": "munitioner",
"id": 14157458,
"node_id": "MDQ6VXNlcjE0MTU3NDU4",
"avatar_url": "https://avatars.githubusercontent.com/u/14157458?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/munitioner",
"html_url": "https://github.com/munitioner",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Hey! @munitioner, I am not able to reproduce this on main. I suspect this can come from either one of:\r\n- The `params.json` is wrongly formatted / was manually modified \r\n- The path is wrong\r\nI tested with a similar setup as you, and I have no problem converting. Can you share the `par... | 1,693 | 1,702 | 1,702 | NONE | null | ### System Info

### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25818/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25818/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25817 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25817/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25817/comments | https://api.github.com/repos/huggingface/transformers/issues/25817/events | https://github.com/huggingface/transformers/pull/25817 | 1,871,138,916 | PR_kwDOCUB6oc5ZAeZe | 25,817 | fix ds z3 checkpointing when `stage3_gather_16bit_weights_on_model_save=False` | {
"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,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
1. Fixes https://github.com/huggingface/transformers/issues/25368 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25817/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25817/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25817",
"html_url": "https://github.com/huggingface/transformers/pull/25817",
"diff_url": "https://github.com/huggingface/transformers/pull/25817.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25817.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25816 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25816/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25816/comments | https://api.github.com/repos/huggingface/transformers/issues/25816/events | https://github.com/huggingface/transformers/issues/25816 | 1,871,101,855 | I_kwDOCUB6oc5vhr-f | 25,816 | nvme/zero_stage_3/optimizer/rank0/140354038028384.tensor.swp: buffer nbytes != file bytes 241969152 != 241958912 | {
"login": "Deemo-cqs",
"id": 64957826,
"node_id": "MDQ6VXNlcjY0OTU3ODI2",
"avatar_url": "https://avatars.githubusercontent.com/u/64957826?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Deemo-cqs",
"html_url": "https://github.com/Deemo-cqs",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @pacman100 ",
"if i offload param into nvme and optimizer not, the program can run\r\n",
"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 [... | 1,693 | 1,697 | 1,697 | NONE | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.32.0.dev0
- Platform: Linux-3.10.0-693.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.17
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25816/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25816/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25815 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25815/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25815/comments | https://api.github.com/repos/huggingface/transformers/issues/25815/events | https://github.com/huggingface/transformers/pull/25815 | 1,871,046,486 | PR_kwDOCUB6oc5ZAKh2 | 25,815 | Minor wording changes for Code Llama | {
"login": "osanseviero",
"id": 7246357,
"node_id": "MDQ6VXNlcjcyNDYzNTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/osanseviero",
"html_url": "https://github.com/osanseviero",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | MEMBER | null | Some changes based on https://github.com/huggingface/blog/pull/1425 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25815/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25815/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25815",
"html_url": "https://github.com/huggingface/transformers/pull/25815",
"diff_url": "https://github.com/huggingface/transformers/pull/25815.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25815.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25814 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25814/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25814/comments | https://api.github.com/repos/huggingface/transformers/issues/25814/events | https://github.com/huggingface/transformers/issues/25814 | 1,871,019,601 | I_kwDOCUB6oc5vhX5R | 25,814 | Inconsistency in encoding user special tokens between LlamaTokenizerFast and LlamaTokenizer | {
"login": "hzphzp",
"id": 30926489,
"node_id": "MDQ6VXNlcjMwOTI2NDg5",
"avatar_url": "https://avatars.githubusercontent.com/u/30926489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hzphzp",
"html_url": "https://github.com/hzphzp",
"followers_url": "https://api.github.com/users/hzphzp/fo... | [] | closed | false | null | [] | [
"Hey! This is expected, a fix is on its way here: #23909. For now you should make sure the added tokens have `rstrip = True` and `lstrip=True` 😉 ",
"problem solved, thank you!"
] | 1,693 | 1,693 | 1,693 | NONE | null | ### System Info
tokenizers==0.13.3
transformers==4.32.1
### Who can help?
@ArthurZucker When encoding user special tokens (e.g., \<img\>), LlamaTokenizerFast adds extra spaces before and after the token, while LlamaTokenizer does not. This inconsistent behavior leads to different results when using the two t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25814/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/25814/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25813 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25813/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25813/comments | https://api.github.com/repos/huggingface/transformers/issues/25813/events | https://github.com/huggingface/transformers/issues/25813 | 1,870,946,333 | I_kwDOCUB6oc5vhGAd | 25,813 | GPTNeoXRotaryEmbedding has a defect when using sin/cos cache | {
"login": "underskies00",
"id": 52735000,
"node_id": "MDQ6VXNlcjUyNzM1MDAw",
"avatar_url": "https://avatars.githubusercontent.com/u/52735000?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/underskies00",
"html_url": "https://github.com/underskies00",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Looks like you are right, as this is the case for models in `llama`, where we have\r\n\r\n```python\r\n return (\r\n self.cos_cached[:, :, :seq_len, ...].to(dtype=x.dtype),\r\n self.sin_cached[:, :, :seq_len, ...].to(dtype=x.dtype),\r\n )\r\n```\r\n\r\n@ArthurZucker could you li... | 1,693 | 1,696 | 1,696 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.10.112-005.ali5000.alios7.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.13
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.13.1+cu117 (False)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25813/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25813/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25812 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25812/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25812/comments | https://api.github.com/repos/huggingface/transformers/issues/25812/events | https://github.com/huggingface/transformers/issues/25812 | 1,870,920,727 | I_kwDOCUB6oc5vg_wX | 25,812 | pytorch autocast leads to baddbmm's output fp16 while input fp32. | {
"login": "jovialchen",
"id": 27750324,
"node_id": "MDQ6VXNlcjI3NzUwMzI0",
"avatar_url": "https://avatars.githubusercontent.com/u/27750324?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jovialchen",
"html_url": "https://github.com/jovialchen",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I'll have a look, thanks for reporting. FYI @loubnabnl ",
"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://git... | 1,693 | 1,703 | 1,703 | NONE | null | ### System Info
```
- `transformers` version: 4.29.1
- Platform: Windows-10-10.0.17763-SP0
- Python version: 3.9.16
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.0+cu118 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25812/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25812/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25811 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25811/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25811/comments | https://api.github.com/repos/huggingface/transformers/issues/25811/events | https://github.com/huggingface/transformers/pull/25811 | 1,870,915,290 | PR_kwDOCUB6oc5Y_uRl | 25,811 | Add use_best_model feature for evaluating trials in hyperparameter searching | {
"login": "jasper-lu",
"id": 3989184,
"node_id": "MDQ6VXNlcjM5ODkxODQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3989184?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jasper-lu",
"html_url": "https://github.com/jasper-lu",
"followers_url": "https://api.github.com/users/ja... | [] | closed | false | null | [] | [
"@sgugger ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25811). All of your documentation changes will be reflected on that endpoint.",
"> I don't think we want to touch that much in depth the hyperparameter search feature since we are not really maintaining it an... | 1,693 | 1,697 | 1,697 | 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/25811/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25811/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25811",
"html_url": "https://github.com/huggingface/transformers/pull/25811",
"diff_url": "https://github.com/huggingface/transformers/pull/25811.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25811.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25810 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25810/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25810/comments | https://api.github.com/repos/huggingface/transformers/issues/25810/events | https://github.com/huggingface/transformers/issues/25810 | 1,870,843,145 | I_kwDOCUB6oc5vgs0J | 25,810 | grad_accum is none when using gradient_accumulation_steps in DeepSpeed | {
"login": "DuoduoLi",
"id": 16662201,
"node_id": "MDQ6VXNlcjE2NjYyMjAx",
"avatar_url": "https://avatars.githubusercontent.com/u/16662201?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DuoduoLi",
"html_url": "https://github.com/DuoduoLi",
"followers_url": "https://api.github.com/users/Duo... | [] | closed | false | null | [] | [
"Hi !\r\n\r\nCould you provide the exact command you launch the training, please? Thanks!",
"Hi @ydshieh , the command is :\r\ndeepspeed --master_port 39500 --num_gpus=8 ./code/run_summarization.py --model_name_or_path ./model --do_train --do_eval --train_file ./data/train.json --validation_file ./data/valid.json... | 1,693 | 1,700 | 1,700 | NONE | null | ### System Info
### Environment info
transformers version: 4.31.0
Using distributed or parallel set-up in script?: Deepspeed
**Deepspeed config:**
{
"fp16": {
"enabled": false,
"loss_scale": 0,
"loss_scale_window": 1000,
"initial_scale_power": 16,
"hysteresis... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25810/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/25810/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25809 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25809/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25809/comments | https://api.github.com/repos/huggingface/transformers/issues/25809/events | https://github.com/huggingface/transformers/issues/25809 | 1,870,840,774 | I_kwDOCUB6oc5vgsPG | 25,809 | [help] Load CodeLlama from hf failed | {
"login": "yingfhu",
"id": 42952108,
"node_id": "MDQ6VXNlcjQyOTUyMTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/42952108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yingfhu",
"html_url": "https://github.com/yingfhu",
"followers_url": "https://api.github.com/users/yingfh... | [] | closed | false | null | [] | [
"Make sure you install from main: `pip install git+https://github.com/hugginfgace/transformers`"
] | 1,693 | 1,693 | 1,693 | NONE | null | ValueError: Tokenizer class CodeLlamaTokenizer does not exist or is not currently imported. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25809/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25809/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25808 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25808/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25808/comments | https://api.github.com/repos/huggingface/transformers/issues/25808/events | https://github.com/huggingface/transformers/issues/25808 | 1,870,794,208 | I_kwDOCUB6oc5vgg3g | 25,808 | Accelerate does not work with MaskGenerationPipelone | {
"login": "MrinalTyagi",
"id": 21031150,
"node_id": "MDQ6VXNlcjIxMDMxMTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/21031150?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MrinalTyagi",
"html_url": "https://github.com/MrinalTyagi",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"According to the contribution guideline, could you share a complete reproducer as well as a traceback of the error you are getting? ",
"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 ... | 1,693 | 1,697 | 1,697 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.29.2
- Platform: Linux-5.15.0-46-generic-x86_64-with-glibc2.17
- Python version: 3.8.17
- Huggingface_hub version: 0.15.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25808/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25808/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25807 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25807/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25807/comments | https://api.github.com/repos/huggingface/transformers/issues/25807/events | https://github.com/huggingface/transformers/pull/25807 | 1,870,769,360 | PR_kwDOCUB6oc5Y_PNg | 25,807 | Modify efficient GPU training doc with now-available adamw_bnb_8bit optimizer | {
"login": "veezbo",
"id": 5194849,
"node_id": "MDQ6VXNlcjUxOTQ4NDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5194849?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/veezbo",
"html_url": "https://github.com/veezbo",
"followers_url": "https://api.github.com/users/veezbo/foll... | [] | closed | false | null | [] | [
"cc @younesbelkada for BNB related stuff 🙏 ",
"Thanks @stevhliu for the suggestions! ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25807). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
The documentation for efficient single-GPU training previously mentioned that the `adamw_bnb_8bit` optimizer could only be integrated using a third-party implementation. However, this is now available in Trainer directly as a result of this [issue](https://github.com/huggingface/transformers/is... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25807/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25807/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25807",
"html_url": "https://github.com/huggingface/transformers/pull/25807",
"diff_url": "https://github.com/huggingface/transformers/pull/25807.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25807.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25806 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25806/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25806/comments | https://api.github.com/repos/huggingface/transformers/issues/25806/events | https://github.com/huggingface/transformers/issues/25806 | 1,870,716,258 | I_kwDOCUB6oc5vgN1i | 25,806 | Error: index 0 is out of bounds for dimension 0 with size 0 | {
"login": "rishabh063",
"id": 55680979,
"node_id": "MDQ6VXNlcjU1NjgwOTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/55680979?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rishabh063",
"html_url": "https://github.com/rishabh063",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This happens when the image has nothing to mask , I.e plain image or very Faded images where there is nothing to segment . \r\n\r\nIt should Return an empty Array and not an error "
] | 1,693 | 1,693 | 1,693 | NONE | null | ### System Info
Error: index 0 is out of bounds for dimension 0 with size 0
Traceback (most recent call last):
outputs = generator(raw_image, points_per_batch=64)
File "/opt/conda/lib/python3.10/site-packages/transformers/pipelines/mask_generation.py", line 173, in __call__
return super().__call__(image... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25806/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25806/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25805 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25805/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25805/comments | https://api.github.com/repos/huggingface/transformers/issues/25805/events | https://github.com/huggingface/transformers/issues/25805 | 1,870,700,489 | I_kwDOCUB6oc5vgJ_J | 25,805 | UnboundLocalError: local variable 'tokens' referenced before assignment | {
"login": "pseudotensor",
"id": 2249614,
"node_id": "MDQ6VXNlcjIyNDk2MTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2249614?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pseudotensor",
"html_url": "https://github.com/pseudotensor",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Yep, fix is here #25793 \r\nOnly happens when the input text is empty ",
"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 guidelin... | 1,693 | 1,695 | 1,695 | NONE | null | ### System Info
Since transformers==4.32.0
### 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 dataset (give details below)
### Repr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25805/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25805/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25804 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25804/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25804/comments | https://api.github.com/repos/huggingface/transformers/issues/25804/events | https://github.com/huggingface/transformers/issues/25804 | 1,870,464,494 | I_kwDOCUB6oc5vfQXu | 25,804 | OSError: /home/datascience/huggingface does not appear to have a file named preprocessor_config.json. Checkout 'https://huggingface.co//home/datascience/huggingface/None' for available files. | {
"login": "z7ye",
"id": 25996703,
"node_id": "MDQ6VXNlcjI1OTk2NzAz",
"avatar_url": "https://avatars.githubusercontent.com/u/25996703?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/z7ye",
"html_url": "https://github.com/z7ye",
"followers_url": "https://api.github.com/users/z7ye/followers"... | [] | closed | false | null | [] | [
"Hey! Thanks for reporting! Yep I thing we should make sure the `image_processor`is also saved! Would you like to open a PR? 🤗 ",
"Same here, but why it need this one for LLava1.5 model?"
] | 1,693 | 1,705 | 1,693 | NONE | null | ### System Info
import transformers
transformers.__version__
'4.31.0'
### 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 t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25804/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25804/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25803 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25803/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25803/comments | https://api.github.com/repos/huggingface/transformers/issues/25803/events | https://github.com/huggingface/transformers/issues/25803 | 1,870,357,091 | I_kwDOCUB6oc5ve2Jj | 25,803 | [Model] How to evaluate Idefics Model's ability with in context examples? | {
"login": "Luodian",
"id": 15847405,
"node_id": "MDQ6VXNlcjE1ODQ3NDA1",
"avatar_url": "https://avatars.githubusercontent.com/u/15847405?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Luodian",
"html_url": "https://github.com/Luodian",
"followers_url": "https://api.github.com/users/Luodia... | [] | closed | false | null | [] | [
"Hi @Luodian ,\r\n\r\n> For single image we use the template to evaluate instruct version model.\r\n> `User:<fake_token_around_image><image><fake_token_around_image>{prompt} Assistant:`\r\n\r\n\r\nTo perfectly match the format used during the training of the instructed versions, you should modify slightly the templ... | 1,693 | 1,697 | 1,697 | NONE | null | Hi the recent release of Idefics-9/80B-Instruct model is superbly promising!
We would like to evaluate them on a customized benchmarks with in context examples. May I ask how should I arrange the prompt template, especially for `instruct` version?
We had some problems previously when evaluating the model on sin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25803/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25803/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25802 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25802/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25802/comments | https://api.github.com/repos/huggingface/transformers/issues/25802/events | https://github.com/huggingface/transformers/pull/25802 | 1,870,175,679 | PR_kwDOCUB6oc5Y9Qo7 | 25,802 | For xla tensors, use an alternative way to get a unique id | {
"login": "qihqi",
"id": 1719482,
"node_id": "MDQ6VXNlcjE3MTk0ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1719482?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qihqi",
"html_url": "https://github.com/qihqi",
"followers_url": "https://api.github.com/users/qihqi/follower... | [] | closed | false | null | [] | [
"Hi @muellerzr moved https://github.com/huggingface/safetensors/pull/349 to here",
"LMK if I should add a test (and in which file) I am not sure if the CI machines has torch_xla installed so `import torch_xla` can succeed...",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transform... | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null |
# What does this PR do?
XLA tensors don't have storage and attempting to get it's storage will get
RuntimeError: Attempted to access the data pointer on an
invalid python storage.
Repro:
```
from transformers import pytorch_utils
import torch_xla.core.xla_model as xm
device = xm.xla_device()
a = torch.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25802/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25802/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25802",
"html_url": "https://github.com/huggingface/transformers/pull/25802",
"diff_url": "https://github.com/huggingface/transformers/pull/25802.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25802.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25801 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25801/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25801/comments | https://api.github.com/repos/huggingface/transformers/issues/25801/events | https://github.com/huggingface/transformers/issues/25801 | 1,870,161,592 | I_kwDOCUB6oc5veGa4 | 25,801 | AttributeError: 'SegformerImageProcessor' object has no attribute 'reduce_labels' | {
"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 | {
"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, could you try use `do_reduce_labels` instead `reduce_labels`? The later one is already deprecated for quite some time.",
"(we might need to update the doc however)",
"Yes, It needs to be updated. Thanks\r\n\r\nOn Tue, Aug 29, 2023 at 7:36 PM Yih-Dar ***@***.***> wrote:\r\n\r\n> (we might need to update the... | 1,693 | 1,693 | 1,693 | NONE | null | ### System Info
jupyter notebook, RTX 3090
### Who can help?
@amyeroberts @pacman100
### 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)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25801/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25801/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25800 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25800/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25800/comments | https://api.github.com/repos/huggingface/transformers/issues/25800/events | https://github.com/huggingface/transformers/issues/25800 | 1,869,874,703 | I_kwDOCUB6oc5vdAYP | 25,800 | Having trouble loading Blip2 4bit | {
"login": "joaopedrosdmm",
"id": 37955817,
"node_id": "MDQ6VXNlcjM3OTU1ODE3",
"avatar_url": "https://avatars.githubusercontent.com/u/37955817?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joaopedrosdmm",
"html_url": "https://github.com/joaopedrosdmm",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Did you try after installing the packages? Your environnement should be restarted to make sure you are using the installed packages",
"Hey. Thanks for the quick reply. I seem to have fixed it by importing a different version of transformers: \r\n\"!pip install -U -q git+https://github.com/huggingface/transformer... | 1,693 | 1,696 | 1,696 | NONE | null | ### System Info
It throws and import error although I already restarted the notebook, tried to import bitsandbytes and acceleraet different ways. I'm not even loading 8bit but in the error thrown, it seems to believe I am. Help would be appreciated.
Code:
```python
!pip install -q -U git+https://github.com/TimD... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25800/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25800/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25799 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25799/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25799/comments | https://api.github.com/repos/huggingface/transformers/issues/25799/events | https://github.com/huggingface/transformers/pull/25799 | 1,869,695,195 | PR_kwDOCUB6oc5Y7npD | 25,799 | [DPT] Add MiDaS 3.1 series | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25799). All of your documentation changes will be reflected on that endpoint.",
"I've split up the PR in smaller pieces, see above for the first one",
"This issue has been automatically marked as stale because it has not ... | 1,693 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
This PR improves the DPT model by leveraging the `AutoBackbone` API.
DPT is a [depth estimation model](https://huggingface.co/Intel/dpt-large). Recently, the MiDaS team released a new [3.1 version](https://github.com/isl-org/MiDaS/tree/master#towards-robust-monocular-depth-estimation-mixin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25799/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25799/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25799",
"html_url": "https://github.com/huggingface/transformers/pull/25799",
"diff_url": "https://github.com/huggingface/transformers/pull/25799.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25799.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25798 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25798/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25798/comments | https://api.github.com/repos/huggingface/transformers/issues/25798/events | https://github.com/huggingface/transformers/pull/25798 | 1,869,655,440 | PR_kwDOCUB6oc5Y7e4s | 25,798 | fix warning trigger for embed_positions when loading xglm | {
"login": "MattYoon",
"id": 57797966,
"node_id": "MDQ6VXNlcjU3Nzk3OTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/57797966?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MattYoon",
"html_url": "https://github.com/MattYoon",
"followers_url": "https://api.github.com/users/Mat... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25798). All of your documentation changes will be reflected on that endpoint.",
"@younesbelkada Good question! There is no `register_buffer` method in TF. There are two replacements you can use for it, depending on what the... | 1,693 | 1,693 | 1,693 | 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/25798/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25798/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25798",
"html_url": "https://github.com/huggingface/transformers/pull/25798",
"diff_url": "https://github.com/huggingface/transformers/pull/25798.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25798.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25797 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25797/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25797/comments | https://api.github.com/repos/huggingface/transformers/issues/25797/events | https://github.com/huggingface/transformers/issues/25797 | 1,869,577,173 | I_kwDOCUB6oc5vb3vV | 25,797 | Loading XGLM triggers warning "Some weights of .. were not initialized from" for a module with no params | {
"login": "MattYoon",
"id": 57797966,
"node_id": "MDQ6VXNlcjU3Nzk3OTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/57797966?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MattYoon",
"html_url": "https://github.com/MattYoon",
"followers_url": "https://api.github.com/users/Mat... | [] | closed | false | null | [] | [
"Thanks for raising the issue @MattYoon \r\n@ArthurZucker can confirm, I think the fix would be to make the weight of that module non-persistent (`persistent=False`) so that they won't get saved in the state_dict: https://github.com/huggingface/transformers/blob/main/src/transformers/models/xglm/modeling_xglm.py#L1... | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.32.0
- Platform: Linux-5.15.0-41-generic-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.20.3
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tens... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25797/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25797/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25796 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25796/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25796/comments | https://api.github.com/repos/huggingface/transformers/issues/25796/events | https://github.com/huggingface/transformers/pull/25796 | 1,869,537,049 | PR_kwDOCUB6oc5Y7Evu | 25,796 | Update notebook.py to support multi eval datasets | {
"login": "matrix1001",
"id": 32097922,
"node_id": "MDQ6VXNlcjMyMDk3OTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/32097922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/matrix1001",
"html_url": "https://github.com/matrix1001",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Note that my last commit corresponds to the workflow check. I dont think it's necessary.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25796). All of your documentation changes will be reflected on that endpoint.",
"@matrix1001 do you want me to merge this or do y... | 1,693 | 1,696 | 1,694 | CONTRIBUTOR | null | # Fix key error when using multiple evaluation datasets
## Code triggering the error
Any code using multiple eval_dataset will trigger the error.
```py
trainer = Trainer(
model=model,
args=training_args,
train_dataset=train_dataset,
eval_dataset={
'valid':valid_dataset,
'test... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25796/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25796/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25796",
"html_url": "https://github.com/huggingface/transformers/pull/25796",
"diff_url": "https://github.com/huggingface/transformers/pull/25796.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25796.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25795 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25795/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25795/comments | https://api.github.com/repos/huggingface/transformers/issues/25795/events | https://github.com/huggingface/transformers/issues/25795 | 1,869,481,635 | I_kwDOCUB6oc5vbgaj | 25,795 | ValueError: Some specified arguments are not used by the HfArgumentParser: ['\\'] | {
"login": "mohammedtoumi007",
"id": 55878755,
"node_id": "MDQ6VXNlcjU1ODc4NzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/55878755?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mohammedtoumi007",
"html_url": "https://github.com/mohammedtoumi007",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hey, we can't help you if you don't provide a reproducer and share the output of `transformers-cli envs`. I suspect you just have a typo in the call you are making to the script. ",
"@ArthurZucker i update the script",
"You should try:\r\n```bash\r\npython -m torch.distributed.run \\\r\n --nproc_per_node 1 ... | 1,693 | 1,697 | 1,697 | NONE | null | ### System Info
I am doing a project question answer about chart. For fine-tuning BART MODEL. I tried to use "run_summarization.py" for fine-tuning from transformers. But, I came across with the following error :
```python
Traceback (most recent call last):
File "/content/OpenCQA/baseline_models/bart/transform... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25795/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25795/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25794 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25794/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25794/comments | https://api.github.com/repos/huggingface/transformers/issues/25794/events | https://github.com/huggingface/transformers/pull/25794 | 1,869,252,646 | PR_kwDOCUB6oc5Y6GaE | 25,794 | [`LlamaFamiliy`] add a tip about dtype | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
add a warning=True tip to the Llama2 doc to make sure people are not confused. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25794/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25794/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25794",
"html_url": "https://github.com/huggingface/transformers/pull/25794",
"diff_url": "https://github.com/huggingface/transformers/pull/25794.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25794.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25793 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25793/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25793/comments | https://api.github.com/repos/huggingface/transformers/issues/25793/events | https://github.com/huggingface/transformers/pull/25793 | 1,869,094,191 | PR_kwDOCUB6oc5Y5j8s | 25,793 | [`LlamaTokenizer`] `tokenize` nits. | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
Fixes #25769 by making sure `""` is encoded to `[]`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25793/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25793/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25793",
"html_url": "https://github.com/huggingface/transformers/pull/25793",
"diff_url": "https://github.com/huggingface/transformers/pull/25793.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25793.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25792 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25792/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25792/comments | https://api.github.com/repos/huggingface/transformers/issues/25792/events | https://github.com/huggingface/transformers/issues/25792 | 1,869,075,028 | I_kwDOCUB6oc5vZ9JU | 25,792 | MT5/MT0 cannot finetune with lora in 8bit mode | {
"login": "Victordongy",
"id": 18495737,
"node_id": "MDQ6VXNlcjE4NDk1NzM3",
"avatar_url": "https://avatars.githubusercontent.com/u/18495737?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Victordongy",
"html_url": "https://github.com/Victordongy",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"hi @Victordongy \r\nThanks for the issue can you try to re-run LoRA training with the latest peft and transformers?\r\n```bash\r\npip install -U transformers peft\r\n```",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed plea... | 1,693 | 1,697 | 1,697 | NONE | null | ### System Info
transformers version: 4.24.0
Platform: Linux-5.4.0-150-generic-x86_64-with-glibc2.29
Python version: 3.8.10
Huggingface_hub version: 0.16.4
Safetensors version: 0.3.1
Accelerate version: 0.20.3
Accelerate config: not found
PyTorch version (GPU?): 2.0.0+cu117 (True)
Tensorflow version (GPU?): ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25792/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25792/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25791 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25791/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25791/comments | https://api.github.com/repos/huggingface/transformers/issues/25791/events | https://github.com/huggingface/transformers/pull/25791 | 1,869,033,251 | PR_kwDOCUB6oc5Y5WzD | 25,791 | 🌐[i18n-KO] Translated `llm_tutorial.md` to Korean | {
"login": "harheem",
"id": 49297157,
"node_id": "MDQ6VXNlcjQ5Mjk3MTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/49297157?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harheem",
"html_url": "https://github.com/harheem",
"followers_url": "https://api.github.com/users/harhee... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25791). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Translated the `llm_tutorial.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
- [x] Check for missing / redundant translations (번역 누락/중복 검사)
- [x] Grammar Check (맞춤법 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25791/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/25791/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25791",
"html_url": "https://github.com/huggingface/transformers/pull/25791",
"diff_url": "https://github.com/huggingface/transformers/pull/25791.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25791.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25790 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25790/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25790/comments | https://api.github.com/repos/huggingface/transformers/issues/25790/events | https://github.com/huggingface/transformers/issues/25790 | 1,868,961,806 | I_kwDOCUB6oc5vZhgO | 25,790 | Incorrect batched generation for Llama-2 with `pad_token` = `eos_token` | {
"login": "wjfwzzc",
"id": 5126316,
"node_id": "MDQ6VXNlcjUxMjYzMTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/5126316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wjfwzzc",
"html_url": "https://github.com/wjfwzzc",
"followers_url": "https://api.github.com/users/wjfwzzc/... | [] | closed | false | null | [] | [
"I have personally also seen a lot of strange behavior with single row vs. larger batch in llama, so decided to dig in a bit.\r\n\r\nIt seems with batch and padding, the logits are `nan` in your case. There is something funamentally wrong with the llama-2-7b-hf float16 weights.\r\n\r\nYou can solve your issue by se... | 1,693 | 1,701 | 1,701 | NONE | null | ### System Info
- `transformers` version: 4.32.0
- Platform: Linux-5.4.143.bsk.8-amd64-x86_64-with-glibc2.31
- Python version: 3.9.2
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Ten... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25790/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25790/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25789 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25789/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25789/comments | https://api.github.com/repos/huggingface/transformers/issues/25789/events | https://github.com/huggingface/transformers/pull/25789 | 1,868,748,146 | PR_kwDOCUB6oc5Y4YCS | 25,789 | Adding Llava to transformers | {
"login": "shauray8",
"id": 39147312,
"node_id": "MDQ6VXNlcjM5MTQ3MzEy",
"avatar_url": "https://avatars.githubusercontent.com/u/39147312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shauray8",
"html_url": "https://github.com/shauray8",
"followers_url": "https://api.github.com/users/sha... | [] | closed | false | null | [] | [
"@ArthurZucker Right now I've added Llava support directly to the MPT model as `LlavaMptForCausalLM`. Do you think I should add llava as a separate model or is this good enough?",
"And there's no preprocessor_config unfortunately, so do I go about making one and push it to a new hugging face repo or just integrat... | 1,693 | 1,701 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
Adds LLAVA to transformers.
author - https://github.com/haotian-liu/LLaVA
hub - https://huggingface.co/shauray/Llava-Llama-2-7B-hf
Fixes # (issue)
#25060
## Before submitting
- [X] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25789/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/25789/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25789",
"html_url": "https://github.com/huggingface/transformers/pull/25789",
"diff_url": "https://github.com/huggingface/transformers/pull/25789.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25789.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25788 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25788/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25788/comments | https://api.github.com/repos/huggingface/transformers/issues/25788/events | https://github.com/huggingface/transformers/pull/25788 | 1,868,651,154 | PR_kwDOCUB6oc5Y4DIU | 25,788 | Fix incorrect Boolean value in deepspeed example | {
"login": "tmm1",
"id": 2567,
"node_id": "MDQ6VXNlcjI1Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2567?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tmm1",
"html_url": "https://github.com/tmm1",
"followers_url": "https://api.github.com/users/tmm1/followers",
"followi... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25788). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | 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/25788/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25788/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25788",
"html_url": "https://github.com/huggingface/transformers/pull/25788",
"diff_url": "https://github.com/huggingface/transformers/pull/25788.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25788.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25787 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25787/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25787/comments | https://api.github.com/repos/huggingface/transformers/issues/25787/events | https://github.com/huggingface/transformers/pull/25787 | 1,868,645,210 | PR_kwDOCUB6oc5Y4B_z | 25,787 | [idefics] fix vision's `hidden_act` | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | Thanks to @rwightman's discovery this PR is fixing vision config's `hidden_act` to `gelu`.
It looks like we messed things up when splitting the original config into 3 groups during the porting and inherited `clip`'s default config. Whereas the model used during training was using `gelu` as can be seen here. https://... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25787/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25787/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25787",
"html_url": "https://github.com/huggingface/transformers/pull/25787",
"diff_url": "https://github.com/huggingface/transformers/pull/25787.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25787.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25786 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25786/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25786/comments | https://api.github.com/repos/huggingface/transformers/issues/25786/events | https://github.com/huggingface/transformers/pull/25786 | 1,868,615,299 | PR_kwDOCUB6oc5Y38Zi | 25,786 | Implementation of SuperPoint and AutoModelForInterestPointDescription | {
"login": "sbucaille",
"id": 24275548,
"node_id": "MDQ6VXNlcjI0Mjc1NTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/24275548?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sbucaille",
"html_url": "https://github.com/sbucaille",
"followers_url": "https://api.github.com/users/... | [] | open | false | null | [] | [
"@amyeroberts I have some questions about the implementation and AutoModel classes.\r\n\r\nFirst of all, I try to follow as much as possible the patterns I see in other model implementations (resnet or convnextv2 for example), but unlike these models, SuperPoint really only have one function or \"mode\" here, just ... | 1,693 | 1,707 | null | NONE | null | # What does this PR do?
This PR implements SuperPoint, one of the few models that generate keypoints and descriptors given an image, as discussed in [this previous pull request](https://github.com/huggingface/transformers/pull/25697)
The goal is to implement this model and a new type of AutoModel : `AutoModelForInt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25786/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25786/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25786",
"html_url": "https://github.com/huggingface/transformers/pull/25786",
"diff_url": "https://github.com/huggingface/transformers/pull/25786.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25786.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25785 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25785/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25785/comments | https://api.github.com/repos/huggingface/transformers/issues/25785/events | https://github.com/huggingface/transformers/issues/25785 | 1,868,591,154 | I_kwDOCUB6oc5vYHAy | 25,785 | AssertionError: can only test a child process | {
"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 | [] | [
"Hey! Seems like you have a problem with multi processing. \r\nYour code is badly formatted, not readable and doesn't seem to be related to transformers. \r\nIf you want people to help you debug your code, then ask this on [the forum](https://discuss.huggingface.co/) instead, thanks! ",
"Hey Arthur,\r\n Got ... | 1,693 | 1,693 | 1,693 | NONE | null | ### System Info
colab notebook: https://colab.research.google.com/drive/1d6kW_VQMPNHIMPleZJtSWMc81XFGTkQF?usp=sharing
### Who can help?
@ArthurZucker @you
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25785/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25785/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25784 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25784/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25784/comments | https://api.github.com/repos/huggingface/transformers/issues/25784/events | https://github.com/huggingface/transformers/issues/25784 | 1,868,575,311 | I_kwDOCUB6oc5vYDJP | 25,784 | Typo fix in Readme file | {
"login": "NinoRisteski",
"id": 95188570,
"node_id": "U_kgDOBax2Wg",
"avatar_url": "https://avatars.githubusercontent.com/u/95188570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NinoRisteski",
"html_url": "https://github.com/NinoRisteski",
"followers_url": "https://api.github.com/users... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [
"Hi! You can proceed direct a PR without an issue page like this one. Otherwise, please provide some info. when opening an issue 🙏 ",
"Hi, \n\nThanks for clarifying!"
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | Hi,
Just to point out an unnecessary comma in the docs/readme file.
will correct it. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25784/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25784/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25783 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25783/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25783/comments | https://api.github.com/repos/huggingface/transformers/issues/25783/events | https://github.com/huggingface/transformers/issues/25783 | 1,868,551,851 | I_kwDOCUB6oc5vX9ar | 25,783 | How to re-tokenize the training set in each epoch? | {
"login": "tic-top",
"id": 78676563,
"node_id": "MDQ6VXNlcjc4Njc2NTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/78676563?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tic-top",
"html_url": "https://github.com/tic-top",
"followers_url": "https://api.github.com/users/tic-to... | [] | closed | false | null | [] | [
"Please ask this kind of questions on [the forum ](https://discuss.huggingface.co/)"
] | 1,693 | 1,693 | 1,693 | NONE | null | I have a special tokenizer which can tokenize the sentence based on some propability distribution.
For example, 'I like green apple' ->'[I],[like],[green],[apple]'(30%) or '[I],[like],[green apple]' (70%).
Now in the training part, I want the Trainer can retokenize the dataset in each epoch. How can I do so? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25783/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25783/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25782 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25782/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25782/comments | https://api.github.com/repos/huggingface/transformers/issues/25782/events | https://github.com/huggingface/transformers/issues/25782 | 1,868,532,265 | I_kwDOCUB6oc5vX4op | 25,782 | [RFC] Tracking and optimizing GPU energy consumption | {
"login": "jaywonchung",
"id": 29395896,
"node_id": "MDQ6VXNlcjI5Mzk1ODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/29395896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jaywonchung",
"html_url": "https://github.com/jaywonchung",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Maybe of interest to @sashavor :)",
"But we already integrated CodeCarbon, right? Not clear what this adds on top of that",
"Thanks for the comment. I would like to point you to the `Current State` section in the RFC body. In short, the integration of CodeCarbon with Hugging Face is not being maintained at all... | 1,693 | 1,698 | 1,698 | NONE | null | This RFC suggests the following:
- Let's **measure and track** GPU energy consumption across Hugging Face frameworks.
- Let's aim to **optimize** GPU energy consumption, while being mindful of existing performance goals like training time.
To do this, I believe that integrating Zeus ([homepage](https://ml.energy/z... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25782/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25782/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25781 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25781/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25781/comments | https://api.github.com/repos/huggingface/transformers/issues/25781/events | https://github.com/huggingface/transformers/issues/25781 | 1,868,471,615 | I_kwDOCUB6oc5vXp0_ | 25,781 | Symbol Zeros is already exposed as (). Error Help pls | {
"login": "ZwChiew",
"id": 74089708,
"node_id": "MDQ6VXNlcjc0MDg5NzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/74089708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZwChiew",
"html_url": "https://github.com/ZwChiew",
"followers_url": "https://api.github.com/users/ZwChie... | [] | closed | false | null | [] | [
"Okay, did you install `safetensors` and `sentencepiece`? I cannot reproduce your issue",
"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 [contr... | 1,693 | 1,697 | 1,697 | NONE | null | ### Major Bug while importing Huggingface locally model in VS code
Was trying to implement a simple paraphrasing tool
but unable to import / download the library Vamsi/T5_Paraphrase_Paws due to this error:
Symbol Zeros is already exposed as ().
Was working fine on google colab / anaconda but not on vs code
A... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25781/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25781/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25780 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25780/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25780/comments | https://api.github.com/repos/huggingface/transformers/issues/25780/events | https://github.com/huggingface/transformers/pull/25780 | 1,868,469,898 | PR_kwDOCUB6oc5Y3gJg | 25,780 | [i18n-KO] Translate `tokenizer.md` to Korean | {
"login": "Sunmin0520",
"id": 60782131,
"node_id": "MDQ6VXNlcjYwNzgyMTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/60782131?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sunmin0520",
"html_url": "https://github.com/Sunmin0520",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,693 | 1,697 | 1,697 | CONTRIBUTOR | null | Translated the `tokenizer.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
- [x] Check for missing / redundant translations (번역 누락/중복 검사)
- [x] Grammar Check (맞춤법 검사)
- [x] Review or Add new ter... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25780/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/25780/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25780",
"html_url": "https://github.com/huggingface/transformers/pull/25780",
"diff_url": "https://github.com/huggingface/transformers/pull/25780.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25780.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25779 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25779/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25779/comments | https://api.github.com/repos/huggingface/transformers/issues/25779/events | https://github.com/huggingface/transformers/pull/25779 | 1,868,451,433 | PR_kwDOCUB6oc5Y3cg4 | 25,779 | fix register | {
"login": "zspo",
"id": 26846598,
"node_id": "MDQ6VXNlcjI2ODQ2NTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/26846598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zspo",
"html_url": "https://github.com/zspo",
"followers_url": "https://api.github.com/users/zspo/followers"... | [] | closed | false | null | [] | [
"Sure! ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25779). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Fix register in some auto class.
Fixes #25453
## Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@ArthurZucker @sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25779/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25779/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25779",
"html_url": "https://github.com/huggingface/transformers/pull/25779",
"diff_url": "https://github.com/huggingface/transformers/pull/25779.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25779.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25778 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25778/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25778/comments | https://api.github.com/repos/huggingface/transformers/issues/25778/events | https://github.com/huggingface/transformers/issues/25778 | 1,868,190,290 | I_kwDOCUB6oc5vWlJS | 25,778 | Support for context-free-grammars (CFG) to constrain model output | {
"login": "jvhoffbauer",
"id": 9884254,
"node_id": "MDQ6VXNlcjk4ODQyNTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/9884254?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jvhoffbauer",
"html_url": "https://github.com/jvhoffbauer",
"followers_url": "https://api.github.com/us... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"I think something like this is planned cc @gante 🤗 ",
"@gante @ArthurZucker can I help with this somehow? Happy to set up a PR over the weekend! ",
"Hey @jvhoffbauer 👋 \r\n\r\nThis feature seems very similar to Microsoft's [`guidance`](https://github.com/guidance-ai/guidance) project, which is compatible wit... | 1,693 | 1,707 | null | NONE | null | ### Feature request
It would be nice to constrain the model output with a CFG directly when calling `model.generate`.
This is already done by llama.cpp [grammars](https://github.com/ggerganov/llama.cpp#constrained-output-with-grammars)
An example is in this [repo](https://github.com/r2d4/rellm).
```
promp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25778/reactions",
"total_count": 5,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/25778/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25777 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25777/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25777/comments | https://api.github.com/repos/huggingface/transformers/issues/25777/events | https://github.com/huggingface/transformers/issues/25777 | 1,868,132,391 | I_kwDOCUB6oc5vWXAn | 25,777 | transformers application | {
"login": "XD-mu",
"id": 84305099,
"node_id": "MDQ6VXNlcjg0MzA1MDk5",
"avatar_url": "https://avatars.githubusercontent.com/u/84305099?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XD-mu",
"html_url": "https://github.com/XD-mu",
"followers_url": "https://api.github.com/users/XD-mu/follow... | [] | closed | false | null | [] | [] | 1,693 | 1,693 | 1,693 | NONE | null | transformer的多领域应用模型,非常棒! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25777/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25777/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25776 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25776/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25776/comments | https://api.github.com/repos/huggingface/transformers/issues/25776/events | https://github.com/huggingface/transformers/pull/25776 | 1,868,129,017 | PR_kwDOCUB6oc5Y2fsn | 25,776 | Empty | {
"login": "LorrinWWW",
"id": 20911161,
"node_id": "MDQ6VXNlcjIwOTExMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/20911161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LorrinWWW",
"html_url": "https://github.com/LorrinWWW",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,693 | 1,693 | 1,693 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25776/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25776/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25776",
"html_url": "https://github.com/huggingface/transformers/pull/25776",
"diff_url": "https://github.com/huggingface/transformers/pull/25776.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25776.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25775 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25775/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25775/comments | https://api.github.com/repos/huggingface/transformers/issues/25775/events | https://github.com/huggingface/transformers/issues/25775 | 1,867,997,731 | I_kwDOCUB6oc5vV2Ij | 25,775 | Lora adapter weights not getting loaded | {
"login": "jaideep11061982",
"id": 38164196,
"node_id": "MDQ6VXNlcjM4MTY0MTk2",
"avatar_url": "https://avatars.githubusercontent.com/u/38164196?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jaideep11061982",
"html_url": "https://github.com/jaideep11061982",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hey, could you explain your problem properly? We need a full reproducer and traceback to be able to help you.",
"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 d... | 1,693 | 1,697 | 1,697 | NONE | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.30.2
- Platform: Linux-5.15.120+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.0 (True)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25775/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25775/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25774 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25774/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25774/comments | https://api.github.com/repos/huggingface/transformers/issues/25774/events | https://github.com/huggingface/transformers/issues/25774 | 1,867,936,129 | I_kwDOCUB6oc5vVnGB | 25,774 | 'DonutImageProcessor' object has no attribute 'to_pil_image' | {
"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, thanks for raising this issue! \r\n\r\nCould you share where the notebook is from? i.e. is it an official example from within the HF ecosystem? I'm asking so I know any places that will need to be updated. \r\n\r\nThe class `processor.feature_extractor` doesn't have the method `to_pil_image`. There... | 1,693 | 1,699 | 1,699 | NONE | null | ### System Info
```
!pip install -q git+https://github.com/huggingface/transformers.git
!pip install -q datasets sentencepiece tensorboard
!sudo apt-get install git-lfs --yes
!pip install -q accelerate -U
```
for reference: https://colab.research.google.com/drive/1CVhL9c3yoJ5IE8-5DG7W7AofmyA5f7aP?usp=sharing
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25774/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25774/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25773 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25773/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25773/comments | https://api.github.com/repos/huggingface/transformers/issues/25773/events | https://github.com/huggingface/transformers/issues/25773 | 1,867,913,905 | I_kwDOCUB6oc5vVhqx | 25,773 | Support for -1 for pad token id to follow Metas LLama implementation | {
"login": "mallorbc",
"id": 39721523,
"node_id": "MDQ6VXNlcjM5NzIxNTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/39721523?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mallorbc",
"html_url": "https://github.com/mallorbc",
"followers_url": "https://api.github.com/users/mal... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
... | closed | false | null | [] | [
"Hey! Thanks for the input. We were also discussing wether or not we can do this in `transformers` in #25088. \r\nThe real issue is the the `Llama` families do not have a `padding_token` and just a `pad_id`. Padding with a negative index works sure, but we can't add this to `tokenizers` for starters, but it is also... | 1,693 | 1,707 | 1,707 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.0-79-generic-x86_64-with-glibc2.31
- Python version: 3.9.17
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: 0.21.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distributed_type: MULTI_GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25773/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25773/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25772 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25772/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25772/comments | https://api.github.com/repos/huggingface/transformers/issues/25772/events | https://github.com/huggingface/transformers/pull/25772 | 1,867,879,210 | PR_kwDOCUB6oc5Y1tgs | 25,772 | [i18n-KO] Translate `pipelines.md` to Korean | {
"login": "Sunmin0520",
"id": 60782131,
"node_id": "MDQ6VXNlcjYwNzgyMTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/60782131?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sunmin0520",
"html_url": "https://github.com/Sunmin0520",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@0525hhgus 님, 혹시 위의 CI 테스트에서 첫번째 에러 부분에 대해 확인해주실 수 있을까요? \r\n에러 메세지를 보면 \r\n`ValueError: There was an error when converting ../transformers/docs/source/ko/main_classes/pipelines.md to the MDX format.\r\nUnable to find 파이프라인 in transformers. Make sure the path to that object is correct.` 라고 나옵니다.\r\nAPI 문서에 대해서는 to... | 1,693 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Translated the `pipelines.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
- [x] Check for missing / redundant translations (번역 누락/중복 검사)
- [x] Grammar Check (맞춤법 검사)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25772/reactions",
"total_count": 10,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 3,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/25772/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25772",
"html_url": "https://github.com/huggingface/transformers/pull/25772",
"diff_url": "https://github.com/huggingface/transformers/pull/25772.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25772.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25771 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25771/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25771/comments | https://api.github.com/repos/huggingface/transformers/issues/25771/events | https://github.com/huggingface/transformers/pull/25771 | 1,867,780,974 | PR_kwDOCUB6oc5Y1Yr2 | 25,771 | Arde/fsdp activation checkpointing | {
"login": "arde171",
"id": 60484160,
"node_id": "MDQ6VXNlcjYwNDg0MTYw",
"avatar_url": "https://avatars.githubusercontent.com/u/60484160?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arde171",
"html_url": "https://github.com/arde171",
"followers_url": "https://api.github.com/users/arde17... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25771). All of your documentation changes will be reflected on that endpoint.",
"Cc @pacman100 if you think this is relevant 🤗"
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Currently, HF Trainer didn't support FSDP activation checkpointing. This PR provides support to FSDP activation checkpointing.
Please see the details about the FSDP activation checkpointing [here](https://pytorch.org/blog/scaling-multimodal-foundation-models-in-torchmultimodal-with-pytorch-di... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25771/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25771/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25771",
"html_url": "https://github.com/huggingface/transformers/pull/25771",
"diff_url": "https://github.com/huggingface/transformers/pull/25771.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25771.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25770 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25770/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25770/comments | https://api.github.com/repos/huggingface/transformers/issues/25770/events | https://github.com/huggingface/transformers/issues/25770 | 1,867,704,703 | I_kwDOCUB6oc5vUul_ | 25,770 | isses with converting codellama model with convert_llama_weights_to_hf.py | {
"login": "ilang6",
"id": 26204796,
"node_id": "MDQ6VXNlcjI2MjA0Nzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/26204796?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ilang6",
"html_url": "https://github.com/ilang6",
"followers_url": "https://api.github.com/users/ilang6/fo... | [] | closed | false | null | [] | [
"Hey ! This is expected, the conversion script was updated to support code llama see #25740.\r\nMake sure you are running the script on main ",
"Thank you for your help.\nI tried the updated script again and everything thing worked just fine.",
"This issue has been automatically marked as stale because it has n... | 1,692 | 1,695 | 1,695 | NONE | null | ### System Info
Hi .
I'm trying to convert the new codellama 7B model with convert_llama_weights_to_hf.py
but I'm getting the following error:
`ValueError: Trying to set a tensor of shape torch.Size([32016, 4096]) in "weight" (which has shape torch.Size([32000, 4096])), this look incorrect.`
I'm running the scrip... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25770/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25770/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25769 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25769/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25769/comments | https://api.github.com/repos/huggingface/transformers/issues/25769/events | https://github.com/huggingface/transformers/issues/25769 | 1,867,690,721 | I_kwDOCUB6oc5vUrLh | 25,769 | Local variable 'tokens' referenced before assignment error in tokenization_llama.py | {
"login": "avnishn",
"id": 38871737,
"node_id": "MDQ6VXNlcjM4ODcxNzM3",
"avatar_url": "https://avatars.githubusercontent.com/u/38871737?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avnishn",
"html_url": "https://github.com/avnishn",
"followers_url": "https://api.github.com/users/avnish... | [] | closed | false | null | [] | [
"+1\r\n\r\nBtw `LlamaTokenizerFast` seems to be fine with an empty string\r\n\r\n```py\r\ntokenizer = LlamaTokenizerFast.from_pretrained(\"meta-llama/Llama-2-7b-chat-hf\")\r\ntokenizer.tokenize(\"\") # returns []\r\n```\r\n\r\nbut `LlamaTokenizer` returns this error:\r\n```\r\n--------------------------------------... | 1,692 | 1,693 | 1,693 | NONE | null | ### System Info
- `transformers` version: 4.33.0.dev0
- Platform: macOS-12.4-arm64-arm-64bit
- Python version: 3.9.16
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): not installed (NA)
- Tensorflow versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25769/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/25769/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25768 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25768/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25768/comments | https://api.github.com/repos/huggingface/transformers/issues/25768/events | https://github.com/huggingface/transformers/pull/25768 | 1,867,685,884 | PR_kwDOCUB6oc5Y1EM5 | 25,768 | Fix local variable 'tokens' referenced before assignment error in tokenization_llama.py | {
"login": "avnishn",
"id": 38871737,
"node_id": "MDQ6VXNlcjM4ODcxNzM3",
"avatar_url": "https://avatars.githubusercontent.com/u/38871737?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avnishn",
"html_url": "https://github.com/avnishn",
"followers_url": "https://api.github.com/users/avnish... | [] | closed | false | null | [] | [
"corresponding issue:\r\n#25769\r\n",
"sg"
] | 1,692 | 1,693 | 1,693 | NONE | null | if the function tokenize is called on an empty string by the LlamaTokenizer, we try to return the variable tokens but it isn't declared beforehand.
This fixes that issue
# 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25768/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25768/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25768",
"html_url": "https://github.com/huggingface/transformers/pull/25768",
"diff_url": "https://github.com/huggingface/transformers/pull/25768.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25768.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25767 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25767/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25767/comments | https://api.github.com/repos/huggingface/transformers/issues/25767/events | https://github.com/huggingface/transformers/pull/25767 | 1,867,660,074 | PR_kwDOCUB6oc5Y0-eI | 25,767 | include ChannelDimension.NONE + function replicate_channels | {
"login": "rafaelpadilla",
"id": 31217453,
"node_id": "MDQ6VXNlcjMxMjE3NDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/31217453?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rafaelpadilla",
"html_url": "https://github.com/rafaelpadilla",
"followers_url": "https://api.githu... | [] | open | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25767). All of your documentation changes will be reflected on that endpoint."
] | 1,692 | 1,707 | null | CONTRIBUTOR | null | # What does this PR do?
Fixes #25694
The ViT model currently doesn't support grayscale images with a (height, width) format, leading to preprocessing errors.
This PR addresses the issue with a new replicate_channels function. This function converts images in (height, width) format to a 3-channel RGB format (3... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25767/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25767/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25767",
"html_url": "https://github.com/huggingface/transformers/pull/25767",
"diff_url": "https://github.com/huggingface/transformers/pull/25767.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25767.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25766 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25766/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25766/comments | https://api.github.com/repos/huggingface/transformers/issues/25766/events | https://github.com/huggingface/transformers/issues/25766 | 1,867,525,889 | I_kwDOCUB6oc5vUC8B | 25,766 | MNLI benchmark, I see only only eval_accuracy, not seperated to m/mm = matched/mismatched | {
"login": "ndvbd",
"id": 845175,
"node_id": "MDQ6VXNlcjg0NTE3NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/845175?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ndvbd",
"html_url": "https://github.com/ndvbd",
"followers_url": "https://api.github.com/users/ndvbd/followers"... | [] | closed | false | null | [] | [
"I have no Idea what you are talking about",
"Hi Arthur, the GLUE, for the MNLI dataset, has *two* metrics of accuracy: match accuracy, and mismatched accuracy. Kindly see here: https://openreview.net/pdf?id=rJ4km2R5t7\r\n\r\nNow, when running the tranformer code run_gleu, for the mnli task, it only reports a sin... | 1,692 | 1,693 | 1,693 | NONE | null | ### System Info
N/A
### 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 dataset (give details below)
### Reproduction
MNLI benchmark,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25766/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25766/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25765 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25765/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25765/comments | https://api.github.com/repos/huggingface/transformers/issues/25765/events | https://github.com/huggingface/transformers/pull/25765 | 1,867,462,843 | PR_kwDOCUB6oc5Y0Tf3 | 25,765 | Fix Mega chunking error when using decoder-only model | {
"login": "tanaymeh",
"id": 26519539,
"node_id": "MDQ6VXNlcjI2NTE5NTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/26519539?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanaymeh",
"html_url": "https://github.com/tanaymeh",
"followers_url": "https://api.github.com/users/tan... | [] | closed | false | null | [] | [
"Hey! Feel free to ping me when the PR is ready for review 😉 ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25765). All of your documentation changes will be reflected on that endpoint.",
"@ArthurZucker You may review it now!",
"Will do. Two questions regarding ... | 1,692 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
This PR aims to fix the error caused by `MegaModel` when the `is_decoder` setting is used in conjunction with `use_chunking` and `chunk_size` settings.
The error is described in detail [here](https://github.com/huggingface/transformers/issues/23331#issuecomment-1693729295).
Fixes #23331... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25765/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25765/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25765",
"html_url": "https://github.com/huggingface/transformers/pull/25765",
"diff_url": "https://github.com/huggingface/transformers/pull/25765.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25765.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25764 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25764/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25764/comments | https://api.github.com/repos/huggingface/transformers/issues/25764/events | https://github.com/huggingface/transformers/pull/25764 | 1,867,454,252 | PR_kwDOCUB6oc5Y0RnJ | 25,764 | [idefics] small fixes | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25764). All of your documentation changes will be reflected on that endpoint."
] | 1,692 | 1,692 | 1,692 | CONTRIBUTOR | null | - fix the example doc - where there was a wrong copy-n-paste model class used
- remove `IdeficsGatedCrossAttentionLayer` from init imports as this is not really needed
thank you, @ydshieh for noticing these | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25764/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/25764/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25764",
"html_url": "https://github.com/huggingface/transformers/pull/25764",
"diff_url": "https://github.com/huggingface/transformers/pull/25764.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25764.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25763 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25763/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25763/comments | https://api.github.com/repos/huggingface/transformers/issues/25763/events | https://github.com/huggingface/transformers/pull/25763 | 1,867,206,364 | PR_kwDOCUB6oc5Yzbuk | 25,763 | Tests: detect lines removed from "utils/not_doctested.txt" and doctest ALL generation files | {
"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,692 | 1,693 | 1,693 | MEMBER | null | # What does this PR do?
As the title indicates, this PR:
1. Detects lines removed from `utils/not_doctested.txt`, and adds the removed files to the list of files to doctest
2. Doctest ALL generation files 🫡
This PR started off with 2. -- however, as you can see in the CI in the first commit, no doctests were ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25763/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25763/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25763",
"html_url": "https://github.com/huggingface/transformers/pull/25763",
"diff_url": "https://github.com/huggingface/transformers/pull/25763.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25763.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25762 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25762/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25762/comments | https://api.github.com/repos/huggingface/transformers/issues/25762/events | https://github.com/huggingface/transformers/pull/25762 | 1,867,202,119 | PR_kwDOCUB6oc5Yza0Z | 25,762 | support bf16 | {
"login": "etemadiamd",
"id": 90654451,
"node_id": "MDQ6VXNlcjkwNjU0NDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/90654451?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/etemadiamd",
"html_url": "https://github.com/etemadiamd",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [
{
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://... | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25762). All of your documentation changes will be reflected on that endpoint.",
"Hi @etemadiamd, thanks for opening a PR! \r\n\r\nThere's already support for using ORT and ONNX with Hugging Face models. See the [optimum lib... | 1,692 | 1,693 | 1,693 | 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/25762/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25762/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25762",
"html_url": "https://github.com/huggingface/transformers/pull/25762",
"diff_url": "https://github.com/huggingface/transformers/pull/25762.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25762.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25761 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25761/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25761/comments | https://api.github.com/repos/huggingface/transformers/issues/25761/events | https://github.com/huggingface/transformers/issues/25761 | 1,867,140,777 | I_kwDOCUB6oc5vSk6p | 25,761 | cannot load meta tensor issue when loading llama model saved to s3, Cannot copy out of meta tensor; no data | {
"login": "hugocool",
"id": 25592581,
"node_id": "MDQ6VXNlcjI1NTkyNTgx",
"avatar_url": "https://avatars.githubusercontent.com/u/25592581?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hugocool",
"html_url": "https://github.com/hugocool",
"followers_url": "https://api.github.com/users/hug... | [] | closed | false | null | [] | [
"did you have any luck so far loading models from s3 via transformers? Devs have been clear they are not interested into supporting any other platforms than the hf hub. https://github.com/huggingface/transformers/issues/19834#issuecomment-1289079562",
"Yeah, the code I shared works for any HF model. I’ve been usi... | 1,692 | 1,698 | 1,698 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-4.14.301-224.520.amzn2.x86_64-x86_64-with-glibc2.26
- Python version: 3.9.10
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: 0.20.3
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.0+cu117 (T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25761/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25761/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25760 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25760/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25760/comments | https://api.github.com/repos/huggingface/transformers/issues/25760/events | https://github.com/huggingface/transformers/issues/25760 | 1,867,135,189 | I_kwDOCUB6oc5vSjjV | 25,760 | LoRA-PEFT - HuggingFace examples - LoRA does not train faster/nor does it allow a bigger batch size (essentially no improvement) | {
"login": "CalinLucian",
"id": 129417029,
"node_id": "U_kgDOB7a_RQ",
"avatar_url": "https://avatars.githubusercontent.com/u/129417029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CalinLucian",
"html_url": "https://github.com/CalinLucian",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@pacman100 do you have any idea? Is this : https://github.com/huggingface/transformers/issues/25572 remotely related to the issue? (given that I see same memory usage when training with initial_model and lora_model)?",
"Hello @CalinLucian, the models in those examples are too small (85M params) for noticing larg... | 1,692 | 1,697 | 1,697 | NONE | null | ### System Info
```
Platform system: Windows-10-10.0.22621-SP0
Python version: 3.9.13
Available RAM : 31.872 GB
CPU count: 20
CPU model: Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz
GPU count: 1
GPU model: 1 x NVIDIA GeForce RTX 3090
```
```
transformers==4.32.0
peft==0.5.0
accelerate=0.22.0
```
I am ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25760/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25760/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25759 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25759/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25759/comments | https://api.github.com/repos/huggingface/transformers/issues/25759/events | https://github.com/huggingface/transformers/pull/25759 | 1,867,117,466 | PR_kwDOCUB6oc5YzIW5 | 25,759 | fix a typo in docsting | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25759). All of your documentation changes will be reflected on that endpoint."
] | 1,692 | 1,694 | 1,692 | CONTRIBUTOR | null | # What does this PR do?
as per title
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25759/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25759/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25759",
"html_url": "https://github.com/huggingface/transformers/pull/25759",
"diff_url": "https://github.com/huggingface/transformers/pull/25759.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25759.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25758 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25758/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25758/comments | https://api.github.com/repos/huggingface/transformers/issues/25758/events | https://github.com/huggingface/transformers/issues/25758 | 1,867,070,813 | I_kwDOCUB6oc5vST1d | 25,758 | `clean_up_tokenization_spaces=False` not working for decoding single token | {
"login": "devymex",
"id": 1797836,
"node_id": "MDQ6VXNlcjE3OTc4MzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1797836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/devymex",
"html_url": "https://github.com/devymex",
"followers_url": "https://api.github.com/users/devymex/... | [] | closed | false | null | [] | [
"This is expected, `clean_up_tokenization_spaces` is not related to spaces that are outputed by the model but spaces around `special tokens`. The output is stripped because when you encode you also add a space. If you want a one to one decoding of a token use `tokenizer.convert_ids_to_tokens`"
] | 1,692 | 1,693 | 1,693 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.0-73-generic-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: 0.21.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distributed_type: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25758/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25758/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25757 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25757/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25757/comments | https://api.github.com/repos/huggingface/transformers/issues/25757/events | https://github.com/huggingface/transformers/issues/25757 | 1,867,041,172 | I_kwDOCUB6oc5vSMmU | 25,757 | Problem working with single cuda when having multiple gpu | {
"login": "muratsilahtaroglu",
"id": 62756687,
"node_id": "MDQ6VXNlcjYyNzU2Njg3",
"avatar_url": "https://avatars.githubusercontent.com/u/62756687?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muratsilahtaroglu",
"html_url": "https://github.com/muratsilahtaroglu",
"followers_url": "https... | [] | closed | false | null | [] | [
"Could you provide the ouptut of `transformers-cli envs`? \r\ncc @pacman100 \r\n",
"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... | 1,692 | 1,698 | 1,698 | NONE | null | ### System Info
I have 4 gpu and I am running below code but ı have `RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:1! (when checking argument for argument index in method wrapper__index_select) error`.
I solved this problem peft_training_args._n_gpu = ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25757/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25757/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25756 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25756/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25756/comments | https://api.github.com/repos/huggingface/transformers/issues/25756/events | https://github.com/huggingface/transformers/pull/25756 | 1,867,003,587 | PR_kwDOCUB6oc5YyvY1 | 25,756 | Docs: fix indentation in `HammingDiversityLogitsProcessor` | {
"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._",
"(took the liberty to merge to unblock others, but I'm open to post-merge PR reviews)"
] | 1,692 | 1,692 | 1,692 | MEMBER | null | # What does this PR do?
Fixes indentation, which is causing the doc builder to crash. Also fixes the example, which was incorrect (thus causing the newly added doctests to fail) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25756/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25756/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25756",
"html_url": "https://github.com/huggingface/transformers/pull/25756",
"diff_url": "https://github.com/huggingface/transformers/pull/25756.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25756.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25755 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25755/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25755/comments | https://api.github.com/repos/huggingface/transformers/issues/25755/events | https://github.com/huggingface/transformers/pull/25755 | 1,866,956,402 | PR_kwDOCUB6oc5YylIW | 25,755 | 🌐 [i18n-KO] `model_memory_anatomy.md` to Korean | {
"login": "mjk0618",
"id": 39152134,
"node_id": "MDQ6VXNlcjM5MTUyMTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/39152134?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mjk0618",
"html_url": "https://github.com/mjk0618",
"followers_url": "https://api.github.com/users/mjk061... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25755). All of your documentation changes will be reflected on that endpoint.",
"May you please review this PR? @sgugger, @ArthurZucker, @eunseojo\r\n\r\n"
] | 1,692 | 1,693 | 1,693 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.md` to Korean" 으로 부탁드립니다! -->
# What does this PR do?
Translated the `model_memory_anatomy.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
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25755/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25755/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25755",
"html_url": "https://github.com/huggingface/transformers/pull/25755",
"diff_url": "https://github.com/huggingface/transformers/pull/25755.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25755.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25754 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25754/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25754/comments | https://api.github.com/repos/huggingface/transformers/issues/25754/events | https://github.com/huggingface/transformers/pull/25754 | 1,866,857,178 | PR_kwDOCUB6oc5YyPFS | 25,754 | [CLAP] Fix logit scales dtype for fp16 | {
"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._",
"Yep try with this:\r\n```python\r\nimport torch\r\n\r\ntorch.tensor(0).half().dtype()\r\n```\r\nGives:\r\n```\r\ntensor(0., dtype=torch.float16)\r\n```\r\n\r\nIs used when we load `diffusers` pipelines in fp16 (load state dict in fp1... | 1,692 | 1,692 | 1,692 | CONTRIBUTOR | null | # What does this PR do?
On some hardware, taking `torch.log` of a tensor in float16 on the CPU fails:
```python
in __init__(self, config)
1956 audio_config = config.audio_config
1957
-> 1958 self.logit_scale_a = nn.Parameter(torch.log(torch.tensor(config.logit_scale_init_value)))
1959... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25754/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25754/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25754",
"html_url": "https://github.com/huggingface/transformers/pull/25754",
"diff_url": "https://github.com/huggingface/transformers/pull/25754.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25754.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25753 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25753/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25753/comments | https://api.github.com/repos/huggingface/transformers/issues/25753/events | https://github.com/huggingface/transformers/issues/25753 | 1,866,837,683 | I_kwDOCUB6oc5vRa6z | 25,753 | T5 Tokenizer requires `protobuf` package | {
"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 | [] | [
"See the link PR for a fix"
] | 1,692 | 1,692 | 1,692 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: macOS-13.5.1-arm64-arm-64bit
- Python version: 3.9.13
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): not installed (NA)
- Tensorflow v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25753/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25753/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25752 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25752/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25752/comments | https://api.github.com/repos/huggingface/transformers/issues/25752/events | https://github.com/huggingface/transformers/issues/25752 | 1,866,803,486 | I_kwDOCUB6oc5vRSke | 25,752 | Padding is included in the computation of loss | {
"login": "guyang3532",
"id": 62738430,
"node_id": "MDQ6VXNlcjYyNzM4NDMw",
"avatar_url": "https://avatars.githubusercontent.com/u/62738430?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guyang3532",
"html_url": "https://github.com/guyang3532",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey! You should ask this question on [the forum](https://discuss.huggingface.co/), as this is more related to your understanding of the code 😉 ",
"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... | 1,692 | 1,697 | 1,697 | NONE | null | ### Description
I found the padding part in the logits (which is from embedding padding) is included in computation of loss in question answering bert:
https://github.com/huggingface/transformers/blob/main/src/transformers/models/bert/modeling_bert.py#L1876
Is it reasonable?
### Who can help?
_No response_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25752/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25752/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25751 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25751/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25751/comments | https://api.github.com/repos/huggingface/transformers/issues/25751/events | https://github.com/huggingface/transformers/pull/25751 | 1,866,468,076 | PR_kwDOCUB6oc5Yw5zY | 25,751 | [`TFxxxxForSequenceClassifciation`] Fix the eager mode after #25085 | {
"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._",
"Taking this one!",
"Should be ready for review @ArthurZucker - tests pass for me now. The cause was using the static shape instead of the dynamic shape, it's probably the single most common source of TF bugs for us!",
"I can't ap... | 1,692 | 1,698 | 1,698 | COLLABORATOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/25743 and one of our CI that triggered this | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25751/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25751/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25751",
"html_url": "https://github.com/huggingface/transformers/pull/25751",
"diff_url": "https://github.com/huggingface/transformers/pull/25751.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25751.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25750 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25750/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25750/comments | https://api.github.com/repos/huggingface/transformers/issues/25750/events | https://github.com/huggingface/transformers/pull/25750 | 1,866,430,397 | PR_kwDOCUB6oc5Ywxcj | 25,750 | Add type hints for pytorch models (final batch) | {
"login": "nablabits",
"id": 33068707,
"node_id": "MDQ6VXNlcjMzMDY4NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/33068707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nablabits",
"html_url": "https://github.com/nablabits",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Thank you again for the diligent work on the type hints, by the way - your PRs were really clean and required very little work to review, and they really helped push that project!",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25750). All of your documentation change... | 1,692 | 1,694 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Addresses the last type hints for pytorch models in https://github.com/huggingface/transformers/issues/16059:
1. TableTransformer:
1. `TableTransformerForObjectDetection`
2. `TableTransformerModel`
2. `TimesformerModel`
3. `TimmBackbone`
4. TVLT:
1. `TvltForAudioVisualClassificati... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25750/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25750/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25750",
"html_url": "https://github.com/huggingface/transformers/pull/25750",
"diff_url": "https://github.com/huggingface/transformers/pull/25750.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25750.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25749 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25749/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25749/comments | https://api.github.com/repos/huggingface/transformers/issues/25749/events | https://github.com/huggingface/transformers/pull/25749 | 1,866,422,844 | PR_kwDOCUB6oc5Ywvzy | 25,749 | Add type hints for several pytorch models (batch-4) | {
"login": "nablabits",
"id": 33068707,
"node_id": "MDQ6VXNlcjMzMDY4NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/33068707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nablabits",
"html_url": "https://github.com/nablabits",
"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_25749). All of your documentation changes will be reflected on that endpoint."
] | 1,692 | 1,694 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Addresses some of the models in https://github.com/huggingface/transformers/issues/16059:
1. Mgpstr
1. `MgpstrForSceneTextRecognition`
2. `MgpstrModel`
2. PLBart
1. `PLBartForConditionalGeneration`
2. `PLBartModel`
3. `Pix2StructTextModel`
4. `RagModel`
5. `SamModel`
6. `Swin2SRMo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25749/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25749/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25749",
"html_url": "https://github.com/huggingface/transformers/pull/25749",
"diff_url": "https://github.com/huggingface/transformers/pull/25749.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25749.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25748 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25748/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25748/comments | https://api.github.com/repos/huggingface/transformers/issues/25748/events | https://github.com/huggingface/transformers/issues/25748 | 1,866,420,611 | I_kwDOCUB6oc5vP1GD | 25,748 | You should supply an instance of `transformers.BatchFeature` or list of `transformers.BatchFeature` to this method that includes input_values, but you provided ['file', 'audio', 'label'] | {
"login": "c1ekrt",
"id": 40287606,
"node_id": "MDQ6VXNlcjQwMjg3NjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/40287606?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/c1ekrt",
"html_url": "https://github.com/c1ekrt",
"followers_url": "https://api.github.com/users/c1ekrt/fo... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi ",
"Hey @c1ekrt - thanks for the issue report. Unfortunately, I'm not able to reproduce the error you're facing with the given command. I launched training using the arguments you provided, and training was executed successfully. See logs at [wandb](https://wandb.ai/sanchit-gandhi/huggingface/... | 1,692 | 1,701 | 1,693 | NONE | null | ### System Info
- `transformers` version: 4.33.0.dev0
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25748/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25748/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25747 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25747/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25747/comments | https://api.github.com/repos/huggingface/transformers/issues/25747/events | https://github.com/huggingface/transformers/issues/25747 | 1,866,243,699 | I_kwDOCUB6oc5vPJ5z | 25,747 | Unnessasry library imports? | {
"login": "sweetcocoa",
"id": 12545380,
"node_id": "MDQ6VXNlcjEyNTQ1Mzgw",
"avatar_url": "https://avatars.githubusercontent.com/u/12545380?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sweetcocoa",
"html_url": "https://github.com/sweetcocoa",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi. I understand the situation you described. Using string to compare against isn't a super good way in general (as we don't know if there are some exceptional cases), but this approach does avoid significant overhead of loading several frameworks.\r\n\r\nWDYT, @amyeroberts @ArthurZucker ?",
"We can't allow this... | 1,692 | 1,693 | 1,693 | CONTRIBUTOR | null | ### System Info
I don't think it has anything to do with version or running environment. But if needed, I will add example system environments.
### Who can help?
@Narsil @sgugger
It's hard to choose who is relevant, but I tag the people who seems most likely to be relevant.
### Information
- [X] The ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25747/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25747/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25746 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25746/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25746/comments | https://api.github.com/repos/huggingface/transformers/issues/25746/events | https://github.com/huggingface/transformers/issues/25746 | 1,866,240,791 | I_kwDOCUB6oc5vPJMX | 25,746 | working with huggingface Llama 2 13b chat hf model_kwargs value error | {
"login": "Mrjaggu",
"id": 40687103,
"node_id": "MDQ6VXNlcjQwNjg3MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/40687103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mrjaggu",
"html_url": "https://github.com/Mrjaggu",
"followers_url": "https://api.github.com/users/Mrjagg... | [] | closed | false | null | [] | [
"Thanks for reporting but you are not giving us the full script. The traceback shows that the errors appears at: \r\n```python \r\ngenerate_text(\"Explain encoder decoder model\")\r\n```\r\nwhich I don't have access to. \r\nThe traceback seems a bit strange, but anyway. I think that some of the generation kwargs we... | 1,692 | 1,697 | 1,697 | NONE | null | using Llama 2 13b chat hf model (https://huggingface.co/meta-llama/Llama-2-13b-chat-hf) with 4bit quantization (bitsandbytes)
getting an error in the following code.. it used to work earlier
```python
generate_text = transformers.pipeline(
model=model, tokenizer=tokenizer,
return_full_text=True, # langchain ex... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25746/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25746/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25745 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25745/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25745/comments | https://api.github.com/repos/huggingface/transformers/issues/25745/events | https://github.com/huggingface/transformers/pull/25745 | 1,866,240,035 | PR_kwDOCUB6oc5YwHWk | 25,745 | fixed typo in speech encoder decoder doc | {
"login": "asusevski",
"id": 77211520,
"node_id": "MDQ6VXNlcjc3MjExNTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/77211520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asusevski",
"html_url": "https://github.com/asusevski",
"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_25745). All of your documentation changes will be reflected on that endpoint."
] | 1,692 | 1,692 | 1,692 | 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/25745/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25745/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25745",
"html_url": "https://github.com/huggingface/transformers/pull/25745",
"diff_url": "https://github.com/huggingface/transformers/pull/25745.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25745.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25744 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25744/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25744/comments | https://api.github.com/repos/huggingface/transformers/issues/25744/events | https://github.com/huggingface/transformers/issues/25744 | 1,866,203,602 | I_kwDOCUB6oc5vPAHS | 25,744 | Support shorter input length for Whisper encoder | {
"login": "gau-nernst",
"id": 26946864,
"node_id": "MDQ6VXNlcjI2OTQ2ODY0",
"avatar_url": "https://avatars.githubusercontent.com/u/26946864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gau-nernst",
"html_url": "https://github.com/gau-nernst",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey @gau-nernst! I've tried this before and it works very well (even with the pre-trained model). Sharing a codesnippet that shows how I did this: https://github.com/sanchit-gandhi/codesnippets/blob/main/whisper-reduce-context.ipynb\r\n\r\nHowever, I'm not sure it's necessarily a feature that warrants adding to th... | 1,692 | 1,696 | 1,693 | CONTRIBUTOR | null | ### Feature request
Right now Whisper requires audio data to be padded or truncated to exactly 30s (i.e. mel-spec with shape `(B, 80, 3000)`). In the encoder, the only operation that prevents WhisperEncoder from working on shorter audio is positional embeddings.
https://github.com/huggingface/transformers/blob/41ae... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25744/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25744/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25743 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25743/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25743/comments | https://api.github.com/repos/huggingface/transformers/issues/25743/events | https://github.com/huggingface/transformers/issues/25743 | 1,866,086,825 | I_kwDOCUB6oc5vOjmp | 25,743 | GPT-J finetuning for Sequential Classification fails | {
"login": "jojivk73",
"id": 14943401,
"node_id": "MDQ6VXNlcjE0OTQzNDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/14943401?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jojivk73",
"html_url": "https://github.com/jojivk73",
"followers_url": "https://api.github.com/users/joj... | [] | 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": "... | [
"AH yes, this is known, one of our CI caught this! \r\nI'll open a PR !",
"Sorry got caught up in a lot of things! TF Is a pain to fix 😅 ",
"cc @Rocketknight1 will probably take you a lot less time than me if you have time to tkae #25751 over! (Have not really seen any complaints so very low priority) ",
"Ad... | 1,692 | 1,698 | 1,698 | NONE | null | ### System Info
Framework : HF+ TF
Device : CPU Sapphire Rapids
Issue : GPt-J crashes in HF transformer when run in graph mode.Eager mode runs fine.
Any fix/resolution/workaround appreciated.
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25743/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25743/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25742 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25742/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25742/comments | https://api.github.com/repos/huggingface/transformers/issues/25742/events | https://github.com/huggingface/transformers/issues/25742 | 1,865,786,537 | I_kwDOCUB6oc5vNaSp | 25,742 | Code Llama not initializing all layers with AutoModelForCausalLM.from_pretrained | {
"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 | [] | [
"Compatible PR: https://github.com/huggingface/transformers.git@refs/pull/25740",
"You were probably not using the latest version transformers. The `inv_freq` is not persistent anymore. Also not a problem if it is re-initialized! "
] | 1,692 | 1,692 | 1,692 | COLLABORATOR | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.14.0-284.25.1.el9_2.x86_64-x86_64-with-glibc2.34
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: 0.21.0
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): 2.1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25742/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25742/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25741 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25741/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25741/comments | https://api.github.com/repos/huggingface/transformers/issues/25741/events | https://github.com/huggingface/transformers/pull/25741 | 1,865,736,974 | PR_kwDOCUB6oc5YuaZQ | 25,741 | MaskFormer,Mask2former - reduce memory load | {
"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._",
"@ydshieh, I ran the following to check the times. The einsum operation is quicker, but on the same order of magnitude as this and they scale the same way. This I expected as both will still need to reduce over the channel dimensions ... | 1,692 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
#25297 resolved an error that occurred when trying to trace MaskFormer-like models. The solution was to remove einsum operations. However, the replacements were very memory intensive: a large matrix was created and then summed over.
This PR replaces this logic by creating the result array... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25741/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25741/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25741",
"html_url": "https://github.com/huggingface/transformers/pull/25741",
"diff_url": "https://github.com/huggingface/transformers/pull/25741.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25741.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25740 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25740/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25740/comments | https://api.github.com/repos/huggingface/transformers/issues/25740/events | https://github.com/huggingface/transformers/pull/25740 | 1,865,609,379 | PR_kwDOCUB6oc5Yt-gs | 25,740 | [`CodeLlama`] Add support for `CodeLlama` | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,692 | 1,695 | 1,692 | COLLABORATOR | null | # What does this PR do?
Adds support for LlamaCode | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25740/reactions",
"total_count": 24,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 14,
"rocket": 10,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25740/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25740",
"html_url": "https://github.com/huggingface/transformers/pull/25740",
"diff_url": "https://github.com/huggingface/transformers/pull/25740.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25740.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25739 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25739/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25739/comments | https://api.github.com/repos/huggingface/transformers/issues/25739/events | https://github.com/huggingface/transformers/issues/25739 | 1,865,596,261 | I_kwDOCUB6oc5vMr1l | 25,739 | Problem initializing Deepspeed with Trainer | {
"login": "lhallee",
"id": 72926928,
"node_id": "MDQ6VXNlcjcyOTI2OTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/72926928?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhallee",
"html_url": "https://github.com/lhallee",
"followers_url": "https://api.github.com/users/lhalle... | [] | closed | false | null | [] | [
"Hey! Given the error, pretty sure you can just initialize the `TrainingArguments` with:\r\n```python \r\nTrainingArguments(dict(num_train_epochs=num_epochs,\r\n evaluation_strategy='steps' if val_set_size > 0 else 'no',\r\n save_strategy='steps',\r\n eval_steps=eval_steps if val_set_size > 0 e... | 1,692 | 1,702 | 1,697 | NONE | null | ### System Info
```python
2023-08-24 17:23:17.908613: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
[2023-08-24 17:23:20,478] [INFO] [real_accelerator.py:158:get_accelerator] Setting ds_accelerator to cuda (auto detect)
WARNING:tensorflow:From /usr/local/lib/python3... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25739/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25739/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25738 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25738/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25738/comments | https://api.github.com/repos/huggingface/transformers/issues/25738/events | https://github.com/huggingface/transformers/pull/25738 | 1,865,541,835 | PR_kwDOCUB6oc5Ytv1o | 25,738 | [`PEFT`] Fix PeftConfig save pretrained when calling `add_adapter` | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,692 | 1,692 | 1,692 | CONTRIBUTOR | null | # What does this PR do?
Fixes a tiny issue when building a demo for @NielsRogge in https://github.com/huggingface/peft/issues/796
when attaching a fresh new adapter, we need to manually add the attribute `base_model_name_or_path` otherwise we can't load back the base model.
We did not flagged it before in the t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25738/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25738/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25738",
"html_url": "https://github.com/huggingface/transformers/pull/25738",
"diff_url": "https://github.com/huggingface/transformers/pull/25738.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25738.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25737 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25737/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25737/comments | https://api.github.com/repos/huggingface/transformers/issues/25737/events | https://github.com/huggingface/transformers/pull/25737 | 1,865,485,849 | PR_kwDOCUB6oc5Ytjsh | 25,737 | Add conversion support for CodeLlama 34B | {
"login": "AlpinDale",
"id": 52078762,
"node_id": "MDQ6VXNlcjUyMDc4NzYy",
"avatar_url": "https://avatars.githubusercontent.com/u/52078762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AlpinDale",
"html_url": "https://github.com/AlpinDale",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Doesn't seem to work for 7B and 13B variants.",
"Conversion doesn't account for the modified tokenizer and the new rope theta value. Closing the PR until someone else implements the new changes.",
"See #25740"
] | 1,692 | 1,692 | 1,692 | CONTRIBUTOR | null | There hasn't been any architectural changes, and I was able to convert the 34B by simply adding in the intermediate size for the model. I have [converted the 34B model](https://huggingface.co/alpindale/CodeLlama-34B-hf) and it appears to work well.
# What does this PR do?
This PR should make it possible to conver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25737/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/25737/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25737",
"html_url": "https://github.com/huggingface/transformers/pull/25737",
"diff_url": "https://github.com/huggingface/transformers/pull/25737.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25737.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25736 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25736/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25736/comments | https://api.github.com/repos/huggingface/transformers/issues/25736/events | https://github.com/huggingface/transformers/pull/25736 | 1,865,482,748 | PR_kwDOCUB6oc5YtjBR | 25,736 | [bug fix]tokenizer init via tokenization_utils_base.py in some case make "Do you accept" emerge even if trust_remote_code=True is setted | {
"login": "ShadowTeamCN",
"id": 11573254,
"node_id": "MDQ6VXNlcjExNTczMjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/11573254?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShadowTeamCN",
"html_url": "https://github.com/ShadowTeamCN",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25736). All of your documentation changes will be reflected on that endpoint.",
"> Looks good to me! Thanks. Would be great if you can add a test in `test_tokenization_auto.py` with a dummy repo!\r\n\r\nHappy to see that, I... | 1,692 | 1,708 | 1,708 | NONE | null | # What does this PR do?
This PR fix a bug for tokenizer from_pretrained method causing manual input issue in tokenizer initialization
if not fixed ,in some rare contidition tokenizer init via tokenization_utils_base would need typed "yes",which caused from inner call AutoConfig.from_pretrained() , but not transfer ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25736/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25736/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25736",
"html_url": "https://github.com/huggingface/transformers/pull/25736",
"diff_url": "https://github.com/huggingface/transformers/pull/25736.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25736.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25735 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25735/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25735/comments | https://api.github.com/repos/huggingface/transformers/issues/25735/events | https://github.com/huggingface/transformers/pull/25735 | 1,865,446,052 | PR_kwDOCUB6oc5YtbDE | 25,735 | fix encoder hook | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,692 | 1,692 | 1,692 | MEMBER | null | # What does this PR do ?
Fixes #23385. This PR makes sure that we indeed have a hook with `io_same_device=True` on the encoder which was not the case previously. If we don't have that, the generation will fail as the output of the encoder won't be on the same device as `unfinished_sequences = torch.ones(input_ids.sha... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25735/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/25735/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25735",
"html_url": "https://github.com/huggingface/transformers/pull/25735",
"diff_url": "https://github.com/huggingface/transformers/pull/25735.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25735.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25734 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25734/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25734/comments | https://api.github.com/repos/huggingface/transformers/issues/25734/events | https://github.com/huggingface/transformers/pull/25734 | 1,865,389,563 | PR_kwDOCUB6oc5YtOq6 | 25,734 | [idefics] idefics-9b test use 4bit quant | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25734). All of your documentation changes will be reflected on that endpoint."
] | 1,692 | 1,692 | 1,692 | CONTRIBUTOR | null | I didn't think that the nightly CI gpu is small when I initially wrote this test.
This PR updates the slow idefics-9b quality test to use 4bit quantization so it reduces memory needs from 20GB to 7GB. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25734/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25734/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25734",
"html_url": "https://github.com/huggingface/transformers/pull/25734",
"diff_url": "https://github.com/huggingface/transformers/pull/25734.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25734.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25733 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25733/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25733/comments | https://api.github.com/repos/huggingface/transformers/issues/25733/events | https://github.com/huggingface/transformers/pull/25733 | 1,865,291,164 | PR_kwDOCUB6oc5Ys5Gz | 25,733 | [`from_pretrained`] Fix failing PEFT tests | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Let's make them not slow otherwise we are shooting in the dark 😉 ",
"I agree it sounds important to have it, happy to add a PEFT circleCI job that runs `tests_torch` as well as PEFT tests, I can do that in a follow up PR, what do you think @sgugger @ydshieh (offline we have agreed to not do it, maybe we should... | 1,692 | 1,692 | 1,692 | CONTRIBUTOR | null | # What does this PR do?
Addresses: https://github.com/huggingface/transformers/pull/25726#issuecomment-1691783489
In fact it is important to overwrite `pretrained_model_name_or_path` with the `base_model_name_or_path` attribute of the adapter config otherwise `from_pretrained` will try to load the config file from ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25733/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25733/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25733",
"html_url": "https://github.com/huggingface/transformers/pull/25733",
"diff_url": "https://github.com/huggingface/transformers/pull/25733.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25733.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25732 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25732/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25732/comments | https://api.github.com/repos/huggingface/transformers/issues/25732/events | https://github.com/huggingface/transformers/pull/25732 | 1,865,185,088 | PR_kwDOCUB6oc5YshsE | 25,732 | Fix pad to multiple of | {
"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 test, if model is not tied, we should not update the embedding, but that is also `True` for all models ! ",
"Thank you @ArthurZucker for this! I am currently being bitten by #19418, so I look forward to this being mer... | 1,692 | 1,694 | 1,694 | COLLABORATOR | null | # What does this PR do?
Fixes #25729, `pad_to_multiple_of` did not overwrite the `model.config.vocab_size` properly. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25732/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/25732/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25732",
"html_url": "https://github.com/huggingface/transformers/pull/25732",
"diff_url": "https://github.com/huggingface/transformers/pull/25732.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25732.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25731 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25731/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25731/comments | https://api.github.com/repos/huggingface/transformers/issues/25731/events | https://github.com/huggingface/transformers/issues/25731 | 1,865,176,289 | I_kwDOCUB6oc5vLFTh | 25,731 | DetrImageProcessor.normalize_annotation() got an unexpected keyword argument 'input_data_format' | {
"login": "r-remus",
"id": 6740454,
"node_id": "MDQ6VXNlcjY3NDA0NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6740454?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/r-remus",
"html_url": "https://github.com/r-remus",
"followers_url": "https://api.github.com/users/r-remus/... | [] | closed | false | null | [] | [
"Are you using main? This is a duplicate of #25666 and should have been fixed by #25643",
"@r-remus The fix has now been included as part of a [patch release](https://github.com/huggingface/transformers/releases/tag/v4.32.1) and can be directly installed from pypi with `pip install transformers`",
"Sorry for ge... | 1,692 | 1,697 | 1,697 | NONE | null | ### System Info
- `transformers` version: 4.32.0
- Platform: Linux-5.15.0-79-generic-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25731/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25731/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25730 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25730/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25730/comments | https://api.github.com/repos/huggingface/transformers/issues/25730/events | https://github.com/huggingface/transformers/issues/25730 | 1,865,154,045 | I_kwDOCUB6oc5vK_39 | 25,730 | host memory still occupied after huggingface model deleted | {
"login": "linlifan",
"id": 89007109,
"node_id": "MDQ6VXNlcjg5MDA3MTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/89007109?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/linlifan",
"html_url": "https://github.com/linlifan",
"followers_url": "https://api.github.com/users/lin... | [] | closed | false | null | [] | [
"Hey! Would you mind asking this question on [the forum](https://discuss.huggingface.co/)? ",
"> Hey! Would you mind asking this question on [the forum](https://discuss.huggingface.co/)?\r\n\r\nthank you @ArthurZucker . I move the question to the forum. "
] | 1,692 | 1,692 | 1,692 | NONE | null | ### System Info
mainline
### Who can help?
@sgugger
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25730/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25730/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25729 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25729/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25729/comments | https://api.github.com/repos/huggingface/transformers/issues/25729/events | https://github.com/huggingface/transformers/issues/25729 | 1,865,131,860 | I_kwDOCUB6oc5vK6dU | 25,729 | Error with resize_token_embeddings and LLama model | {
"login": "lccnl",
"id": 90759019,
"node_id": "MDQ6VXNlcjkwNzU5MDE5",
"avatar_url": "https://avatars.githubusercontent.com/u/90759019?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lccnl",
"html_url": "https://github.com/lccnl",
"followers_url": "https://api.github.com/users/lccnl/follow... | [] | closed | false | null | [] | [
"cc @SunMarc Maybe ?",
"Non that's actually me, I'll open a PR to fix this"
] | 1,692 | 1,694 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.32.0
- Platform: Linux-5.15.0-1038-gcp-x86_64-with-glibc2.31
- Python version: 3.10.7
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
### Who ca... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25729/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25729/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25728 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25728/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25728/comments | https://api.github.com/repos/huggingface/transformers/issues/25728/events | https://github.com/huggingface/transformers/pull/25728 | 1,865,123,504 | PR_kwDOCUB6oc5YsUMK | 25,728 | Use Conv1d for TDNN | {
"login": "gau-nernst",
"id": 26946864,
"node_id": "MDQ6VXNlcjI2OTQ2ODY0",
"avatar_url": "https://avatars.githubusercontent.com/u/26946864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gau-nernst",
"html_url": "https://github.com/gau-nernst",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi ",
"On RTX 3090, 5s input\r\n\r\ndtype | batch size | type | de139702a | 4ad9e29a5\r\n--|--|--|--|--\r\ntorch.float32 | 1 | forward | 61.8698 it/s | 65.4886 it/s\r\ntorch.float32 | 1 | forward+backward | 15.7255 it/s | 15.3732 it/s\r\ntorch.float32 | 8 | forward | 12.1235 it/s | 13.3573 it/s\r... | 1,692 | 1,706 | 1,706 | CONTRIBUTOR | null | # What does this PR do?
Partially fixes #25476
<!--
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/25728/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25728/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25728",
"html_url": "https://github.com/huggingface/transformers/pull/25728",
"diff_url": "https://github.com/huggingface/transformers/pull/25728.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25728.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25727 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25727/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25727/comments | https://api.github.com/repos/huggingface/transformers/issues/25727/events | https://github.com/huggingface/transformers/pull/25727 | 1,865,098,122 | PR_kwDOCUB6oc5YsOrO | 25,727 | [ASR Pipe Test] Fix CTC timestamps error message | {
"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,692 | 1,692 | 1,692 | CONTRIBUTOR | null | # What does this PR do?
The test [`test_chunking_and_timestamps`](https://github.com/huggingface/transformers/blob/70b49f023c9f6579c516671604468a491227b4da/tests/pipelines/test_pipelines_automatic_speech_recognition.py#L1153) failed on the nightly run when checking that the argument `return_timestamps=True` gave the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25727/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25727/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25727",
"html_url": "https://github.com/huggingface/transformers/pull/25727",
"diff_url": "https://github.com/huggingface/transformers/pull/25727.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25727.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25726 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25726/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25726/comments | https://api.github.com/repos/huggingface/transformers/issues/25726/events | https://github.com/huggingface/transformers/pull/25726 | 1,865,008,899 | PR_kwDOCUB6oc5Yr7Pl | 25,726 | [`from_pretrained`] Simpler code for peft | {
"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._",
"Thanks! Can confirm that the tests are now green! @younesbelkada some are really fast do you not want to remove the `slow` mention for them? ",
"@ArthurZucker sorry the tests are still failing, probably something wrong happened dur... | 1,692 | 1,692 | 1,692 | COLLABORATOR | null | # What does this PR do?
Simplifies the logic when loading a PEFT model: the `_adapter_model_path` is used instead of `maybe_has_adapter_model_path` and `has_adapter_config` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25726/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25726/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25726",
"html_url": "https://github.com/huggingface/transformers/pull/25726",
"diff_url": "https://github.com/huggingface/transformers/pull/25726.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25726.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.