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/24214 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24214/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24214/comments | https://api.github.com/repos/huggingface/transformers/issues/24214/events | https://github.com/huggingface/transformers/pull/24214 | 1,753,625,722 | PR_kwDOCUB6oc5S0ed2 | 24,214 | Bump transformers from 3.5.1 to 4.30.0 in /examples/research_projects/bert-loses-patience | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@dependabot ignore this major version",
"OK, I won't notify you about version 4.x.x again, unless you re-open this PR. 😢"
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | Bumps [transformers](https://github.com/huggingface/transformers) from 3.5.1 to 4.30.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/huggingface/transformers/releases">transformers's releases</a>.</em></p>
<blockquote>
<h2>v4.30.0: 100k, Agents improvements, Safetensors cor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24214/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24214/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24214",
"html_url": "https://github.com/huggingface/transformers/pull/24214",
"diff_url": "https://github.com/huggingface/transformers/pull/24214.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24214.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24213 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24213/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24213/comments | https://api.github.com/repos/huggingface/transformers/issues/24213/events | https://github.com/huggingface/transformers/pull/24213 | 1,753,625,714 | PR_kwDOCUB6oc5S0edu | 24,213 | Bump transformers from 3.5.1 to 4.30.0 in /examples/research_projects/bertabs | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24213). All of your documentation changes will be reflected on that endpoint.",
"@dependabot ignore this major version",
"OK, I won't notify you about version 4.x.x again, unless you re-open this PR. 😢"
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | Bumps [transformers](https://github.com/huggingface/transformers) from 3.5.1 to 4.30.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/huggingface/transformers/releases">transformers's releases</a>.</em></p>
<blockquote>
<h2>v4.30.0: 100k, Agents improvements, Safetensors cor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24213/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24213/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24213",
"html_url": "https://github.com/huggingface/transformers/pull/24213",
"diff_url": "https://github.com/huggingface/transformers/pull/24213.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24213.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24212 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24212/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24212/comments | https://api.github.com/repos/huggingface/transformers/issues/24212/events | https://github.com/huggingface/transformers/issues/24212 | 1,753,611,240 | I_kwDOCUB6oc5ohfvo | 24,212 | QLoRA Training does not give expected results | {
"login": "karths8",
"id": 47289950,
"node_id": "MDQ6VXNlcjQ3Mjg5OTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/47289950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karths8",
"html_url": "https://github.com/karths8",
"followers_url": "https://api.github.com/users/karths... | [] | closed | false | null | [] | [
"cc @pacman100 ",
"@karths8 did you manage to resolve the above issue?",
"No! Have not been able to solve it yet!",
"@karths8 @amdnsr \r\n\r\nI think the problem is rooted in the `find_all_linear_names` function, which is incompatible with `QLoRA` setting, the correct way to implement this function should be ... | 1,686 | 1,692 | 1,692 | NONE | null | ### System Info
transformers version: 4.30.0
Platform: Linux-5.15.0-69-generic-x86_64-with-glibc2.29
Python version: 3.8.10
Huggingface_hub version: 0.15.1
Safetensors version: 0.3.1
PyTorch version (GPU?): 1.13.1 (True)
Tensorflow version (GPU?): not installed (NA)
Flax version (CPU?/GPU?/TPU?): not installed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24212/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/24212/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24211 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24211/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24211/comments | https://api.github.com/repos/huggingface/transformers/issues/24211/events | https://github.com/huggingface/transformers/pull/24211 | 1,753,535,974 | PR_kwDOCUB6oc5S0K8K | 24,211 | Tied params cleanup | {
"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,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
This PR is the first in a series that aims to clean up the content of the variables `_keys_to_ignore_xxx` and the logic of warnings sent to the user resulting from them. In particular unless the model implement a hack like RoBERTa, a trained version with no shared version might not save the d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24211/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/24211/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24211",
"html_url": "https://github.com/huggingface/transformers/pull/24211",
"diff_url": "https://github.com/huggingface/transformers/pull/24211.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24211.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24210 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24210/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24210/comments | https://api.github.com/repos/huggingface/transformers/issues/24210/events | https://github.com/huggingface/transformers/pull/24210 | 1,753,425,185 | PR_kwDOCUB6oc5SzyMo | 24,210 | Nah | {
"login": "jamesthesnake",
"id": 8227820,
"node_id": "MDQ6VXNlcjgyMjc4MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8227820?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jamesthesnake",
"html_url": "https://github.com/jamesthesnake",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [] | 1,686 | 1,686 | 1,686 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24210/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24210/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24210",
"html_url": "https://github.com/huggingface/transformers/pull/24210",
"diff_url": "https://github.com/huggingface/transformers/pull/24210.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24210.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24209 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24209/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24209/comments | https://api.github.com/repos/huggingface/transformers/issues/24209/events | https://github.com/huggingface/transformers/pull/24209 | 1,753,418,215 | PR_kwDOCUB6oc5Szwoh | 24,209 | fix(trainer): save the model config, tokenizer, and arguments when FSDP | {
"login": "calico-1226",
"id": 93032279,
"node_id": "U_kgDOBYuPVw",
"avatar_url": "https://avatars.githubusercontent.com/u/93032279?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/calico-1226",
"html_url": "https://github.com/calico-1226",
"followers_url": "https://api.github.com/users/ca... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24209). All of your documentation changes will be reflected on that endpoint.",
"cc @pacman100 "
] | 1,686 | 1,686 | 1,686 | 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/24209/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/24209/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24209",
"html_url": "https://github.com/huggingface/transformers/pull/24209",
"diff_url": "https://github.com/huggingface/transformers/pull/24209.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24209.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24208 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24208/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24208/comments | https://api.github.com/repos/huggingface/transformers/issues/24208/events | https://github.com/huggingface/transformers/issues/24208 | 1,753,410,749 | I_kwDOCUB6oc5oguy9 | 24,208 | The `Trainer` only save the model parameters when `is_fsdp_enabled` is True | {
"login": "calico-1226",
"id": 93032279,
"node_id": "U_kgDOBYuPVw",
"avatar_url": "https://avatars.githubusercontent.com/u/93032279?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/calico-1226",
"html_url": "https://github.com/calico-1226",
"followers_url": "https://api.github.com/users/ca... | [] | closed | false | null | [] | [
"cc @pacman100 ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/mai... | 1,686 | 1,689 | 1,689 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.31.0.dev0
- Platform: Linux-5.4.0-42-generic-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24208/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24208/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24207 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24207/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24207/comments | https://api.github.com/repos/huggingface/transformers/issues/24207/events | https://github.com/huggingface/transformers/pull/24207 | 1,753,384,625 | PR_kwDOCUB6oc5SzpJP | 24,207 | Add the number of `model` test failures to slack CI report | {
"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 screenshot below shows the issue that motivates this PR\r\n\r\n<img width=\"506\" alt=\"Screenshot 2023-06-12 205537\" src=\"https://github.com/huggingface/transformers/assets/2521628/f6b322e2-a51e-48e9-a438-d1d431470637\">\r\n",
"_The documentation is not available anymore as the PR was closed or merged._"
... | 1,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
We decided to add deepspeed (nightly version) CI job to past CI in #22393. Also `accelerate` is installed with the `main` branch.
This makes the deepspeed CI job have quite a lot of failures most of the time. Sometimes we need to wait DS team for a fix, and sometimes a fix is required from H... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24207/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24207/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24207",
"html_url": "https://github.com/huggingface/transformers/pull/24207",
"diff_url": "https://github.com/huggingface/transformers/pull/24207.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24207.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24205 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24205/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24205/comments | https://api.github.com/repos/huggingface/transformers/issues/24205/events | https://github.com/huggingface/transformers/pull/24205 | 1,753,098,474 | PR_kwDOCUB6oc5SyqCK | 24,205 | Fix Debertav2 embed_proj | {
"login": "WissamAntoun",
"id": 44616226,
"node_id": "MDQ6VXNlcjQ0NjE2MjI2",
"avatar_url": "https://avatars.githubusercontent.com/u/44616226?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WissamAntoun",
"html_url": "https://github.com/WissamAntoun",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey @WissamAntoun 👋 \r\n\r\nIf you check the config documentation for deberta, you see that there is no `embedding_size` attribute. There seems to be something wrong with the serialization of `almanach/camemberta-base-generator`",
... | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
Fixes an issue where loading a model with different hidden_size and embedding_size (such as `almanach/camemberta-base-generator`)) for masked language modeling won't work due to a size mismatch in the output projection in TF2 and Pytorch.
To replicate simply try loading the MLM model with ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24205/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24205/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24205",
"html_url": "https://github.com/huggingface/transformers/pull/24205",
"diff_url": "https://github.com/huggingface/transformers/pull/24205.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24205.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24204 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24204/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24204/comments | https://api.github.com/repos/huggingface/transformers/issues/24204/events | https://github.com/huggingface/transformers/pull/24204 | 1,753,048,236 | PR_kwDOCUB6oc5Sye7J | 24,204 | Skip RWKV test in past 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 | [] | [] | 1,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
In the past CI with torch 13.1 (and older), RWKV tests fail.
- The first failure is
```bash
test_model_parallelism
(line 114) RuntimeError: CUDA error: CUBLAS_STATUS_EXECUTION_FAILED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24204/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24204/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24204",
"html_url": "https://github.com/huggingface/transformers/pull/24204",
"diff_url": "https://github.com/huggingface/transformers/pull/24204.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24204.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24203 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24203/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24203/comments | https://api.github.com/repos/huggingface/transformers/issues/24203/events | https://github.com/huggingface/transformers/pull/24203 | 1,753,044,020 | PR_kwDOCUB6oc5SyeAg | 24,203 | Remove unnecessary aten::to overhead in llama | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"Thanks @sgugger good catch, edited as suggested."
] | 1,686 | 1,686 | 1,686 | COLLABORATOR | null | As per title, in `LlamaRotaryEmbedding` the [`cos_cached` and `sin_cached` buffers](https://github.com/huggingface/transformers/blob/08ae37c820395e91fc3aa8b801696de5002481d2/src/transformers/models/llama/modeling_llama.py#L94-L104) are not initialized on the right dtype, because `inv_freq` is always initialized on fp32... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24203/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24203/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24203",
"html_url": "https://github.com/huggingface/transformers/pull/24203",
"diff_url": "https://github.com/huggingface/transformers/pull/24203.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24203.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24202 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24202/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24202/comments | https://api.github.com/repos/huggingface/transformers/issues/24202/events | https://github.com/huggingface/transformers/pull/24202 | 1,753,041,208 | PR_kwDOCUB6oc5SydZW | 24,202 | Remove unnecessary aten::to overhead in llama | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"woops wrong branch",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24202). All of your documentation changes will be reflected on that endpoint."
] | 1,686 | 1,686 | 1,686 | COLLABORATOR | null | As per title, in `LlamaRotaryEmbedding` the [`cos_cached` and `sin_cached` buffers](https://github.com/huggingface/transformers/blob/08ae37c820395e91fc3aa8b801696de5002481d2/src/transformers/models/llama/modeling_llama.py#L94-L104) are not initialized on the right dtype, because `inv_freq` is always initialized on fp32... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24202/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24202/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24202",
"html_url": "https://github.com/huggingface/transformers/pull/24202",
"diff_url": "https://github.com/huggingface/transformers/pull/24202.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24202.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24201 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24201/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24201/comments | https://api.github.com/repos/huggingface/transformers/issues/24201/events | https://github.com/huggingface/transformers/pull/24201 | 1,753,007,914 | PR_kwDOCUB6oc5SyWBV | 24,201 | Finish dataloader integration | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"id": 2155169140,
"node_id": "MDU6TGFiZWwyMTU1MTY5MTQw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/trainer",
"name": "trainer",
"color": "2ef289",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
Follow up to https://github.com/huggingface/transformers/pull/24028, which removes the TPU-specific dataloader bits.
The `MpDeviceLoader` does already what `Trainer` was doing before, it's just wrapped:
```python
class MpDeviceLoader(object):
"""Wraps an existing PyTorch DataLoader ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24201/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24201/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24201",
"html_url": "https://github.com/huggingface/transformers/pull/24201",
"diff_url": "https://github.com/huggingface/transformers/pull/24201.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24201.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24200 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24200/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24200/comments | https://api.github.com/repos/huggingface/transformers/issues/24200/events | https://github.com/huggingface/transformers/pull/24200 | 1,752,906,344 | PR_kwDOCUB6oc5SyAkI | 24,200 | Fix `_load_pretrained_model` | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | [] | closed | false | null | [] | [
"This line what something I added in my previous PR thinking that we forgot to tie the weights. But I guess it was done intentionally as I see that one test failed and generated garbage value. Here the error that we get from the test: \r\n```\r\ntests/models/marian/test_modeling_marian.py:433: in _assert_generated_... | 1,686 | 1,686 | 1,686 | MEMBER | null | # What does this PR do ?
Fixes the following test from my old PR Add check for tied parameters (#24029):
`RUN_SLOW=1 python3 -m pytest -v tests/models/marian/test_modeling_marian.py::TestMarian_FI_EN_V2::test_batch_generation_en_fr` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24200/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24200/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24200",
"html_url": "https://github.com/huggingface/transformers/pull/24200",
"diff_url": "https://github.com/huggingface/transformers/pull/24200.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24200.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24199 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24199/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24199/comments | https://api.github.com/repos/huggingface/transformers/issues/24199/events | https://github.com/huggingface/transformers/pull/24199 | 1,752,860,014 | PR_kwDOCUB6oc5Sx2Po | 24,199 | Update `(TF)SamModelIntegrationTest` | {
"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._",
"Good catch, and sorry! I'll tell GPT-4 to watch that one in future, lol"
] | 1,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
- Add `require_tf`: otherwise, past CI's torch job (with only torch installed) will fail for this test class
- Add `TF` prefix: as usual convention | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24199/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24199/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24199",
"html_url": "https://github.com/huggingface/transformers/pull/24199",
"diff_url": "https://github.com/huggingface/transformers/pull/24199.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24199.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24198 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24198/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24198/comments | https://api.github.com/repos/huggingface/transformers/issues/24198/events | https://github.com/huggingface/transformers/pull/24198 | 1,752,820,904 | PR_kwDOCUB6oc5SxtfP | 24,198 | Generate: detect special architectures when loaded from PEFT | {
"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._",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24198). All of your documentation changes will be reflected on that endpoint."
] | 1,686 | 1,686 | 1,686 | MEMBER | null | # What does this PR do?
Fixes #23686
As identified in [this comment](https://github.com/huggingface/transformers/issues/23686#issuecomment-1587285715), a PEFT-loaded BLOOM can't be used as an assistant with assisted generation.
BLOOM (and GPTBigCode) need special handling due to their different cache API, and... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24198/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24198/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24198",
"html_url": "https://github.com/huggingface/transformers/pull/24198",
"diff_url": "https://github.com/huggingface/transformers/pull/24198.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24198.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24197 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24197/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24197/comments | https://api.github.com/repos/huggingface/transformers/issues/24197/events | https://github.com/huggingface/transformers/pull/24197 | 1,752,782,022 | PR_kwDOCUB6oc5SxlBZ | 24,197 | Fix steps bugs in no trainer examples | {
"login": "Ethan-yt",
"id": 9592150,
"node_id": "MDQ6VXNlcjk1OTIxNTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9592150?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ethan-yt",
"html_url": "https://github.com/Ethan-yt",
"followers_url": "https://api.github.com/users/Ethan... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
Fixes #24186
## 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-contributing-pull-reques... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24197/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24197/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24197",
"html_url": "https://github.com/huggingface/transformers/pull/24197",
"diff_url": "https://github.com/huggingface/transformers/pull/24197.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24197.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24195 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24195/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24195/comments | https://api.github.com/repos/huggingface/transformers/issues/24195/events | https://github.com/huggingface/transformers/pull/24195 | 1,752,654,509 | PR_kwDOCUB6oc5SxJAW | 24,195 | Fix device issue in `OpenLlamaModelTest::test_model_parallelism` | {
"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,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
See the comments in the changes.
Currently, CI has a failure
```bash
src/transformers/models/open_llama/modeling_open_llama.py:740: in forward
logits = torch.einsum("blh,vh->blv", hidden_states, self.model.embed_tokens.weight)
...
...
RuntimeError: Expected all tensor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24195/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24195/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24195",
"html_url": "https://github.com/huggingface/transformers/pull/24195",
"diff_url": "https://github.com/huggingface/transformers/pull/24195.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24195.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24194 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24194/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24194/comments | https://api.github.com/repos/huggingface/transformers/issues/24194/events | https://github.com/huggingface/transformers/issues/24194 | 1,752,515,345 | I_kwDOCUB6oc5odUMR | 24,194 | ONNX model conversion error | {
"login": "kobiche",
"id": 56874660,
"node_id": "MDQ6VXNlcjU2ODc0NjYw",
"avatar_url": "https://avatars.githubusercontent.com/u/56874660?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kobiche",
"html_url": "https://github.com/kobiche",
"followers_url": "https://api.github.com/users/kobich... | [] | closed | false | null | [] | [
"cc @michaelbenayoun ",
"I ran this script and didn't get any error, maybe because I don't have a GPU. I put a breakpoint before the relevant line and found this:\r\n\r\n```\r\n(Pdb) self\r\nattention_scores defined in (%attention_scores : Float(*, *, *, *, strides=[768, 64, 8, 1], requires_grad=0, device=cpu) = ... | 1,686 | 1,690 | 1,690 | NONE | null | ### System Info
- `transformers` version: 4.30.1
- Platform: Linux-5.4.0-126-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 1.10.1+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24194/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24194/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24193 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24193/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24193/comments | https://api.github.com/repos/huggingface/transformers/issues/24193/events | https://github.com/huggingface/transformers/pull/24193 | 1,752,434,386 | PR_kwDOCUB6oc5SwY1z | 24,193 | Update `GPTNeoXLanguageGenerationTest` | {
"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_24193). All of your documentation changes will be reflected on that endpoint."
] | 1,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
Due to the changes in [EleutherAI/pythia-410m-deduped](https://huggingface.co/EleutherAI/pythia-410m-deduped/commits/main), we have to update the output value, despite the new value doesn't look great 😭
(The previous revisions seem to disappear ...I guess they rewrite the commit history... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24193/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24193/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24193",
"html_url": "https://github.com/huggingface/transformers/pull/24193",
"diff_url": "https://github.com/huggingface/transformers/pull/24193.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24193.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24190 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24190/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24190/comments | https://api.github.com/repos/huggingface/transformers/issues/24190/events | https://github.com/huggingface/transformers/pull/24190 | 1,752,299,330 | PR_kwDOCUB6oc5Sv7P0 | 24,190 | Fix `Wav2Vec2` CI OOM | {
"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,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
After #23813, we get OOM for `tests/models/wav2vec2/test_modeling_wav2vec2.py::Wav2Vec2ModelIntegrationTest::test_wav2vec2_with_lm_invalid_pool` (when running the whole `wav2vec2` test suite)
Just doing some cleaning up and no more OOM. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24190/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24190/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24190",
"html_url": "https://github.com/huggingface/transformers/pull/24190",
"diff_url": "https://github.com/huggingface/transformers/pull/24190.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24190.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24189 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24189/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24189/comments | https://api.github.com/repos/huggingface/transformers/issues/24189/events | https://github.com/huggingface/transformers/issues/24189 | 1,752,295,728 | I_kwDOCUB6oc5ocekw | 24,189 | Problems while Running ImageGPT | {
"login": "chinge55",
"id": 33897366,
"node_id": "MDQ6VXNlcjMzODk3MzY2",
"avatar_url": "https://avatars.githubusercontent.com/u/33897366?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chinge55",
"html_url": "https://github.com/chinge55",
"followers_url": "https://api.github.com/users/chi... | [] | closed | false | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [
{
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "htt... | [
"@chinge55 Thanks for reporting! Indeed, the example was assuming the clusters were a numpy array, but were stored as a list of lists in the image processor. I've opened a PR to resolve "
] | 1,686 | 1,686 | 1,686 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-4.15.0-197-generic-x86_64-with-glibc2.27
- Python version: 3.11.3
- Huggingface_hub version: 0.15.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24189/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/24189/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24188 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24188/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24188/comments | https://api.github.com/repos/huggingface/transformers/issues/24188/events | https://github.com/huggingface/transformers/pull/24188 | 1,752,170,173 | PR_kwDOCUB6oc5Sve4i | 24,188 | Update `WhisperForAudioClassification` doc example | {
"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,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
After the config file change in Hub commit `a7a63ecc2bd1015783dead844fced2af7531edd2` on `sanchit-gandhi/whisper-medium-fleurs-lang-id`, the doc example for `WhisperForAudioClassification` has to be updated.
Currently the test fails due to a different expected output value. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24188/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24188/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24188",
"html_url": "https://github.com/huggingface/transformers/pull/24188",
"diff_url": "https://github.com/huggingface/transformers/pull/24188.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24188.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24187 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24187/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24187/comments | https://api.github.com/repos/huggingface/transformers/issues/24187/events | https://github.com/huggingface/transformers/pull/24187 | 1,752,160,694 | PR_kwDOCUB6oc5Svczu | 24,187 | Fix push to hub | {
"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 documentation is not available anymore as the PR was closed or merged._"
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
Previous PR #23920 wasn't correct, line 715 should not have been included.
This PR fixes that. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24187/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24187/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24187",
"html_url": "https://github.com/huggingface/transformers/pull/24187",
"diff_url": "https://github.com/huggingface/transformers/pull/24187.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24187.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24186 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24186/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24186/comments | https://api.github.com/repos/huggingface/transformers/issues/24186/events | https://github.com/huggingface/transformers/issues/24186 | 1,752,097,059 | I_kwDOCUB6oc5obuEj | 24,186 | In examples, complete steps not correct when load from checkpoint | {
"login": "Ethan-yt",
"id": 9592150,
"node_id": "MDQ6VXNlcjk1OTIxNTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9592150?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ethan-yt",
"html_url": "https://github.com/Ethan-yt",
"followers_url": "https://api.github.com/users/Ethan... | [] | closed | false | null | [] | [
"Would you like to make a PR with a fix?",
"> Would you like to make a PR with a fix?\r\n\r\n\r\nDone!\r\nhttps://github.com/huggingface/transformers/pull/24197"
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | ### System Info
https://github.com/huggingface/transformers/blob/8f093fb799246f7dd9104ff44728da0c53a9f67a/examples/pytorch/language-modeling/run_clm_no_trainer.py#L575
Should be:
```python
completed_steps = resume_step // args.gradient_accumulation_steps
```
### Who can help?
@sgugger
### Information
- [X] The... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24186/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24186/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24185 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24185/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24185/comments | https://api.github.com/repos/huggingface/transformers/issues/24185/events | https://github.com/huggingface/transformers/issues/24185 | 1,752,022,937 | I_kwDOCUB6oc5obb-Z | 24,185 | GPT2 jit trace ERROR | {
"login": "HLearning",
"id": 11738124,
"node_id": "MDQ6VXNlcjExNzM4MTI0",
"avatar_url": "https://avatars.githubusercontent.com/u/11738124?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HLearning",
"html_url": "https://github.com/HLearning",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"input_tuple = (inputs['input_ids'], inputs['attention_mask'])\r\n\r\nupdata\r\n\r\ninput_tuple = inputs['input_ids']"
] | 1,686 | 1,686 | 1,686 | NONE | null | ### System Info
version
transformers: 4.29.1
pytorch: 2.0.0+cu117
python: 3.8.8
code:
```
from transformers import GPT2Tokenizer, GPT2Model
import torch
import transformers
print(transformers.__version__)
print(torch.__version__)
model_name = 'gpt2'
input_text = ["nice to meet you " * 63 + "hello g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24185/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24185/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24184 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24184/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24184/comments | https://api.github.com/repos/huggingface/transformers/issues/24184/events | https://github.com/huggingface/transformers/pull/24184 | 1,751,856,039 | PR_kwDOCUB6oc5SubBK | 24,184 | typo: fix typos in CONTRIBUTING.md and deepspeed.mdx | {
"login": "zsj9509",
"id": 28675090,
"node_id": "MDQ6VXNlcjI4Njc1MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/28675090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zsj9509",
"html_url": "https://github.com/zsj9509",
"followers_url": "https://api.github.com/users/zsj950... | [] | 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_24184). All of your documentation changes will be reflected on that endpoint."
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
Fix the following two typos
+ Missing line break after the third item in the Pull Request Checklist section of the CONTRIBUTING.md.
+ A typo error in the deepspeed.mdx file
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24184/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24184/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24184",
"html_url": "https://github.com/huggingface/transformers/pull/24184",
"diff_url": "https://github.com/huggingface/transformers/pull/24184.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24184.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24183 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24183/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24183/comments | https://api.github.com/repos/huggingface/transformers/issues/24183/events | https://github.com/huggingface/transformers/issues/24183 | 1,751,829,304 | I_kwDOCUB6oc5oass4 | 24,183 | Question in load datasets of train seq2seq model | {
"login": "xyx361100238",
"id": 19569322,
"node_id": "MDQ6VXNlcjE5NTY5MzIy",
"avatar_url": "https://avatars.githubusercontent.com/u/19569322?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xyx361100238",
"html_url": "https://github.com/xyx361100238",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"I think this is just CPU workers spinning up, you can verify by asking on the datasets repo where you can get dedicated datasets help: https://github.com/huggingface/datasets",
"Yes,I have already asking on the datasets repo but no response yet",
"Feel free to gently ping `mariosasko` (he's usually very respon... | 1,686 | 1,689 | 1,689 | NONE | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-5.4.0-149-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.7.16
- Huggingface_hub version: 0.13.2
- PyTorch version (GPU?): 1.13.1+cu116 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24183/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24183/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24182 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24182/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24182/comments | https://api.github.com/repos/huggingface/transformers/issues/24182/events | https://github.com/huggingface/transformers/issues/24182 | 1,751,816,538 | I_kwDOCUB6oc5oapla | 24,182 | About finetuning Whisper by multi-GPUs | {
"login": "LYPinASR",
"id": 112866899,
"node_id": "U_kgDOBro2Uw",
"avatar_url": "https://avatars.githubusercontent.com/u/112866899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LYPinASR",
"html_url": "https://github.com/LYPinASR",
"followers_url": "https://api.github.com/users/LYPinASR/... | [] | closed | false | null | [] | [
"Hi @LYPinASR, thanks for raising an issue! \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think t... | 1,686 | 1,689 | 1,689 | NONE | null | ### Feature request
I want to finetune Whisper by 4 GPUs, what should I do?
### Motivation
finetuning Whisper by multi-GPUs
### Your contribution
finetuning Whisper by multi-GPUs | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24182/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24182/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24181 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24181/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24181/comments | https://api.github.com/repos/huggingface/transformers/issues/24181/events | https://github.com/huggingface/transformers/pull/24181 | 1,751,772,561 | PR_kwDOCUB6oc5SuI93 | 24,181 | Update README_zh-hans.md | {
"login": "CooperFu",
"id": 9016149,
"node_id": "MDQ6VXNlcjkwMTYxNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9016149?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CooperFu",
"html_url": "https://github.com/CooperFu",
"followers_url": "https://api.github.com/users/Coope... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,686 | 1,687 | 1,686 | CONTRIBUTOR | null | update document link
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24181/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24181/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24181",
"html_url": "https://github.com/huggingface/transformers/pull/24181",
"diff_url": "https://github.com/huggingface/transformers/pull/24181.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24181.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24180 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24180/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24180/comments | https://api.github.com/repos/huggingface/transformers/issues/24180/events | https://github.com/huggingface/transformers/issues/24180 | 1,751,757,724 | I_kwDOCUB6oc5oabOc | 24,180 | Bring back Transformer-encoder, LSTM-decoder models | {
"login": "Ubadub",
"id": 1286898,
"node_id": "MDQ6VXNlcjEyODY4OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1286898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ubadub",
"html_url": "https://github.com/Ubadub",
"followers_url": "https://api.github.com/users/Ubadub/foll... | [] | closed | false | null | [] | [
"Hi @Ubadub, \r\n\r\nThere's many reasons a model might be removed or code deleted. Every piece of code in the library requires maintenance from us, and so it's not possible to support everything. We decide what to keep, remove or deprecate based on maintenance burden and how impactful it is for the community. The ... | 1,686 | 1,689 | 1,689 | CONTRIBUTOR | null | ### Feature request
HuggingFace used to support (albeit, with bugs), a "Model2LSTM" class that was closed with [this ticket](https://github.com/huggingface/transformers/issues/2849) / [this PR](https://github.com/huggingface/transformers/pull/2968). While [the code](https://github.com/huggingface/transformers/blob/9... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24180/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24180/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24179 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24179/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24179/comments | https://api.github.com/repos/huggingface/transformers/issues/24179/events | https://github.com/huggingface/transformers/issues/24179 | 1,751,673,029 | I_kwDOCUB6oc5oaGjF | 24,179 | Loading a tokenizer from the Tokenizers library doesn't transfer over padding/truncation behavior correctly | {
"login": "Ubadub",
"id": 1286898,
"node_id": "MDQ6VXNlcjEyODY4OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1286898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ubadub",
"html_url": "https://github.com/Ubadub",
"followers_url": "https://api.github.com/users/Ubadub/foll... | [
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization",
"name": "Core: Tokenization",
"color": "FF4446",
"default": false,
"description": "Internals of the library; Tokenization."
}
] | closed | false | null | [] | [
"The responsible bit of code seems to be [in the `set_truncation_and_padding` function](https://github.com/huggingface/transformers/blob/main/src/transformers/tokenization_utils_fast.py#L319) of `PreTrainedTokenizerFast`. And it affects truncation, too, not just padding. Basically, this function erases the backend... | 1,686 | 1,700 | 1,690 | CONTRIBUTOR | null | ### System Info
Not especially relevant, but included for completeness:
- `transformers` version: 4.29.2
- Platform: macOS-13.2-x86_64-i386-64bit
- Python version: 3.10.11
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0 (False)
- Tensorflow version (GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24179/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24179/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24177 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24177/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24177/comments | https://api.github.com/repos/huggingface/transformers/issues/24177/events | https://github.com/huggingface/transformers/pull/24177 | 1,751,538,501 | PR_kwDOCUB6oc5StYYh | 24,177 | Generate: force caching on the main model, in 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._"
] | 1,686 | 1,686 | 1,686 | MEMBER | null | # What does this PR do?
Fixes #23686
Caching is a requirement in assisted generation -- we even check for it ([here](https://github.com/huggingface/transformers/blob/8f093fb799246f7dd9104ff44728da0c53a9f67a/src/transformers/generation/utils.py#L1485)).
However, it was still possible for the main model to run ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24177/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24177/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24177",
"html_url": "https://github.com/huggingface/transformers/pull/24177",
"diff_url": "https://github.com/huggingface/transformers/pull/24177.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24177.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24171 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24171/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24171/comments | https://api.github.com/repos/huggingface/transformers/issues/24171/events | https://github.com/huggingface/transformers/issues/24171 | 1,751,510,378 | I_kwDOCUB6oc5oZe1q | 24,171 | self_attention_mask | {
"login": "oroojlooy",
"id": 20797260,
"node_id": "MDQ6VXNlcjIwNzk3MjYw",
"avatar_url": "https://avatars.githubusercontent.com/u/20797260?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oroojlooy",
"html_url": "https://github.com/oroojlooy",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @ArthurZucker @younesbelkada ",
"Hey @oroojlooy thanks for opening an issue. Sorry didn't really have time to dive into this, could you try with the latest version of `transformers`. Could you also share you script on how you called the model! 🤗 ",
"This issue has been automatically marked as stale because... | 1,686 | 1,692 | 1,692 | NONE | null | ### System Info
- `transformers` version: 4.29.2
- Platform: Linux-5.4.17-2136.318.7.1.el7uek.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.15.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?): not installed (NA)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24171/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24171/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24170 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24170/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24170/comments | https://api.github.com/repos/huggingface/transformers/issues/24170/events | https://github.com/huggingface/transformers/issues/24170 | 1,751,425,862 | I_kwDOCUB6oc5oZKNG | 24,170 | AttributeError:` 'str' object `has no attribute 'dtype' | {
"login": "flckv",
"id": 103381497,
"node_id": "U_kgDOBil5-Q",
"avatar_url": "https://avatars.githubusercontent.com/u/103381497?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flckv",
"html_url": "https://github.com/flckv",
"followers_url": "https://api.github.com/users/flckv/followers",
... | [] | closed | false | null | [] | [
"Hi @flckv, \r\n\r\nIn the issue info above, you mention using the official script, however it appears a custom dataset is being used. So that we can best help you, could you share a reproducible code snippet and full traceback of the error encountered? \r\n\r\nAs mentioned in a previous issue - #24143 - for genera... | 1,686 | 1,693 | 1,689 | NONE | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-5.4.204-ql-generic-12.0-19-x86_64-with-glibc2.31
- Python version: 3.11.3
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1 (True)
Versions of relevant libraries:
[pip3] numpy==1.23.0
[pip3] tor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24170/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24170/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24169 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24169/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24169/comments | https://api.github.com/repos/huggingface/transformers/issues/24169/events | https://github.com/huggingface/transformers/issues/24169 | 1,751,407,744 | I_kwDOCUB6oc5oZFyA | 24,169 | NLLB trunc translation | {
"login": "FranPuentes",
"id": 2001456,
"node_id": "MDQ6VXNlcjIwMDE0NTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2001456?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FranPuentes",
"html_url": "https://github.com/FranPuentes",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Hi @FranPuentes \r\nI tried to play a bit with the model and its behavior is quite interesting. If you managed to fit everything in a single line (without `.`) the model seems to successfully translate the entire sentence but it seems that the model stops generating (in your case) after the second sentence. \r\nAl... | 1,686 | 1,690 | 1,690 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-5.4.0-150-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.13.2
- Safetensors version: not installed
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24169/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24169/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24168 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24168/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24168/comments | https://api.github.com/repos/huggingface/transformers/issues/24168/events | https://github.com/huggingface/transformers/pull/24168 | 1,751,398,788 | PR_kwDOCUB6oc5Ss7z5 | 24,168 | Update the RWKV documentation with fixes to spelling and wording | {
"login": "DevJake",
"id": 4295059,
"node_id": "MDQ6VXNlcjQyOTUwNTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4295059?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DevJake",
"html_url": "https://github.com/DevJake",
"followers_url": "https://api.github.com/users/DevJake/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24168). 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,686 | 1,689 | 1,689 | NONE | null | # What does this PR do?
This PR fixes and performs the following in the RWKV documentation:
- Various words spelt incorrectly
- Grammatical issues
- Remove unnecessary verbosity in places
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24168/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24168/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24168",
"html_url": "https://github.com/huggingface/transformers/pull/24168",
"diff_url": "https://github.com/huggingface/transformers/pull/24168.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24168.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24167 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24167/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24167/comments | https://api.github.com/repos/huggingface/transformers/issues/24167/events | https://github.com/huggingface/transformers/issues/24167 | 1,751,390,442 | I_kwDOCUB6oc5oZBjq | 24,167 | Transformers | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [] | closed | false | null | [] | [] | 1,686 | 1,686 | 1,686 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24167/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24167/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24166 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24166/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24166/comments | https://api.github.com/repos/huggingface/transformers/issues/24166/events | https://github.com/huggingface/transformers/issues/24166 | 1,751,361,708 | I_kwDOCUB6oc5oY6is | 24,166 | Decoding with skip_special_tokens=True doesn't remove pad token | {
"login": "Praful932",
"id": 45713796,
"node_id": "MDQ6VXNlcjQ1NzEzNzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/45713796?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Praful932",
"html_url": "https://github.com/Praful932",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"@ArthurZucker can confirm, but I suspect the pad token of the tokenizer is probably not defined correctly, in the notebook you have:\r\n\r\n```python\r\nprint(tokenizer.pad_token,tokenizer.pad_token_id)\r\n>>> [PAD] 32100\r\n```\r\n\r\nand in the generated text: \r\n```python\r\nprint(decode... | 1,686 | 1,687 | 1,687 | NONE | null | ### System Info
- `transformers` version: 4.31.0.dev0
- Platform: Linux-5.15.107+-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax version (CPU?/GPU?/TPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24166/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24166/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24161 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24161/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24161/comments | https://api.github.com/repos/huggingface/transformers/issues/24161/events | https://github.com/huggingface/transformers/issues/24161 | 1,751,278,827 | I_kwDOCUB6oc5oYmTr | 24,161 | DetrAttention `is_decoder` is not defined | {
"login": "JayL0321",
"id": 31190549,
"node_id": "MDQ6VXNlcjMxMTkwNTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/31190549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JayL0321",
"html_url": "https://github.com/JayL0321",
"followers_url": "https://api.github.com/users/Jay... | [] | closed | false | null | [] | [
"cc @NielsRogge ",
"Yes, seems like a left-over from copying from another model. Feel free to open a PR to remove the `is_decoder` parameter"
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/blob/fe861e578f50dc9c06de33cd361d2f625017e624/src/transformers/models/detr/modeling_detr.py#LL502C9-L502C19
The `is_decoder` parameter is in the init function, but it is not reference in the body. While in `DetrDecoderLayer`, this parameter is initialized as `True`. Very c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24161/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24161/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24159 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24159/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24159/comments | https://api.github.com/repos/huggingface/transformers/issues/24159/events | https://github.com/huggingface/transformers/issues/24159 | 1,751,096,873 | I_kwDOCUB6oc5oX54p | 24,159 | GPT2ForQuestionAnswering: how to use? | {
"login": "mkschreder",
"id": 4483721,
"node_id": "MDQ6VXNlcjQ0ODM3MjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4483721?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mkschreder",
"html_url": "https://github.com/mkschreder",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Hi @mkschreder, thanks for raising this issue. \r\n\r\nIn terms of the issue title - how to use - there's a more in-depth guide about question-answering in the [task documentation](https://huggingface.co/docs/transformers/v4.30.0/en/tasks/question_answering#question-answering) and [NLP course](https://huggingface.... | 1,686 | 1,689 | 1,689 | NONE | null | https://github.com/huggingface/transformers/blob/8f093fb799246f7dd9104ff44728da0c53a9f67a/docs/source/en/model_doc/gpt2.mdx?plain=1#L116
The documentation generated for this question answering model is complete nonsense: https://huggingface.co/docs/transformers/model_doc/gpt2#transformers.GPT2ForQuestionAnswering.fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24159/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24159/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24156 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24156/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24156/comments | https://api.github.com/repos/huggingface/transformers/issues/24156/events | https://github.com/huggingface/transformers/pull/24156 | 1,751,036,452 | PR_kwDOCUB6oc5Srw8N | 24,156 | 🌐 [i18n-KO] Fixed `tutorial/preprocessing.mdx` | {
"login": "sim-so",
"id": 96299403,
"node_id": "U_kgDOBb1piw",
"avatar_url": "https://avatars.githubusercontent.com/u/96299403?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sim-so",
"html_url": "https://github.com/sim-so",
"followers_url": "https://api.github.com/users/sim-so/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,686 | 1,688 | 1,687 | 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/24156/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/24156/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24156",
"html_url": "https://github.com/huggingface/transformers/pull/24156",
"diff_url": "https://github.com/huggingface/transformers/pull/24156.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24156.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24155 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24155/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24155/comments | https://api.github.com/repos/huggingface/transformers/issues/24155/events | https://github.com/huggingface/transformers/issues/24155 | 1,750,906,518 | I_kwDOCUB6oc5oXLaW | 24,155 | TypeError: Repository.__init__() got an unexpected keyword argument 'private' | {
"login": "heavenkiller2018",
"id": 45555611,
"node_id": "MDQ6VXNlcjQ1NTU1NjEx",
"avatar_url": "https://avatars.githubusercontent.com/u/45555611?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/heavenkiller2018",
"html_url": "https://github.com/heavenkiller2018",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hi @heavenkiller2018,\r\n\r\nCould you try updating the version of transformers in your environment to the latest release? \r\n\r\n`pip install -U transformers`\r\n\r\nIt seems there's a mismatch between the huggingface_hub and transformers packages in your environment. \r\n",
"This issue has been automatically ... | 1,686 | 1,689 | 1,689 | NONE | null | ### System Info
env:
```
❯ conda list
List of packages in environment: "/home/john/micromamba/envs/nlpcourse"
Name Version Build Channel
──────────────────────────────────────────────────────────────────────────────────────────────
_libgcc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24155/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24155/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24152 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24152/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24152/comments | https://api.github.com/repos/huggingface/transformers/issues/24152/events | https://github.com/huggingface/transformers/issues/24152 | 1,750,764,911 | I_kwDOCUB6oc5oWo1v | 24,152 | /gpt2/resolve/main/tokenizer_config.json (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number | {
"login": "starlitsky2010",
"id": 10757117,
"node_id": "MDQ6VXNlcjEwNzU3MTE3",
"avatar_url": "https://avatars.githubusercontent.com/u/10757117?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/starlitsky2010",
"html_url": "https://github.com/starlitsky2010",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"The error seems like a temporary failure on the Hub, your code does not error on my side. As for downloading in another folder you need to use the `cache_dir` argument to change the cache location.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this stil... | 1,686 | 1,689 | 1,689 | NONE | null | ### System Info
/usr/local/lib/python3.8/dist-packages/pandas/core/computation/expressions.py:20: UserWarning: Pandas requires version '2.7.3' or newer of 'numexpr' (version '2.7.2' currently installed).
from pandas.core.computation.check import NUMEXPR_INSTALLED
Copy-and-paste the text below in your GitHub issu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24152/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24152/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24151 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24151/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24151/comments | https://api.github.com/repos/huggingface/transformers/issues/24151/events | https://github.com/huggingface/transformers/pull/24151 | 1,750,589,923 | PR_kwDOCUB6oc5SqTIh | 24,151 | [tests] fix bitsandbytes import issue | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | this test has been failing when `peft` library was installed since it tries to access `bitsandbytes.nn`
```
$ pip install accelerate peft bitsandbytes==0.39.0
$ RUN_SLOW="yes" pytest -sv tests/extended/test_trainer_ext.py::TestTrainerExt::test_run_seq2seq_bnb
[...]
RuntimeError: Failed to import transformers.train... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24151/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24151/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24151",
"html_url": "https://github.com/huggingface/transformers/pull/24151",
"diff_url": "https://github.com/huggingface/transformers/pull/24151.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24151.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24150 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24150/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24150/comments | https://api.github.com/repos/huggingface/transformers/issues/24150/events | https://github.com/huggingface/transformers/issues/24150 | 1,750,427,486 | I_kwDOCUB6oc5oVWde | 24,150 | Training auto cancelling | {
"login": "Cirediallo",
"id": 16343565,
"node_id": "MDQ6VXNlcjE2MzQzNTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/16343565?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Cirediallo",
"html_url": "https://github.com/Cirediallo",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey!\r\nWithout a traceback, there's nothing we can really do to help your with this. It seems that the las line has ` 0% 1228/30627537 [1:17:07<29988:35:31, 3.53s/it]^C` with `^C` is similar to when you actually press ctrl+c.\r\nI suggest to post this on the [forum](https://discuss.huggingface.co/) and see if s... | 1,686 | 1,689 | 1,689 | NONE | null | ### System Info
Transformers version: 4.31.0.dev0
Platform: Google Colab
Environment configuration: TPU, GPU(V100)
Python version: Python 3.10.12
### Who can help?
@patil-suraj @ArthurZucker
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially suppo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24150/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24150/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24149 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24149/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24149/comments | https://api.github.com/repos/huggingface/transformers/issues/24149/events | https://github.com/huggingface/transformers/issues/24149 | 1,750,331,657 | I_kwDOCUB6oc5oU_EJ | 24,149 | Official Example - BeamSearchScorer always returns just one beam, even I specified 3 | {
"login": "Oxi84",
"id": 25420033,
"node_id": "MDQ6VXNlcjI1NDIwMDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/25420033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Oxi84",
"html_url": "https://github.com/Oxi84",
"followers_url": "https://api.github.com/users/Oxi84/follow... | [] | closed | false | null | [] | [
"@ArthurZucker @younesbelkada @Narsil",
"Hi @Oxi84, thanks for raising this issue!\r\n\r\nCould you provide information about the environment packages? Just run `! transformers-cli env` in a colab cell and copy paste the output. \r\n\r\ncc @gante ",
"Sure:\r\n\r\n- `transformers` version: 4.30.1\r\n- Platform... | 1,686 | 1,689 | 1,689 | NONE | null | ### System Info
google colab latest
### 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, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24149/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24149/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24148 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24148/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24148/comments | https://api.github.com/repos/huggingface/transformers/issues/24148/events | https://github.com/huggingface/transformers/issues/24148 | 1,750,324,682 | I_kwDOCUB6oc5oU9XK | 24,148 | RWKV cuda kernel loading | {
"login": "Hannibal046",
"id": 38466901,
"node_id": "MDQ6VXNlcjM4NDY2OTAx",
"avatar_url": "https://avatars.githubusercontent.com/u/38466901?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hannibal046",
"html_url": "https://github.com/Hannibal046",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I found the problem was about the `nvcc` and `cuda` mismatch. The installation of `cudatoolkit` from `conda` doesn't necessarily download all relevant cuda things(e.g. `nvcc`).\r\n\r\nSo I solve it on my side by `conda install cuda -c nvidia`",
"Awesome thanks for sharing the solution! "
] | 1,686 | 1,687 | 1,687 | NONE | null | ### System Info
- `transformers` version: 4.31.0.dev0
- Platform: Linux-5.4.0-147-generic-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.0+cu118 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24148/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/24148/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24147 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24147/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24147/comments | https://api.github.com/repos/huggingface/transformers/issues/24147/events | https://github.com/huggingface/transformers/issues/24147 | 1,750,272,707 | I_kwDOCUB6oc5oUwrD | 24,147 | ImportError: Using the `Trainer` with `PyTorch` requires `accelerate>=0.20.1`: Please run `pip install transformers[torch]` or `pip install accelerate -U` | {
"login": "cssndrx",
"id": 1688894,
"node_id": "MDQ6VXNlcjE2ODg4OTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1688894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cssndrx",
"html_url": "https://github.com/cssndrx",
"followers_url": "https://api.github.com/users/cssndrx/... | [] | closed | false | null | [] | [
"You need to restart your colab environment after updating the library.",
"thanks @sgugger for the quick fix! I was having the same issue as mentioned by @cssndrx . ",
"Thank you @sgugger, that was the issue! ",
"Thanks, I was having the same issue!\r\n",
"restart virtalenv slove my same issue,thanks",
"w... | 1,686 | 1,705 | 1,686 | NONE | null | ### System Info
I'm running the example code from
https://huggingface.co/docs/transformers/training
on a Colab
and it's failing with
[/usr/local/lib/python3.10/dist-packages/transformers/training_args.py](https://localhost:8080/#) in _setup_devices(self)
1670 if not is_sagemaker_mp_enabled():
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24147/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24147/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24146 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24146/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24146/comments | https://api.github.com/repos/huggingface/transformers/issues/24146/events | https://github.com/huggingface/transformers/pull/24146 | 1,750,219,729 | PR_kwDOCUB6oc5SpBzi | 24,146 | Stop storing references to bound methods via tf.function | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"no OOM with this PR (for the models involved), but we have some errors regarding `TypeError: Binding inputs to tf.function `eager_serving` failed due to `missing a required argument: 'inputs'`` popping up for several model/tokenizer ... | 1,686 | 1,686 | 1,686 | MEMBER | null | This is (hopefully!) the end of a long saga this week.
@ydshieh noticed that our tests runners were going OOM, after a couple of PRs I made to dummy inputs. I thought the problem was just that the new dummy inputs were too large, but eventually we figured out that the problem was actually quite complicated!
tl;dr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24146/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24146/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24146",
"html_url": "https://github.com/huggingface/transformers/pull/24146",
"diff_url": "https://github.com/huggingface/transformers/pull/24146.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24146.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24145 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24145/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24145/comments | https://api.github.com/repos/huggingface/transformers/issues/24145/events | https://github.com/huggingface/transformers/pull/24145 | 1,750,117,216 | PR_kwDOCUB6oc5SorOs | 24,145 | Adds LILT to models exportable with ONNX | {
"login": "mariababich",
"id": 28024756,
"node_id": "MDQ6VXNlcjI4MDI0NzU2",
"avatar_url": "https://avatars.githubusercontent.com/u/28024756?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mariababich",
"html_url": "https://github.com/mariababich",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @mariababich , the ONNX export is now supported in Optimum, I merged your PR there: https://github.com/huggingface/optimum/pull/1098"
] | 1,686 | 1,686 | 1,686 | NONE | null | # What does this PR do?
Adds LILT to models exportable with ONNX
<!--
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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24145/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24145/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24145",
"html_url": "https://github.com/huggingface/transformers/pull/24145",
"diff_url": "https://github.com/huggingface/transformers/pull/24145.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24145.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24144 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24144/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24144/comments | https://api.github.com/repos/huggingface/transformers/issues/24144/events | https://github.com/huggingface/transformers/pull/24144 | 1,750,051,674 | PR_kwDOCUB6oc5Soc4E | 24,144 | Fix typo in streamers.py | {
"login": "freddiev4",
"id": 8339018,
"node_id": "MDQ6VXNlcjgzMzkwMTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8339018?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/freddiev4",
"html_url": "https://github.com/freddiev4",
"followers_url": "https://api.github.com/users/fr... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24144). All of your documentation changes will be reflected on that endpoint."
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
Fixes a typo in `transformers/generation/streamers.py`. Caught it while browsing some of the streaming code 😃
<!--
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 s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24144/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24144/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24144",
"html_url": "https://github.com/huggingface/transformers/pull/24144",
"diff_url": "https://github.com/huggingface/transformers/pull/24144.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24144.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24143 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24143/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24143/comments | https://api.github.com/repos/huggingface/transformers/issues/24143/events | https://github.com/huggingface/transformers/issues/24143 | 1,749,957,013 | I_kwDOCUB6oc5oTjmV | 24,143 | audio classification official script on local own dataset | {
"login": "flckv",
"id": 103381497,
"node_id": "U_kgDOBil5-Q",
"avatar_url": "https://avatars.githubusercontent.com/u/103381497?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flckv",
"html_url": "https://github.com/flckv",
"followers_url": "https://api.github.com/users/flckv/followers",
... | [] | closed | false | null | [] | [
"Hi @flckv, thanks for raising an issue! \r\n\r\nThe error messages are telling you what the issues are. \r\n\r\n1. The feature `audio` isn't in the csv. The csv has two column names: `train` and `label`. You should either update the csv to have `audio` as a column name, or passing in `--audio_column_name train` wh... | 1,686 | 1,686 | 1,686 | NONE | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-5.4.204-ql-generic-12.0-19-x86_64-with-glibc2.17
- Python version: 3.8.12
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
Versions of relevant libraries:
[pip3] numpy==1.24.3
[p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24143/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24143/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24142 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24142/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24142/comments | https://api.github.com/repos/huggingface/transformers/issues/24142/events | https://github.com/huggingface/transformers/issues/24142 | 1,749,933,135 | I_kwDOCUB6oc5oTdxP | 24,142 | Add MQTTS | {
"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... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"cc: @sanchit-gandhi and @ArthurZucker ",
"I think this is a cool model - whether it outperforms Bark (#24086) is up for debate. My only concerns are:\r\n1. The NC license which is not super permissive\r\n2. The low-visibility of the original repo: with only 130 GH stars, it seems like the community is not super ... | 1,686 | 1,688 | 1,688 | CONTRIBUTOR | null | ### Model description
MQTTS is a Text to Speech model which was introduced in the paper [A Vector Quantized Approach for Text to Speech Synthesis on Real-World Spontaneous Speech](https://arxiv.org/pdf/2302.04215.pdf). Their work explore the use of more abundant real-world data for building speech synthesizers. It's a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24142/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24142/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24141 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24141/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24141/comments | https://api.github.com/repos/huggingface/transformers/issues/24141/events | https://github.com/huggingface/transformers/pull/24141 | 1,749,913,580 | PR_kwDOCUB6oc5Sn-up | 24,141 | [documentation] grammatical fixes in image_classification.mdx | {
"login": "LiamSwayne",
"id": 108629034,
"node_id": "U_kgDOBnmMKg",
"avatar_url": "https://avatars.githubusercontent.com/u/108629034?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LiamSwayne",
"html_url": "https://github.com/LiamSwayne",
"followers_url": "https://api.github.com/users/Lia... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24141). All of your documentation changes will be reflected on that endpoint."
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | The changes made are grammatical and do not affect the ideas communicated in the file. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24141/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24141/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24141",
"html_url": "https://github.com/huggingface/transformers/pull/24141",
"diff_url": "https://github.com/huggingface/transformers/pull/24141.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24141.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24140 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24140/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24140/comments | https://api.github.com/repos/huggingface/transformers/issues/24140/events | https://github.com/huggingface/transformers/pull/24140 | 1,749,896,782 | PR_kwDOCUB6oc5Sn7Vu | 24,140 | [`SAM`] Fix sam slow test | {
"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._",
"@younesbelkada Could you update the type hint for the pipeline too? \r\n\r\nnb: from pytorch it seems [we shouldn't use torch.cude.set_device()](https://pytorch.org/docs/stable/generated/torch.cuda.set_device.html) cc @Narsil ",
"S... | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
Fixes SAM slow test, link to failing job: https://github.com/huggingface/transformers/actions/runs/5206799863
* Why this fix is relevant?
Before the PR, it seems I was initalizing the pipeline in the wrong way. Passing a string to `device` argument of pipeline leads to an error. To rep... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24140/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24140/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24140",
"html_url": "https://github.com/huggingface/transformers/pull/24140",
"diff_url": "https://github.com/huggingface/transformers/pull/24140.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24140.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24139 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24139/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24139/comments | https://api.github.com/repos/huggingface/transformers/issues/24139/events | https://github.com/huggingface/transformers/pull/24139 | 1,749,846,592 | PR_kwDOCUB6oc5Snv9u | 24,139 | Avoid OOM in doctest 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._",
"Update: after a correction, only 30 minutes longer or a bit more.\r\n\r\nThe job runs 2x slower ...",
"Running the whole doctest: No more OOM. Only one test failure (lucky!)\r\n\r\nTag @sgugger so we can have doctest run until @Roc... | 1,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
This is done by inject `gc.collect()` to the source code during pytest/doctest collecting the test to run. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24139/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24139/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24139",
"html_url": "https://github.com/huggingface/transformers/pull/24139",
"diff_url": "https://github.com/huggingface/transformers/pull/24139.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24139.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24138 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24138/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24138/comments | https://api.github.com/repos/huggingface/transformers/issues/24138/events | https://github.com/huggingface/transformers/pull/24138 | 1,749,698,143 | PR_kwDOCUB6oc5SnPJK | 24,138 | Correctly build models and import call_context for older TF versions | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"@amyeroberts The code is in a conditional block that checks TF versions. I'm currently testing all TF versions since 2.4 to make sure this works for all of them - give me a few minutes to finish that before we merge the PR!",
"Version testing looks good!",
"_The documentation is not available anymore as the PR... | 1,686 | 1,686 | 1,686 | MEMBER | null | Our import for `call_context` was wrong for older TF versions - this unfortunately makes it quite hard to load models on older TF versions! This PR fixes it, and sorry about the issue!
Fixes #24133 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24138/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24138/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24138",
"html_url": "https://github.com/huggingface/transformers/pull/24138",
"diff_url": "https://github.com/huggingface/transformers/pull/24138.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24138.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24137 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24137/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24137/comments | https://api.github.com/repos/huggingface/transformers/issues/24137/events | https://github.com/huggingface/transformers/pull/24137 | 1,749,619,280 | PR_kwDOCUB6oc5Sm9g9 | 24,137 | [`bnb`] Fix bnb config json serialization | {
"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,686 | 1,689 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
Fixes #24131
Fixes https://github.com/huggingface/peft/issues/558
Replaces the PR: https://github.com/huggingface/transformers/pull/24094
To reproduce:
```python
import torch
from transformers import BitsAndBytesConfig, AutoModelForVision2Seq
bnb_config = BitsAndBytesConfig(
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24137/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/24137/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24137",
"html_url": "https://github.com/huggingface/transformers/pull/24137",
"diff_url": "https://github.com/huggingface/transformers/pull/24137.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24137.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24136 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24136/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24136/comments | https://api.github.com/repos/huggingface/transformers/issues/24136/events | https://github.com/huggingface/transformers/pull/24136 | 1,749,585,729 | PR_kwDOCUB6oc5Sm2C3 | 24,136 | Update urls in warnings for rich rendering | {
"login": "IvanReznikov",
"id": 25007854,
"node_id": "MDQ6VXNlcjI1MDA3ODU0",
"avatar_url": "https://avatars.githubusercontent.com/u/25007854?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IvanReznikov",
"html_url": "https://github.com/IvanReznikov",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi @IvanReznikov - thanks for opening a PR. Could you expand a bit on the issue this is addressing? All I'm seeing in the diff is splitting the `\")\"` bracket onto a new line. ",
"@amyeroberts, the bracket was part of the URL, what leads to 404 obviously.",
"@IvanReznikov The bracket is just the closing brac... | 1,686 | 1,686 | 1,686 | 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/24136/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24136/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24136",
"html_url": "https://github.com/huggingface/transformers/pull/24136",
"diff_url": "https://github.com/huggingface/transformers/pull/24136.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24136.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24135 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24135/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24135/comments | https://api.github.com/repos/huggingface/transformers/issues/24135/events | https://github.com/huggingface/transformers/issues/24135 | 1,749,573,532 | I_kwDOCUB6oc5oSF-c | 24,135 | Invalid hyperlink error 404 in Transformer Doc for RayTune | {
"login": "JoshuaEPSamuel",
"id": 66880119,
"node_id": "MDQ6VXNlcjY2ODgwMTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/66880119?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JoshuaEPSamuel",
"html_url": "https://github.com/JoshuaEPSamuel",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"feel free to open a PR to fix if you can:)"
] | 1,686 | 1,687 | 1,687 | CONTRIBUTOR | null | Greetings,
Small issue here: following the HuggingFace Transformer Docs on Hyperparameter Search using Trainer API, for raytune the hyperlink for 'object_parameter' is now invalid and should be updated.
The other backends (sigopt, optuna, wandb) have correctly working hyperlinks for the 'object_parameter'.
Lin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24135/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24135/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24134 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24134/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24134/comments | https://api.github.com/repos/huggingface/transformers/issues/24134/events | https://github.com/huggingface/transformers/pull/24134 | 1,749,491,044 | PR_kwDOCUB6oc5Smhxp | 24,134 | fix bugs with trainer | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
Context:
1. Issue 1 - Currently, when the lr_scheduler is specified in the deepspeed config file, we leverage a DummyScheduler to pass to the `accelerator.prepare` to get the correct scheduler post prepare call. A prior PR removed preparation of the lr_scheduler leading to a lot of DeepSpeed t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24134/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24134/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24134",
"html_url": "https://github.com/huggingface/transformers/pull/24134",
"diff_url": "https://github.com/huggingface/transformers/pull/24134.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24134.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24133 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24133/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24133/comments | https://api.github.com/repos/huggingface/transformers/issues/24133/events | https://github.com/huggingface/transformers/issues/24133 | 1,749,413,780 | I_kwDOCUB6oc5oRe-U | 24,133 | Transformers can not load dependency of tensorflow - `cannot import name 'call_context' from 'tensorflow.***.keras.engine'` | {
"login": "MaximeChurin",
"id": 11043047,
"node_id": "MDQ6VXNlcjExMDQzMDQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/11043047?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximeChurin",
"html_url": "https://github.com/MaximeChurin",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Agh, sorry about that. PR to fix it is open at #24138 ",
"thanks feel free to close it when it is merged, if the PR does not close it automatically",
"Fixed on `main`, but we'll need to organize a patch release before you can unpin. Sorry for the trouble!",
"@MaximeChurin This should be resolved by the 4.30.... | 1,686 | 1,686 | 1,686 | NONE | null | ### System Info
- `transformers` version: 4.30.0
- Platform: Linux-5.19.0-43-generic-x86_64-with-glibc2.34
- Python version: 3.8.16
- Tensorflow version (GPU?): 2.8.2 (False)
### Who can help?
@gante and @Rocketknight1
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24133/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24133/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24132 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24132/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24132/comments | https://api.github.com/repos/huggingface/transformers/issues/24132/events | https://github.com/huggingface/transformers/pull/24132 | 1,749,315,292 | PR_kwDOCUB6oc5Sl61G | 24,132 | [lamaTokenizerFast] Update documentation | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
Updates the documentation for llamaFast.
I think that long term-wise it would make more sense that the rust tokenizer updates its internals if the specials tokens are updated as well, this would allow us to remove the python layer that takes care of it.
Related to #23889 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24132/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24132/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24132",
"html_url": "https://github.com/huggingface/transformers/pull/24132",
"diff_url": "https://github.com/huggingface/transformers/pull/24132.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24132.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24131 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24131/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24131/comments | https://api.github.com/repos/huggingface/transformers/issues/24131/events | https://github.com/huggingface/transformers/issues/24131 | 1,749,189,219 | I_kwDOCUB6oc5oQoJj | 24,131 | Object of type 'BitsAndBytesConfig' is not JSON serializable | {
"login": "karths8",
"id": 47289950,
"node_id": "MDQ6VXNlcjQ3Mjg5OTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/47289950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karths8",
"html_url": "https://github.com/karths8",
"followers_url": "https://api.github.com/users/karths... | [] | closed | false | null | [] | [
"Thanks for reporting, see the comment here: https://github.com/huggingface/transformers/pull/24094#pullrequestreview-1471475968 \r\nThat suggestion should solve the issue",
"@younesbelkada, I am running a finetuning of Llama2 7b and I needed to use the **gradient_checkpointing=True** in the **TrainingArguments**... | 1,686 | 1,697 | 1,686 | NONE | null | ### System Info
- `transformers` version: 4.30.0
- Platform: Linux-5.15.0-69-generic-x86_64-with-glibc2.29 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24131/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/24131/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24130 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24130/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24130/comments | https://api.github.com/repos/huggingface/transformers/issues/24130/events | https://github.com/huggingface/transformers/issues/24130 | 1,749,009,513 | I_kwDOCUB6oc5oP8Rp | 24,130 | seems to be a bug related to saving model | {
"login": "jeffchy",
"id": 17855610,
"node_id": "MDQ6VXNlcjE3ODU1NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/17855610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffchy",
"html_url": "https://github.com/jeffchy",
"followers_url": "https://api.github.com/users/jeffch... | [] | closed | false | null | [] | [
"cc @pacman100 ",
"Hello @jeffchy, Thank you for the thorough issue, can you please confirm if the above PR resolves your issue?"
] | 1,686 | 1,686 | 1,686 | NONE | null | ### System Info
I use pytorch==2.0 fsdp fully-shard
If I use transformers==4.29.1, accelerate==0.19.0, things works well:
```
[INFO|trainer.py:2904] 2023-06-09 10:35:25,236 >> Saving model checkpoint to ../outputs/tigerbot-7b/full/2023-06-09-10-33-49/ckpt/checkpoint-4
[INFO|configuration_utils.py:458] 2023-06-09 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24130/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24130/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24129 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24129/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24129/comments | https://api.github.com/repos/huggingface/transformers/issues/24129/events | https://github.com/huggingface/transformers/pull/24129 | 1,748,987,462 | PR_kwDOCUB6oc5Skzc4 | 24,129 | PLAM => PaLM | {
"login": "xingener",
"id": 3382402,
"node_id": "MDQ6VXNlcjMzODI0MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3382402?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xingener",
"html_url": "https://github.com/xingener",
"followers_url": "https://api.github.com/users/xinge... | [] | closed | false | null | [] | [
"I have no idea is it applicable that mr to main branch?",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
Fixes #24114 (issue)
doc fix: PLAM => PaLM
@amyeroberts, @sgugger, please review
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24129/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24129/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24129",
"html_url": "https://github.com/huggingface/transformers/pull/24129",
"diff_url": "https://github.com/huggingface/transformers/pull/24129.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24129.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24128 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24128/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24128/comments | https://api.github.com/repos/huggingface/transformers/issues/24128/events | https://github.com/huggingface/transformers/pull/24128 | 1,748,803,370 | PR_kwDOCUB6oc5SkRBL | 24,128 | Nah | {
"login": "jamesthesnake",
"id": 8227820,
"node_id": "MDQ6VXNlcjgyMjc4MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8227820?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jamesthesnake",
"html_url": "https://github.com/jamesthesnake",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [] | 1,686 | 1,686 | 1,686 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24128/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24128",
"html_url": "https://github.com/huggingface/transformers/pull/24128",
"diff_url": "https://github.com/huggingface/transformers/pull/24128.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24128.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24127 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24127/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24127/comments | https://api.github.com/repos/huggingface/transformers/issues/24127/events | https://github.com/huggingface/transformers/pull/24127 | 1,748,800,992 | PR_kwDOCUB6oc5SkQgp | 24,127 | Adding padding token GPTj config for the tokenizer. | {
"login": "jojivk73",
"id": 14943401,
"node_id": "MDQ6VXNlcjE0OTQzNDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/14943401?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jojivk73",
"html_url": "https://github.com/jojivk73",
"followers_url": "https://api.github.com/users/joj... | [] | closed | false | null | [] | [
"@sgugger , The GPTJOnnxConfig uses it though. Is there a better resolution for this in run_glue.py as it requires padding.",
"The `GPTJOnnxConfig` is not used anymore and only there for backward compatibility. Like I said, you can manually add that `pad_token_id` in the config to suit your needs, but it shouldn'... | 1,686 | 1,689 | 1,689 | NONE | null | # What does this PR do?
This PR adds pad_tokens to GPTJ tokenizer. This was seen as needed when GPTJ uses GPT2 or other tokenizer for GLUE fine-tuning tasks. The changes are in line with ONNX GPTJ Config setting in the same file. If there is an alternate fix that would solve it, that can be added as well.
Fixes ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24127/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24127/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24127",
"html_url": "https://github.com/huggingface/transformers/pull/24127",
"diff_url": "https://github.com/huggingface/transformers/pull/24127.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24127.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24126 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24126/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24126/comments | https://api.github.com/repos/huggingface/transformers/issues/24126/events | https://github.com/huggingface/transformers/issues/24126 | 1,748,734,109 | I_kwDOCUB6oc5oO5Cd | 24,126 | Run audio classification example using "facebook/hubert-base-ls960" model got stuck when use deepspeed, but works for wav2vec2 | {
"login": "Hertin",
"id": 14032494,
"node_id": "MDQ6VXNlcjE0MDMyNDk0",
"avatar_url": "https://avatars.githubusercontent.com/u/14032494?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hertin",
"html_url": "https://github.com/Hertin",
"followers_url": "https://api.github.com/users/Hertin/fo... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi @pacman100 ",
"That's super weird - is there any activity on your GPU? Thought it might be an issue with SpecAug + DeepSpeed, but we have the config params set the same in HuBERT and Wav2Vec2. So it must be a DeepSpeed bug. Are you able to see with any more detail where it hands? E.g. maybe wi... | 1,686 | 1,687 | 1,687 | NONE | null | ### System Info
I was trying to run the audio classification example using "facebook/hubert-base-ls960" with deepspeed on a 3 gpu node. The trainer and the model got stuck at the first training step. However, if I change only the `--model_name_or_path=facebook/hubert-base-ls960` to `--model_name_or_path=facebook/wav... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24126/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24126/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24125 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24125/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24125/comments | https://api.github.com/repos/huggingface/transformers/issues/24125/events | https://github.com/huggingface/transformers/pull/24125 | 1,748,604,983 | PR_kwDOCUB6oc5SjsMd | 24,125 | Fix SAM OOM issue on 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,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24125/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24125/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24125",
"html_url": "https://github.com/huggingface/transformers/pull/24125",
"diff_url": "https://github.com/huggingface/transformers/pull/24125.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24125.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24124 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24124/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24124/comments | https://api.github.com/repos/huggingface/transformers/issues/24124/events | https://github.com/huggingface/transformers/pull/24124 | 1,748,603,469 | PR_kwDOCUB6oc5Sjr2O | 24,124 | Fix Pipeline CI OOM issue | {
"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. Do you think this memory handling is something we should extend to most model tests by default? Is there too much of an overhead repeatedly clearing the cache / GC or other reasons it's not suitable?\r\n\r\nThis cleanup is ... | 1,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24124/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24124/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24124",
"html_url": "https://github.com/huggingface/transformers/pull/24124",
"diff_url": "https://github.com/huggingface/transformers/pull/24124.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24124.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24123 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24123/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24123/comments | https://api.github.com/repos/huggingface/transformers/issues/24123/events | https://github.com/huggingface/transformers/pull/24123 | 1,748,564,105 | PR_kwDOCUB6oc5SjjYt | 24,123 | Fix XGLM OOM on 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._",
"Going to merge as this is just the same as the other PRs. Don't need to bother too much the core maintainers."
] | 1,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
same as in #24122 and #24106 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24123/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24123/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24123",
"html_url": "https://github.com/huggingface/transformers/pull/24123",
"diff_url": "https://github.com/huggingface/transformers/pull/24123.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24123.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24122 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24122/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24122/comments | https://api.github.com/repos/huggingface/transformers/issues/24122/events | https://github.com/huggingface/transformers/pull/24122 | 1,748,514,942 | PR_kwDOCUB6oc5SjZPM | 24,122 | Fix TF Rag OOM issue | {
"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,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
It seems the only thing is to `gc.collect()`. Thanks @Rocketknight1 for continuous trying. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24122/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24122/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24122",
"html_url": "https://github.com/huggingface/transformers/pull/24122",
"diff_url": "https://github.com/huggingface/transformers/pull/24122.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24122.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24121 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24121/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24121/comments | https://api.github.com/repos/huggingface/transformers/issues/24121/events | https://github.com/huggingface/transformers/pull/24121 | 1,748,477,710 | PR_kwDOCUB6oc5SjRHl | 24,121 | Slow (i.e., Python) Tokenizer `batch_encode_plus` for Input as `List[PreTokenizedInput]` or `List[PreTokenizedInputPair]` | {
"login": "sniperyyc",
"id": 22042183,
"node_id": "MDQ6VXNlcjIyMDQyMTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/22042183?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sniperyyc",
"html_url": "https://github.com/sniperyyc",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24121). All of your documentation changes will be reflected on that endpoint.",
"> Hey! Thanks a lot for adding this 😉 Would you mind adding a test? To make sure that List of input pairs/list works? (in this state I think ... | 1,686 | 1,689 | 1,689 | NONE | null | # What does this PR do?
Current `batch_encode_plus()` should support input type including`List[PreTokenizedInput]` and `List[PreTokenizedInputPair]` by doc. However, a simple example would incur the error:
```
>>> from transformers import AutoTokenizer
>>> tokenizer = AutoTokenizer.from_pretrained('bert-base-unca... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24121/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24121",
"html_url": "https://github.com/huggingface/transformers/pull/24121",
"diff_url": "https://github.com/huggingface/transformers/pull/24121.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24121.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24120 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24120/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24120/comments | https://api.github.com/repos/huggingface/transformers/issues/24120/events | https://github.com/huggingface/transformers/pull/24120 | 1,748,384,657 | PR_kwDOCUB6oc5Si8uO | 24,120 | Contrastive Search peak memory reduction | {
"login": "blbadger",
"id": 54602201,
"node_id": "MDQ6VXNlcjU0NjAyMjAx",
"avatar_url": "https://avatars.githubusercontent.com/u/54602201?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blbadger",
"html_url": "https://github.com/blbadger",
"followers_url": "https://api.github.com/users/blb... | [] | closed | false | null | [] | [
"To make our CI go green, you may need to:\r\n1. rebase with `main` (LMK if you need instructions)\r\n2. run `make fixup` and commit the changes",
"Thanks very much for the review and good comments and edits @gante ! I have committed your changes and am adding the tests to `transformers/tests/generation/test_util... | 1,686 | 1,698 | 1,689 | CONTRIBUTOR | null | # Contrastive Search memory reduction via sequential topk embedding recovery
This PR describes a new feature for contrastive search generation that may be of interest to the community.
Problem:
Contrastive search is an effective method for LLM text generation, but as currently implemented requires far more maxi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24120/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/24120/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24120",
"html_url": "https://github.com/huggingface/transformers/pull/24120",
"diff_url": "https://github.com/huggingface/transformers/pull/24120.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24120.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24119 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24119/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24119/comments | https://api.github.com/repos/huggingface/transformers/issues/24119/events | https://github.com/huggingface/transformers/issues/24119 | 1,748,337,351 | I_kwDOCUB6oc5oNYLH | 24,119 | Different results when using `__call__` and `encode` and `encode_plus` of (fast/slow) bert tokenizers | {
"login": "sniperyyc",
"id": 22042183,
"node_id": "MDQ6VXNlcjIyMDQyMTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/22042183?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sniperyyc",
"html_url": "https://github.com/sniperyyc",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"It seems that the misunderstanding of `is_split_into_words` from #8217 is the main issue here.\r\n\r\nBut the fix in #24121 should also be helpful to align the expected outputs of slow tokenizer when input is a list of list of pretokenized strings.",
"cc @ArthurZucker :D",
"Pr reviewed 😉 ",
"This issue has ... | 1,686 | 1,691 | 1,691 | NONE | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-5.15.0-1033-aws-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24119/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24118 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24118/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24118/comments | https://api.github.com/repos/huggingface/transformers/issues/24118/events | https://github.com/huggingface/transformers/pull/24118 | 1,748,186,870 | PR_kwDOCUB6oc5SiS4i | 24,118 | Remove decoder_input_ids from RAG dummy inputs | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"unfortunately, the problematic situation (GPU usage) I described on Slack channel is still the same. It still takes 5 - 6 G extra memory at some point, compared to the commit before `814de8fa`.",
"Closing this because the dummies t... | 1,686 | 1,686 | 1,686 | MEMBER | null | cc @ydshieh
The old RAG dummy inputs didn't have `decoder_input_ids` but the new ones do - this seems like the most likely cause of the memory blowup, because RAG probably does a lot of weird retrieval stuff. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24118/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24118/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24118",
"html_url": "https://github.com/huggingface/transformers/pull/24118",
"diff_url": "https://github.com/huggingface/transformers/pull/24118.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24118.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24117 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24117/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24117/comments | https://api.github.com/repos/huggingface/transformers/issues/24117/events | https://github.com/huggingface/transformers/issues/24117 | 1,748,180,459 | I_kwDOCUB6oc5oMx3r | 24,117 | RuntimeError: CUDA driver error: invalid argument | {
"login": "murthyrudra",
"id": 14203368,
"node_id": "MDQ6VXNlcjE0MjAzMzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/14203368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/murthyrudra",
"html_url": "https://github.com/murthyrudra",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I can reproduce this with the much simpler:\r\n\r\n```\r\nimport transformers\r\ngpt2_generator = transformers.pipeline('text-generation', model='gpt2', device=1)\r\nsentences = gpt2_generator(\"To be honest, neural networks\", do_sample=True, top_k=50, temperature=0.6, max_length=128, num_return_sequences=3)\r\nf... | 1,686 | 1,689 | 1,689 | NONE | null | ### System Info
- `transformers` version: 4.29.1
- Platform: Linux-3.10.0-1160.59.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.13
- Huggingface_hub version: 0.15.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Fl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24117/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24117/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24116 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24116/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24116/comments | https://api.github.com/repos/huggingface/transformers/issues/24116/events | https://github.com/huggingface/transformers/pull/24116 | 1,748,175,660 | PR_kwDOCUB6oc5SiQcZ | 24,116 | fix overflow when training mDeberta in fp16 | {
"login": "sjrl",
"id": 10526848,
"node_id": "MDQ6VXNlcjEwNTI2ODQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/10526848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sjrl",
"html_url": "https://github.com/sjrl",
"followers_url": "https://api.github.com/users/sjrl/followers"... | [] | closed | false | null | [] | [
"cc @younesbelkada @ArthurZucker ",
"_The documentation is not available anymore as the PR was closed or merged._",
"I used this code block to check results.\r\nThis was run on:\r\n- Ubuntu 20.04.4 LTS\r\n- NVIDIA 3070\r\n- CUDA Version: 11.7\r\n```python\r\nimport torch\r\nfrom transformers import AutoTokenize... | 1,686 | 1,690 | 1,686 | 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/24116/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24116/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24116",
"html_url": "https://github.com/huggingface/transformers/pull/24116",
"diff_url": "https://github.com/huggingface/transformers/pull/24116.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24116.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24115 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24115/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24115/comments | https://api.github.com/repos/huggingface/transformers/issues/24115/events | https://github.com/huggingface/transformers/pull/24115 | 1,748,131,860 | PR_kwDOCUB6oc5SiGjf | 24,115 | Experiment with static past key/value buffer | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24115). All of your documentation changes will be reflected on that endpoint.",
"In order to efficiently work with the PyTorch team here and to figure out exactly what needs to be done for a super fast generate method, I'd ... | 1,686 | 1,686 | 1,686 | COLLABORATOR | null | This PR is just to see if this could reside in transformers or not.
## Motivation
We suspect [the concatenations of the key/value buffer](https://github.com/huggingface/transformers/blob/ba695c1efd55091e394eb59c90fb33ac3f9f0d41/src/transformers/models/gpt2/modeling_gpt2.py#L321-L322) at each generation step to be... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24115/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24115/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24115",
"html_url": "https://github.com/huggingface/transformers/pull/24115",
"diff_url": "https://github.com/huggingface/transformers/pull/24115.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24115.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24114 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24114/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24114/comments | https://api.github.com/repos/huggingface/transformers/issues/24114/events | https://github.com/huggingface/transformers/issues/24114 | 1,748,058,107 | I_kwDOCUB6oc5oMT_7 | 24,114 | doc issue from docs/source/en/model_doc/open-llama.mdx | {
"login": "xingener",
"id": 3382402,
"node_id": "MDQ6VXNlcjMzODI0MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3382402?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xingener",
"html_url": "https://github.com/xingener",
"followers_url": "https://api.github.com/users/xinge... | [] | closed | false | null | [] | [
"@xingener Good spot - would you like to open a PR to fix it? ",
"> @xingener Good spot - would you like to open a PR to fix it?\r\n\r\nSure."
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | In overview, 2nd paragraph:
The model is mainly based on LLaMA with some modifications, incorporating memory-efficient attention from Xformers, stable embedding from Bloom, and shared input-output embedding from PLAM. And the model is pre-trained on both Chinese and English, which gives it better performance on Chin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24114/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24114/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24113 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24113/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24113/comments | https://api.github.com/repos/huggingface/transformers/issues/24113/events | https://github.com/huggingface/transformers/pull/24113 | 1,747,962,024 | PR_kwDOCUB6oc5ShhQ3 | 24,113 | [`GPT2`] Add correct keys on `_keys_to_ignore_on_load_unexpected` on all child classes of `GPT2PreTrainedModel` | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24113). All of your documentation changes will be reflected on that endpoint."
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
as per title
forgot to add them in https://github.com/huggingface/transformers/pull/23256
Currently this snippet:
```python
from transformers import GPT2Model
model = GPT2Model.from_pretrained("gpt2")
```
Gives a big warning:
```bash
Some weights of the model checkpoint at gpt2... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24113/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24113/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24113",
"html_url": "https://github.com/huggingface/transformers/pull/24113",
"diff_url": "https://github.com/huggingface/transformers/pull/24113.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24113.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24112 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24112/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24112/comments | https://api.github.com/repos/huggingface/transformers/issues/24112/events | https://github.com/huggingface/transformers/issues/24112 | 1,747,954,853 | I_kwDOCUB6oc5oL6yl | 24,112 | LogitsProcessor - are there any examples of how to use it? | {
"login": "Oxi84",
"id": 25420033,
"node_id": "MDQ6VXNlcjI1NDIwMDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/25420033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Oxi84",
"html_url": "https://github.com/Oxi84",
"followers_url": "https://api.github.com/users/Oxi84/follow... | [] | closed | false | null | [] | [
"cc @gante ",
"I have found one more example for T5. Only I do not know how would I add multiple inputs, not just one, when i increase the list seq1 to more elements it does not work as sizes do not match.\r\n\r\nhttps://stackoverflow.com/questions/72180737/beam-search-and-generate-are-not-consistent\r\n\r\n\r\n ... | 1,686 | 1,689 | 1,689 | NONE | null | ### Feature request
I could not find any more examples than this one, and this one does not work. It reports some erors, when used with t5. https://colab.research.google.com/drive/1ezT24sogpVyr2HJLOvXHzjv61JZJ1gMT?usp=sharing#scrollTo=0MJJZEylVO-x
Are there any more examples of usage.
I need to lower the score... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24112/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24112/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24111 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24111/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24111/comments | https://api.github.com/repos/huggingface/transformers/issues/24111/events | https://github.com/huggingface/transformers/pull/24111 | 1,747,910,817 | PR_kwDOCUB6oc5ShWFN | 24,111 | Generate: PT's `top_p` enforces `min_tokens_to_keep` when it is `1` | {
"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._",
"> top_p was not enforcing min_tokens_to_keep when it was 1 \r\n\r\nFrom the diff - I don't see how this is resolved. The checks ensure the value of `min_tokens_to_keeps` but doesn't seem to be conditional on `top_p`. Am I missing som... | 1,686 | 1,687 | 1,686 | MEMBER | null | # What does this PR do?
Fixes #23688
Contrary to our description in the docstring, PT's `top_p` was not enforcing `min_tokens_to_keep` when it was 1 (the default). TF and FLAX were fine. This PR corrects it, and adds a check on `min_tokens_to_keep` (must be a non-negative integer) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24111/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24111/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24111",
"html_url": "https://github.com/huggingface/transformers/pull/24111",
"diff_url": "https://github.com/huggingface/transformers/pull/24111.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24111.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24110 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24110/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24110/comments | https://api.github.com/repos/huggingface/transformers/issues/24110/events | https://github.com/huggingface/transformers/pull/24110 | 1,747,910,074 | PR_kwDOCUB6oc5ShV7A | 24,110 | Update the pin on Accelerate | {
"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,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
Move to the second patch as the minimum required version. cc @muellerzr | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24110/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/24110/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24110",
"html_url": "https://github.com/huggingface/transformers/pull/24110",
"diff_url": "https://github.com/huggingface/transformers/pull/24110.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24110.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24109 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24109/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24109/comments | https://api.github.com/repos/huggingface/transformers/issues/24109/events | https://github.com/huggingface/transformers/pull/24109 | 1,747,901,128 | PR_kwDOCUB6oc5ShT9d | 24,109 | Add Musicgen | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Would be great to hear your thoughts on the design here @patrickvonplaten (adding the tests otherwise now)\r\n\r\nTODO:\r\n- [x] convert m/l checkpoints\r\n- [x] handle padded tokens from encodec (in delay pattern mask, then again wh... | 1,686 | 1,688 | 1,688 | CONTRIBUTOR | null | # What does this PR do?
Adds the musicgen model by fairseq to transformers
This model is made of three components:
1. T5Encoder (which import as `AutoModelForTextEncoding`)
2. MusicgenDecoder (which we copy as much as possible from [`modeling_bart.py`](https://github.com/huggingface/transformers/blob/1e9da2b0a6... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24109/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24109/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24109",
"html_url": "https://github.com/huggingface/transformers/pull/24109",
"diff_url": "https://github.com/huggingface/transformers/pull/24109.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24109.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24108 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24108/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24108/comments | https://api.github.com/repos/huggingface/transformers/issues/24108/events | https://github.com/huggingface/transformers/pull/24108 | 1,747,879,316 | PR_kwDOCUB6oc5ShPLw | 24,108 | error bug on saving distributed optim state when using data parallel | {
"login": "xshaun",
"id": 8446322,
"node_id": "MDQ6VXNlcjg0NDYzMjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8446322?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xshaun",
"html_url": "https://github.com/xshaun",
"followers_url": "https://api.github.com/users/xshaun/foll... | [] | closed | false | null | [] | [
"cc @pacman100 ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,686 | 1,687 | 1,687 | CONTRIBUTOR | null | the indexing typo causes a wrong result when saving distributed optimizer when enabling data parallelism.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24108/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24108/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24108",
"html_url": "https://github.com/huggingface/transformers/pull/24108",
"diff_url": "https://github.com/huggingface/transformers/pull/24108.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24108.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24107 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24107/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24107/comments | https://api.github.com/repos/huggingface/transformers/issues/24107/events | https://github.com/huggingface/transformers/pull/24107 | 1,747,826,927 | PR_kwDOCUB6oc5ShDte | 24,107 | reset accelerate env variables after each test | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
## Context:
For the failing tests in `test_trainer_ext`, the reason is given below:
1. These tests are run via following command:
```
python -m pytest -v --make-reports=multi-gpu_tests_torch_cuda_extensions_gpu tests/deepspeed tests/extended
```
2. Now, as DeepSpeed tests are run firs... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24107/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24107",
"html_url": "https://github.com/huggingface/transformers/pull/24107",
"diff_url": "https://github.com/huggingface/transformers/pull/24107.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24107.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24106 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24106/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24106/comments | https://api.github.com/repos/huggingface/transformers/issues/24106/events | https://github.com/huggingface/transformers/pull/24106 | 1,747,730,804 | PR_kwDOCUB6oc5Sgumt | 24,106 | Avoid `GPT-2` daily CI job OOM (in TF tests) | {
"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,686 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
Clear (as much as possible) GPU memory usage allocated by torch, so the TF tests (GPT-2) get more room and make @Rocketknight1 's life easier 😆.
Some (TF) tests get OOM after #23234.
Note, the changes in this PR are in torch test files instead of TF test files! This is similar to #1688... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24106/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24106/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24106",
"html_url": "https://github.com/huggingface/transformers/pull/24106",
"diff_url": "https://github.com/huggingface/transformers/pull/24106.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24106.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24105 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24105/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24105/comments | https://api.github.com/repos/huggingface/transformers/issues/24105/events | https://github.com/huggingface/transformers/pull/24105 | 1,747,636,574 | PR_kwDOCUB6oc5SgZ-Z | 24,105 | [Whisper] Make tests faster | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24105). All of your documentation changes will be reflected on that endpoint.",
"Sorry, I am asking not because I see a test being slow, but just I saw some more Whisper test failures on daily CI, which is `tests/models/whi... | 1,686 | 1,687 | 1,687 | CONTRIBUTOR | null | # What does this PR do?
Reduces the input seq length of the Whisper tests from 1500 -> 60 frames. This in turn should speed up the tests quite considerably.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24105/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24105/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24105",
"html_url": "https://github.com/huggingface/transformers/pull/24105",
"diff_url": "https://github.com/huggingface/transformers/pull/24105.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24105.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24104 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24104/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24104/comments | https://api.github.com/repos/huggingface/transformers/issues/24104/events | https://github.com/huggingface/transformers/issues/24104 | 1,747,401,465 | I_kwDOCUB6oc5oJzr5 | 24,104 | Error when overriding generation config: GenerationConfig() got multiple values for keyword argument 'num_beams' | {
"login": "Taytay",
"id": 1330693,
"node_id": "MDQ6VXNlcjEzMzA2OTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1330693?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Taytay",
"html_url": "https://github.com/Taytay",
"followers_url": "https://api.github.com/users/Taytay/foll... | [] | closed | false | null | [] | [
"Hey @Taytay 👋 \r\n\r\nThank you for raising this issue! This is indeed a bug, I'll open a PR ASAP"
] | 1,686 | 1,686 | 1,686 | NONE | null | ### System Info
- `transformers` version: 4.30.0.dev0 (commit: 4aa13224a5bca560147a29c06b2e0597137caf3e)
- Platform: Linux-5.15.0-1013-oracle-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24104/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24104/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24103 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24103/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24103/comments | https://api.github.com/repos/huggingface/transformers/issues/24103/events | https://github.com/huggingface/transformers/pull/24103 | 1,747,286,593 | PR_kwDOCUB6oc5SfOle | 24,103 | [`Trainer`] Correct behavior of `_load_best_model` for PEFT models | {
"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,686 | 1,686 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/24096
This PR fixes the bugs related with PEFT models and `load_best_model_at_end`. It also refactors a bit the current logic to extend it generally to all LoRA models, not only 8-bit base models + LoRA.
<details><summary>Repro sc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24103/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24103/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24103",
"html_url": "https://github.com/huggingface/transformers/pull/24103",
"diff_url": "https://github.com/huggingface/transformers/pull/24103.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24103.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24102 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24102/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24102/comments | https://api.github.com/repos/huggingface/transformers/issues/24102/events | https://github.com/huggingface/transformers/issues/24102 | 1,747,262,370 | I_kwDOCUB6oc5oJRui | 24,102 | Memory leak when using GIT for image captioning in reference | {
"login": "XingyuZhu-Pamela",
"id": 65881232,
"node_id": "MDQ6VXNlcjY1ODgxMjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/65881232?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XingyuZhu-Pamela",
"html_url": "https://github.com/XingyuZhu-Pamela",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hi @XingyuZhu-Pamela, thanks for raising this issue!\r\n\r\nA few questions from my side so that I can best try and help: \r\n* In the above snippet, what values does `device` have (I'm assuming `\"cuda\"`)? \r\n* Are there any patterns to when the memory leak occurs e.g. certain images, running inside certain scr... | 1,686 | 1,690 | 1,690 | NONE | null | ### System Info
transformers version: 4.28.1
Platform: Linux-5.8.0+-x86_64-with-Ubuntu-20.04
Python version: 3.7.11
PyTorch version (GPU?): 1.10.0+cu113 (True)
Using GPU in script?: Yes
Using distributed or parallel set-up in script?: No
### Who can help?
_No response_
### Information
- [X] The official examp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24102/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24102/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24101 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24101/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24101/comments | https://api.github.com/repos/huggingface/transformers/issues/24101/events | https://github.com/huggingface/transformers/pull/24101 | 1,747,182,354 | PR_kwDOCUB6oc5Se3jJ | 24,101 | Change ProgressCallback to use dynamic_ncols=True | {
"login": "gmlwns2000",
"id": 4879345,
"node_id": "MDQ6VXNlcjQ4NzkzNDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4879345?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gmlwns2000",
"html_url": "https://github.com/gmlwns2000",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @sgugger,\r\n\r\nI merge from `upstream/main`, and then run `make style`!\r\n\r\nI hope this will be fine.",
"Mm the diff now shows 43 files. COuld you limit your changes to the file you are actually modifying?",
"@sgugger \r\... | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
Fixes #24100
## Who can review?
This is about the trainer module, therefore I will tag,
@sgugger
Thank you | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24101/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24101/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24101",
"html_url": "https://github.com/huggingface/transformers/pull/24101",
"diff_url": "https://github.com/huggingface/transformers/pull/24101.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24101.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24100 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24100/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24100/comments | https://api.github.com/repos/huggingface/transformers/issues/24100/events | https://github.com/huggingface/transformers/issues/24100 | 1,747,181,989 | I_kwDOCUB6oc5oI-Gl | 24,100 | [Trainer] Why not use `tqdm`'s `dynamic_ncols=True` option? | {
"login": "gmlwns2000",
"id": 4879345,
"node_id": "MDQ6VXNlcjQ4NzkzNDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4879345?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gmlwns2000",
"html_url": "https://github.com/gmlwns2000",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,686 | 1,686 | 1,686 | CONTRIBUTOR | null | ### Feature request
# Problem
Tqdm progress bar is getting ugly when the width of the terminal is shrunk!

It progress bar makes the new line on every update! It is very ugly...
# Solution
Simply a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24100/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24100/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24099 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24099/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24099/comments | https://api.github.com/repos/huggingface/transformers/issues/24099/events | https://github.com/huggingface/transformers/issues/24099 | 1,747,094,942 | I_kwDOCUB6oc5oIo2e | 24,099 | generation error when same token in "forced_eos_token_id" and "supress_token" parameter. | {
"login": "idisuu",
"id": 85441953,
"node_id": "MDQ6VXNlcjg1NDQxOTUz",
"avatar_url": "https://avatars.githubusercontent.com/u/85441953?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/idisuu",
"html_url": "https://github.com/idisuu",
"followers_url": "https://api.github.com/users/idisuu/fo... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | {
"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... | [
"Hey @idisuu 👋 \r\n\r\nThis is a tricky one that we haven't considered. I'm leaning towards not allowing it -- if you want to suppress the eos token until a certain point, you can also set `min_length`. Suppressing and forcing at the same time is ambiguous 😅 \r\n\r\nWe have very little argument verification atm. ... | 1,686 | 1,689 | null | NONE | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-5.4.0-139-generic-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.15.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24099/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24099/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24098 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24098/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24098/comments | https://api.github.com/repos/huggingface/transformers/issues/24098/events | https://github.com/huggingface/transformers/issues/24098 | 1,747,086,097 | I_kwDOCUB6oc5oImsR | 24,098 | Trainer throws error when using torchrun and small dataset | {
"login": "Joshuaclymer",
"id": 35242201,
"node_id": "MDQ6VXNlcjM1MjQyMjAx",
"avatar_url": "https://avatars.githubusercontent.com/u/35242201?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Joshuaclymer",
"html_url": "https://github.com/Joshuaclymer",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"> Dataset size should not affect whether the code throws an error.\r\n\r\nI disagree here. The dataset is too small so you will have an error anyway, but it could be clearer I agree. This might be linked to FSDP so tagging @pacman100 ",
"For anyone who happens to be fine-tuning on tiny datasets: you can fix this... | 1,686 | 1,689 | 1,689 | NONE | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-5.4.0-149-generic-x86_64-with-glibc2.31
- Python version: 3.10.10
- Huggingface_hub version: 0.15.1
- PyTorch version (GPU?): 2.0.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/24098/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24098/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24097 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24097/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24097/comments | https://api.github.com/repos/huggingface/transformers/issues/24097/events | https://github.com/huggingface/transformers/pull/24097 | 1,747,080,815 | PR_kwDOCUB6oc5SehZc | 24,097 | add trust_remote_code option to CLI download cmd | {
"login": "radames",
"id": 102277,
"node_id": "MDQ6VXNlcjEwMjI3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/102277?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/radames",
"html_url": "https://github.com/radames",
"followers_url": "https://api.github.com/users/radames/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger add the decorator, waiting to se if the tests here are passing. on my local env all the 4 test passes successfully 🤔 ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24097). Al... | 1,686 | 1,686 | 1,686 | MEMBER | null |
# What does this PR do?
Add option to allow trust remote code download via CLI command
Address #24063
Fixes # (issue)
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). #24063
- [X] Did you read the [contributor guideline](http... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24097/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24097/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24097",
"html_url": "https://github.com/huggingface/transformers/pull/24097",
"diff_url": "https://github.com/huggingface/transformers/pull/24097.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24097.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24096 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24096/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24096/comments | https://api.github.com/repos/huggingface/transformers/issues/24096/events | https://github.com/huggingface/transformers/issues/24096 | 1,746,834,831 | I_kwDOCUB6oc5oHpWP | 24,096 | Exception when saving weights from QLORA due to UnboundLocalError | {
"login": "ethanhs",
"id": 9504279,
"node_id": "MDQ6VXNlcjk1MDQyNzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9504279?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ethanhs",
"html_url": "https://github.com/ethanhs",
"followers_url": "https://api.github.com/users/ethanhs/... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Hi @ethanhs \r\nThanks for reporting #24103 should solve the issue",
"Thanks for the quick response and quick fix!"
] | 1,686 | 1,686 | 1,686 | NONE | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-6.1.0-9-amd64-x86_64-with-glibc2.36
- Python version: 3.10.10
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24096/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24096/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.