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/22292 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22292/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22292/comments | https://api.github.com/repos/huggingface/transformers/issues/22292/events | https://github.com/huggingface/transformers/pull/22292 | 1,634,068,024 | PR_kwDOCUB6oc5Mjejj | 22,292 | fix more doctests | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
Add missing `python` in docstring then add more some files to `documentation_tests.txt` - following #22268 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22292/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22292/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22292",
"html_url": "https://github.com/huggingface/transformers/pull/22292",
"diff_url": "https://github.com/huggingface/transformers/pull/22292.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22292.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22291 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22291/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22291/comments | https://api.github.com/repos/huggingface/transformers/issues/22291/events | https://github.com/huggingface/transformers/pull/22291 | 1,633,966,979 | PR_kwDOCUB6oc5MjIlB | 22,291 | Time to Say Goodbye, torch 1.7 and 1.8 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"Thank you @sgugger . I will try to make a clean breakup",
"_The documentation is not available anymore as the PR was closed or merged._",
"Hope I don't miss anything ",
"ok, the deepspeed CI is running pt-1.8 - how do we solve that then?\r\n\r\nI have passed this change to the Deepspeed team let's see what t... | 1,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
We have been together for more than 2 years ❤️
(see this [discussion](https://github.com/huggingface/transformers/issues/18817)) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22291/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22291/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22291",
"html_url": "https://github.com/huggingface/transformers/pull/22291",
"diff_url": "https://github.com/huggingface/transformers/pull/22291.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22291.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22290 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22290/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22290/comments | https://api.github.com/repos/huggingface/transformers/issues/22290/events | https://github.com/huggingface/transformers/issues/22290 | 1,633,619,328 | I_kwDOCUB6oc5hXw2A | 22,290 | Native support of ChatGLM-6b | {
"login": "xianbaoqian",
"id": 38108242,
"node_id": "MDQ6VXNlcjM4MTA4MjQy",
"avatar_url": "https://avatars.githubusercontent.com/u/38108242?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xianbaoqian",
"html_url": "https://github.com/xianbaoqian",
"followers_url": "https://api.github.com/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg... | open | false | null | [] | [
"Transformers does have native support for it even if it's not in the lib itself ;-) I see this as a chance to better support models with code on the Hub since that is the way the author chose, and since it will be more and more the norm as we cannot have the library grow exponentially.\r\n\r\nOf course, if the aut... | 1,679 | 1,679 | null | NONE | null | ### Feature request
Support https://huggingface.co/THUDM/chatglm-6b (and its int4 variants) in the Transformers library instead of relying on remote code execution.
### Motivation
This model performs really well (despite being a small model compared to large ones) and got a LOT of attention recently. It might be... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22290/reactions",
"total_count": 8,
"+1": 8,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22290/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22289 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22289/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22289/comments | https://api.github.com/repos/huggingface/transformers/issues/22289/events | https://github.com/huggingface/transformers/pull/22289 | 1,633,591,008 | PR_kwDOCUB6oc5Mh2Ny | 22,289 | Add Beit3 model | {
"login": "raghavanone",
"id": 115454562,
"node_id": "U_kgDOBuGyYg",
"avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raghavanone",
"html_url": "https://github.com/raghavanone",
"followers_url": "https://api.github.com/users/... | [] | open | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22289). All of your documentation changes will be reflected on that endpoint.",
"I don't know much about the details of the transformers library but isn't it confusing that it refers to the model as microsoft/beit-base-patc... | 1,679 | 1,708 | null | CONTRIBUTOR | null | Fixes #22178 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22289/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 5,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22289/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22289",
"html_url": "https://github.com/huggingface/transformers/pull/22289",
"diff_url": "https://github.com/huggingface/transformers/pull/22289.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22289.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22288 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22288/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22288/comments | https://api.github.com/repos/huggingface/transformers/issues/22288/events | https://github.com/huggingface/transformers/pull/22288 | 1,633,405,451 | PR_kwDOCUB6oc5MhONF | 22,288 | add low_cpu_mem_usage option in run_clm.py example which will benefit… | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
"@sgugger please help review",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | … LLM loading
add low_cpu_mem_usage option in run clm example, set the option True will help reduce peak memory and loading time in LLM finetune and inference.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22288/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22288/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22288",
"html_url": "https://github.com/huggingface/transformers/pull/22288",
"diff_url": "https://github.com/huggingface/transformers/pull/22288.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22288.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22287 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22287/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22287/comments | https://api.github.com/repos/huggingface/transformers/issues/22287/events | https://github.com/huggingface/transformers/issues/22287 | 1,633,314,014 | I_kwDOCUB6oc5hWmTe | 22,287 | the line 32 in convert_llama_weights_to_hf is LlamaTokenizer not LlamaForTokenizer | {
"login": "zhl5842",
"id": 3888752,
"node_id": "MDQ6VXNlcjM4ODg3NTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3888752?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhl5842",
"html_url": "https://github.com/zhl5842",
"followers_url": "https://api.github.com/users/zhl5842/... | [] | closed | false | null | [] | [
"Hi @zhl5842, thanks for raising this! Would you like to open a PR to fix this doc example? ",
"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,679 | 1,682 | 1,682 | NONE | null | https://github.com/huggingface/transformers/blob/c07a02a4b7892edfee22cbe57d3cdd9e10ae7a4d/src/transformers/models/llama/convert_llama_weights_to_hf.py#L37
from transformers import LlamaForCausalLM, LlamaForTokenizer
to
from transformers import LlamaForCausalLM, LlamaTokenizer
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22287/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22287/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22286 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22286/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22286/comments | https://api.github.com/repos/huggingface/transformers/issues/22286/events | https://github.com/huggingface/transformers/issues/22286 | 1,633,313,517 | I_kwDOCUB6oc5hWmLt | 22,286 | Tokenizer class LLaMATokenizer does not exist or is not currently imported. | {
"login": "ans92",
"id": 51845963,
"node_id": "MDQ6VXNlcjUxODQ1OTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/51845963?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ans92",
"html_url": "https://github.com/ans92",
"followers_url": "https://api.github.com/users/ans92/follow... | [] | closed | false | null | [] | [
"I have found the following answer that solved my issue:\r\nhttps://github.com/huggingface/transformers/issues/22222#issuecomment-1477171703"
] | 1,679 | 1,679 | 1,679 | NONE | null | Hi, I want to run the LLaMA model. But I am facing issues on AutoTokenizer. I am running the following command.
```
tokenizer = AutoTokenizer.from_pretrained(Path(f"/root/text-generation-webui/models/{shared.model_name}/"))
```
But it is giving me the following error:
```
ValueError: Tokenizer class LLaMATokenize... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22286/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22286/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22285 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22285/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22285/comments | https://api.github.com/repos/huggingface/transformers/issues/22285/events | https://github.com/huggingface/transformers/pull/22285 | 1,633,270,723 | PR_kwDOCUB6oc5MgxRZ | 22,285 | Guard imports of PreTrainedTokenizerFast on is_tokenizers_available | {
"login": "hvaara",
"id": 1535968,
"node_id": "MDQ6VXNlcjE1MzU5Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1535968?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hvaara",
"html_url": "https://github.com/hvaara",
"followers_url": "https://api.github.com/users/hvaara/foll... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @hvaara, thanks for creating this PR!\r\n\r\nAm I correct in saying this PR is to address an error when running: `from transformers import AutoTokenizer` if `tokenizers` isn't installed? \r\n\r\nI can see there's a similar import ... | 1,679 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
This PR guards the imports of `PreTrainedTokenizerFast` which depends on [huggingface/tokenizers](https://github.com/huggingface/tokenizers). This class could be imported when the `tokenizers` library isn't installed in which case an exception is raised.
<!--
Congratulations! You've made ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22285/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22285/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22285",
"html_url": "https://github.com/huggingface/transformers/pull/22285",
"diff_url": "https://github.com/huggingface/transformers/pull/22285.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22285.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22284 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22284/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22284/comments | https://api.github.com/repos/huggingface/transformers/issues/22284/events | https://github.com/huggingface/transformers/issues/22284 | 1,633,184,799 | I_kwDOCUB6oc5hWGwf | 22,284 | RuntimeError: "topk_cpu" not implemented for 'Half' | {
"login": "MarvinLong",
"id": 15308801,
"node_id": "MDQ6VXNlcjE1MzA4ODAx",
"avatar_url": "https://avatars.githubusercontent.com/u/15308801?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MarvinLong",
"html_url": "https://github.com/MarvinLong",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Hello @MarvinLong \r\nThe reason behind that issue is that you forgot to pass `input_ids` on the same device as the model (here GPU)\r\nThe script:\r\n```python\r\nfrom transformers import AutoModelForCausalLM, AutoTokenizer\r\n\r\nmodel = AutoModelForCausalLM.from_pretrained(model_path, d... | 1,679 | 1,679 | 1,679 | NONE | null | ### System Info
transformers 4.27.1
WSL2 with Ubuntu 20.04
GPU: 4090
CUDA VERSION: 11.8
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [x] My own task or dat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22284/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22284/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22283 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22283/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22283/comments | https://api.github.com/repos/huggingface/transformers/issues/22283/events | https://github.com/huggingface/transformers/issues/22283 | 1,633,175,922 | I_kwDOCUB6oc5hWEly | 22,283 | Is biogpt's tokenizer bugged? | {
"login": "fedshyvana",
"id": 39780468,
"node_id": "MDQ6VXNlcjM5NzgwNDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/39780468?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fedshyvana",
"html_url": "https://github.com/fedshyvana",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@fedshyvana I believe this is how biogpt is trained on fairseq . For more information , you check into official repo of BioGpt.",
"@upjabir thanks for pointing it out! I am looking at https://github.com/microsoft/BioGPT/blob/main/src/language_model_prompt_dataset.py which I believe is the code you're referring ... | 1,679 | 1,679 | 1,679 | NONE | null | ### System Info
- `transformers` version: 4.27.1
- Platform: Linux-5.15.0-67-generic-x86_64-with-glibc2.17
- Python version: 3.8.13
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.1 (True)
### Who can help?
@ArthurZucker and @younesbelkada could you please confirm this behavior is intended... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22283/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22283/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22282 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22282/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22282/comments | https://api.github.com/repos/huggingface/transformers/issues/22282/events | https://github.com/huggingface/transformers/issues/22282 | 1,632,944,331 | I_kwDOCUB6oc5hVMDL | 22,282 | Getting exception to trace t5 model in torchScript | {
"login": "dhrubo-os",
"id": 109556906,
"node_id": "U_kgDOBoe0qg",
"avatar_url": "https://avatars.githubusercontent.com/u/109556906?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dhrubo-os",
"html_url": "https://github.com/dhrubo-os",
"followers_url": "https://api.github.com/users/dhrubo... | [] | closed | false | null | [] | [
"Hey! As the error mentions, you have to provided `decoder_input_ids` . \r\nThe following works:\r\n```python \r\ninput_tuple = (tokenized_dict['input_ids'], tokenized_dict['attention_mask'], torch.Tensor([[2]]).long())\r\n\r\ntraced_model = torch.jit.trace(model, input_tuple)\r\ntorch.jit.save(traced_model, \"flan... | 1,679 | 1,704 | 1,679 | NONE | null | ### System Info
```
import torch
from transformers import T5Tokenizer, T5ForConditionalGeneration
tokenizer = T5Tokenizer.from_pretrained("google/flan-t5-large", torchscript=True)
model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-large", torchscript=True)
tokenized_dict = tokenizer(
["... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22282/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22282/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22281 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22281/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22281/comments | https://api.github.com/repos/huggingface/transformers/issues/22281/events | https://github.com/huggingface/transformers/pull/22281 | 1,632,692,121 | PR_kwDOCUB6oc5Me0sX | 22,281 | Fix various imports | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
While building the v2 of the test fetcher, I discovered (I mean the util discovered) that some imports in the source code are wrong. This PR fixes all of them. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22281/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22281/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22281",
"html_url": "https://github.com/huggingface/transformers/pull/22281",
"diff_url": "https://github.com/huggingface/transformers/pull/22281.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22281.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22280 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22280/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22280/comments | https://api.github.com/repos/huggingface/transformers/issues/22280/events | https://github.com/huggingface/transformers/pull/22280 | 1,632,559,218 | PR_kwDOCUB6oc5MeYFM | 22,280 | fix: Text splitting in the BasicTokenizer | {
"login": "connor-henderson",
"id": 78612354,
"node_id": "MDQ6VXNlcjc4NjEyMzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/78612354?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/connor-henderson",
"html_url": "https://github.com/connor-henderson",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I think this was still a fix we were interesting in having for users who don't have `ftfy` installed.",
"> I think this was still a fix we were interesting in having for users who don't have `ftfy` installed.\r\n\r\nOh ok reopening... | 1,679 | 1,689 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
Note: The tests are failing because of repo-consistency, but I intentionally haven't made the change across the repo until we confirm what change we want to make. Will remove [Don't merge] tag once done.
This fixes an issue related to the BasicTokenizer.
Initially looked to fix #22166 b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22280/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22280/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22280",
"html_url": "https://github.com/huggingface/transformers/pull/22280",
"diff_url": "https://github.com/huggingface/transformers/pull/22280.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22280.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22279 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22279/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22279/comments | https://api.github.com/repos/huggingface/transformers/issues/22279/events | https://github.com/huggingface/transformers/pull/22279 | 1,632,520,272 | PR_kwDOCUB6oc5MePws | 22,279 | Move torch.compile() wrapping after DDP/FSDP wrapping to ensure correct graph breaks during training | {
"login": "ani300",
"id": 919977,
"node_id": "MDQ6VXNlcjkxOTk3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/919977?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ani300",
"html_url": "https://github.com/ani300",
"followers_url": "https://api.github.com/users/ani300/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I don't have permissions to merge the PR, so I don't know what the process looks like from here",
"I was just waiting for the tests to complete ;-)"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null |
# What does this PR do?
This is a simple PR that moves the wrapper for torch.compile() after those for DDP and FSDP, given that the order is important for those two pieces to work together during training.
Fixes #22215
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22279/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22279/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22279",
"html_url": "https://github.com/huggingface/transformers/pull/22279",
"diff_url": "https://github.com/huggingface/transformers/pull/22279.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22279.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22278 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22278/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22278/comments | https://api.github.com/repos/huggingface/transformers/issues/22278/events | https://github.com/huggingface/transformers/pull/22278 | 1,632,410,463 | PR_kwDOCUB6oc5Md4C- | 22,278 | Example of pad_to_multiple_of for padding and truncation guide & docstring update | {
"login": "MKhalusova",
"id": 1065417,
"node_id": "MDQ6VXNlcjEwNjU0MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MKhalusova",
"html_url": "https://github.com/MKhalusova",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for iterating!"
] | 1,679 | 1,699 | 1,679 | CONTRIBUTOR | null | This PR adds a minor update to the docs as previously it was not clear that `pad_to_multiple_of` has to be used with `padding=True`.
Based on https://huggingface.slack.com/archives/C027NLU6CE9/p1679325764920509
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22278/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22278/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22278",
"html_url": "https://github.com/huggingface/transformers/pull/22278",
"diff_url": "https://github.com/huggingface/transformers/pull/22278.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22278.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22277 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22277/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22277/comments | https://api.github.com/repos/huggingface/transformers/issues/22277/events | https://github.com/huggingface/transformers/issues/22277 | 1,632,410,242 | I_kwDOCUB6oc5hTJqC | 22,277 | deploy whisper by passing last transcribed sentences to decoder's past_key values | {
"login": "hannan72",
"id": 8229163,
"node_id": "MDQ6VXNlcjgyMjkxNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8229163?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hannan72",
"html_url": "https://github.com/hannan72",
"followers_url": "https://api.github.com/users/hanna... | [] | closed | false | null | [] | [
"Hi @hannan72, thanks for raising an issue!\r\n\r\nQuestions like this should be asked in the [forum](https://discuss.huggingface.co/) as we try to reserve github issues for bugs and specific feature requests. ",
"> Hi @hannan72, thanks for raising an issue!\r\n> \r\n> Questions like this should be asked in the [... | 1,679 | 1,683 | 1,683 | NONE | null | I'm working on using whisper model for real time live transcription. I have to deploy audio chucks on model to have a sense of real time transcription, i.e. every 1 second I deploy audio of last 5 seconds.
For such a task, I have to merge transcribed text since the audio has 4 seconds of overlapping with previous samp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22277/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22277/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22276 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22276/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22276/comments | https://api.github.com/repos/huggingface/transformers/issues/22276/events | https://github.com/huggingface/transformers/issues/22276 | 1,632,404,504 | I_kwDOCUB6oc5hTIQY | 22,276 | run_summarization requires a dataset_name or train_file or validation_file in all cases | {
"login": "coreyfournier",
"id": 1676610,
"node_id": "MDQ6VXNlcjE2NzY2MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1676610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/coreyfournier",
"html_url": "https://github.com/coreyfournier",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Indeed. Would you like to open a PR to fix this?"
] | 1,679 | 1,679 | 1,679 | NONE | null | ### System Info
In the latest version of run_summarization on line 264 it requires dataset_name or train_file or validation_file. I was trying to perform a "do_predict" with the parameter "test_file" set, but the validation will not let me proceed. Looking at the code, do_predict only uses the test dataset anyway, so ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22276/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22276/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22275 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22275/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22275/comments | https://api.github.com/repos/huggingface/transformers/issues/22275/events | https://github.com/huggingface/transformers/pull/22275 | 1,632,356,205 | PR_kwDOCUB6oc5MdsYz | 22,275 | [New GitHub Action Job] Automatically create/update tiny models | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Just a minor update, including the revision number. Will merge once the CI being green. Thank you for the reviews 🚀 "
] | 1,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
[New GitHub Action Job] Automatically create/update tiny models
## Goal
**A scheduled job that create/update tiny models periodically**
- so **we will have tiny versions for newly added models in `transformers` as soon as possible**
### Some properties
- For a new model type: T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22275/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22275/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22275",
"html_url": "https://github.com/huggingface/transformers/pull/22275",
"diff_url": "https://github.com/huggingface/transformers/pull/22275.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22275.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22274 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22274/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22274/comments | https://api.github.com/repos/huggingface/transformers/issues/22274/events | https://github.com/huggingface/transformers/pull/22274 | 1,632,318,760 | PR_kwDOCUB6oc5MdkNY | 22,274 | Fix doc links | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
Resolves issue with some dead links in the documentation resulting from relative paths.
Equivalent links were searched for in the translated docs but were not found. Hence only changes in files in `docs/source/en`
Fixes # 21596
## Before submitting
- [x] This PR fixes a typo or imp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22274/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22274/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22274",
"html_url": "https://github.com/huggingface/transformers/pull/22274",
"diff_url": "https://github.com/huggingface/transformers/pull/22274.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22274.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22273 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22273/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22273/comments | https://api.github.com/repos/huggingface/transformers/issues/22273/events | https://github.com/huggingface/transformers/pull/22273 | 1,632,290,110 | PR_kwDOCUB6oc5Mdd5r | 22,273 | Proper map location for optimizer load | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
I have been thinking more about #22159 and now remember why it might be better to load the optimizer state on the device directly: in multi-GPU training, the optimizer state is load in each process, so that would load it num_processes times on the CPU and risk a CPU RAM OOM.
Therefore, thi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22273/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22273/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22273",
"html_url": "https://github.com/huggingface/transformers/pull/22273",
"diff_url": "https://github.com/huggingface/transformers/pull/22273.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22273.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22272 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22272/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22272/comments | https://api.github.com/repos/huggingface/transformers/issues/22272/events | https://github.com/huggingface/transformers/pull/22272 | 1,632,285,094 | PR_kwDOCUB6oc5MdczG | 22,272 | Fixed gradient checkpoint bug for TimeSeriesTransformer | {
"login": "mollerup23",
"id": 69806327,
"node_id": "MDQ6VXNlcjY5ODA2MzI3",
"avatar_url": "https://avatars.githubusercontent.com/u/69806327?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mollerup23",
"html_url": "https://github.com/mollerup23",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Strange, I will see if I can install Python for my environment then. Thank you for all your help, and thanks for running make for me! "
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Moved gradient checkpointing clause to above the decoder layer implementation. This should fix the bug this issue addresses.
Fixes #21737
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22272/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22272/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22272",
"html_url": "https://github.com/huggingface/transformers/pull/22272",
"diff_url": "https://github.com/huggingface/transformers/pull/22272.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22272.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22271 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22271/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22271/comments | https://api.github.com/repos/huggingface/transformers/issues/22271/events | https://github.com/huggingface/transformers/pull/22271 | 1,632,276,455 | PR_kwDOCUB6oc5Mda91 | 22,271 | Fix balanced and auto device_map | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
In #22095 some of the arguments passed to `infer_auto_device_map` were grouped in kwargs. The problem is that one of those (`max_memory`) is not updated anymore after being changed (when device_map is `"auto"`, `"balanced"` or `"balanced_low_0"`). This PR fixes that.
Note: this is a regres... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22271/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22271/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22271",
"html_url": "https://github.com/huggingface/transformers/pull/22271",
"diff_url": "https://github.com/huggingface/transformers/pull/22271.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22271.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22270 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22270/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22270/comments | https://api.github.com/repos/huggingface/transformers/issues/22270/events | https://github.com/huggingface/transformers/pull/22270 | 1,632,181,352 | PR_kwDOCUB6oc5MdGrP | 22,270 | Fix the gradient checkpointing bug of the llama model | {
"login": "yqy2001",
"id": 55196500,
"node_id": "MDQ6VXNlcjU1MTk2NTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/55196500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yqy2001",
"html_url": "https://github.com/yqy2001",
"followers_url": "https://api.github.com/users/yqy200... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
The gradient checkpoint of the LLaMA model does not work. This PR fixed it following the [GPT-2 model's gradient checkpointing implementation](https://github.com/huggingface/transformers/blob/cf0af9a31beb84e8feec77af51f72d063ba905aa/src/transformers/models/gpt2/modeling_gpt2.py#L482).
### ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22270/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/22270/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22270",
"html_url": "https://github.com/huggingface/transformers/pull/22270",
"diff_url": "https://github.com/huggingface/transformers/pull/22270.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22270.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22269 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22269/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22269/comments | https://api.github.com/repos/huggingface/transformers/issues/22269/events | https://github.com/huggingface/transformers/issues/22269 | 1,632,138,314 | I_kwDOCUB6oc5hSHRK | 22,269 | Batch elements interfere with each other with int8 | {
"login": "leonweber",
"id": 6436442,
"node_id": "MDQ6VXNlcjY0MzY0NDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/6436442?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leonweber",
"html_url": "https://github.com/leonweber",
"followers_url": "https://api.github.com/users/le... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"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... | 1,679 | 1,687 | 1,687 | NONE | null | ### System Info
- `transformers` version: [cf0af9a31beb84e8feec77af51f72d063ba905aa](https://github.com/huggingface/transformers/commit/cf0af9a31beb84e8feec77af51f72d063ba905aa)
- `bitsandbytes` version: 0.37.1
- Platform: Linux-5.4.0-139-generic-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22269/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22269/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22268 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22268/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22268/comments | https://api.github.com/repos/huggingface/transformers/issues/22268/events | https://github.com/huggingface/transformers/pull/22268 | 1,632,113,123 | PR_kwDOCUB6oc5Mc3yM | 22,268 | More doctests | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Currently 46 failed tests - error message to be sent to Slack is too long and failed the report sending.\r\nSo I remove them for the list to be tested. Let's deal with them and add them back step by step, @amyeroberts \r\n\r\nFor ref... | 1,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
Add all files (tokenization / image processor / feature extractor / processor) to doctests.
Currently the list is not sorted - it might be better to add a check to sort the list in order (in `utils/check_doctest_list.py`). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22268/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22268/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22268",
"html_url": "https://github.com/huggingface/transformers/pull/22268",
"diff_url": "https://github.com/huggingface/transformers/pull/22268.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22268.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22267 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22267/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22267/comments | https://api.github.com/repos/huggingface/transformers/issues/22267/events | https://github.com/huggingface/transformers/pull/22267 | 1,632,096,616 | PR_kwDOCUB6oc5Mc0OC | 22,267 | Fix error in mixed precision training of `TFCvtModel` | {
"login": "gcuder",
"id": 60609608,
"node_id": "MDQ6VXNlcjYwNjA5NjA4",
"avatar_url": "https://avatars.githubusercontent.com/u/60609608?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gcuder",
"html_url": "https://github.com/gcuder",
"followers_url": "https://api.github.com/users/gcuder/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the issue that the `TFCvtModel` cannot be trained with `keras.fit` using `mixed-precision`.
The issue was in this [line](https://github.com/huggingface/transformers/blob/c4bf6f38bda1de3798095515875a119298bf0611/src/transformers/models/cvt/modeling_tf_cvt.py#L96) when a random ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22267/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22267/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22267",
"html_url": "https://github.com/huggingface/transformers/pull/22267",
"diff_url": "https://github.com/huggingface/transformers/pull/22267.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22267.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22266 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22266/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22266/comments | https://api.github.com/repos/huggingface/transformers/issues/22266/events | https://github.com/huggingface/transformers/pull/22266 | 1,631,881,246 | PR_kwDOCUB6oc5McFzu | 22,266 | Update training_args.py -- a nightly install is not required anymore for torch.compile | {
"login": "pminervini",
"id": 227357,
"node_id": "MDQ6VXNlcjIyNzM1Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/227357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pminervini",
"html_url": "https://github.com/pminervini",
"followers_url": "https://api.github.com/users/p... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | A nightly install is not required anymore for `torch.compile`.
# 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 e... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22266/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22266/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22266",
"html_url": "https://github.com/huggingface/transformers/pull/22266",
"diff_url": "https://github.com/huggingface/transformers/pull/22266.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22266.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22265 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22265/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22265/comments | https://api.github.com/repos/huggingface/transformers/issues/22265/events | https://github.com/huggingface/transformers/pull/22265 | 1,631,859,860 | PR_kwDOCUB6oc5McBC0 | 22,265 | Enable traced model for text-generation task | {
"login": "jiqing-feng",
"id": 107918818,
"node_id": "U_kgDOBm614g",
"avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiqing-feng",
"html_url": "https://github.com/jiqing-feng",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger @gante",
"@gante Thanks for your attention. Would you please help me to merge it? Thanks! I think the demand for `jit trace` will grow, and I hope we can keep on working on it so it will be adapted to all models and all ta... | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | @gante Hi, Gante.
Refer to: https://github.com/huggingface/transformers/pull/22072
Thanks for your advice. This PR only changed the example, would you please help me to review it? Thanks! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22265/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22265/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22265",
"html_url": "https://github.com/huggingface/transformers/pull/22265",
"diff_url": "https://github.com/huggingface/transformers/pull/22265.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22265.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22264 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22264/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22264/comments | https://api.github.com/repos/huggingface/transformers/issues/22264/events | https://github.com/huggingface/transformers/pull/22264 | 1,631,812,796 | PR_kwDOCUB6oc5Mb20d | 22,264 | Adding Llama FastTokenizer support. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the ping. We'll need the actual fast tokenizer file to merge this though :sweat_smile: ",
"True, I uncovered more issues around multiple space handling, I'm nailing down on the pre_tokenizer combo for it.",
"More troub... | 1,679 | 1,680 | 1,680 | CONTRIBUTOR | null | - Requires https://github.com/huggingface/tokenizers/pull/1183 version
- Only support byte_fallback for llama, raise otherwise (safety net).
- Lots of questions are special tokens
How to test:
```python
#! pip install -e https://github.com/huggingface/tokenizers@byte_fallback#egg=tokenizers
from transformer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22264/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 4,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22264/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22264",
"html_url": "https://github.com/huggingface/transformers/pull/22264",
"diff_url": "https://github.com/huggingface/transformers/pull/22264.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22264.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22263 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22263/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22263/comments | https://api.github.com/repos/huggingface/transformers/issues/22263/events | https://github.com/huggingface/transformers/issues/22263 | 1,631,755,468 | I_kwDOCUB6oc5hQpzM | 22,263 | AdamW implementation | {
"login": "StrangeTcy",
"id": 2532099,
"node_id": "MDQ6VXNlcjI1MzIwOTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2532099?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StrangeTcy",
"html_url": "https://github.com/StrangeTcy",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Hi @StrangeTcy, thanks for raising this issue! \r\n\r\nPlease don't be worried :) The warning is there so that there isn't any unexpected changes for users when `AdamW` is eventually removed from the library and is part of the deprecation cycle. We advise that the torch implementation is used instead of the one in... | 1,679 | 1,679 | 1,679 | NONE | null | ### Feature request
I'm getting the warning from optimization (https://github.com/huggingface/transformers/blob/main/src/transformers/optimization.py, lines 391 and on):
```
"This implementation of AdamW is deprecated and will be removed in a future version. Use the PyTorch"
" implementation torch.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22263/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22263/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22262 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22262/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22262/comments | https://api.github.com/repos/huggingface/transformers/issues/22262/events | https://github.com/huggingface/transformers/pull/22262 | 1,631,623,035 | PR_kwDOCUB6oc5MbOIs | 22,262 | [WIP] Add H3 | {
"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_22262). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please... | 1,679 | 1,704 | 1,704 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the H3 model by Hazy Research (Stanford University).
I've removed the Flash Attention dependency, and main author @DanFu09 has removed the einops dependency (🙏 ).
I've kept an optional soft dependency on `pykeops`, to allow for speedups. The model runs fine if the user doe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22262/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/22262/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22262",
"html_url": "https://github.com/huggingface/transformers/pull/22262",
"diff_url": "https://github.com/huggingface/transformers/pull/22262.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22262.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22261 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22261/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22261/comments | https://api.github.com/repos/huggingface/transformers/issues/22261/events | https://github.com/huggingface/transformers/issues/22261 | 1,631,565,391 | I_kwDOCUB6oc5hP7ZP | 22,261 | H | {
"login": "lil-fahad",
"id": 73719703,
"node_id": "MDQ6VXNlcjczNzE5NzAz",
"avatar_url": "https://avatars.githubusercontent.com/u/73719703?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lil-fahad",
"html_url": "https://github.com/lil-fahad",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @lil-fahad, thanks for raising an issue. \r\n\r\nSo that we can best help you, could you fill in the issue template including information such as the environment (run `transformers-cli env` in the terminal), the issue being encountered, the expected behaviour and a full traceback please? ",
"This issue has be... | 1,679 | 1,682 | 1,682 | NONE | null | import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("icyGS/StockPredictor")
model = AutoModelForSequenceClassification.from_pretrained("icyGS/StockPredictor") | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22261/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22261/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22260 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22260/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22260/comments | https://api.github.com/repos/huggingface/transformers/issues/22260/events | https://github.com/huggingface/transformers/issues/22260 | 1,631,359,151 | I_kwDOCUB6oc5hPJCv | 22,260 | How to load local code for model with `trust_remote_code=True`? | {
"login": "LZY-the-boys",
"id": 72137647,
"node_id": "MDQ6VXNlcjcyMTM3NjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/72137647?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LZY-the-boys",
"html_url": "https://github.com/LZY-the-boys",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi @LZY-the-boys, thanks for raising this issue, \r\n\r\nIf I've understood correctly, the question being asked is how to load in a customized version of the model on the ['THUDM/glm-large-chinese' repo](https://huggingface.co/THUDM/glm-large-chinese). \r\n\r\nWhen running: \r\n```python\r\nmodel = AutoModelForSeq... | 1,679 | 1,679 | 1,679 | NONE | null | ### Feature request
When I use the model with `trust_remote_code=True`, I cannot directly change these remote codes because everytime I load model it will request new codes from remote hub. So how can I avoid that ? Can I custom these codes in local?
example:
```
model = AutoModelForSeq2SeqLM.from_pretrained('T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22260/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/huggingface/transformers/issues/22260/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22259 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22259/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22259/comments | https://api.github.com/repos/huggingface/transformers/issues/22259/events | https://github.com/huggingface/transformers/issues/22259 | 1,631,313,243 | I_kwDOCUB6oc5hO91b | 22,259 | Different outputs of the official LLaMA repo and transformers' implementation | {
"login": "yqy2001",
"id": 55196500,
"node_id": "MDQ6VXNlcjU1MTk2NTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/55196500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yqy2001",
"html_url": "https://github.com/yqy2001",
"followers_url": "https://api.github.com/users/yqy200... | [] | 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,679 | 1,691 | 1,684 | CONTRIBUTOR | null | ### System Info
- `transformers` version: main
- Platform: Linux-5.4.0-113-generic-x86_64-with-glibc2.10
- Python version: 3.8.16
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.12.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22259/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22259/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22258 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22258/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22258/comments | https://api.github.com/repos/huggingface/transformers/issues/22258/events | https://github.com/huggingface/transformers/issues/22258 | 1,631,148,060 | I_kwDOCUB6oc5hOVgc | 22,258 | HuggingFace Transformers Trainer._maybe_log_save_evaluate IndexError: invalid index to scalar variable | {
"login": "JeffMII",
"id": 80857218,
"node_id": "MDQ6VXNlcjgwODU3MjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/80857218?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JeffMII",
"html_url": "https://github.com/JeffMII",
"followers_url": "https://api.github.com/users/JeffMI... | [] | closed | false | null | [] | [
"I finally got an answer to my issue on StackOverflow. Here is the [link](https://stackoverflow.com/questions/75780103/huggingface-transformers-trainer-maybe-log-save-evaluate-indexerror-invalid-in/75792634#75792634) to the answer:\r\n\r\n> Your issue comes from your compute_metrics function as you're using a QA me... | 1,679 | 1,679 | 1,679 | NONE | null | @sshleifer
So, I'm working on fine tuning a BART model for question generation, and it seems to be going through training okay. Then all of a sudden, it stops at the end of the first validation with an `IndexError` which you can see below. The problem is occurring in the `Trainer._maybe_log_save_evaluate` method that... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22258/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22258/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22257 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22257/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22257/comments | https://api.github.com/repos/huggingface/transformers/issues/22257/events | https://github.com/huggingface/transformers/issues/22257 | 1,631,053,719 | I_kwDOCUB6oc5hN-eX | 22,257 | Ernie-M for pretraining multilingual models | {
"login": "KnutJaegersberg",
"id": 17965169,
"node_id": "MDQ6VXNlcjE3OTY1MTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/17965169?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KnutJaegersberg",
"html_url": "https://github.com/KnutJaegersberg",
"followers_url": "https://api... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg... | open | false | null | [] | [
"Hi @KnutJaegersberg, thanks for making this suggestion! \r\n\r\nWould you like to try and open a PR to add the model? We have guidance written on adding [models here](https://huggingface.co/docs/transformers/v4.27.2/en/add_new_model). As the modeling file already exists - adding this component is even easier than ... | 1,679 | 1,681 | null | NONE | null | ### Feature request
Two things that might help in that regard:
- To train TSDAE, one needs support as class ErnieMForPreTraining, just as for Ernie
https://huggingface.co/docs/transformers/model_doc/ernie#transformers.ErnieForPreTraining
- To train cross-encoders with contrastive loss, a bit like SimCSE, one n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22257/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22257/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22256 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22256/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22256/comments | https://api.github.com/repos/huggingface/transformers/issues/22256/events | https://github.com/huggingface/transformers/pull/22256 | 1,630,947,351 | PR_kwDOCUB6oc5MY_-2 | 22,256 | [Docs] fix typos in some tokenizer docs | {
"login": "yesinkim",
"id": 83568823,
"node_id": "MDQ6VXNlcjgzNTY4ODIz",
"avatar_url": "https://avatars.githubusercontent.com/u/83568823?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yesinkim",
"html_url": "https://github.com/yesinkim",
"followers_url": "https://api.github.com/users/yes... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Note: the difference in documented output and true output was mentioned in a [previous LongFormer PR](https://github.com/huggingface/transformers/pull/19346/files#r988044763). "
] | 1,679 | 1,679 | 1,679 | 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/22256/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22256/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22256",
"html_url": "https://github.com/huggingface/transformers/pull/22256",
"diff_url": "https://github.com/huggingface/transformers/pull/22256.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22256.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22255 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22255/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22255/comments | https://api.github.com/repos/huggingface/transformers/issues/22255/events | https://github.com/huggingface/transformers/issues/22255 | 1,630,928,895 | I_kwDOCUB6oc5hNf__ | 22,255 | Re | {
"login": "aanonymousbeing5",
"id": 126067694,
"node_id": "U_kgDOB4Oj7g",
"avatar_url": "https://avatars.githubusercontent.com/u/126067694?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aanonymousbeing5",
"html_url": "https://github.com/aanonymousbeing5",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [] | 1,679 | 1,679 | 1,679 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22255/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22255/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22254 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22254/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22254/comments | https://api.github.com/repos/huggingface/transformers/issues/22254/events | https://github.com/huggingface/transformers/issues/22254 | 1,630,908,033 | I_kwDOCUB6oc5hNa6B | 22,254 | Trying to save a model with TFT5ForConditionalGeneration | {
"login": "erlichsefisalesforce",
"id": 59247215,
"node_id": "MDQ6VXNlcjU5MjQ3MjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/59247215?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erlichsefisalesforce",
"html_url": "https://github.com/erlichsefisalesforce",
"followers_url... | [
{
"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 | {
"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... | [
{
"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.co... | [
"cc @gante ",
"Hey @erlichsefisalesforce 👋 looking at the stack trace, we see that `inputs`'s first dimension, the batch size, is unknown (shape = `[None, 1]`). It is possible that our generate function is not fully serializable with a dynamic batch size, and may need some tweaks.\r\n\r\nI'm not sure when I'll b... | 1,679 | 1,679 | 1,679 | NONE | null | ### System Info
transformers-cli env ouput:
- `transformers` version: 4.28.0.dev0
- Platform: macOS-13.2.1-x86_64-i386-64bit
- Python version: 3.9.6
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1 (False)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): not install... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22254/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22254/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22253 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22253/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22253/comments | https://api.github.com/repos/huggingface/transformers/issues/22253/events | https://github.com/huggingface/transformers/pull/22253 | 1,630,903,505 | PR_kwDOCUB6oc5MY3BL | 22,253 | Add `BioGPTForSequenceClassification` | {
"login": "awinml",
"id": 97467100,
"node_id": "U_kgDOBc863A",
"avatar_url": "https://avatars.githubusercontent.com/u/97467100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/awinml",
"html_url": "https://github.com/awinml",
"followers_url": "https://api.github.com/users/awinml/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@NielsRogge @sgugger Is there a way to skip the check for specific lines when I run `make repo-consistency`.\r\n\r\nIt gives an error when I add this:\r\n`# Copied from transformers.models.opt.modeling_opt.OPTForSequenceClassificati... | 1,679 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Add Sequence Classification support for BioGPT.
Fixes #21530
Fixes #21535
This PR completes the stalled PR #21535.
<!---
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22253/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22253/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22253",
"html_url": "https://github.com/huggingface/transformers/pull/22253",
"diff_url": "https://github.com/huggingface/transformers/pull/22253.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22253.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22252 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22252/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22252/comments | https://api.github.com/repos/huggingface/transformers/issues/22252/events | https://github.com/huggingface/transformers/issues/22252 | 1,630,881,221 | I_kwDOCUB6oc5hNUXF | 22,252 | clip loss | {
"login": "hljjjmssyh",
"id": 24326757,
"node_id": "MDQ6VXNlcjI0MzI2NzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/24326757?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hljjjmssyh",
"html_url": "https://github.com/hljjjmssyh",
"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 @hljjjmssyh The loss computation management is in the `Trainer` class, see\r\n\r\nhttps://github.com/huggingface/transformers/blob/da005253b82395b6097623bcee44b819bfe72b87/src/transformers/trainer.py#L2649-L2650",
"That's only for models wrapped in DataParallel @ydshieh \r\n\r\n@hljjjmssyh We don't include co... | 1,679 | 1,682 | 1,682 | NONE | null | https://github.com/mlfoundations/open_clip/blob/37b729bc69068daa7e860fb7dbcf1ef1d03a4185/src/open_clip/loss.py#L49
In the implementation of open_clip, logits distributed across multiple gpus are gathered for calculating loss. However, I cannot find the code related to this feature in this repository. I think more ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22252/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22252/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22251 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22251/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22251/comments | https://api.github.com/repos/huggingface/transformers/issues/22251/events | https://github.com/huggingface/transformers/issues/22251 | 1,630,670,976 | I_kwDOCUB6oc5hMhCA | 22,251 | t5 mlm train example, label generation | {
"login": "GabPrato",
"id": 25964820,
"node_id": "MDQ6VXNlcjI1OTY0ODIw",
"avatar_url": "https://avatars.githubusercontent.com/u/25964820?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GabPrato",
"html_url": "https://github.com/GabPrato",
"followers_url": "https://api.github.com/users/Gab... | [] | closed | false | null | [] | [
"Issue was on my side, `~mask[None, :].astype(np.int8)` should be `(~mask[None, :]).astype(np.int8)`.\r\n\r\nBut the resulting labels are still missing the extra id at the end, `batch[\"labels\"]` will be equal to `\"<extra_id_0> .\"` instead of `\"<extra_id_0> . <extra_id_1>\"` and there are also no checks for if ... | 1,679 | 1,679 | 1,679 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.13.0-37-generic-x86_64-with-glibc2.31
- Python version: 3.9.12
- Huggingface_hub version: 0.12.1
### Who can help?
@sanchit-gandhi @sgugger @stevhliu @MKhalusova
### Information
- [ ] The official example scripts
- [X] My own modif... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22251/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22251/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22250 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22250/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22250/comments | https://api.github.com/repos/huggingface/transformers/issues/22250/events | https://github.com/huggingface/transformers/issues/22250 | 1,630,602,078 | I_kwDOCUB6oc5hMQNe | 22,250 | Is there or will there be support for xformers? | {
"login": "ethansmith2000",
"id": 98723285,
"node_id": "U_kgDOBeJl1Q",
"avatar_url": "https://avatars.githubusercontent.com/u/98723285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ethansmith2000",
"html_url": "https://github.com/ethansmith2000",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"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... | 1,679 | 1,682 | 1,682 | NONE | null | ### Feature request
xformers, (i couldn't find anything online or in the docs, but i suspect its very likely I'm just missing something)
### Motivation
speed and memory improvement
### Your contribution
I am unsure, but willing to help. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22250/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/22250/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22249 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22249/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22249/comments | https://api.github.com/repos/huggingface/transformers/issues/22249/events | https://github.com/huggingface/transformers/issues/22249 | 1,630,557,021 | I_kwDOCUB6oc5hMFNd | 22,249 | LLaMa tokenizer is labelled incorrectly when called. | {
"login": "GamerUntouch",
"id": 34009512,
"node_id": "MDQ6VXNlcjM0MDA5NTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/34009512?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GamerUntouch",
"html_url": "https://github.com/GamerUntouch",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [] | 1,679 | 1,679 | 1,679 | NONE | null | ### System Info
Most of the transformers functions call for "LlamaTokenizer", but the actual classes (found under transformers/models/llama) are labelled as "LLaMaTokenizer"
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An off... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22249/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22249/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22248 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22248/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22248/comments | https://api.github.com/repos/huggingface/transformers/issues/22248/events | https://github.com/huggingface/transformers/issues/22248 | 1,630,469,765 | I_kwDOCUB6oc5hLv6F | 22,248 | [Trainer] Use of inspect for model.forward with torch.compile | {
"login": "jaketae",
"id": 25360440,
"node_id": "MDQ6VXNlcjI1MzYwNDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/25360440?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jaketae",
"html_url": "https://github.com/jaketae",
"followers_url": "https://api.github.com/users/jaketa... | [] | closed | false | null | [] | [
"I realized that the proper way to use `torch.compile` with `Trainer` is through the `training_args.torch_compile` flag. Using the flag didn't cause the issue (I was manually compiling it outside the trainer). Closing, thanks!"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | ## Issue
In `trainer`, the `inspect` module is used to remove extraneous dataset columns.
https://github.com/huggingface/transformers/blob/60d51ef5123d949fd8c59cd4d3254e711541d278/src/transformers/trainer.py#L722-L728
However, `torch.compile` modifies the signature of the forward function of the original model... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22248/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22248/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22247 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22247/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22247/comments | https://api.github.com/repos/huggingface/transformers/issues/22247/events | https://github.com/huggingface/transformers/pull/22247 | 1,630,440,450 | PR_kwDOCUB6oc5MXUWE | 22,247 | [Trainer] Add optional communication backends for torch.distributed when using GPU | {
"login": "heya5",
"id": 27731754,
"node_id": "MDQ6VXNlcjI3NzMxNzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/27731754?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/heya5",
"html_url": "https://github.com/heya5",
"followers_url": "https://api.github.com/users/heya5/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Add optional backends for `torch.distributed` when using GPU.
I want to use other communication backends according the [pytorch_distribution_tutorial](https://pytorch.org/tutorials/intermediate/dist_tuto.html#communication-backends), but I found Trainer only uses nccl when `self.no_cuda is Fal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22247/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22247/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22247",
"html_url": "https://github.com/huggingface/transformers/pull/22247",
"diff_url": "https://github.com/huggingface/transformers/pull/22247.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22247.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22246 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22246/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22246/comments | https://api.github.com/repos/huggingface/transformers/issues/22246/events | https://github.com/huggingface/transformers/issues/22246 | 1,630,386,203 | I_kwDOCUB6oc5hLbgb | 22,246 | FlaxDataCollatorForT5MLM :ValueError: all input arrays must have the same shape | {
"login": "alexcpn",
"id": 1157251,
"node_id": "MDQ6VXNlcjExNTcyNTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1157251?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexcpn",
"html_url": "https://github.com/alexcpn",
"followers_url": "https://api.github.com/users/alexcpn/... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi @ArthurZucker maybe",
"Hey @alexcpn - great job at digging into the issue and thanks for the gist! It does indeed look like the case that we're hitting this error based on how we compute the `num_noise_spans`:\r\nhttps://github.com/huggingface/transformers/blob/aec10d162f59d809ead3990ef78c5191... | 1,679 | 1,683 | 1,683 | CONTRIBUTOR | null | ### System Info
- transformers version: 4.27.1
- Platform: Linux-5.18.10-76051810-generic-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 2.0.0.dev20230202+cu116 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22246/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22246/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22245 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22245/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22245/comments | https://api.github.com/repos/huggingface/transformers/issues/22245/events | https://github.com/huggingface/transformers/issues/22245 | 1,630,353,807 | I_kwDOCUB6oc5hLTmP | 22,245 | ImportError: cannot import name 'AlignModel' from 'transformers | {
"login": "swjtu-jason",
"id": 127167242,
"node_id": "U_kgDOB5RrCg",
"avatar_url": "https://avatars.githubusercontent.com/u/127167242?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/swjtu-jason",
"html_url": "https://github.com/swjtu-jason",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"ALIGN was only added in v4.27 of Transformers, so you'll need to do `pip install --upgrade transformers` to upgrade to the latest version.",
"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\nP... | 1,679 | 1,682 | 1,682 | NONE | null | ### System Info
ImportError: cannot import name 'AlignModel' from 'transformers
transformers.__version__= 4.22.1
### 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 GLU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22245/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22245/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22244 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22244/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22244/comments | https://api.github.com/repos/huggingface/transformers/issues/22244/events | https://github.com/huggingface/transformers/issues/22244 | 1,630,295,804 | I_kwDOCUB6oc5hLFb8 | 22,244 | input_ids and labels do not match while using FlaxDataCollatorForT5MLM methods | {
"login": "alexcpn",
"id": 1157251,
"node_id": "MDQ6VXNlcjExNTcyNTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1157251?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexcpn",
"html_url": "https://github.com/alexcpn",
"followers_url": "https://api.github.com/users/alexcpn/... | [] | closed | false | null | [] | [
"For t5-training `input_ids` and `labels` need not match, unlike in gpt2 \r\nI was thiking that the denoised training will help it to memorise the text and I guess it kind of does\r\n\r\nFrom https://gist.github.com/alexcpn/e33a8b44e9774653d7492fb494fb1009\r\n\r\n```\r\nAfter Training:'The cute dog walks in the'-->... | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.27.1
- Platform: Linux-5.18.10-76051810-generic-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 2.0.0.dev20230202+cu116 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22244/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22244/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22243 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22243/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22243/comments | https://api.github.com/repos/huggingface/transformers/issues/22243/events | https://github.com/huggingface/transformers/pull/22243 | 1,630,199,617 | PR_kwDOCUB6oc5MWjZu | 22,243 | Italian translation perf_infer_cpu | {
"login": "nickprock",
"id": 11136646,
"node_id": "MDQ6VXNlcjExMTM2NjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/11136646?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nickprock",
"html_url": "https://github.com/nickprock",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | ## What does this PR do?
Italian translation of doc related to the preprocessing of :hugs: Transformers.
* updated _toctree.yml
* added perf_infer_cpu.mdx
## 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 [contrib... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22243/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22243/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22243",
"html_url": "https://github.com/huggingface/transformers/pull/22243",
"diff_url": "https://github.com/huggingface/transformers/pull/22243.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22243.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22242 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22242/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22242/comments | https://api.github.com/repos/huggingface/transformers/issues/22242/events | https://github.com/huggingface/transformers/pull/22242 | 1,630,167,401 | PR_kwDOCUB6oc5MWcwL | 22,242 | [deepspeed zero3] need `generate(synced_gpus=True, ...)` | {
"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._",
"So a potential issue I see is that deepspeed is potentially not enabled on all modele, & this would enable `synced_gpus` even for models where it's not enabled? depends on how `is_deepspeed_zero3_enabled` works, which you likely know... | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | As discussed in https://github.com/huggingface/transformers/issues/22231 `generate` under deepspeed zero3 using different input streams on different gpus may hang. It's documented [here](https://huggingface.co/docs/transformers/main/main_classes/deepspeed#custom-deepspeed-zero-inference) and in the API docs, that `sync... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22242/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/22242/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22242",
"html_url": "https://github.com/huggingface/transformers/pull/22242",
"diff_url": "https://github.com/huggingface/transformers/pull/22242.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22242.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22241 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22241/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22241/comments | https://api.github.com/repos/huggingface/transformers/issues/22241/events | https://github.com/huggingface/transformers/issues/22241 | 1,630,146,940 | I_kwDOCUB6oc5hKhF8 | 22,241 | How to get T5 decoded logits using TFT5ForConditionalGeneration from encoded outputs? | {
"login": "FrozenWolf-Cyber",
"id": 57902078,
"node_id": "MDQ6VXNlcjU3OTAyMDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/57902078?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FrozenWolf-Cyber",
"html_url": "https://github.com/FrozenWolf-Cyber",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Without using an encoded vector, this gives me the required output:\r\n\r\n```python\r\nimport tensorflow as tf\r\nfrom transformers import AutoTokenizer, T5Config, TFT5ForConditionalGeneration, set_seed\r\nset_seed(0)\r\ntokenizer = AutoTokenizer.from_pretrained(\"t5-small\", padding='max_length', truncation=True... | 1,679 | 1,679 | 1,679 | NONE | null | ### System Info
- `transformers` version: 4.24.0
- Platform: Linux-6.1.11-76060111-generic-x86_64-with-glibc2.35
- Python version: 3.10.9
- Huggingface_hub version: 0.10.1
- PyTorch version (GPU?): 1.12.1 (False)
- Tensorflow version (GPU?): 2.10.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- J... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22241/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22241/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22240 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22240/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22240/comments | https://api.github.com/repos/huggingface/transformers/issues/22240/events | https://github.com/huggingface/transformers/issues/22240 | 1,630,091,925 | I_kwDOCUB6oc5hKTqV | 22,240 | Add InternImage | {
"login": "Weiyun1025",
"id": 47669167,
"node_id": "MDQ6VXNlcjQ3NjY5MTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/47669167?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Weiyun1025",
"html_url": "https://github.com/Weiyun1025",
"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 | [] | [
"Can I take it up?",
"> Can I take it up?\r\n\r\nOf course, thank you!",
"@souravpy Are you currently working on this? If not, I would love to take a look to see if I could help in adding this model to HF Transformers!",
"The [modeling code and weights](https://huggingface.co/OpenGVLab/internimage_s_1k_224/bl... | 1,679 | 1,685 | null | NONE | null | ### Model description
InternImage is a new large-scale CNN-based foundation model, which can obtain the gain from increasing parameters and training data like ViTs. Different from the recent CNNs that focus on large dense kernels, InternImage takes deformable convolution as the core operator, so that this model not on... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22240/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22240/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22239 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22239/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22239/comments | https://api.github.com/repos/huggingface/transformers/issues/22239/events | https://github.com/huggingface/transformers/issues/22239 | 1,630,089,365 | I_kwDOCUB6oc5hKTCV | 22,239 | bos_token and eos_token for Llama tokenizer | {
"login": "yujianll",
"id": 46540151,
"node_id": "MDQ6VXNlcjQ2NTQwMTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/46540151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yujianll",
"html_url": "https://github.com/yujianll",
"followers_url": "https://api.github.com/users/yuj... | [] | closed | false | null | [] | [
"Hey! There must be a typo in your `generation_config` as the `convert_llama_weights_to_hf.py` as well as `configuration_llama` both set it to `2`. Are you sure that you are using the latest scripts? \r\nThe fix is just `model.config.eos_token_id = 2` in this case. ",
"I see. The [config.json](https://huggingface... | 1,679 | 1,682 | 1,682 | NONE | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-5.15.0-58-generic-x86_64-with-glibc2.17
- Python version: 3.8.15
- Huggingface_hub version: 0.11.0
- PyTorch version (GPU?): 1.13.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22239/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22239/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22238 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22238/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22238/comments | https://api.github.com/repos/huggingface/transformers/issues/22238/events | https://github.com/huggingface/transformers/pull/22238 | 1,630,016,187 | PR_kwDOCUB6oc5MV-5r | 22,238 | replace_8bit_linear modules_to_not_convert default value fix | {
"login": "BlackSamorez",
"id": 16901341,
"node_id": "MDQ6VXNlcjE2OTAxMzQx",
"avatar_url": "https://avatars.githubusercontent.com/u/16901341?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BlackSamorez",
"html_url": "https://github.com/BlackSamorez",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | 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/22238/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22238/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22238",
"html_url": "https://github.com/huggingface/transformers/pull/22238",
"diff_url": "https://github.com/huggingface/transformers/pull/22238.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22238.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22237 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22237/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22237/comments | https://api.github.com/repos/huggingface/transformers/issues/22237/events | https://github.com/huggingface/transformers/pull/22237 | 1,629,741,000 | PR_kwDOCUB6oc5MVD5l | 22,237 | Update vision docstring bool masked pos | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
Add the missing `bool_masked_pos` information in the docstring for vision models.
Fixes #21484
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22237/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22237/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22237",
"html_url": "https://github.com/huggingface/transformers/pull/22237",
"diff_url": "https://github.com/huggingface/transformers/pull/22237.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22237.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22236 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22236/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22236/comments | https://api.github.com/repos/huggingface/transformers/issues/22236/events | https://github.com/huggingface/transformers/pull/22236 | 1,629,730,916 | PR_kwDOCUB6oc5MVBvK | 22,236 | Rework a bit the LLaMA conversion script | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I don't see how you can reduce the memory requirement since the files provided by Meta each contain a part of all weights, so you need to have them all loaded to reconstruct just one of the weights. That's why I didn't bother impleme... | 1,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
This PR makes sure the LLaMA conversion script stays up to date with `save_pretrained` by having the checkpoint being loaded in an actual model then saved via that method. This avoids a lot of hard-coded values in JSON files.
It keeps the old logic and merely re-loads the result in a Trans... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22236/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22236/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22236",
"html_url": "https://github.com/huggingface/transformers/pull/22236",
"diff_url": "https://github.com/huggingface/transformers/pull/22236.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22236.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22235 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22235/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22235/comments | https://api.github.com/repos/huggingface/transformers/issues/22235/events | https://github.com/huggingface/transformers/pull/22235 | 1,629,606,384 | PR_kwDOCUB6oc5MUmwf | 22,235 | Wav2Vec2ProcessorWithLM can return N best hypotheses now | {
"login": "vsokolovskii",
"id": 48914918,
"node_id": "MDQ6VXNlcjQ4OTE0OTE4",
"avatar_url": "https://avatars.githubusercontent.com/u/48914918?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vsokolovskii",
"html_url": "https://github.com/vsokolovskii",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"We might have more luck with @sanchit-gandhi ;-)",
"> Thanks a lot for the PR @vsokolovskii,\r\n> \r\n> Just to better understand what happens now in case we decoder a batch of logits with `n_best > 1` - > will we return a list of ... | 1,679 | 1,679 | 1,679 | 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/22235/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22235/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22235",
"html_url": "https://github.com/huggingface/transformers/pull/22235",
"diff_url": "https://github.com/huggingface/transformers/pull/22235.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22235.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22234 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22234/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22234/comments | https://api.github.com/repos/huggingface/transformers/issues/22234/events | https://github.com/huggingface/transformers/pull/22234 | 1,629,581,594 | PR_kwDOCUB6oc5MUhUI | 22,234 | Fix Unnecessary move of tensors from CPU to GPU in LlamaRotaryEmbedding | {
"login": "ma787639046",
"id": 63697972,
"node_id": "MDQ6VXNlcjYzNjk3OTcy",
"avatar_url": "https://avatars.githubusercontent.com/u/63697972?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ma787639046",
"html_url": "https://github.com/ma787639046",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Did you accidentally break meta loading?\r\n`with init_empty_weights():`\r\nleaves `cos_cached` and `sin_cached` on meta device and they won't be initialized because they are not persistent. ",
"Since `inv_freq` is a persistent buf... | 1,679 | 1,692 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
The original implementation of LlamaRotaryEmbedding does not use `cos_cached` & `sin_cached` tensors as the PyTorch Parameter or Buffer, thus these tensors do not move to GPU when we use `model.to(gpu_id)` or `model.cuda()`. They will keep in the device CPU.
This PR adjusts the `cos_cached` ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22234/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22234/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22234",
"html_url": "https://github.com/huggingface/transformers/pull/22234",
"diff_url": "https://github.com/huggingface/transformers/pull/22234.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22234.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22233 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22233/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22233/comments | https://api.github.com/repos/huggingface/transformers/issues/22233/events | https://github.com/huggingface/transformers/pull/22233 | 1,629,538,602 | PR_kwDOCUB6oc5MUX-j | 22,233 | Revert "Use `dash==2.8.1` for now for daily CI" | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22233). All of your documentation changes will be reflected on that endpoint."
] | 1,679 | 1,679 | 1,679 | COLLABORATOR | null | Reverts huggingface/transformers#22227
New version [dash 2.9.1](https://github.com/plotly/dash/releases/tag/v2.9.1) works with our CI. Tested and it works.
We no longer need the change in #22227
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22233/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22233/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22233",
"html_url": "https://github.com/huggingface/transformers/pull/22233",
"diff_url": "https://github.com/huggingface/transformers/pull/22233.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22233.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22232 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22232/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22232/comments | https://api.github.com/repos/huggingface/transformers/issues/22232/events | https://github.com/huggingface/transformers/pull/22232 | 1,629,470,598 | PR_kwDOCUB6oc5MUJcY | 22,232 | Fix llama_tokenizer | {
"login": "Splo2t",
"id": 31382462,
"node_id": "MDQ6VXNlcjMxMzgyNDYy",
"avatar_url": "https://avatars.githubusercontent.com/u/31382462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Splo2t",
"html_url": "https://github.com/Splo2t",
"followers_url": "https://api.github.com/users/Splo2t/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22232). All of your documentation changes will be reflected on that endpoint."
] | 1,679 | 1,679 | 1,679 | NONE | null | Fixes #22222
This PR fixes the LlamaTokenizer importing
Fixed __init__.py file in src/transformers
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22232/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22232/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22232",
"html_url": "https://github.com/huggingface/transformers/pull/22232",
"diff_url": "https://github.com/huggingface/transformers/pull/22232.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22232.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22231 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22231/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22231/comments | https://api.github.com/repos/huggingface/transformers/issues/22231/events | https://github.com/huggingface/transformers/issues/22231 | 1,629,434,199 | I_kwDOCUB6oc5hHzFX | 22,231 | Detect Accelerate's DeepSpeed level 3 Env Vars and warn if synced_gpus is False | {
"login": "JulesGM",
"id": 3231217,
"node_id": "MDQ6VXNlcjMyMzEyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3231217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JulesGM",
"html_url": "https://github.com/JulesGM",
"followers_url": "https://api.github.com/users/JulesGM/... | [] | closed | false | {
"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... | [
{
"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... | [
"cc @stas00 and @pacman100 ",
"Totally. Thank you for bringing it up, @JulesGM \r\n\r\nThe API for checking this situation is already available and is being used in the HF Trainer:\r\n\r\nhttps://github.com/huggingface/transformers/blob/bec075612a293a66022937f65ba0c0df25224d29/src/transformers/trainer_seq2seq.py#... | 1,679 | 1,679 | 1,679 | NONE | null | ### Feature request
If `ACCELERATE_DEEPSPEED_ZERO_STAGE` == 3 and generate is called without `synced_gpus`, it would be reasonable to warn the user that if they're doing a distributed call to generate with a deepspeed model, they need to give generate the `synced_gpus` arguments.
### Motivation
## Background... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22231/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22231/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22230 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22230/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22230/comments | https://api.github.com/repos/huggingface/transformers/issues/22230/events | https://github.com/huggingface/transformers/pull/22230 | 1,629,388,485 | PR_kwDOCUB6oc5MT3_c | 22,230 | Removed .mdx extension in two links | {
"login": "MKhalusova",
"id": 1065417,
"node_id": "MDQ6VXNlcjEwNjU0MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MKhalusova",
"html_url": "https://github.com/MKhalusova",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,699 | 1,679 | CONTRIBUTOR | null | This PR fixes two links that had .mdx in them that shouldn't have been there. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22230/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22230/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22230",
"html_url": "https://github.com/huggingface/transformers/pull/22230",
"diff_url": "https://github.com/huggingface/transformers/pull/22230.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22230.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22229 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22229/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22229/comments | https://api.github.com/repos/huggingface/transformers/issues/22229/events | https://github.com/huggingface/transformers/pull/22229 | 1,629,365,658 | PR_kwDOCUB6oc5MTzCC | 22,229 | Fix natten | {
"login": "alihassanijr",
"id": 68103095,
"node_id": "MDQ6VXNlcjY4MTAzMDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/68103095?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alihassanijr",
"html_url": "https://github.com/alihassanijr",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@alihassanijr Thanks for such a quick fix! Just double checking - is this version of `natten` compatible with later versions of PyTorch, or just >= 2.x.x?",
"My pleasure, sorry I didn't realize this earlier.\r\nYes, `0.14.5` still... | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
The new NATTEN 0.14.5 supports PyTorch 2.0, but also adds an additional
argument to the QK operation to allow optional RPBs.
This ends up failing NATTEN tests.
This commit adds NATTEN back to circleci and adds the arguments to get
it working again.
Reverts #22218.
## Before su... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22229/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22229/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22229",
"html_url": "https://github.com/huggingface/transformers/pull/22229",
"diff_url": "https://github.com/huggingface/transformers/pull/22229.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22229.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22228 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22228/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22228/comments | https://api.github.com/repos/huggingface/transformers/issues/22228/events | https://github.com/huggingface/transformers/pull/22228 | 1,629,317,461 | PR_kwDOCUB6oc5MToy1 | 22,228 | Fix state dict loading via symlink on windows | {
"login": "Schmavery",
"id": 2154522,
"node_id": "MDQ6VXNlcjIxNTQ1MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2154522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Schmavery",
"html_url": "https://github.com/Schmavery",
"followers_url": "https://api.github.com/users/Sc... | [] | closed | false | null | [] | [
"cc @Wauplin looks like something that should be in huggingface_hub (it it's not already).",
"_The documentation is not available anymore as the PR was closed or merged._",
"Aie, this is a real problem I think. In `huggingface_hub` we return a path to the snapshots/ folder that is indeed a symlink to a file in ... | 1,679 | 1,679 | 1,679 | NONE | null | # What does this PR do?
I ran into an issue trying to run this on Windows 10 (via Git Bash, in a python 3.9.12 Conda environment, deps installed via pip). My requirements.txt included below for completeness.
I tried running an example of SD 2 from the docs
```
from diffusers import DiffusionPipeline, DPMSolve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22228/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22228/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22228",
"html_url": "https://github.com/huggingface/transformers/pull/22228",
"diff_url": "https://github.com/huggingface/transformers/pull/22228.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22228.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22227 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22227/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22227/comments | https://api.github.com/repos/huggingface/transformers/issues/22227/events | https://github.com/huggingface/transformers/pull/22227 | 1,629,049,850 | PR_kwDOCUB6oc5MSu9D | 22,227 | Use `dash==2.8.1` for now for daily CI | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
Use `das==2.8.1` for now for daily CI. Currently daily CI jobs all fail, for example, [this job run](https://github.com/huggingface/transformers/actions/runs/4443525103/jobs/7800913606)
Issue reported [here](https://github.com/plotly/dash/issues/2460) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22227/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22227/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22227",
"html_url": "https://github.com/huggingface/transformers/pull/22227",
"diff_url": "https://github.com/huggingface/transformers/pull/22227.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22227.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22226 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22226/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22226/comments | https://api.github.com/repos/huggingface/transformers/issues/22226/events | https://github.com/huggingface/transformers/pull/22226 | 1,629,030,772 | PR_kwDOCUB6oc5MSq1c | 22,226 | fix(docs): fix task guide links in model docs | {
"login": "Seb0",
"id": 790702,
"node_id": "MDQ6VXNlcjc5MDcwMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/790702?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Seb0",
"html_url": "https://github.com/Seb0",
"followers_url": "https://api.github.com/users/Seb0/followers",
... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Fixes broken links for task guides in model docs
Fixes # (issue)
see above
## 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/tran... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22226/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22226/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22226",
"html_url": "https://github.com/huggingface/transformers/pull/22226",
"diff_url": "https://github.com/huggingface/transformers/pull/22226.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22226.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22225 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22225/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22225/comments | https://api.github.com/repos/huggingface/transformers/issues/22225/events | https://github.com/huggingface/transformers/issues/22225 | 1,628,991,798 | I_kwDOCUB6oc5hGHE2 | 22,225 | RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.HalfTensor [12, 8192, 1]], which is output 0 of AsStridedBackward0, is at version 1; expected version 0 instead. Hint: the backtrace further above shows the operation that failed to compute its grad... | {
"login": "Tanya-11",
"id": 90728105,
"node_id": "MDQ6VXNlcjkwNzI4MTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/90728105?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tanya-11",
"html_url": "https://github.com/Tanya-11",
"followers_url": "https://api.github.com/users/Tan... | [] | closed | false | null | [] | [
"Hi @Tanya-11, thanks for raising this issue! \r\n\r\nIt's not possible to access the code in the link shared as it is private. Could you share a minimal code snippet to reproduce the error? ",
"> Hi @Tanya-11, thanks for raising this issue!\r\n> \r\n> It's not possible to access the code in the link shared as i... | 1,679 | 1,682 | 1,682 | NONE | null | ### System Info
tranformer version: 4.2.0
Huggingface hub:0.13.2
Python: Python 3.9.16

### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22225/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22225/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22224 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22224/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22224/comments | https://api.github.com/repos/huggingface/transformers/issues/22224/events | https://github.com/huggingface/transformers/issues/22224 | 1,628,984,849 | I_kwDOCUB6oc5hGFYR | 22,224 | Flax Whisper uses a lot of GPU memory | {
"login": "hannan72",
"id": 8229163,
"node_id": "MDQ6VXNlcjgyMjkxNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8229163?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hannan72",
"html_url": "https://github.com/hannan72",
"followers_url": "https://api.github.com/users/hanna... | [] | closed | false | null | [] | [
"Hey @hannan72! Could you try disabling [`_do_init`](https://github.com/huggingface/transformers/pulls?q=is%3Apr+_do_init+is%3Aclosed)? This way we won't initialise a random version of the parameters. Note that this isn't compatible with `from_pt=True`, so you'll have to load a checkpoint where the Flax weights hav... | 1,679 | 1,684 | 1,684 | NONE | null | I'm using Flax whisper-medium and now it's ~3x faster rather than the pytorch deployment.
but now it is allocating ~10x more GPU memory.
loading Pytorch model takes ~3GB, but loading Flax Whisper-medium takes >30GB of VRAM.
Does this huge memory allocation normal?
And is there any prepared method for cut it down?
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22224/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22224/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22223 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22223/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22223/comments | https://api.github.com/repos/huggingface/transformers/issues/22223/events | https://github.com/huggingface/transformers/pull/22223 | 1,628,833,718 | PR_kwDOCUB6oc5MSBUx | 22,223 | fix typos in llama.mdx | {
"login": "keturn",
"id": 83819,
"node_id": "MDQ6VXNlcjgzODE5",
"avatar_url": "https://avatars.githubusercontent.com/u/83819?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keturn",
"html_url": "https://github.com/keturn",
"followers_url": "https://api.github.com/users/keturn/followers",
... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | ## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
## Who can review?
Documentation: @sgugger, @stevhliu and @MKhalusova
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22223/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22223/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22223",
"html_url": "https://github.com/huggingface/transformers/pull/22223",
"diff_url": "https://github.com/huggingface/transformers/pull/22223.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22223.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22222 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22222/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22222/comments | https://api.github.com/repos/huggingface/transformers/issues/22222/events | https://github.com/huggingface/transformers/issues/22222 | 1,628,829,592 | I_kwDOCUB6oc5hFfeY | 22,222 | ValueError: Tokenizer class LLaMATokenizer does not exist or is not currently imported. | {
"login": "candowu",
"id": 4629043,
"node_id": "MDQ6VXNlcjQ2MjkwNDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4629043?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/candowu",
"html_url": "https://github.com/candowu",
"followers_url": "https://api.github.com/users/candowu/... | [] | closed | false | null | [] | [
"I face the same issue",
"Hi @candowu, thanks for raising this issue. This is arising, because the `tokenizer` in the [config on the hub](https://huggingface.co/decapoda-research/llama-7b-hf/blob/main/tokenizer_config.json) points to `LLaMATokenizer`. However, the tokenizer in the library is `LlamaTokenizer`. \r\... | 1,679 | 1,695 | 1,679 | NONE | null | ### System Info
4.27.1
### 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
i test llama... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22222/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/22222/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22221 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22221/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22221/comments | https://api.github.com/repos/huggingface/transformers/issues/22221/events | https://github.com/huggingface/transformers/issues/22221 | 1,628,813,628 | I_kwDOCUB6oc5hFbk8 | 22,221 | export clip to text encoder and image encoder two onnxs | {
"login": "susht3",
"id": 12723964,
"node_id": "MDQ6VXNlcjEyNzIzOTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/12723964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/susht3",
"html_url": "https://github.com/susht3",
"followers_url": "https://api.github.com/users/susht3/fo... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"cc @michaelbenayoun ",
"Hi @susht3 ,\r\nYou mean that you want to export a `CLIPTextModel` and `CLIPVisionModel`?\r\n\r\nWe support the CLIP export in `optimum`:\r\n\r\n```bash\r\noptimum-cli export onnx -m openai/clip-vit-base-patch32 --task default clip\r\n```\r\n\r\nBut as I understand here, you want to expor... | 1,679 | 1,705 | null | NONE | null | ### Model description
i want to export clip to text encoder and image encoder two onnx, but it seems can only convert the whole model, how can i seperate clip to two onnx models?
### Open source status
- [X] The model implementation is available
- [X] The model weights are available
### Provide useful links for th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22221/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22221/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22220 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22220/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22220/comments | https://api.github.com/repos/huggingface/transformers/issues/22220/events | https://github.com/huggingface/transformers/issues/22220 | 1,628,795,580 | I_kwDOCUB6oc5hFXK8 | 22,220 | Positinal Encoding for T5 family of models | {
"login": "SreehariSankar",
"id": 54915320,
"node_id": "MDQ6VXNlcjU0OTE1MzIw",
"avatar_url": "https://avatars.githubusercontent.com/u/54915320?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SreehariSankar",
"html_url": "https://github.com/SreehariSankar",
"followers_url": "https://api.gi... | [
{
"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 | [] | [
"Hi @SreehariSankar, thanks for raising this issue. \r\n\r\nQuestions on designing custom hook for modifying the models are better placed in the [forum](https://discuss.huggingface.co/). \r\n\r\nAll of the code for the model, including producing the embeddings are in the modeling files e.g. [this one for T5](https:... | 1,679 | 1,679 | null | NONE | null | ### Feature request
Please create a hook to allow users to modify the T5 family of models and change the default positional embeddings to custom positional embeddings.
### Motivation
I am trying to build a T5 version that takes non-text input, and the traditional positional encodings are getting in the way, and ther... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22220/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22220/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22219 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22219/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22219/comments | https://api.github.com/repos/huggingface/transformers/issues/22219/events | https://github.com/huggingface/transformers/pull/22219 | 1,628,767,994 | PR_kwDOCUB6oc5MRzZx | 22,219 | fix code example in mgp-str doc | {
"login": "wdp-007",
"id": 4025053,
"node_id": "MDQ6VXNlcjQwMjUwNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4025053?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wdp-007",
"html_url": "https://github.com/wdp-007",
"followers_url": "https://api.github.com/users/wdp-007/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Fix code example in mgp-str doc.
## Before submitting
- [√] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [√] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contrib... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22219/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22219/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22219",
"html_url": "https://github.com/huggingface/transformers/pull/22219",
"diff_url": "https://github.com/huggingface/transformers/pull/22219.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22219.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22218 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22218/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22218/comments | https://api.github.com/repos/huggingface/transformers/issues/22218/events | https://github.com/huggingface/transformers/pull/22218 | 1,628,386,395 | PR_kwDOCUB6oc5MQiWP | 22,218 | Hotfix for natten on CircleCI | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Here is the update regarding this issue\r\n\r\nhttps://github.com/SHI-Labs/NATTEN/issues/23#issuecomment-1473865224"
] | 1,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
Hotfix for natten on CircleCI.
The PR CI in #22204 run with `natten` with the version `0.14.4` which run successfully. However, when I merged that PR into `main`, natten 0.14.5 is released and cause some issues. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22218/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22218/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22218",
"html_url": "https://github.com/huggingface/transformers/pull/22218",
"diff_url": "https://github.com/huggingface/transformers/pull/22218.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22218.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22217 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22217/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22217/comments | https://api.github.com/repos/huggingface/transformers/issues/22217/events | https://github.com/huggingface/transformers/pull/22217 | 1,628,310,708 | PR_kwDOCUB6oc5MQRsX | 22,217 | Fix LLaMATokenizer naming | {
"login": "mbehm",
"id": 699007,
"node_id": "MDQ6VXNlcjY5OTAwNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/699007?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mbehm",
"html_url": "https://github.com/mbehm",
"followers_url": "https://api.github.com/users/mbehm/followers"... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22217). All of your documentation changes will be reflected on that endpoint.",
"Ah ok, it was preventing me from loading a saved model because of the capitalization change so thought it was a mistake. In that case I'll be ... | 1,679 | 1,679 | 1,679 | NONE | null | # What does this PR do?
Simple fix for the naming of LLaMATokenizer class | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22217/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/22217/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22217",
"html_url": "https://github.com/huggingface/transformers/pull/22217",
"diff_url": "https://github.com/huggingface/transformers/pull/22217.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22217.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22216 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22216/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22216/comments | https://api.github.com/repos/huggingface/transformers/issues/22216/events | https://github.com/huggingface/transformers/pull/22216 | 1,628,259,418 | PR_kwDOCUB6oc5MQGQ4 | 22,216 | LLaMA house-keeping | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
This PR just groups a couple of nits I had on the LLaMA model PR, but didn't want to add there to merge the PR quickly. I have tested the conversion scripts on all four models and it works fine.
cc @zphang for information. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22216/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22216/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22216",
"html_url": "https://github.com/huggingface/transformers/pull/22216",
"diff_url": "https://github.com/huggingface/transformers/pull/22216.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22216.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22215 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22215/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22215/comments | https://api.github.com/repos/huggingface/transformers/issues/22215/events | https://github.com/huggingface/transformers/issues/22215 | 1,628,218,757 | I_kwDOCUB6oc5hDKWF | 22,215 | torch.compile() and FSDP/DDP wrappers are called in the wrong order. | {
"login": "ani300",
"id": 919977,
"node_id": "MDQ6VXNlcjkxOTk3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/919977?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ani300",
"html_url": "https://github.com/ani300",
"followers_url": "https://api.github.com/users/ani300/follow... | [] | closed | false | null | [] | [
"Note that we haven't tested `torch.compile` with any kind of distributed training yet, so it's normal if there are issues. If you have the fix, we'd be happy to look at a PR!",
"Ok! I'll make the PR then, just figured I'd ask before."
] | 1,678 | 1,679 | 1,679 | CONTRIBUTOR | null | ### System Info
transformers main branch
### Who can help?
@sgugger
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give details below)
### Reproduction... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22215/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22215/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22214 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22214/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22214/comments | https://api.github.com/repos/huggingface/transformers/issues/22214/events | https://github.com/huggingface/transformers/issues/22214 | 1,628,183,661 | I_kwDOCUB6oc5hDBxt | 22,214 | whisper return_timestamp error | {
"login": "pearl-yu",
"id": 65966653,
"node_id": "MDQ6VXNlcjY1OTY2NjUz",
"avatar_url": "https://avatars.githubusercontent.com/u/65966653?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pearl-yu",
"html_url": "https://github.com/pearl-yu",
"followers_url": "https://api.github.com/users/pea... | [] | closed | false | null | [] | [
"Hey! Thanks for reporting. Could you share the audio that you are using? We never stumbled upon something like this 😅 \r\nProblem seems to come from `sequence[1:relevant_timestamp]` ,but the traceback is a bit messed up\r\n\r\ncc @Narsil ",
"`prediction = pipe(np.array(audio), return_timestamps=True, stride_len... | 1,678 | 1,687 | 1,687 | NONE | null | ### System Info
- `transformers` version: 4.27.1
- Platform: Linux-5.10.147+-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.13.2
- PyTorch version (GPU?): 1.13.1+cu116 (True)
- Tensorflow version (GPU?): 2.11.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22214/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22214/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22213 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22213/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22213/comments | https://api.github.com/repos/huggingface/transformers/issues/22213/events | https://github.com/huggingface/transformers/issues/22213 | 1,628,164,546 | I_kwDOCUB6oc5hC9HC | 22,213 | LLAMA model won't release VRAM when deleted | {
"login": "devilismyfriend",
"id": 87043616,
"node_id": "MDQ6VXNlcjg3MDQzNjE2",
"avatar_url": "https://avatars.githubusercontent.com/u/87043616?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/devilismyfriend",
"html_url": "https://github.com/devilismyfriend",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"You also need to call the garbage collector:\r\n```python\r\nimport gc\r\n\r\ngc.collect()\r\n```",
"It worked thanks!, I did try it before and it didn't but checked it again now and it did lol"
] | 1,678 | 1,678 | 1,678 | NONE | null | ### System Info
latest git, windows (tested on WSL as well), pytorch 1.13
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22213/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22213/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22212 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22212/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22212/comments | https://api.github.com/repos/huggingface/transformers/issues/22212/events | https://github.com/huggingface/transformers/pull/22212 | 1,628,041,347 | PR_kwDOCUB6oc5MPWuh | 22,212 | Add MaskedImageModelingOutput | {
"login": "alaradirik",
"id": 8944735,
"node_id": "MDQ6VXNlcjg5NDQ3MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alaradirik",
"html_url": "https://github.com/alaradirik",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Pinging @NielsRogge for the final approval",
"@NielsRogge could you take another look? I think all comments are addressed"
] | 1,678 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
- Adds `MaskedImageModelingOutput` and `TFMaskedImageModelingOutput` classes for masked image modeling / completion / in-painting models.
- Replaces the inaccurate MaskedLMOutput used for ViT and DeiT MIM heads with the new output class
- Ensures backward compatibility by adding `logits` as a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22212/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22212/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22212",
"html_url": "https://github.com/huggingface/transformers/pull/22212",
"diff_url": "https://github.com/huggingface/transformers/pull/22212.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22212.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22211 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22211/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22211/comments | https://api.github.com/repos/huggingface/transformers/issues/22211/events | https://github.com/huggingface/transformers/pull/22211 | 1,628,033,318 | PR_kwDOCUB6oc5MPU-X | 22,211 | Generate: Add assisted generation | {
"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._",
"@amyeroberts @sgugger -- since this PR is a bit more complex than most, I've decided to request a review from you two 🤗 ",
"@amyeroberts regarding splitting up, I totally agree! And not only on this method but on most parts of `Ge... | 1,678 | 1,700 | 1,681 | MEMBER | null | # What does this PR do?
Here it is, the PR for assisted generation 🙌 In a nutshell, it uses an assistant model (which should be a smaller model with the same tokenizer) to speed up generation, taking advantage of the reduced need for memory transfers in the main model forward pass. It leverages the same property th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22211/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22211/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22211",
"html_url": "https://github.com/huggingface/transformers/pull/22211",
"diff_url": "https://github.com/huggingface/transformers/pull/22211.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22211.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22210 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22210/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22210/comments | https://api.github.com/repos/huggingface/transformers/issues/22210/events | https://github.com/huggingface/transformers/issues/22210 | 1,627,826,533 | I_kwDOCUB6oc5hBqll | 22,210 | Rag-end2end | {
"login": "Rajdoshi99",
"id": 44093439,
"node_id": "MDQ6VXNlcjQ0MDkzNDM5",
"avatar_url": "https://avatars.githubusercontent.com/u/44093439?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rajdoshi99",
"html_url": "https://github.com/Rajdoshi99",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @Rajdoshi99, thanks for raising this issue!\r\n\r\nIt seems the issue is coming from pytorch lighnting. So that we can best help, could you give us more information about the error and how to reproduce. Specifically: \r\n* Your environment. Run `transformers-cli env` in the terminal to get the necessary info to... | 1,678 | 1,692 | 1,679 | NONE | null | ### System Info
```shell
raise misconfigurationexception( pytorch_lightning.utilities.exceptions.misconfigurationexception: the provided lr scheduler `lambdalr` doesn't follow pytorch's lrscheduler api. you should override the `lightningmodule.lr_scheduler_step` hook with your own logic if you are using a custom lr sc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22210/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22210/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22209 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22209/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22209/comments | https://api.github.com/repos/huggingface/transformers/issues/22209/events | https://github.com/huggingface/transformers/pull/22209 | 1,627,818,540 | PR_kwDOCUB6oc5MOmDf | 22,209 | Add LlamaForSequenceClassification | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> I would also add potentially a test with single_label_classification to make sure everything works!\r\n\r\nDone in https://github.com/huggingface/transformers/pull/22209/commits/6737e380fc6a4cb73150da4fa821dd463f9a7204 :)\r\n",
"... | 1,678 | 1,679 | 1,679 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22209/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22209/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22209",
"html_url": "https://github.com/huggingface/transformers/pull/22209",
"diff_url": "https://github.com/huggingface/transformers/pull/22209.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22209.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22208 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22208/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22208/comments | https://api.github.com/repos/huggingface/transformers/issues/22208/events | https://github.com/huggingface/transformers/pull/22208 | 1,627,741,397 | PR_kwDOCUB6oc5MOVlc | 22,208 | fixes a typo in WhisperFeatureExtractor docs. | {
"login": "susnato",
"id": 56069179,
"node_id": "MDQ6VXNlcjU2MDY5MTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/56069179?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/susnato",
"html_url": "https://github.com/susnato",
"followers_url": "https://api.github.com/users/susnat... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,678 | 1,678 | 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/22208/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22208/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22208",
"html_url": "https://github.com/huggingface/transformers/pull/22208",
"diff_url": "https://github.com/huggingface/transformers/pull/22208.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22208.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22207 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22207/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22207/comments | https://api.github.com/repos/huggingface/transformers/issues/22207/events | https://github.com/huggingface/transformers/pull/22207 | 1,627,677,709 | PR_kwDOCUB6oc5MOH2b | 22,207 | [`XGLM`] Add `accelerate` support for XGLM | {
"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,678 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
Fixes: https://github.com/huggingface/transformers/issues/22188
With this PR users will be able to load XGLM models in 8bit
cc @amyeroberts | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22207/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22207/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22207",
"html_url": "https://github.com/huggingface/transformers/pull/22207",
"diff_url": "https://github.com/huggingface/transformers/pull/22207.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22207.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22206 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22206/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22206/comments | https://api.github.com/repos/huggingface/transformers/issues/22206/events | https://github.com/huggingface/transformers/issues/22206 | 1,627,562,811 | I_kwDOCUB6oc5hAqM7 | 22,206 | Error with load_tf_weights_in_albert when transforming tf checkpoint to pytorch model | {
"login": "Ala-Na",
"id": 67599180,
"node_id": "MDQ6VXNlcjY3NTk5MTgw",
"avatar_url": "https://avatars.githubusercontent.com/u/67599180?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ala-Na",
"html_url": "https://github.com/Ala-Na",
"followers_url": "https://api.github.com/users/Ala-Na/fo... | [] | closed | false | null | [] | [
"Note that this command only works for the original TensorFlow checkpoints of Albert and we do not maintain it as those checkpoints have long been converted and are available on the Hub. To convert Hugging Face models from TensorFlow to PyTorch or vice versa, use [this guide](https://huggingface.co/docs/transformer... | 1,678 | 1,682 | 1,682 | NONE | null | ### System Info
- `transformers` version: 4.24.0
- Platform: Linux-4.19.128-microsoft-standard-x86_64-with-glibc2.31
- Python version: 3.10.9
- Huggingface_hub version: 0.10.1
- PyTorch version (GPU?): 1.13.1 (False)
- Tensorflow version (GPU?): 2.10.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22206/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22206/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22205 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22205/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22205/comments | https://api.github.com/repos/huggingface/transformers/issues/22205/events | https://github.com/huggingface/transformers/pull/22205 | 1,627,465,305 | PR_kwDOCUB6oc5MNYsI | 22,205 | Depth estimation task guide | {
"login": "MKhalusova",
"id": 1065417,
"node_id": "MDQ6VXNlcjEwNjU0MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MKhalusova",
"html_url": "https://github.com/MKhalusova",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"PR with images: https://huggingface.co/datasets/huggingface/documentation-images/discussions/64",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,699 | 1,679 | CONTRIBUTOR | null | This PR adds a zero-shot depth estimation task guide that covers inference with a pipeline, as well as manually, for monocular depth estimation supported by DPT and GLPN. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22205/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22205/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22205",
"html_url": "https://github.com/huggingface/transformers/pull/22205",
"diff_url": "https://github.com/huggingface/transformers/pull/22205.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22205.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22204 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22204/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22204/comments | https://api.github.com/repos/huggingface/transformers/issues/22204/events | https://github.com/huggingface/transformers/pull/22204 | 1,627,368,212 | PR_kwDOCUB6oc5MNDtL | 22,204 | 🔥py38 + torch 2 🔥🔥🔥🚀 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The whole suite of tests is run and passed in this [run](https://app.circleci.com/pipelines/github/huggingface/transformers/60009/workflows/73d754f8-017d-458f-8dc2-c6166d30e1de)"
] | 1,678 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
Title is all we need.
There is one line in `setup.py` I don't know if I need to change and if yes how.
```python3
deps["importlib_metadata"] + ";python_version<'3.8'", # importlib_metadata for Python versions that don't have it
``` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22204/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22204/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22204",
"html_url": "https://github.com/huggingface/transformers/pull/22204",
"diff_url": "https://github.com/huggingface/transformers/pull/22204.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22204.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22203 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22203/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22203/comments | https://api.github.com/repos/huggingface/transformers/issues/22203/events | https://github.com/huggingface/transformers/issues/22203 | 1,627,328,527 | I_kwDOCUB6oc5g_xAP | 22,203 | GenerationConfig argument for Seq2SeqTrainer / Seq2SeqTrainingArgument | {
"login": "Natooz",
"id": 56734983,
"node_id": "MDQ6VXNlcjU2NzM0OTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/56734983?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Natooz",
"html_url": "https://github.com/Natooz",
"followers_url": "https://api.github.com/users/Natooz/fo... | [] | closed | false | null | [] | [
"I'm not sure we can have a `generation_config` directly in the `Seq2SeqTrainingArguments` as it wouldn't work with the CLI. But maybe we can have a `generation_config_file` argument instead? Also yes to the `model.generation_config` way being better documented!",
"Good point (CLI)!\r\nIn that can a json file cou... | 1,678 | 1,697 | 1,681 | CONTRIBUTOR | null | ### Feature request
👋
The request is for a way to pass a `GenerationConfig` to a `Seq2SeqTrainer` (through `Seq2SeqTrainingArguments`).
### Motivation
ATOW, `Seq2SeqTrainer` only supports a few arguments for generation: `max_length` / `max_new_tokens`, `num_beams`.
Being able to pass a `GenerationConfig` conf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22203/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22203/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22202 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22202/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22202/comments | https://api.github.com/repos/huggingface/transformers/issues/22202/events | https://github.com/huggingface/transformers/pull/22202 | 1,627,254,490 | PR_kwDOCUB6oc5MMquK | 22,202 | Update tiny model creation script | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22202). All of your documentation changes will be reflected on that endpoint."
] | 1,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
- Update `UNCONVERTIBLE_MODEL_ARCHITECTURES` with a few recent models: they don't have processor class (or not included in the `XXX_MAPPING_NAMES`)
- Make the detection of model test class more robust. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22202/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22202/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22202",
"html_url": "https://github.com/huggingface/transformers/pull/22202",
"diff_url": "https://github.com/huggingface/transformers/pull/22202.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22202.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22201 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22201/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22201/comments | https://api.github.com/repos/huggingface/transformers/issues/22201/events | https://github.com/huggingface/transformers/issues/22201 | 1,627,149,681 | I_kwDOCUB6oc5g_FVx | 22,201 | not related summary | {
"login": "aylix",
"id": 54117566,
"node_id": "MDQ6VXNlcjU0MTE3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/54117566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aylix",
"html_url": "https://github.com/aylix",
"followers_url": "https://api.github.com/users/aylix/follow... | [] | closed | false | null | [] | [
"Hi @aylix, could you please follow the issue template, giving details about the model, your environment, a reproducible snippet, and the expected behaviour? ",
"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 o... | 1,678 | 1,682 | 1,682 | NONE | null | I passed a Text about the food industry in the model the summarization would be something about atoms and totally unrelated | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22201/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22201/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22200 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22200/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22200/comments | https://api.github.com/repos/huggingface/transformers/issues/22200/events | https://github.com/huggingface/transformers/issues/22200 | 1,627,099,559 | I_kwDOCUB6oc5g-5Gn | 22,200 | trainer.push_to_hub(**kwargs) requires "git pull" first | {
"login": "Yiiii19",
"id": 28276176,
"node_id": "MDQ6VXNlcjI4Mjc2MTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/28276176?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yiiii19",
"html_url": "https://github.com/Yiiii19",
"followers_url": "https://api.github.com/users/Yiiii1... | [] | closed | false | null | [] | [
"You either need to `--overwrite_output_dir` or make sure the `output_dir` you are using is a local clone of your repo that is up to date, yes.",
"Thanks to your fast reply. How could I change the code? Cause I donot want to pull and push in the terminal manually, want to \r\n do \"pull\" firstly then \"push\" in... | 1,678 | 1,682 | 1,682 | NONE | null | ### System Info
Hi,
I am using the Segformer, following the tutorial https://huggingface.co/blog/fine-tune-segformer
Everytime aftern training the conflict error will come after executing the code "trainer.push_to_hub(**kwargs)".
Error messages:
! [rejected] main -> main (fetch first)
error: failed to push... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22200/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22200/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22199 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22199/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22199/comments | https://api.github.com/repos/huggingface/transformers/issues/22199/events | https://github.com/huggingface/transformers/pull/22199 | 1,627,037,163 | PR_kwDOCUB6oc5ML6kq | 22,199 | Fix typo in Align docs | {
"login": "alaradirik",
"id": 8944735,
"node_id": "MDQ6VXNlcjg5NDQ3MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alaradirik",
"html_url": "https://github.com/alaradirik",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,678 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
Fixes a broken link to the blog post in the ALIGN docs
## Before submitting
- [ X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22199/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22199/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22199",
"html_url": "https://github.com/huggingface/transformers/pull/22199",
"diff_url": "https://github.com/huggingface/transformers/pull/22199.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22199.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22198 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22198/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22198/comments | https://api.github.com/repos/huggingface/transformers/issues/22198/events | https://github.com/huggingface/transformers/issues/22198 | 1,627,036,958 | I_kwDOCUB6oc5g-p0e | 22,198 | Import "transformers" could not be resolved | {
"login": "givik",
"id": 2458760,
"node_id": "MDQ6VXNlcjI0NTg3NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2458760?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/givik",
"html_url": "https://github.com/givik",
"followers_url": "https://api.github.com/users/givik/follower... | [] | closed | false | null | [] | [
"Hi @givik, thanks for raising this issue. \r\n\r\nThis isn't related to transformers - it's to do with vscode and the environment. \r\n\r\nThe error shown is coming from PyLance, and is indicating that the environment it's looking in doesn't have `transformers` installed. Please make sure transformers [is installe... | 1,678 | 1,698 | 1,682 | NONE | null | ### System Info
**I have tried different python versions 3.7 and 3.11**

### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ]... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22198/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22198/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22197 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22197/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22197/comments | https://api.github.com/repos/huggingface/transformers/issues/22197/events | https://github.com/huggingface/transformers/issues/22197 | 1,626,889,902 | I_kwDOCUB6oc5g-F6u | 22,197 | [Pytorch 2.0] Cannot load `BERT` model `No module named 'torch._six'` | {
"login": "philschmid",
"id": 32632186,
"node_id": "MDQ6VXNlcjMyNjMyMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/32632186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/philschmid",
"html_url": "https://github.com/philschmid",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Error was thrown since i had `deepspeed` installed which uses/used `torch._six` see: https://github.com/microsoft/DeepSpeed/pull/2863",
"Is DeepSpeed part of transformers 4.27.1? I get the same error message when using torch>=2.0 and transformers, but I am not installing deepspeed myself, at least not knowingly.... | 1,678 | 1,694 | 1,678 | MEMBER | null | ### System Info
- `transformers` version: 4.27.1
- Platform: Linux-5.15.0-1031-aws-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.13.1
- PyTorch version (GPU?): 2.0.0+cu117 (True)
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22197/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22197/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22196 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22196/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22196/comments | https://api.github.com/repos/huggingface/transformers/issues/22196/events | https://github.com/huggingface/transformers/pull/22196 | 1,626,875,738 | PR_kwDOCUB6oc5MLX1M | 22,196 | fix AutoTP in deepspeed could not work for bloom | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
"should work with https://github.com/microsoft/DeepSpeed/pull/3035",
"@sgugger please help review\r\n",
"@yao-matrix",
"_The documentation is not available anymore as the PR was closed or merged._",
"Actually, just checked the modeling file and this function is only used in this class, so it would be cleane... | 1,678 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Fixes # (issue)
fix AutoTP in deepspeed could not work for bloom
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/ma... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22196/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22196/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22196",
"html_url": "https://github.com/huggingface/transformers/pull/22196",
"diff_url": "https://github.com/huggingface/transformers/pull/22196.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22196.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22195 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22195/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22195/comments | https://api.github.com/repos/huggingface/transformers/issues/22195/events | https://github.com/huggingface/transformers/pull/22195 | 1,626,706,249 | PR_kwDOCUB6oc5MKzRN | 22,195 | Update expected values in `MgpstrModelIntegrationTest` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
[CI](https://github.com/huggingface/transformers/actions/runs/4422120632/jobs/7753698495) failed: the expected values provided by the contributor didn't match the one given in CI runner, and we just need to update it. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22195/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22195/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22195",
"html_url": "https://github.com/huggingface/transformers/pull/22195",
"diff_url": "https://github.com/huggingface/transformers/pull/22195.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22195.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22194 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22194/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22194/comments | https://api.github.com/repos/huggingface/transformers/issues/22194/events | https://github.com/huggingface/transformers/pull/22194 | 1,626,668,241 | PR_kwDOCUB6oc5MKrJO | 22,194 | Fix DeepSpeed CI | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"ouch, i checked it took tensor-rt 1 month to release a version supporting pt-1.13 after the latter was released. \r\n\r\nso I won't expect any coming updates quickly.\r\n\r\ndo we need tensor-rt for anything?\r\n\r\nThank you for fix... | 1,678 | 1,678 | 1,678 | COLLABORATOR | null | # What does this PR do?
Since 2 days, the daily CI runs with torch 2.0.0. In DeepSpeed CI job, there is an issue regarding `torch-tensorrt` (currently `v1.3.0`).
The installation was already disabled in #22135, but there was a version shipped with the base image, and I forgot to uninstall it in our docker image dur... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22194/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/22194/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22194",
"html_url": "https://github.com/huggingface/transformers/pull/22194",
"diff_url": "https://github.com/huggingface/transformers/pull/22194.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22194.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22193 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22193/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22193/comments | https://api.github.com/repos/huggingface/transformers/issues/22193/events | https://github.com/huggingface/transformers/pull/22193 | 1,626,632,072 | PR_kwDOCUB6oc5MKjNz | 22,193 | [trainer] param count for deepspeed zero3 | {
"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._",
"An explanation is needed here. \r\n\r\nThe Deepspeed team had to invent their own tensor substitute since 2 years ago nothing of a kind existed in pytorch. They had to replace tensors with placeholders to be able to support sharded t... | 1,678 | 1,679 | 1,679 | CONTRIBUTOR | null | As reported in https://github.com/huggingface/transformers/issues/22179 the trainer code doesn't handle the sharded models correctly in reporting "the Number of trainable parameters" - I'm not sure if FSDP models have the same issue.
This PR fixes this situation with Deepspeed ZeRO3 which otherwise reported a count ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22193/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22193/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22193",
"html_url": "https://github.com/huggingface/transformers/pull/22193",
"diff_url": "https://github.com/huggingface/transformers/pull/22193.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22193.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.