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/26026 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26026/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26026/comments | https://api.github.com/repos/huggingface/transformers/issues/26026/events | https://github.com/huggingface/transformers/issues/26026 | 1,885,478,061 | I_kwDOCUB6oc5wYhyt | 26,026 | CUDA memory does not release with `del model` where .from_pretrained() loading model to multi-devices | {
"login": "Ricardo-L-C",
"id": 28146614,
"node_id": "MDQ6VXNlcjI4MTQ2NjE0",
"avatar_url": "https://avatars.githubusercontent.com/u/28146614?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ricardo-L-C",
"html_url": "https://github.com/Ricardo-L-C",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @muellerzr @younesbelkada ",
"Hi @Ricardo-L-C \r\nZach can confirm :D from what I know there is a nice utility method in accelerated called `release_memory`: (zach, correct me if the usage of that method below is wrong)\r\n\r\n```python\r\nfrom accelerate.utils import release_memory\r\n\r\n...\r\n\r\nmodel = ... | 1,694 | 1,702 | 1,696 | NONE | null | ### System Info
- `transformers` version: 4.33.0
- Platform: Linux-5.4.119-1-tlinux4-0010.3-x86_64-with-glibc2.17
- Python version: 3.10.6
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.21.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distribu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26026/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26026/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26025 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26025/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26025/comments | https://api.github.com/repos/huggingface/transformers/issues/26025/events | https://github.com/huggingface/transformers/pull/26025 | 1,885,432,812 | PR_kwDOCUB6oc5Zwgc1 | 26,025 | Punctuation fix | {
"login": "kwonmha",
"id": 8953934,
"node_id": "MDQ6VXNlcjg5NTM5MzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8953934?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kwonmha",
"html_url": "https://github.com/kwonmha",
"followers_url": "https://api.github.com/users/kwonmha/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26025). All of your documentation changes will be reflected on that endpoint."
] | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Add maybe missing punctuation which enables to ends sentence and starts a new sentence.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26025/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26025/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26025",
"html_url": "https://github.com/huggingface/transformers/pull/26025",
"diff_url": "https://github.com/huggingface/transformers/pull/26025.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26025.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26024 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26024/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26024/comments | https://api.github.com/repos/huggingface/transformers/issues/26024/events | https://github.com/huggingface/transformers/pull/26024 | 1,885,329,220 | PR_kwDOCUB6oc5ZwJ9p | 26,024 | fix _resize_token_embeddings will set lm head size to 0 when enabled deepspeed zero3 | {
"login": "kai01ai",
"id": 140378742,
"node_id": "U_kgDOCF4Cdg",
"avatar_url": "https://avatars.githubusercontent.com/u/140378742?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kai01ai",
"html_url": "https://github.com/kai01ai",
"followers_url": "https://api.github.com/users/kai01ai/foll... | [] | closed | false | null | [] | [
"cc @amyeroberts ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26024). All of your documentation changes will be reflected on that endpoint."
] | 1,694 | 1,698 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/25977
After resizing the input_embedding, the value of new_embeddings.weight.shape[0] is utilized as the new size for resizing the lm_head. However, when deepspeed zero3 is enabled, this value becomes 0. This PR addresses this issue ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26024/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26024/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26024",
"html_url": "https://github.com/huggingface/transformers/pull/26024",
"diff_url": "https://github.com/huggingface/transformers/pull/26024.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26024.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26023 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26023/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26023/comments | https://api.github.com/repos/huggingface/transformers/issues/26023/events | https://github.com/huggingface/transformers/pull/26023 | 1,885,286,924 | PR_kwDOCUB6oc5ZwA6l | 26,023 | Fix CircleCI config | {
"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,694 | 1,694 | 1,694 | COLLABORATOR | null | # What does this PR do?
@ArthurZucker fixed (in #25995) my PR #25895, but there change had a minor issue.
The `startswith` method of python's `str` requires `startswith arg must be str or a tuple of str`.
Not a big deal, but currently we just lose showing the summary part (only the `failure_short.txt` being sh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26023/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26023/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26023",
"html_url": "https://github.com/huggingface/transformers/pull/26023",
"diff_url": "https://github.com/huggingface/transformers/pull/26023.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26023.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26022 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26022/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26022/comments | https://api.github.com/repos/huggingface/transformers/issues/26022/events | https://github.com/huggingface/transformers/pull/26022 | 1,885,204,054 | PR_kwDOCUB6oc5ZvvPh | 26,022 | remove the logic of reduce gradient for XLA, since Accelerate will handle it automatically. | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26022). All of your documentation changes will be reflected on that endpoint."
] | 1,694 | 1,696 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26022/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26022/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26022",
"html_url": "https://github.com/huggingface/transformers/pull/26022",
"diff_url": "https://github.com/huggingface/transformers/pull/26022.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26022.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26021 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26021/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26021/comments | https://api.github.com/repos/huggingface/transformers/issues/26021/events | https://github.com/huggingface/transformers/pull/26021 | 1,885,189,819 | PR_kwDOCUB6oc5ZvsMs | 26,021 | fix the deepspeed tests | {
"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._",
"Change itself look OK. \r\n\r\nJust for my own understanding, does this mean the trainer is changing variables - `a` in this instance - in its local scope, even if not explicitly passed to the trainer or set in any config? ",
"> Ju... | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
1. Post the https://github.com/huggingface/transformers/pull/25863, a test needs fixing. This PR does that | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26021/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26021/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26021",
"html_url": "https://github.com/huggingface/transformers/pull/26021",
"diff_url": "https://github.com/huggingface/transformers/pull/26021.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26021.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26020 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26020/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26020/comments | https://api.github.com/repos/huggingface/transformers/issues/26020/events | https://github.com/huggingface/transformers/pull/26020 | 1,885,096,615 | PR_kwDOCUB6oc5ZvYPi | 26,020 | Added HerBERT to README.md | {
"login": "Muskan011",
"id": 40476698,
"node_id": "MDQ6VXNlcjQwNDc2Njk4",
"avatar_url": "https://avatars.githubusercontent.com/u/40476698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Muskan011",
"html_url": "https://github.com/Muskan011",
"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_26020). All of your documentation changes will be reflected on that endpoint."
] | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | Resolved issue #26016 by adding HerBERT to README.md
Documentation: @stevhliu and @MKhalusova
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26020/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26020/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26020",
"html_url": "https://github.com/huggingface/transformers/pull/26020",
"diff_url": "https://github.com/huggingface/transformers/pull/26020.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26020.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26019 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26019/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26019/comments | https://api.github.com/repos/huggingface/transformers/issues/26019/events | https://github.com/huggingface/transformers/issues/26019 | 1,885,086,373 | I_kwDOCUB6oc5wXCKl | 26,019 | Llama 2 + FSDP Auto Wrap Issue | {
"login": "jmif",
"id": 1000442,
"node_id": "MDQ6VXNlcjEwMDA0NDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1000442?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jmif",
"html_url": "https://github.com/jmif",
"followers_url": "https://api.github.com/users/jmif/followers",
... | [] | closed | false | null | [] | [
"Hello, can you try https://github.com/huggingface/accelerate/pull/1919 and let us know if that fixes the issue?",
"Installed via ` poetry add 'git+https://github.com/pacman100/accelerate.git#fix_fsdp_torch_compile_issue'\r\n` and I get\r\n\r\n```\r\n File \".virtualenvs/llm-training/lib/python3.10/site-packages... | 1,694 | 1,702 | 1,702 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.34.0.dev0
- Based off https://github.com/huggingface/transformers/commit/300d6a4a62aac89b3f439110561d5a2268ffad9e
- One additional patch pulled in to fix an (I think) unrelated issue https://github.com/jmif/transformers/commit/2fe3989ebbb6729e560c6b438b4e1c7ef38... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26019/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26019/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26018 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26018/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26018/comments | https://api.github.com/repos/huggingface/transformers/issues/26018/events | https://github.com/huggingface/transformers/issues/26018 | 1,885,067,009 | I_kwDOCUB6oc5wW9cB | 26,018 | `Helsinki-NLP/opus-*` models `decode` not removing metaspace character | {
"login": "xenova",
"id": 26504141,
"node_id": "MDQ6VXNlcjI2NTA0MTQx",
"avatar_url": "https://avatars.githubusercontent.com/u/26504141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xenova",
"html_url": "https://github.com/xenova",
"followers_url": "https://api.github.com/users/xenova/fo... | [] | closed | false | {
"login": "tanaymeh",
"id": 26519539,
"node_id": "MDQ6VXNlcjI2NTE5NTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/26519539?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanaymeh",
"html_url": "https://github.com/tanaymeh",
"followers_url": "https://api.github.com/users/tan... | [
{
"login": "tanaymeh",
"id": 26519539,
"node_id": "MDQ6VXNlcjI2NTE5NTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/26519539?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanaymeh",
"html_url": "https://github.com/tanaymeh",
"followers_url": "https://api.... | [
"I would like to work on fixing this, @xenova!",
"@ArthurZucker I need some guidance here! I suppose this is not as simple as a regex replacement right? Should I contact the team members of Helsinki-NLP and get in touch with them for this or do you think there is a programmatical way to solve this?",
"Hey! Sure... | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.34.0.dev0
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (False)
- T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26018/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26018/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26017 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26017/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26017/comments | https://api.github.com/repos/huggingface/transformers/issues/26017/events | https://github.com/huggingface/transformers/pull/26017 | 1,885,032,241 | PR_kwDOCUB6oc5ZvKqu | 26,017 | Fix vilt config docstring parameter to match value in init | {
"login": "raghavanone",
"id": 115454562,
"node_id": "U_kgDOBuGyYg",
"avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raghavanone",
"html_url": "https://github.com/raghavanone",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"> Thanks for opening this PR! The fix should go the other way: the documentation is updated to reflect the default values\r\n\r\nOh Yes, Got misled by the discussion [here](https://github.com/huggingface/transformers/issues/25639) . But checked [here](https://huggingface.co/dandelin/vilt-b32-mlm/blob/main/config.j... | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Fixes #25639
This PR fixes the Vilt models config's init parameters to match the ones in the documentation. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26017/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26017/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26017",
"html_url": "https://github.com/huggingface/transformers/pull/26017",
"diff_url": "https://github.com/huggingface/transformers/pull/26017.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26017.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26016 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26016/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26016/comments | https://api.github.com/repos/huggingface/transformers/issues/26016/events | https://github.com/huggingface/transformers/issues/26016 | 1,884,951,749 | I_kwDOCUB6oc5wWhTF | 26,016 | HerBERT missing from list of supported models | {
"login": "xenova",
"id": 26504141,
"node_id": "MDQ6VXNlcjI2NTA0MTQx",
"avatar_url": "https://avatars.githubusercontent.com/u/26504141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xenova",
"html_url": "https://github.com/xenova",
"followers_url": "https://api.github.com/users/xenova/fo... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"I would like to work on this. @xenova ",
"I have fixed this issue but my PR requires review."
] | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | ### System Info
n/a
### Who can help?
@stevhliu @MKhalusova
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26016/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26016/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26015 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26015/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26015/comments | https://api.github.com/repos/huggingface/transformers/issues/26015/events | https://github.com/huggingface/transformers/issues/26015 | 1,884,709,490 | I_kwDOCUB6oc5wVmJy | 26,015 | DeepSpeed stuck when training | {
"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 ",
"Hello, could you do `rm -rf /root/.cache/torch_extensions/py310_cu118/` and then rerun? At times, when it was stuck indefinitely for me, removing the `torch_extensions` folder helped.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think thi... | 1,694 | 1,697 | 1,697 | NONE | null | ### System Info
- `transformers` version: 4.34.0.dev0
- Platform: Linux-5.4.0-153-generic-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.23.0.dev0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distrib... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26015/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26015/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26014 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26014/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26014/comments | https://api.github.com/repos/huggingface/transformers/issues/26014/events | https://github.com/huggingface/transformers/issues/26014 | 1,884,627,715 | I_kwDOCUB6oc5wVSMD | 26,014 | `NameError: name 'torch' is not defined` in version 4.33.0 | {
"login": "neelkapadiaAWS",
"id": 126013127,
"node_id": "U_kgDOB4LOxw",
"avatar_url": "https://avatars.githubusercontent.com/u/126013127?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/neelkapadiaAWS",
"html_url": "https://github.com/neelkapadiaAWS",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Hi @neelkapadiaAWS \r\nThanks for the issue, I am quite surprised because torch should be imported here: https://github.com/huggingface/transformers/blob/main/src/transformers/integrations/bitsandbytes.py#L12 if bitsandbytes is correctly installed. \r\nI also tried to run the attached scrip... | 1,694 | 1,697 | 1,697 | NONE | null | ### System Info
With the latest transformers version, I am seeing the following error when loading a model via fast chat:
```
2023-09-06 19:18:46 | ERROR | stderr | During handling of the above exception, another exception occurred:
2023-09-06 19:18:46 | ERROR | stderr |
2023-09-06 19:18:46 | ERROR | stderr | Tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26014/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26014/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26013 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26013/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26013/comments | https://api.github.com/repos/huggingface/transformers/issues/26013/events | https://github.com/huggingface/transformers/pull/26013 | 1,884,559,865 | PR_kwDOCUB6oc5ZtlQJ | 26,013 | Bump gitpython from 3.1.32 to 3.1.34 in /examples/research_projects/distillation | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major ... | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.32 to 3.1.34.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/gitpython-developers/GitPython/releases">gitpython's releases</a>.</em></p>
<blockquote>
<h2>3.1.34 - fix resource leaking</h2>
<h2>What'... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26013/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26013/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26013",
"html_url": "https://github.com/huggingface/transformers/pull/26013",
"diff_url": "https://github.com/huggingface/transformers/pull/26013.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26013.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26012 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26012/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26012/comments | https://api.github.com/repos/huggingface/transformers/issues/26012/events | https://github.com/huggingface/transformers/pull/26012 | 1,884,557,749 | PR_kwDOCUB6oc5Ztkx0 | 26,012 | Bump gitpython from 3.1.32 to 3.1.34 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@dependabot ignore this major version",
"OK, I won't notify you about version 3.x.x again, unless you re-open this PR."
] | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.32 to 3.1.34.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/gitpython-developers/GitPython/releases">gitpython's releases</a>.</em></p>
<blockquote>
<h2>3.1.34 - fix resource leaking</h2>
<h2>What'... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26012/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26012/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26012",
"html_url": "https://github.com/huggingface/transformers/pull/26012",
"diff_url": "https://github.com/huggingface/transformers/pull/26012.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26012.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26010 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26010/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26010/comments | https://api.github.com/repos/huggingface/transformers/issues/26010/events | https://github.com/huggingface/transformers/issues/26010 | 1,884,367,287 | I_kwDOCUB6oc5wUSm3 | 26,010 | "inputs" argument in pipelines not working if it's explicitly specified | {
"login": "Keredu",
"id": 29210848,
"node_id": "MDQ6VXNlcjI5MjEwODQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/29210848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Keredu",
"html_url": "https://github.com/Keredu",
"followers_url": "https://api.github.com/users/Keredu/fo... | [] | closed | false | null | [] | [
"Hey thanks for sharing. The bug is indeed here: https://github.com/huggingface/transformers/blob/fa6107c97edf7cf725305a34735a57875b67d85e/src/transformers/pipelines/text_classification.py#L159\r\n\r\nIt is introduced by the legacy layer.\r\n\r\nThe fix would be checking `args[0]` or ` inputs` but enforcing at leas... | 1,694 | 1,697 | 1,697 | NONE | null | ### System Info
transformers==4.33.0
sentencepiece==0.1.99
torch==2.0.1
### Who can help?
@Narsil
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26010/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26010/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26009 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26009/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26009/comments | https://api.github.com/repos/huggingface/transformers/issues/26009/events | https://github.com/huggingface/transformers/issues/26009 | 1,884,158,505 | I_kwDOCUB6oc5wTfop | 26,009 | CUDA OOM with increased max input length | {
"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 @younesbelkada ",
"Hi @karths8 \r\n\r\nTo increase the sequence length for training, you might be interested to use `BetterTransformer` API from transformers & optimum to use memory efficient attention and increase your maximum sequence length for training.\r\n\r\nTo enable it, first install optimum package `... | 1,694 | 1,698 | 1,697 | NONE | null | ### System Info
- `transformers` version: 4.34.0.dev0
- Platform: Linux-5.15.0-76-generic-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26009/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/26009/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26008 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26008/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26008/comments | https://api.github.com/repos/huggingface/transformers/issues/26008/events | https://github.com/huggingface/transformers/pull/26008 | 1,884,047,542 | PR_kwDOCUB6oc5Zr1V0 | 26,008 | Remove Falcon from undocumented list | {
"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._"
] | 1,694 | 1,694 | 1,694 | MEMBER | null | Because Falcon was in the library in stealth mode, its classes were added to the undocumented list. That can now be removed! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26008/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26008/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26008",
"html_url": "https://github.com/huggingface/transformers/pull/26008",
"diff_url": "https://github.com/huggingface/transformers/pull/26008.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26008.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26007 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26007/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26007/comments | https://api.github.com/repos/huggingface/transformers/issues/26007/events | https://github.com/huggingface/transformers/pull/26007 | 1,884,034,177 | PR_kwDOCUB6oc5ZryYF | 26,007 | Integrate AMD GPU in CI/CD environment | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ydshieh @LysandreJik I think we are in a good shape for review and merging.\r\n\r\nWhat we did: \r\n- [x] Added custom runners with tags `docker-gpu`, `single-gpu`, `amd-gpu`, `mi210`\r\n- [x] Provide a custom PyTorch GPU Dockerfil... | 1,694 | 1,695 | 1,695 | MEMBER | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26007/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26007/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26007",
"html_url": "https://github.com/huggingface/transformers/pull/26007",
"diff_url": "https://github.com/huggingface/transformers/pull/26007.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26007.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26006 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26006/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26006/comments | https://api.github.com/repos/huggingface/transformers/issues/26006/events | https://github.com/huggingface/transformers/pull/26006 | 1,883,774,249 | PR_kwDOCUB6oc5Zq5oT | 26,006 | Falcon: fix revision propagation | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"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_26006). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | MEMBER | null | Revision should be kept in the kwargs as these are being propagated throughout the method afterwards. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26006/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26006/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26006",
"html_url": "https://github.com/huggingface/transformers/pull/26006",
"diff_url": "https://github.com/huggingface/transformers/pull/26006.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26006.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26005 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26005/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26005/comments | https://api.github.com/repos/huggingface/transformers/issues/26005/events | https://github.com/huggingface/transformers/issues/26005 | 1,883,624,619 | I_kwDOCUB6oc5wRdSr | 26,005 | Issue while running Llama-2-7b-chat-gptq | {
"login": "bsurya27",
"id": 75432785,
"node_id": "MDQ6VXNlcjc1NDMyNzg1",
"avatar_url": "https://avatars.githubusercontent.com/u/75432785?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bsurya27",
"html_url": "https://github.com/bsurya27",
"followers_url": "https://api.github.com/users/bsu... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Maybe I should be changing my README examples to disable exllama support by default\r\n\r\nI'm unclear as to whether ExLlama kernels are meant to be fully supported via Transformers or not, or only when using AutoGPTQ directly?\r\n\r\n@fxmarty could you clarify?",
"Also @bsurya27 , could y... | 1,693 | 1,697 | 1,697 | NONE | null | ### System Info
- `transformers` version: 4.33.0
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26005/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26005/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26004 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26004/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26004/comments | https://api.github.com/repos/huggingface/transformers/issues/26004/events | https://github.com/huggingface/transformers/issues/26004 | 1,883,438,463 | I_kwDOCUB6oc5wQv1_ | 26,004 | NLLB-200 Accelerate-based multi-GPU finetuning leads to 3x VRAM consumption as compared to single-GPU finetuning | {
"login": "molokanov50",
"id": 85157008,
"node_id": "MDQ6VXNlcjg1MTU3MDA4",
"avatar_url": "https://avatars.githubusercontent.com/u/85157008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/molokanov50",
"html_url": "https://github.com/molokanov50",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @muellerzr @pacman100 ",
"Hi @molokanov50, thanks for reporting. I found out that the problem is specific to this model (loading with `device_map` consume more vram as expected). Other models such as `t5-small` have comparable VRAM consumption in multi-GPU and single-GPU fine-tuning scenarios. I'll try to fix... | 1,693 | 1,698 | 1,698 | NONE | null | ### System Info
- transformers version: 4.32.1
- Platform: Linux-5.15.0-78-generic-x86_64-with-glibc2.31
- Python version: 3.9.7
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 1.10.1+cu113 (True)
The version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26004/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26004/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26003 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26003/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26003/comments | https://api.github.com/repos/huggingface/transformers/issues/26003/events | https://github.com/huggingface/transformers/pull/26003 | 1,883,247,042 | PR_kwDOCUB6oc5ZpHC5 | 26,003 | Update README.md | {
"login": "NinoRisteski",
"id": 95188570,
"node_id": "U_kgDOBax2Wg",
"avatar_url": "https://avatars.githubusercontent.com/u/95188570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NinoRisteski",
"html_url": "https://github.com/NinoRisteski",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26003). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | fixed a typo
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26003/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26003/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26003",
"html_url": "https://github.com/huggingface/transformers/pull/26003",
"diff_url": "https://github.com/huggingface/transformers/pull/26003.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26003.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26002 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26002/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26002/comments | https://api.github.com/repos/huggingface/transformers/issues/26002/events | https://github.com/huggingface/transformers/pull/26002 | 1,883,232,490 | PR_kwDOCUB6oc5ZpD28 | 26,002 | 🌐 [i18n-KO] Translated `whisper.md` to Korean | {
"login": "nuatmochoi",
"id": 46990061,
"node_id": "MDQ6VXNlcjQ2OTkwMDYx",
"avatar_url": "https://avatars.githubusercontent.com/u/46990061?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nuatmochoi",
"html_url": "https://github.com/nuatmochoi",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"위의 리뷰 내용을 제외하고는, glossary와 문장 요소 등 다 잘 번역되어 있는 것 같습니다! LGTM!!\r\n좋은 번역 감사합니다!",
"Did you want to ping someone else for Korean review or should I merge this? ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26002). All of your documentation changes will be reflected ... | 1,693 | 1,695 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
Translated the `whisper.md.md` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
## Before reviewing
- [x] Check for missing / redundant translations (번역 누락/중복 검사)
- [x] Grammar Check (맞춤법 검사)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26002/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/26002/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26002",
"html_url": "https://github.com/huggingface/transformers/pull/26002",
"diff_url": "https://github.com/huggingface/transformers/pull/26002.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26002.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26001 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26001/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26001/comments | https://api.github.com/repos/huggingface/transformers/issues/26001/events | https://github.com/huggingface/transformers/issues/26001 | 1,883,172,387 | I_kwDOCUB6oc5wPu4j | 26,001 | I'm loading llama2 on a single machine with dual GPUs using Accelerate, and it's giving me a CUDA error. It seems that tensors are unexpectedly being allocated to two different GPUs during runtime. | {
"login": "sev777",
"id": 38484725,
"node_id": "MDQ6VXNlcjM4NDg0NzI1",
"avatar_url": "https://avatars.githubusercontent.com/u/38484725?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sev777",
"html_url": "https://github.com/sev777",
"followers_url": "https://api.github.com/users/sev777/fo... | [] | closed | false | null | [] | [
"If you are using `device_map='auto'`, then you are already using `Accelerate`. So you can remove the 3 lines in your code that use `Accelerator`.\r\n\r\nRefer to: https://huggingface.co/docs/accelerate/usage_guides/big_modeling#using-transformers-diffusers-and-other-open-source-libraries",
"> If you are using `d... | 1,693 | 1,700 | 1,700 | NONE | null | ### System Info
I'm loading llama2 on a single machine with dual GPUs using Accelerate, and it's giving me a CUDA error. It seems that tensors are unexpectedly being allocated to two different GPUs during runtime.
My Computer use:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26001/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26001/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26000 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26000/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26000/comments | https://api.github.com/repos/huggingface/transformers/issues/26000/events | https://github.com/huggingface/transformers/issues/26000 | 1,883,130,854 | I_kwDOCUB6oc5wPkvm | 26,000 | AutoModelForSequenceClassification + GPT2 + Accelerate + FSDP fails to load pretrained model | {
"login": "jmif",
"id": 1000442,
"node_id": "MDQ6VXNlcjEwMDA0NDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1000442?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jmif",
"html_url": "https://github.com/jmif",
"followers_url": "https://api.github.com/users/jmif/followers",
... | [
{
"id": 5616426447,
"node_id": "LA_kwDOCUB6oc8AAAABTsPdzw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/solved",
"name": "solved",
"color": "B1D6DC",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hello, this has been resolved by PR https://github.com/huggingface/transformers/pull/25820",
"Confirmed!"
] | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.32.1
- Platform: Linux-6.2.0-1012-gcp-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distributed_type: FSDP
- m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26000/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26000/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25999 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25999/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25999/comments | https://api.github.com/repos/huggingface/transformers/issues/25999/events | https://github.com/huggingface/transformers/pull/25999 | 1,882,754,273 | PR_kwDOCUB6oc5Znafz | 25,999 | Update training_args.py - addition of self.distributed_state when using XPU | {
"login": "Serizao",
"id": 11671895,
"node_id": "MDQ6VXNlcjExNjcxODk1",
"avatar_url": "https://avatars.githubusercontent.com/u/11671895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Serizao",
"html_url": "https://github.com/Serizao",
"followers_url": "https://api.github.com/users/Seriza... | [] | closed | false | null | [] | [
"cc @muellerzr @pacman100 ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25999). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | # addition of `self.distributed_state` when using XPU
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25999/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25999/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25999",
"html_url": "https://github.com/huggingface/transformers/pull/25999",
"diff_url": "https://github.com/huggingface/transformers/pull/25999.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25999.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25998 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25998/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25998/comments | https://api.github.com/repos/huggingface/transformers/issues/25998/events | https://github.com/huggingface/transformers/issues/25998 | 1,882,653,269 | I_kwDOCUB6oc5wNwJV | 25,998 | Resume from checkpoint functionality of the Pytorch example has some bugs and need to fixed. | {
"login": "MingxuanZhangPurdue",
"id": 74074145,
"node_id": "MDQ6VXNlcjc0MDc0MTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/74074145?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MingxuanZhangPurdue",
"html_url": "https://github.com/MingxuanZhangPurdue",
"followers_url": ... | [] | closed | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"This looks like an accelerate problem rather than a `transformers` problem! Could you take a look @muellerzr @pacman100 ?",
"The latter of which is already done, but I'll open a PR to fix the first part of printing the right path"
] | 1,693 | 1,697 | 1,697 | NONE | null | ### System Info
This example, i.e., [transformers/examples/pytorch/text-classification/run_glue_no_trainer.py](https://github.com/huggingface/transformers/blob/main/examples/pytorch/text-classification/run_glue_no_trainer.py) has some bugs related to resume from check point, to be more specific, below are the origin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25998/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25998/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25997 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25997/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25997/comments | https://api.github.com/repos/huggingface/transformers/issues/25997/events | https://github.com/huggingface/transformers/issues/25997 | 1,882,516,155 | I_kwDOCUB6oc5wNOq7 | 25,997 | upscaling segmentation mask OneFormer | {
"login": "nikky4D",
"id": 7451106,
"node_id": "MDQ6VXNlcjc0NTExMDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7451106?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikky4D",
"html_url": "https://github.com/nikky4D",
"followers_url": "https://api.github.com/users/nikky4D/... | [] | closed | false | null | [] | [
"Hi, thanks for raising an issue! \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports.\r\n\r\nIf using the model's image processor, you can change the size of the post-processed mask by specifying `target_s... | 1,693 | 1,697 | 1,697 | NONE | null | I would like to scale the segmentation mask produced by OneFormer.
My gpu is small, so I downscale my original image to a smaller image, which I can then pass through OneFormer. However, how do I scale up the results back to the original image size? Is there a command in OneFormer or SegFormer that allows me to se... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25997/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25997/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25996 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25996/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25996/comments | https://api.github.com/repos/huggingface/transformers/issues/25996/events | https://github.com/huggingface/transformers/pull/25996 | 1,882,509,307 | PR_kwDOCUB6oc5ZmlMn | 25,996 | [`VITS`] tokenizer integration test: fix revision did not exist | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,694 | 1,693 | COLLABORATOR | null | # What does this PR do?
Fixes the revisiono f the integration test for the VITs tokenizer.
`RUN_SLOW=1 pytest tests/models/vits/test_tokenization_vits.py ` on main outputs:
```python
E OSError: Can't load tokenizer for 'facebook/mms-tts-eng'. If you were trying to load it from 'https://huggingface.co/mo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25996/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25996/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25996",
"html_url": "https://github.com/huggingface/transformers/pull/25996",
"diff_url": "https://github.com/huggingface/transformers/pull/25996.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25996.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25995 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25995/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25995/comments | https://api.github.com/repos/huggingface/transformers/issues/25995/events | https://github.com/huggingface/transformers/pull/25995 | 1,882,412,855 | PR_kwDOCUB6oc5ZmQMg | 25,995 | [`CI`] Fix red CI and ERROR failed should show | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
Fixes the main branch after the merge of #25895 which has a typo when checking the outputs of the ci tests.
Two part fix:
1. Fatal errors were not shown in the outputs so we don't know what was wrong
```diff
- if x.startswith("FAILED ")]); fp.close(); fp = open("summary_short.txt", "w");... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25995/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25995/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25995",
"html_url": "https://github.com/huggingface/transformers/pull/25995",
"diff_url": "https://github.com/huggingface/transformers/pull/25995.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25995.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25994 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25994/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25994/comments | https://api.github.com/repos/huggingface/transformers/issues/25994/events | https://github.com/huggingface/transformers/issues/25994 | 1,882,396,123 | I_kwDOCUB6oc5wMxXb | 25,994 | Passing tokenizer call kwargs (like truncation) in pipeline | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | closed | false | null | [] | [
"Indeed it's not implemented: \r\n\r\nhttps://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/fill_mask.py#L96\r\n\r\nThe name would be `tokenizer_kwargs` though to be consistent with the rest.",
"Hello! I'm going to take a crack at this one if that's cool. ",
"Have at it! Would be grea... | 1,693 | 1,707 | 1,707 | COLLABORATOR | null | ### System Info
- `transformers` version: 4.32.1
- Platform: Linux-5.14.0-284.25.1.el9_2.x86_64-x86_64-with-glibc2.34
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25994/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25994/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25993 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25993/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25993/comments | https://api.github.com/repos/huggingface/transformers/issues/25993/events | https://github.com/huggingface/transformers/pull/25993 | 1,882,134,652 | PR_kwDOCUB6oc5ZlTmE | 25,993 | Call torch.use_deterministic_algorithms(True) for tests that require determinism | {
"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_25993). All of your documentation changes will be reflected on that endpoint.",
"First question: `do not pass on main` --> I think you are talking about running on AMD GPU?\r\n\r\nMy main concern is about \r\n\r\n```\r\nand... | 1,693 | 1,702 | 1,702 | COLLABORATOR | null | Although it appears that on Nvidia GPUs all model tests requiring determinism pass without this option, this is not the case on AMD MI210, and it is not safe to assume in general. For example `CUDA_VISIBLE_DEVICES=1 pytest tests/models/cpmant/test_modeling_cpmant.py -s -k "test_determinism"` do not pass on main but do ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25993/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25993/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25993",
"html_url": "https://github.com/huggingface/transformers/pull/25993",
"diff_url": "https://github.com/huggingface/transformers/pull/25993.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25993.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25991 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25991/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25991/comments | https://api.github.com/repos/huggingface/transformers/issues/25991/events | https://github.com/huggingface/transformers/pull/25991 | 1,882,016,737 | PR_kwDOCUB6oc5Zk6NT | 25,991 | Fix err with FSDP | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@pacman100 sounds good, let me know if you are pleased :) ",
"Ran into this issue too, confirmed this PR resolves for us."
] | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
One potential solution for https://github.com/huggingface/transformers/issues/25988, we need to guard for things in Accelerate main better for items, especially items like fsdp and deepspeed
Fixes # (issue)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25991/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25991/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25991",
"html_url": "https://github.com/huggingface/transformers/pull/25991",
"diff_url": "https://github.com/huggingface/transformers/pull/25991.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25991.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25992 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25992/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25992/comments | https://api.github.com/repos/huggingface/transformers/issues/25992/events | https://github.com/huggingface/transformers/issues/25992 | 1,882,021,062 | I_kwDOCUB6oc5wLVzG | 25,992 | Why does Hugging Face's push_to_hub convert saved models to .bin instead of using safetensor mode? | {
"login": "okoliechykwuka",
"id": 51082506,
"node_id": "MDQ6VXNlcjUxMDgyNTA2",
"avatar_url": "https://avatars.githubusercontent.com/u/51082506?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okoliechykwuka",
"html_url": "https://github.com/okoliechykwuka",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hi @okoliechykwuka , I'll transfer the question to the `transformers` repository as it's more related to the implementation there (and not the underlying `huggingface_hub` which is only responsible of uploading a file, not generating it). Also to help `transformers`'s maintainers, which version of `transformers` /... | 1,693 | 1,697 | 1,697 | NONE | null | I am attempting to push a saved model in `model-00001-of-00006.safetensors `mode, but the model gets converted to `pytorch_model-00001-of-00006.bin` before being saved to the hub.
How can I prevent this?
Here is what I am simply doing:
```
model.push_to_hub(new_model, use_temp_dir=False)
tokenizer.push_to_hu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25992/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25992/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25990 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25990/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25990/comments | https://api.github.com/repos/huggingface/transformers/issues/25990/events | https://github.com/huggingface/transformers/pull/25990 | 1,881,944,459 | PR_kwDOCUB6oc5Zkqq1 | 25,990 | Fix benchmark tests on RoCm | {
"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_25990). All of your documentation changes will be reflected on that endpoint.",
"@fxmarty What about using the rocm wrapper? Might be something cleaner moving forward:\r\n\r\nhttps://github.com/RadeonOpenCompute/rocm_smi_li... | 1,693 | 1,697 | 1,697 | COLLABORATOR | null | Some benchmark tests (not sure if they are commonly run) do not pass on RoCm systems due to py3nvml being nvidia-specific. This PR fixes the issue using `rocm-smi` instead, I couldn't find a binding to an equivalent of NVIDIA Management Library for AMD.
Those benchmark tests may be remove in favor of the optimum-ben... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25990/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25990/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25990",
"html_url": "https://github.com/huggingface/transformers/pull/25990",
"diff_url": "https://github.com/huggingface/transformers/pull/25990.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25990.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25989 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25989/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25989/comments | https://api.github.com/repos/huggingface/transformers/issues/25989/events | https://github.com/huggingface/transformers/issues/25989 | 1,881,869,201 | I_kwDOCUB6oc5wKwuR | 25,989 | Whisper Encoder's positional encodings shouldn't be trainable | {
"login": "gau-nernst",
"id": 26946864,
"node_id": "MDQ6VXNlcjI2OTQ2ODY0",
"avatar_url": "https://avatars.githubusercontent.com/u/26946864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gau-nernst",
"html_url": "https://github.com/gau-nernst",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Regarding matching the repo, I'dont think there is much difference in the results as we have 1e-4 matching logits with our integration tests. \r\n\r\nRegarding whether or not this should be trainable is up to debate:\r\n- the original repo does not provide a training script, so training discrepencies are not some... | 1,693 | 1,697 | 1,697 | CONTRIBUTOR | null | ### System Info
Currently Whisper Encoder's positional encodings in HF is an `nn.Embedding`, which makes it trainable.
https://github.com/huggingface/transformers/blob/aea761499f4b1193f2706f471442da6f9df65d65/src/transformers/models/whisper/modeling_whisper.py#L837
In the original implementation, it is fixed t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25989/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25989/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25988 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25988/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25988/comments | https://api.github.com/repos/huggingface/transformers/issues/25988/events | https://github.com/huggingface/transformers/issues/25988 | 1,881,849,532 | I_kwDOCUB6oc5wKr68 | 25,988 | AttributeError: 'FullyShardedDataParallelPlugin' object has no attribute 'activation_checkpointing' | {
"login": "scissorstail",
"id": 93466598,
"node_id": "U_kgDOBZIv5g",
"avatar_url": "https://avatars.githubusercontent.com/u/93466598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/scissorstail",
"html_url": "https://github.com/scissorstail",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"cc @muellerzr @pacman100 ",
"Hi! This has been fixed on main, please install transformers via `pip install git+https://github.com/huggingface/transformers`"
] | 1,693 | 1,695 | 1,695 | NONE | null | ### System Info
```
Traceback (most recent call last):
File "/workspace/run/run_llm.py", line 717, in <module>
main()
File "/workspace/run/run_llm.py", line 644, in main
trainer = Trainer(
File "/opt/conda/lib/python3.10/site-packages/transformers/trainer.py", line 342, in __init__
self.crea... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25988/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/25988/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25987 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25987/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25987/comments | https://api.github.com/repos/huggingface/transformers/issues/25987/events | https://github.com/huggingface/transformers/pull/25987 | 1,881,795,456 | PR_kwDOCUB6oc5ZkKOY | 25,987 | Trainer: delegate default generation values to `generation_config` | {
"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,693 | 1,693 | 1,693 | MEMBER | null | # What does this PR do?
Thank you @nick-maykr for raising the related issue.
In a nutshell, at some point in the seq2seq trainer, if `max_length` and `num_beams` were not set through the legacy arguments, we were fetching them from `model.config`. This is wrong -- all the logic about defaults is now handled in `m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25987/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25987/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25987",
"html_url": "https://github.com/huggingface/transformers/pull/25987",
"diff_url": "https://github.com/huggingface/transformers/pull/25987.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25987.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25986 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25986/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25986/comments | https://api.github.com/repos/huggingface/transformers/issues/25986/events | https://github.com/huggingface/transformers/pull/25986 | 1,881,746,485 | PR_kwDOCUB6oc5Zj_ct | 25,986 | [VITS] Fix nightly tests | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Fixes the tokenizer integration test and multi-GPU test that failed on the nightly run: https://github.com/huggingface/transformers/actions/runs/6068405445/job/16461410319
The tokenizer fix is trivial (needed to update the commit ID)!
The multi-GPU test was failing because the output se... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25986/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25986/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25986",
"html_url": "https://github.com/huggingface/transformers/pull/25986",
"diff_url": "https://github.com/huggingface/transformers/pull/25986.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25986.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25985 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25985/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25985/comments | https://api.github.com/repos/huggingface/transformers/issues/25985/events | https://github.com/huggingface/transformers/pull/25985 | 1,881,677,631 | PR_kwDOCUB6oc5Zjwc4 | 25,985 | [Wav2Vec2 Conformer] Fix inference float16 | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Fixes #25964 - the Wav2Vec2 conformer model with rotary embeddings now works when we load it `from_pretrained` with float16. The issue was originating in the rotary embedding layer, which was returning the positional embeddings in float32 always | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25985/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25985/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25985",
"html_url": "https://github.com/huggingface/transformers/pull/25985",
"diff_url": "https://github.com/huggingface/transformers/pull/25985.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25985.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25984 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25984/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25984/comments | https://api.github.com/repos/huggingface/transformers/issues/25984/events | https://github.com/huggingface/transformers/pull/25984 | 1,881,578,313 | PR_kwDOCUB6oc5ZjbAZ | 25,984 | Fix `test_finetune_bert2bert` | {
"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,693 | 1,694 | 1,694 | COLLABORATOR | null | # What does this PR do?
Fix the CI error. See the comment in the change of this PR.
```
tests/trainer/test_trainer_seq2seq.py::Seq2seqTrainerTester::test_finetune_bert2bert
(line 162) ValueError: Make sure to set the pad_token_id attribute of the model's configuration.
``` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25984/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25984/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25984",
"html_url": "https://github.com/huggingface/transformers/pull/25984",
"diff_url": "https://github.com/huggingface/transformers/pull/25984.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25984.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25983 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25983/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25983/comments | https://api.github.com/repos/huggingface/transformers/issues/25983/events | https://github.com/huggingface/transformers/pull/25983 | 1,881,570,603 | PR_kwDOCUB6oc5ZjZVY | 25,983 | seq2seq speech recognition example: use forward attention mask if apply spec augment is True | {
"login": "sorgfresser",
"id": 80467011,
"node_id": "MDQ6VXNlcjgwNDY3MDEx",
"avatar_url": "https://avatars.githubusercontent.com/u/80467011?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sorgfresser",
"html_url": "https://github.com/sorgfresser",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi "
] | 1,693 | 1,693 | 1,693 | 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/25983/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25983/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25983",
"html_url": "https://github.com/huggingface/transformers/pull/25983",
"diff_url": "https://github.com/huggingface/transformers/pull/25983.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25983.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25982 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25982/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25982/comments | https://api.github.com/repos/huggingface/transformers/issues/25982/events | https://github.com/huggingface/transformers/issues/25982 | 1,881,555,053 | I_kwDOCUB6oc5wJkBt | 25,982 | embedding_size=0 when training with deepspeed zero3 | {
"login": "iMountTai",
"id": 35353688,
"node_id": "MDQ6VXNlcjM1MzUzNjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/35353688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iMountTai",
"html_url": "https://github.com/iMountTai",
"followers_url": "https://api.github.com/users/... | [
{
"id": 5616426447,
"node_id": "LA_kwDOCUB6oc8AAAABTsPdzw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/solved",
"name": "solved",
"color": "B1D6DC",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hey! Thanks for opening an issue, could you write a bit more about the issue you have? I'm sorry but I can't really understand the problem as is. Do you have a reproducer?",
"related to this issue https://github.com/huggingface/transformers/issues/25977",
"Hello, please clearly explain the issue along with a m... | 1,693 | 1,698 | 1,698 | NONE | null | ### System Info

### Who can help?
@ArthurZucker @pacman100
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25982/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25982/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25981 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25981/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25981/comments | https://api.github.com/repos/huggingface/transformers/issues/25981/events | https://github.com/huggingface/transformers/pull/25981 | 1,881,490,094 | PR_kwDOCUB6oc5ZjH3S | 25,981 | fix typo | {
"login": "kai01ai",
"id": 140378742,
"node_id": "U_kgDOCF4Cdg",
"avatar_url": "https://avatars.githubusercontent.com/u/140378742?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kai01ai",
"html_url": "https://github.com/kai01ai",
"followers_url": "https://api.github.com/users/kai01ai/foll... | [] | closed | false | null | [] | [
"@amyeroberts I've checked, and there are no other instances of 'doanloading'. ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25981). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,698 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Change `doanloading` to `downloading` in `src/transformers/modeling_tf_utils.py`
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25981/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25981/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25981",
"html_url": "https://github.com/huggingface/transformers/pull/25981",
"diff_url": "https://github.com/huggingface/transformers/pull/25981.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25981.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25980 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25980/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25980/comments | https://api.github.com/repos/huggingface/transformers/issues/25980/events | https://github.com/huggingface/transformers/pull/25980 | 1,881,466,246 | PR_kwDOCUB6oc5ZjCvH | 25,980 | Fix `beam_scores` shape when token scores shape changes after `logits_processor` | {
"login": "BakerBunker",
"id": 17872844,
"node_id": "MDQ6VXNlcjE3ODcyODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/17872844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BakerBunker",
"html_url": "https://github.com/BakerBunker",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @gante ",
"Hi @BakerBunker 👋 \r\n\r\nYou wrote \"When token scores shape changes after `logits_processor`\" as the cause for the proposed changes -- this situation should not happen 🤔 \r\n\r\nWould you be able to share an example? ",
"Sure, I trained a model with different sizes of input and output embedd... | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25980/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25980/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25980",
"html_url": "https://github.com/huggingface/transformers/pull/25980",
"diff_url": "https://github.com/huggingface/transformers/pull/25980.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25980.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25979 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25979/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25979/comments | https://api.github.com/repos/huggingface/transformers/issues/25979/events | https://github.com/huggingface/transformers/issues/25979 | 1,881,413,406 | I_kwDOCUB6oc5wJBce | 25,979 | can not speicfy gpu in trainner | {
"login": "kimkeithvn",
"id": 41425845,
"node_id": "MDQ6VXNlcjQxNDI1ODQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/41425845?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kimkeithvn",
"html_url": "https://github.com/kimkeithvn",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @muellerzr @pacman100 ",
"Same comment as https://github.com/huggingface/transformers/issues/25321, you need to do this outside the trainer/during the call to launch the script. ",
"I use `CUDA_VISIBLE_DEVICES=1 acclerate launch script.py` and it works. Thanks for your advice."
] | 1,693 | 1,693 | 1,693 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-4.15.0-213-generic-x86_64-with-glibc2.27
- Python version: 3.10.11
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tens... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25979/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25979/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25978 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25978/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25978/comments | https://api.github.com/repos/huggingface/transformers/issues/25978/events | https://github.com/huggingface/transformers/issues/25978 | 1,881,399,323 | I_kwDOCUB6oc5wI-Ab | 25,978 | The impact of a quantization config on .num_parameters | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"I tried with `llama-7b`...\r\n1. w/o 4 bit quantization: (16 bit)\r\ntrainable params: 33,554,432 || all params: 6,771,970,048 || trainable%: 0.49548996469513035\r\n2. w/\r\ntrainable params: 33,554,432 || all params: 3,533,967,360 || trainable%: 0.9494833591219133\r\n\r\nI wonder why changing the precision leads ... | 1,693 | 1,698 | 1,694 | COLLABORATOR | null | ### System Info
- `transformers` version: 4.32.1
- Platform: Linux-5.14.0-284.25.1.el9_2.x86_64-x86_64-with-glibc2.34
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25978/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25978/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25977 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25977/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25977/comments | https://api.github.com/repos/huggingface/transformers/issues/25977/events | https://github.com/huggingface/transformers/issues/25977 | 1,881,351,775 | I_kwDOCUB6oc5wIyZf | 25,977 | Assertion error when using Trainer & Deepspeed stage 3 with `model.resize_token_embeddings` | {
"login": "kai01ai",
"id": 140378742,
"node_id": "U_kgDOCF4Cdg",
"avatar_url": "https://avatars.githubusercontent.com/u/140378742?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kai01ai",
"html_url": "https://github.com/kai01ai",
"followers_url": "https://api.github.com/users/kai01ai/foll... | [] | closed | false | null | [] | [
"Meet the same error. Exactly the same situation: transformers **> 4.31.0** + deepspeed zero3 v0.10.2 + `resize_token_embeddings`.",
"same issue for `transformers >= 4.32.0`",
"Try to fix this by https://github.com/huggingface/transformers/pull/26024"
] | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.33.0
- Platform: Linux-3.10.0-1160.83.1.el7.x86_64-x86_64-with-glibc2.35
- Python version: 3.10.9
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.2
- Accelerate version: 0.22.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distributed_ty... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25977/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 3
} | https://api.github.com/repos/huggingface/transformers/issues/25977/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25976 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25976/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25976/comments | https://api.github.com/repos/huggingface/transformers/issues/25976/events | https://github.com/huggingface/transformers/pull/25976 | 1,881,342,026 | PR_kwDOCUB6oc5Zin56 | 25,976 | Fix `test_load_img_url_timeout` | {
"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,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
#25184 added timeout parameter to some function and also a test. But the expected exception in the test is `ConnectTimeout` (on daily CI) instead of `ReadTimeout`, but it is `ReadTimeout` on `CircleCI`.
I haven't looked why there are such difference. But this PR updates the expected value ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25976/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25976/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25976",
"html_url": "https://github.com/huggingface/transformers/pull/25976",
"diff_url": "https://github.com/huggingface/transformers/pull/25976.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25976.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25975 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25975/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25975/comments | https://api.github.com/repos/huggingface/transformers/issues/25975/events | https://github.com/huggingface/transformers/pull/25975 | 1,881,341,440 | PR_kwDOCUB6oc5Zinxw | 25,975 | Add `Pop2Piano` space demo. | {
"login": "susnato",
"id": 56069179,
"node_id": "MDQ6VXNlcjU2MDY5MTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/56069179?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/susnato",
"html_url": "https://github.com/susnato",
"followers_url": "https://api.github.com/users/susnat... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25975). All of your documentation changes will be reflected on that endpoint.",
"Thanks @susnato!"
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25975/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25975/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25975",
"html_url": "https://github.com/huggingface/transformers/pull/25975",
"diff_url": "https://github.com/huggingface/transformers/pull/25975.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25975.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25974 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25974/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25974/comments | https://api.github.com/repos/huggingface/transformers/issues/25974/events | https://github.com/huggingface/transformers/pull/25974 | 1,881,300,762 | PR_kwDOCUB6oc5ZifGI | 25,974 | nn.Identity is not required to be compatible with PyTorch < 1.1.0 as the minimum PyTorch version we currently support is 1.10.0 | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I am not sure I understand. We already say goodbye to pytorch 1.9 in #24080. Could you elaborate with a bit more detail?",
"> I am not sure I understand. We already say goodbye to pytorch 1.9 in #24080. Could you elaborate with a bit more detail?\r\n\r\nApologies for the confusion. I provided incorrect informati... | 1,693 | 1,694 | 1,693 | CONTRIBUTOR | null |
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25974/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25974/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25974",
"html_url": "https://github.com/huggingface/transformers/pull/25974",
"diff_url": "https://github.com/huggingface/transformers/pull/25974.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25974.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25973 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25973/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25973/comments | https://api.github.com/repos/huggingface/transformers/issues/25973/events | https://github.com/huggingface/transformers/pull/25973 | 1,881,298,155 | PR_kwDOCUB6oc5ZiejE | 25,973 | Use main in conversion script | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [] | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
Put the code under `if __name__ == "__main__":` so it won't affect other stuff (for example, pytest collection).
Doctest is currently failing due to this, see [here](https://github.com/huggingface/transformers/actions/runs/6079493829/job/16492061986) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25973/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25973/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25973",
"html_url": "https://github.com/huggingface/transformers/pull/25973",
"diff_url": "https://github.com/huggingface/transformers/pull/25973.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25973.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25972 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25972/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25972/comments | https://api.github.com/repos/huggingface/transformers/issues/25972/events | https://github.com/huggingface/transformers/pull/25972 | 1,881,268,854 | PR_kwDOCUB6oc5ZiYO2 | 25,972 | Fix Detr 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,693 | 1,694 | 1,693 | COLLABORATOR | null | # What does this PR do?
#24652 updated an expected value (`0.994097`) used in the test (from a contributor), but our CI still gets the original value `0.994096`. This PR just keeps the original one.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25972/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25972/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25972",
"html_url": "https://github.com/huggingface/transformers/pull/25972",
"diff_url": "https://github.com/huggingface/transformers/pull/25972.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25972.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25971 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25971/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25971/comments | https://api.github.com/repos/huggingface/transformers/issues/25971/events | https://github.com/huggingface/transformers/pull/25971 | 1,881,209,713 | PR_kwDOCUB6oc5ZiLoU | 25,971 | Update logits_process.py docstrings | {
"login": "larekrow",
"id": 127832774,
"node_id": "U_kgDOB56Sxg",
"avatar_url": "https://avatars.githubusercontent.com/u/127832774?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/larekrow",
"html_url": "https://github.com/larekrow",
"followers_url": "https://api.github.com/users/larekrow/... | [] | closed | false | null | [] | [] | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | This PR fixes points 1 and 2 of #25970 by correcting the docstrings for `RepetitionPenaltyLogitsProcessor` and `EncoderRepetitionPenaltyLogitsProcessor`.
Point 3 is left untouched as it can be "fixed" by multiple ways: either enforcing `penalty > 1` or clarifying further in the docstrings.
@gante
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25971/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25971/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25971",
"html_url": "https://github.com/huggingface/transformers/pull/25971",
"diff_url": "https://github.com/huggingface/transformers/pull/25971.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25971.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25970 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25970/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25970/comments | https://api.github.com/repos/huggingface/transformers/issues/25970/events | https://github.com/huggingface/transformers/issues/25970 | 1,881,201,164 | I_kwDOCUB6oc5wINoM | 25,970 | `RepetitionPenaltyLogitsProcessor` and `EncoderRepetitionPenaltyLogitsProcessor` contains incorrect and unclear docstrings | {
"login": "larekrow",
"id": 127832774,
"node_id": "U_kgDOB56Sxg",
"avatar_url": "https://avatars.githubusercontent.com/u/127832774?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/larekrow",
"html_url": "https://github.com/larekrow",
"followers_url": "https://api.github.com/users/larekrow/... | [] | closed | false | null | [] | [
"@larekrow yes, I agree, there are some inconsistencies and some lack of documentation. \r\n\r\nIssues 1 and 2 get partially resolved with your PR (#25971). On 2, there is clearly an example missing, but I'm reviewing examples ATM.\r\n\r\nRegarding 3: it's a shame that `penalty` has the opposite meaning in on both ... | 1,693 | 1,697 | 1,697 | CONTRIBUTOR | null | 1. The class docstring of `RepetitionPenaltyLogitsProcessor` says "tokens with higher scores are _less_ likely to be selected". However, according to the [paper](https://arxiv.org/pdf/1909.05858.pdf) which states that "this penalized sampling works by _discounting_ the scores of previously generated tokens" and the cod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25970/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25970/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25969 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25969/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25969/comments | https://api.github.com/repos/huggingface/transformers/issues/25969/events | https://github.com/huggingface/transformers/pull/25969 | 1,881,049,636 | PR_kwDOCUB6oc5Zhpsq | 25,969 | enable optuna multi-objectives feature | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25969). All of your documentation changes will be reflected on that endpoint.",
"cc @muellerzr @pacman100 for input on the changes to trainer "
] | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Fixes # ((https://github.com/huggingface/transformers/issues/25657))
## Who can review?
@sgugger @ArthurZucker
-->
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25969/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25969/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25969",
"html_url": "https://github.com/huggingface/transformers/pull/25969",
"diff_url": "https://github.com/huggingface/transformers/pull/25969.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25969.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25968 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25968/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25968/comments | https://api.github.com/repos/huggingface/transformers/issues/25968/events | https://github.com/huggingface/transformers/issues/25968 | 1,880,995,559 | I_kwDOCUB6oc5wHbbn | 25,968 | Questions about Accelerate with FSDP | {
"login": "nebrelbug",
"id": 25597854,
"node_id": "MDQ6VXNlcjI1NTk3ODU0",
"avatar_url": "https://avatars.githubusercontent.com/u/25597854?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nebrelbug",
"html_url": "https://github.com/nebrelbug",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"1: Yes, we dispatch and split the batches. So a batch of 64 on one device when training on 8 GPUs, that batch of 64 is split 8 ways and sent to each GPU as one batch. See the docs here on this behavior: https://huggingface.co/docs/accelerate/concept_guides/performance#observed-batch-sizes\r\n\r\n2: I *think* so, c... | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.32.1
- Platform: Linux-3.10.0-1160.92.1.el7.x86_64-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25968/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25968/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25967 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25967/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25967/comments | https://api.github.com/repos/huggingface/transformers/issues/25967/events | https://github.com/huggingface/transformers/issues/25967 | 1,880,822,768 | I_kwDOCUB6oc5wGxPw | 25,967 | Incomplete model table | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"It looks like `TimmBackbone` also shows no support here. \r\n\r\nI suspect it may have something to do with the regex that matches the model names. For example, `TimmBackbone` doesn't have a `Model`, `Encoder`, `Decoder`, or `ForConditionalGeneration` class. However, I'm not sure why it doesn't work for `Maskform... | 1,693 | 1,695 | 1,695 | MEMBER | null | The model table on the index of the documentation is incomplete it seems: https://huggingface.co/docs/transformers/index
Some models, like `MaskFormerSwin` or `Speech2Text2` show that there's no support in any library.
. All of your documen... | 1,693 | 1,694 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25966/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25966/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25966",
"html_url": "https://github.com/huggingface/transformers/pull/25966",
"diff_url": "https://github.com/huggingface/transformers/pull/25966.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25966.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25965 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25965/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25965/comments | https://api.github.com/repos/huggingface/transformers/issues/25965/events | https://github.com/huggingface/transformers/issues/25965 | 1,880,666,772 | I_kwDOCUB6oc5wGLKU | 25,965 | XPU support | {
"login": "Serizao",
"id": 11671895,
"node_id": "MDQ6VXNlcjExNjcxODk1",
"avatar_url": "https://avatars.githubusercontent.com/u/11671895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Serizao",
"html_url": "https://github.com/Serizao",
"followers_url": "https://api.github.com/users/Seriza... | [] | closed | false | null | [] | [
"Hi @Serizao, thanks for opening this issue! \r\n\r\nThere's a PR #25714 for adding support for XPU with the trainer. \r\n\r\nCould you share a minimal reproducer so we can replicate the issue? The underlying problem might be the weight allocation rather then XPU itself. \r\n\r\ncc @muellerzr @pacman100 ",
"Hi @S... | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | ### Feature request
I would like to know if XPU support is in pipline ?
I try to use with current package and i have error :
`RuntimeError: Expected all tensors to be on the same device, but found at least two devices, xpu:0 and cpu! (when checking argument for argument index in method wrapper_XPU__index_select)`
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25965/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25965/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25964 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25964/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25964/comments | https://api.github.com/repos/huggingface/transformers/issues/25964/events | https://github.com/huggingface/transformers/issues/25964 | 1,880,645,773 | I_kwDOCUB6oc5wGGCN | 25,964 | [bug] `facebook/wav2vec2-conformer-rope-large-960h-ft` refuses to work in `fp16` | {
"login": "Vaibhavs10",
"id": 18682411,
"node_id": "MDQ6VXNlcjE4NjgyNDEx",
"avatar_url": "https://avatars.githubusercontent.com/u/18682411?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Vaibhavs10",
"html_url": "https://github.com/Vaibhavs10",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"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... | [
{
"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": "ht... | [] | 1,693 | 1,693 | 1,693 | MEMBER | null | ### System Info
- `transformers` version: 4.32.1
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25964/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25964/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25963 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25963/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25963/comments | https://api.github.com/repos/huggingface/transformers/issues/25963/events | https://github.com/huggingface/transformers/pull/25963 | 1,880,619,196 | PR_kwDOCUB6oc5ZgM-P | 25,963 | Fix failing test | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"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_25963). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | MEMBER | null | The `self.finetuned_from` field can be `None` as it can be an empty string; in both cases, the `Trainer` should not save that value to the metadata.
Fixes failing tests such as:
```
=========================== short test summary info ============================
FAILED tests/trainer/test_trainer.py::TrainerIntegr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25963/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25963/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25963",
"html_url": "https://github.com/huggingface/transformers/pull/25963",
"diff_url": "https://github.com/huggingface/transformers/pull/25963.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25963.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25962 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25962/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25962/comments | https://api.github.com/repos/huggingface/transformers/issues/25962/events | https://github.com/huggingface/transformers/pull/25962 | 1,880,612,302 | PR_kwDOCUB6oc5ZgLe8 | 25,962 | Generate: legacy mode is only triggered when `generation_config` is untouched | {
"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 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The first thing I can think of is \r\n\r\nhttps://docs.python.org/3/reference/datamodel.html#object.__hash__\r\n\r\n> ... Although they remain constant within an individual Python process, they are not predictable between repeated in... | 1,693 | 1,694 | 1,694 | MEMBER | null | This is a long description, but bear with me -- it is important to understand the whole context here!
# Background
Long ago, in ancient times (2022), `model.config` held all model-related configurations, including generative configuration. This means it would be possible to modify the model config to parameterize... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25962/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25962/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25962",
"html_url": "https://github.com/huggingface/transformers/pull/25962",
"diff_url": "https://github.com/huggingface/transformers/pull/25962.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25962.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25961 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25961/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25961/comments | https://api.github.com/repos/huggingface/transformers/issues/25961/events | https://github.com/huggingface/transformers/pull/25961 | 1,880,609,823 | PR_kwDOCUB6oc5ZgK8v | 25,961 | Skip `push_to_hub` for now | {
"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 | [] | [
"Superseded by https://github.com/huggingface/transformers/pull/25963\r\n\r\nThanks for your work @ydshieh!",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25961). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
Currently failing on `main`.
Error
```bash
elif response.status_code == 400:
message = (
f"\n\nBad request for {endpoint_name} endpoint:" if endpoint_name is not None else "\n\nBad request:"
)
> raise Bad... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25961/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25961/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25961",
"html_url": "https://github.com/huggingface/transformers/pull/25961",
"diff_url": "https://github.com/huggingface/transformers/pull/25961.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25961.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25960 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25960/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25960/comments | https://api.github.com/repos/huggingface/transformers/issues/25960/events | https://github.com/huggingface/transformers/pull/25960 | 1,880,552,743 | PR_kwDOCUB6oc5Zf-J6 | 25,960 | Put Falcon back | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,694 | 1,693 | MEMBER | null | Goes hand in hand with https://github.com/huggingface/transformers/pull/25954
As seen offline with @ArthurZucker but would still like additional eyes on this as it's touching critical code (that I'd honestly rather not be touching, but I don't see another way around it).
This code will be removed as soon as we ca... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25960/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25960/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25960",
"html_url": "https://github.com/huggingface/transformers/pull/25960",
"diff_url": "https://github.com/huggingface/transformers/pull/25960.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25960.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25959 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25959/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25959/comments | https://api.github.com/repos/huggingface/transformers/issues/25959/events | https://github.com/huggingface/transformers/pull/25959 | 1,880,521,912 | PR_kwDOCUB6oc5Zf3Zi | 25,959 | only main process should call _save on deepspeed zero3 | {
"login": "zjjMaiMai",
"id": 13913992,
"node_id": "MDQ6VXNlcjEzOTEzOTky",
"avatar_url": "https://avatars.githubusercontent.com/u/13913992?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zjjMaiMai",
"html_url": "https://github.com/zjjMaiMai",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @muellerzr @pacman100 ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25959). All of your documentation changes will be reflected on that endpoint.",
"@pacman100 any things i need to do?",
"@zjjMaiMai One of the hub tests are failing, complaining that the base... | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | # Background
`trainer._save` call on all process after https://github.com/huggingface/transformers/pull/25817. will raise `FileExistsError` when model save.
# What does this PR do?
this pr fix it, `trainer._save` will call on main process only. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25959/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25959/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25959",
"html_url": "https://github.com/huggingface/transformers/pull/25959",
"diff_url": "https://github.com/huggingface/transformers/pull/25959.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25959.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25958 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25958/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25958/comments | https://api.github.com/repos/huggingface/transformers/issues/25958/events | https://github.com/huggingface/transformers/pull/25958 | 1,880,519,165 | PR_kwDOCUB6oc5Zf2yz | 25,958 | [doc] Always call it Agents for consistency | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | MEMBER | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25958/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25958/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25958",
"html_url": "https://github.com/huggingface/transformers/pull/25958",
"diff_url": "https://github.com/huggingface/transformers/pull/25958.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25958.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25957 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25957/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25957/comments | https://api.github.com/repos/huggingface/transformers/issues/25957/events | https://github.com/huggingface/transformers/issues/25957 | 1,880,408,663 | I_kwDOCUB6oc5wFMJX | 25,957 | Add support for yarn | {
"login": "RonanKMcGovern",
"id": 78278410,
"node_id": "MDQ6VXNlcjc4Mjc4NDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/78278410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RonanKMcGovern",
"html_url": "https://github.com/RonanKMcGovern",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"The error is not really giving you any clues as to what went wrong here in my opinion. You should be able to load the model if you pass `trust_remote_code=True`. \r\n\r\n```python\r\nmodel_id = \"TheBloke/Yarn-Llama-2-7B-128K-GPTQ\"\r\n\r\nmodel = AutoModelForCausalLM.from_pretrained(\r\n model_id,\r\n torch... | 1,693 | 1,695 | 1,693 | NONE | null | ### System Info
transformers 4.33 (unreleased).
```
model_id = "TheBloke/Yarn-Llama-2-7B-128K-GPTQ"
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.float16,
device_map="auto",
revision="main")
```
leading to:
```
ValueError Trace... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25957/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/25957/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25956 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25956/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25956/comments | https://api.github.com/repos/huggingface/transformers/issues/25956/events | https://github.com/huggingface/transformers/issues/25956 | 1,880,396,024 | I_kwDOCUB6oc5wFJD4 | 25,956 | resume_from_checkpoint may fail with auto_find_batch_size | {
"login": "n-splv",
"id": 75306162,
"node_id": "MDQ6VXNlcjc1MzA2MTYy",
"avatar_url": "https://avatars.githubusercontent.com/u/75306162?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/n-splv",
"html_url": "https://github.com/n-splv",
"followers_url": "https://api.github.com/users/n-splv/fo... | [] | closed | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"cc @muellerzr "
] | 1,693 | 1,702 | 1,702 | NONE | null | ### System Info
When we resume training from a checkpoint, the process may stale, because the number of already passed steps from the checkpoint may turn out to be greater than the estimated total number of steps. When `auto_find_batch_size` is turned on, the trainer would first try to choose a higher value for the ba... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25956/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25956/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25955 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25955/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25955/comments | https://api.github.com/repos/huggingface/transformers/issues/25955/events | https://github.com/huggingface/transformers/pull/25955 | 1,880,338,924 | PR_kwDOCUB6oc5ZfO5D | 25,955 | Fix smart check | {
"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 not to block the release.",
"(once #25963 is merged)"
] | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
Fix #25944 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25955/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25955/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25955",
"html_url": "https://github.com/huggingface/transformers/pull/25955",
"diff_url": "https://github.com/huggingface/transformers/pull/25955.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25955.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25954 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25954/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25954/comments | https://api.github.com/repos/huggingface/transformers/issues/25954/events | https://github.com/huggingface/transformers/pull/25954 | 1,880,325,689 | PR_kwDOCUB6oc5ZfL63 | 25,954 | Add proper Falcon docs and conversion script | {
"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._"
] | 1,693 | 1,694 | 1,693 | MEMBER | null | This PR adds Falcon documentation (we never pushed any before because the main models weren't supported properly) and adds a conversion script for turning custom code checkpoints into in-library ones. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25954/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25954/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25954",
"html_url": "https://github.com/huggingface/transformers/pull/25954",
"diff_url": "https://github.com/huggingface/transformers/pull/25954.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25954.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25953 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25953/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25953/comments | https://api.github.com/repos/huggingface/transformers/issues/25953/events | https://github.com/huggingface/transformers/pull/25953 | 1,880,313,758 | PR_kwDOCUB6oc5ZfJRu | 25,953 | Update RAG README.md with correct path to examples/seq2seq | {
"login": "tleyden",
"id": 296876,
"node_id": "MDQ6VXNlcjI5Njg3Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/296876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tleyden",
"html_url": "https://github.com/tleyden",
"followers_url": "https://api.github.com/users/tleyden/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25953). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25953/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25953/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25953",
"html_url": "https://github.com/huggingface/transformers/pull/25953",
"diff_url": "https://github.com/huggingface/transformers/pull/25953.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25953.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25952 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25952/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25952/comments | https://api.github.com/repos/huggingface/transformers/issues/25952/events | https://github.com/huggingface/transformers/pull/25952 | 1,880,313,702 | PR_kwDOCUB6oc5ZfJQ9 | 25,952 | Add BeitBackbone | {
"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._",
"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 gu... | 1,693 | 1,701 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
This PR is part one of the bigger #25799. It adds the `BeitBackbone` class, making it possible to use this vision transformer as a backbone for downstream tasks, like depth estimation.
To do:
- [x] make `out_indices` backwards compatible
- [x] check whether this class is compatible wi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25952/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25952/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25952",
"html_url": "https://github.com/huggingface/transformers/pull/25952",
"diff_url": "https://github.com/huggingface/transformers/pull/25952.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25952.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25951 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25951/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25951/comments | https://api.github.com/repos/huggingface/transformers/issues/25951/events | https://github.com/huggingface/transformers/issues/25951 | 1,880,267,899 | I_kwDOCUB6oc5wEpx7 | 25,951 | InstructBlip qformer vocab_size smaller than processor vocab_size | {
"login": "ZeguanXiao",
"id": 38279341,
"node_id": "MDQ6VXNlcjM4Mjc5MzQx",
"avatar_url": "https://avatars.githubusercontent.com/u/38279341?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZeguanXiao",
"html_url": "https://github.com/ZeguanXiao",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nNote that InstructBLIP contains 2 text modules, a Q-Former and a large language model (like Flan-T5 or Vicuna). Hence the processor will create both `qformer_input_ids` and `input_ids`. This explains why one shouldn't pass the `input_ids` to the Q-Former, but rather to the LLM, as both have different vo... | 1,693 | 1,693 | 1,693 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.4.0-156-generic-x86_64-with-glibc2.17
- Python version: 3.8.17
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.20.3
- Accelerate config: not found
- PyTorch version (GPU?): 1.13.1 (True)
- Tensorflo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25951/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25951/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25950 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25950/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25950/comments | https://api.github.com/repos/huggingface/transformers/issues/25950/events | https://github.com/huggingface/transformers/pull/25950 | 1,880,179,930 | PR_kwDOCUB6oc5Zerhz | 25,950 | save space when converting hf model to megatron model. | {
"login": "flower-with-safe",
"id": 18008108,
"node_id": "MDQ6VXNlcjE4MDA4MTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/18008108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flower-with-safe",
"html_url": "https://github.com/flower-with-safe",
"followers_url": "https://... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25950). All of your documentation changes will be reflected on that endpoint.",
"you are right, I add the LM head. But I think layer norm doesn't need this method, they are replicated across the tensor paralledl group.\r\n... | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25950/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25950/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25950",
"html_url": "https://github.com/huggingface/transformers/pull/25950",
"diff_url": "https://github.com/huggingface/transformers/pull/25950.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25950.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25949 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25949/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25949/comments | https://api.github.com/repos/huggingface/transformers/issues/25949/events | https://github.com/huggingface/transformers/pull/25949 | 1,879,974,571 | PR_kwDOCUB6oc5Zd-Sd | 25,949 | [MMS] Fix pip install in docs | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Fixes the pip install instructions in the MMS docs | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25949/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25949/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25949",
"html_url": "https://github.com/huggingface/transformers/pull/25949",
"diff_url": "https://github.com/huggingface/transformers/pull/25949.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25949.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25948 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25948/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25948/comments | https://api.github.com/repos/huggingface/transformers/issues/25948/events | https://github.com/huggingface/transformers/issues/25948 | 1,879,956,181 | I_kwDOCUB6oc5wDdrV | 25,948 | Breaking change on `torch_required`. | {
"login": "xkszltl",
"id": 5203025,
"node_id": "MDQ6VXNlcjUyMDMwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5203025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xkszltl",
"html_url": "https://github.com/xkszltl",
"followers_url": "https://api.github.com/users/xkszltl/... | [] | closed | false | null | [] | [
"Hi @xkszltl, thanks for raising this issue. \r\n\r\nSo that we can best help, could you: \r\n* Provide an minimal code snippet to reproduce this issue\r\n* Give some more information about the error that occurs - the full error traceback if possible? \r\n* Share the the running environment: run `transformers-cli e... | 1,693 | 1,704 | 1,697 | CONTRIBUTOR | null | `torch_required` was replaced by `requires_backends` in the following PR:
- https://github.com/huggingface/transformers/pull/20715#issuecomment-1704069322
This breaks the existing code using `torch_required`, and it is an unnecessary breaking change because `torch_required` can simply be reimplemented based on `req... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25948/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25948/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25947 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25947/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25947/comments | https://api.github.com/repos/huggingface/transformers/issues/25947/events | https://github.com/huggingface/transformers/pull/25947 | 1,879,938,457 | PR_kwDOCUB6oc5Zd2Y1 | 25,947 | [`Falcon`] Remove SDPA for falcon to support earlier versions of PyTorch (< 2.0) | {
"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._",
"For torch > 2.0 users this will lead to an unexpected slow down and especially can lead to a huge increase in memory.\r\n\r\nI wonder whether it might be better to go for full backwards compatibility here and instead do something lik... | 1,693 | 1,695 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Removes the call to `torch.scaled_dot_product_attention` in the modeling code of Falcon. That method has been introduced only from PyTorch >= 2.0 thus it is not possible to run falcon on PT 1.13 for instance
If one wants to use SDPA for using Flash Attention 1, one should use `BetterTrans... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25947/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/25947/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25947",
"html_url": "https://github.com/huggingface/transformers/pull/25947",
"diff_url": "https://github.com/huggingface/transformers/pull/25947.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25947.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25946 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25946/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25946/comments | https://api.github.com/repos/huggingface/transformers/issues/25946/events | https://github.com/huggingface/transformers/pull/25946 | 1,879,922,520 | PR_kwDOCUB6oc5Zdy8X | 25,946 | [VITS] Handle deprecated weight norm | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
PyTorch nightly introduces a new parameterisation of weight norm: https://github.com/pytorch/pytorch/pull/103001. The old version will be deprecated in upcoming versions.
This PR updates the VITS modelling code to use this new variant if available. Mirrors #24030 where this was done for W2... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25946/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25946/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25946",
"html_url": "https://github.com/huggingface/transformers/pull/25946",
"diff_url": "https://github.com/huggingface/transformers/pull/25946.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25946.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25945 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25945/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25945/comments | https://api.github.com/repos/huggingface/transformers/issues/25945/events | https://github.com/huggingface/transformers/pull/25945 | 1,879,901,126 | PR_kwDOCUB6oc5ZduS- | 25,945 | [VITS] Fix init test | {
"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._",
"Hi @sanchit-gandhi , I'm not sure how accumulation of numerical errors could appear during initialization, could you expand on this a bit?\r\n\r\nAlso, would it be possible that the error comes from the [`init_weights`](https://githu... | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/pull/24085#issuecomment-1704897914. In short, the VITS initialisation test was flaky: some of the parameters initialised with uniform values would exceed the initialiser range `[-1, 1]`.
These violating parameters would always be in the la... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25945/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25945/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25945",
"html_url": "https://github.com/huggingface/transformers/pull/25945",
"diff_url": "https://github.com/huggingface/transformers/pull/25945.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25945.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25944 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25944/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25944/comments | https://api.github.com/repos/huggingface/transformers/issues/25944/events | https://github.com/huggingface/transformers/issues/25944 | 1,879,885,790 | I_kwDOCUB6oc5wDMfe | 25,944 | #25871 slows down non-CPU runs | {
"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 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [] | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | See https://github.com/huggingface/transformers/pull/25871#issuecomment-1704067642
(copy paste)
Using `repr` [here](https://github.com/huggingface/transformers/blob/0afa5071bd84e44301750fdc594e33db102cf374/src/transformers/utils/generic.py#L79) significantly slows down non-CPU runs (-33% on HPU, probably similar ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25944/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25944/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25943 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25943/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25943/comments | https://api.github.com/repos/huggingface/transformers/issues/25943/events | https://github.com/huggingface/transformers/pull/25943 | 1,879,798,671 | PR_kwDOCUB6oc5ZdYEa | 25,943 | Add speecht5 batch generation and fix wrong attention mask when padding | {
"login": "Spycsh",
"id": 39623753,
"node_id": "MDQ6VXNlcjM5NjIzNzUz",
"avatar_url": "https://avatars.githubusercontent.com/u/39623753?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Spycsh",
"html_url": "https://github.com/Spycsh",
"followers_url": "https://api.github.com/users/Spycsh/fo... | [] | closed | false | null | [] | [
"Hi @Spycsh, thanks for this PR ! I'll look at it ASAP\r\n\r\nFor future reference, here is your [comment](https://github.com/huggingface/transformers/issues/25908#issuecomment-1704922386) explaining your code choices.",
"Hi @sanchit-gandhi @ylacombe , I have made another commit, which includes:\r\n\r\n- [x] add ... | 1,693 | 1,699 | 1,699 | 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/25943/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25943/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25943",
"html_url": "https://github.com/huggingface/transformers/pull/25943",
"diff_url": "https://github.com/huggingface/transformers/pull/25943.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25943.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25942 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25942/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25942/comments | https://api.github.com/repos/huggingface/transformers/issues/25942/events | https://github.com/huggingface/transformers/pull/25942 | 1,879,774,971 | PR_kwDOCUB6oc5ZdTAh | 25,942 | Add Nougat | {
"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._",
"Remaining to do's:\r\n\r\n- [x] remove cv2 dependency\r\n- [x] add init tokenizer\r\n- [x] fix (*args, **kwargs) of processor to explicitly define the arguments\r\n- [x] transfer checkpoints",
"Pinging @ArthurZucker for final revie... | 1,693 | 1,695 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
This PR adds Nougat, a [Donut](https://huggingface.co/docs/transformers/model_doc/donut) model trained to transcribe scientific PDFs into an easy to read Markdown format.
To do:
- [x] remove cv2 dependency of `NougatImageProcessor` - or use `is_cv2_available`
- [x] make sure code that ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25942/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25942/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25942",
"html_url": "https://github.com/huggingface/transformers/pull/25942",
"diff_url": "https://github.com/huggingface/transformers/pull/25942.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25942.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25941 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25941/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25941/comments | https://api.github.com/repos/huggingface/transformers/issues/25941/events | https://github.com/huggingface/transformers/pull/25941 | 1,879,527,351 | PR_kwDOCUB6oc5Zcd-N | 25,941 | Update README.md | {
"login": "NinoRisteski",
"id": 95188570,
"node_id": "U_kgDOBax2Wg",
"avatar_url": "https://avatars.githubusercontent.com/u/95188570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NinoRisteski",
"html_url": "https://github.com/NinoRisteski",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25941). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | fixed a typo
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25941/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25941/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25941",
"html_url": "https://github.com/huggingface/transformers/pull/25941",
"diff_url": "https://github.com/huggingface/transformers/pull/25941.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25941.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25940 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25940/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25940/comments | https://api.github.com/repos/huggingface/transformers/issues/25940/events | https://github.com/huggingface/transformers/pull/25940 | 1,879,425,780 | PR_kwDOCUB6oc5ZcIIT | 25,940 | zip_longest lists and tuples, batches can be sized differently | {
"login": "YoraiLevi",
"id": 50873841,
"node_id": "MDQ6VXNlcjUwODczODQx",
"avatar_url": "https://avatars.githubusercontent.com/u/50873841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YoraiLevi",
"html_url": "https://github.com/YoraiLevi",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @muellerzr @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/transforme... | 1,693 | 1,697 | 1,697 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25940/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25940/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25940",
"html_url": "https://github.com/huggingface/transformers/pull/25940",
"diff_url": "https://github.com/huggingface/transformers/pull/25940.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25940.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25939 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25939/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25939/comments | https://api.github.com/repos/huggingface/transformers/issues/25939/events | https://github.com/huggingface/transformers/issues/25939 | 1,879,395,851 | I_kwDOCUB6oc5wBU4L | 25,939 | nested_concat assumes lists are equal in size | {
"login": "YoraiLevi",
"id": 50873841,
"node_id": "MDQ6VXNlcjUwODczODQx",
"avatar_url": "https://avatars.githubusercontent.com/u/50873841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YoraiLevi",
"html_url": "https://github.com/YoraiLevi",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Similarly,\r\n`len(batched_labels[0]['orig_size'])` is 7 and not 8 or any multiple of 2.\r\n\r\n\r\n",
"It's impossible to know where a bounding box originated from\r\n: 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25938/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25938/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25937 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25937/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25937/comments | https://api.github.com/repos/huggingface/transformers/issues/25937/events | https://github.com/huggingface/transformers/issues/25937 | 1,879,293,277 | I_kwDOCUB6oc5wA71d | 25,937 | RWKV produces erroneous output after fine-tuning and model.eval() enabled; inference during model.train() works correctly | {
"login": "LuciferianInk",
"id": 94832312,
"node_id": "U_kgDOBacGuA",
"avatar_url": "https://avatars.githubusercontent.com/u/94832312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LuciferianInk",
"html_url": "https://github.com/LuciferianInk",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Hi @LuciferianInk 👋 \r\n\r\nCalling `model.eval()` turns off things like dropout and per-batch normalization and, as you wrote, should improve things at inference time. I'm afraid that without a short reproducer to load the fine-tuned model and reproduce the problem quickly, there is little we can do -- our bandw... | 1,693 | 1,696 | 1,696 | NONE | null | ### System Info
- `transformers` version: 4.32.1
- Platform: Linux-6.4.10-arch1-1-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorfl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25937/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25937/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25936 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25936/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25936/comments | https://api.github.com/repos/huggingface/transformers/issues/25936/events | https://github.com/huggingface/transformers/pull/25936 | 1,879,226,175 | PR_kwDOCUB6oc5ZbeSE | 25,936 | Fix typos | {
"login": "omahs",
"id": 73983677,
"node_id": "MDQ6VXNlcjczOTgzNjc3",
"avatar_url": "https://avatars.githubusercontent.com/u/73983677?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/omahs",
"html_url": "https://github.com/omahs",
"followers_url": "https://api.github.com/users/omahs/follow... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25936). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | Fix typos
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25936/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25936/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25936",
"html_url": "https://github.com/huggingface/transformers/pull/25936",
"diff_url": "https://github.com/huggingface/transformers/pull/25936.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25936.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25935 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25935/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25935/comments | https://api.github.com/repos/huggingface/transformers/issues/25935/events | https://github.com/huggingface/transformers/issues/25935 | 1,879,150,714 | I_kwDOCUB6oc5wAZB6 | 25,935 | problem | {
"login": "Zlasejd",
"id": 73882900,
"node_id": "MDQ6VXNlcjczODgyOTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/73882900?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zlasejd",
"html_url": "https://github.com/Zlasejd",
"followers_url": "https://api.github.com/users/Zlasej... | [] | closed | false | null | [] | [] | 1,693 | 1,693 | 1,693 | NONE | null | ### System Info
File "/fsa/home/hqz_zhangjd/.conda/envs/newenv/lib/python3.8/site-packages/transformers/models/bert/modeling_bert.py", line 986, in forward
buffered_token_type_ids_expanded = buffered_token_type_ids.expand(batch_size, seq_length)
RuntimeError: The expanded size of the tensor (693) must match th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25935/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25935/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25934 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25934/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25934/comments | https://api.github.com/repos/huggingface/transformers/issues/25934/events | https://github.com/huggingface/transformers/pull/25934 | 1,879,144,685 | PR_kwDOCUB6oc5ZbOzu | 25,934 | Fix small typo README.md | {
"login": "zspo",
"id": 26846598,
"node_id": "MDQ6VXNlcjI2ODQ2NTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/26846598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zspo",
"html_url": "https://github.com/zspo",
"followers_url": "https://api.github.com/users/zspo/followers"... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25934). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
1. update paper links in readme
2. fix other small bugs in .md
## Who can review?
Documentation: @stevhliu and @MKhalusova
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25934/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25934/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25934",
"html_url": "https://github.com/huggingface/transformers/pull/25934",
"diff_url": "https://github.com/huggingface/transformers/pull/25934.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25934.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25933 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25933/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25933/comments | https://api.github.com/repos/huggingface/transformers/issues/25933/events | https://github.com/huggingface/transformers/pull/25933 | 1,879,085,441 | PR_kwDOCUB6oc5ZbDZ6 | 25,933 | PegasusX add _no_split_modules | {
"login": "andreeahedes",
"id": 53334746,
"node_id": "MDQ6VXNlcjUzMzM0NzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/53334746?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andreeahedes",
"html_url": "https://github.com/andreeahedes",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"@andreeahedes Thanks for adding this! Have you run the [accelerate tests](https://huggingface.co/docs/transformers/testing#run-accelerate-tests) for this model on 1 and 2 GPUs with these changes? ",
"Hi @amyeroberts , I ran `test_disk_offload`, `test_cpu_offload` and ` test_model_parallelism` on a machine with 2... | 1,693 | 1,694 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this wit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25933/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25933/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25933",
"html_url": "https://github.com/huggingface/transformers/pull/25933",
"diff_url": "https://github.com/huggingface/transformers/pull/25933.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25933.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25932 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25932/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25932/comments | https://api.github.com/repos/huggingface/transformers/issues/25932/events | https://github.com/huggingface/transformers/pull/25932 | 1,879,034,211 | PR_kwDOCUB6oc5Za5yW | 25,932 | Add TFDebertaV2ForMultipleChoice | {
"login": "raghavanone",
"id": 115454562,
"node_id": "U_kgDOBuGyYg",
"avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raghavanone",
"html_url": "https://github.com/raghavanone",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @Rocketknight1 ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25932). All of your documentation changes will be reflected on that endpoint.",
"@Rocketknight1 Not sure why this test fails.\r\n",
"That test is an issue with the CI rather than this PR, you can i... | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Fixes #25537
Add TFDebertaV2ForMultipleChoice model
@ArthurZucker | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25932/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25932/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25932",
"html_url": "https://github.com/huggingface/transformers/pull/25932",
"diff_url": "https://github.com/huggingface/transformers/pull/25932.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25932.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25931 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25931/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25931/comments | https://api.github.com/repos/huggingface/transformers/issues/25931/events | https://github.com/huggingface/transformers/issues/25931 | 1,878,993,768 | I_kwDOCUB6oc5v_yto | 25,931 | [Pytorch] Unexpected task example translation : text-generation instead of Translation in model card and Hub | {
"login": "SoyGema",
"id": 24204714,
"node_id": "MDQ6VXNlcjI0MjA0NzE0",
"avatar_url": "https://avatars.githubusercontent.com/u/24204714?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SoyGema",
"html_url": "https://github.com/SoyGema",
"followers_url": "https://api.github.com/users/SoyGem... | [] | closed | false | null | [] | [
"Hi @SoyGema, thanks for raising this issue! \r\n\r\nIf you want to change the task that a model is mapped to, you can do so by clicking on the `Edit model card` button \r\n \r\n<img width=\"1028\" alt=\"Screenshot 2023-09-04 at 14 52 39\" src=\"https://github.com/huggingface/transformers/assets/22614925/a01e4c84-b... | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | ### System Info
Hello there!
Thanks for making [translation example](https://github.com/huggingface/transformers/tree/main/examples/pytorch/translation) with Pytorch.
🙏🙏 The documentation is amazing and the script is very well structured! 🙏🙏
**System Info**
```
- `transformers` version: 4.32.0.dev0
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25931/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25931/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25930 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25930/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25930/comments | https://api.github.com/repos/huggingface/transformers/issues/25930/events | https://github.com/huggingface/transformers/issues/25930 | 1,878,943,135 | I_kwDOCUB6oc5v_mWf | 25,930 | forward pass consumes 2x memory than required in Attention module when `use_cache=True` | {
"login": "RahulSChand",
"id": 16897807,
"node_id": "MDQ6VXNlcjE2ODk3ODA3",
"avatar_url": "https://avatars.githubusercontent.com/u/16897807?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RahulSChand",
"html_url": "https://github.com/RahulSChand",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Hey! I am not entirely sure what you are asking for is possible / an issue. \r\nI tested locally with `use_cache = True` for a generation and did not see any improvement. The reason is that `key_states` are used afterwards (repeated for example when the `num_kv_heads` is different than the n... | 1,693 | 1,702 | 1,702 | NONE | null | ### Feature request
Currently the forward pass of the model consumes 2x memory than is required in attention module when `use_cache=True`.
For example during generation, in the attention module of llama `key_states` is of shape `(bsz, heads, 1, head_size)`
& `past_key_value[0]` is of shape `(bsz, heads, seq_le... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25930/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25930/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25929 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25929/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25929/comments | https://api.github.com/repos/huggingface/transformers/issues/25929/events | https://github.com/huggingface/transformers/pull/25929 | 1,878,938,875 | PR_kwDOCUB6oc5ZaoRu | 25,929 | Update autoclass_tutorial.md | {
"login": "NinoRisteski",
"id": 95188570,
"node_id": "U_kgDOBax2Wg",
"avatar_url": "https://avatars.githubusercontent.com/u/95188570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NinoRisteski",
"html_url": "https://github.com/NinoRisteski",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25929). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | fixed typos | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25929/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25929/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25929",
"html_url": "https://github.com/huggingface/transformers/pull/25929",
"diff_url": "https://github.com/huggingface/transformers/pull/25929.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25929.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25928 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25928/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25928/comments | https://api.github.com/repos/huggingface/transformers/issues/25928/events | https://github.com/huggingface/transformers/pull/25928 | 1,878,938,555 | PR_kwDOCUB6oc5ZaoOD | 25,928 | Update community.md | {
"login": "NinoRisteski",
"id": 95188570,
"node_id": "U_kgDOBax2Wg",
"avatar_url": "https://avatars.githubusercontent.com/u/95188570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NinoRisteski",
"html_url": "https://github.com/NinoRisteski",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25928). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | fixed a few typos | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25928/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25928/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25928",
"html_url": "https://github.com/huggingface/transformers/pull/25928",
"diff_url": "https://github.com/huggingface/transformers/pull/25928.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25928.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25927 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25927/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25927/comments | https://api.github.com/repos/huggingface/transformers/issues/25927/events | https://github.com/huggingface/transformers/pull/25927 | 1,878,928,931 | PR_kwDOCUB6oc5Zamhv | 25,927 | [time series] Add PatchTST | {
"login": "psinthong",
"id": 4720928,
"node_id": "MDQ6VXNlcjQ3MjA5Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4720928?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/psinthong",
"html_url": "https://github.com/psinthong",
"followers_url": "https://api.github.com/users/ps... | [] | closed | false | null | [] | [
"@psinthong do you have a training script I can use?",
"@kashif, yes, I added an example training script on a dummy dataset for our forecasting model [here](https://github.com/namctin/transformers/blob/patchtst/src/transformers/models/patchtst/patchtst_forecast_test.py). ",
"The docs for this PR live [here](ht... | 1,693 | 1,700 | 1,699 | CONTRIBUTOR | null | # What does this PR do?
Adding PatchTST model https://arxiv.org/abs/2211.14730
@kashif
## To-Do's:
- [x] Add generate method
- [x] Add additional integration test cases
- [x] Make pretrained dataset publicly available
- [ ] Make pretrained weights publicly available
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25927/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/25927/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25927",
"html_url": "https://github.com/huggingface/transformers/pull/25927",
"diff_url": "https://github.com/huggingface/transformers/pull/25927.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25927.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25926 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25926/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25926/comments | https://api.github.com/repos/huggingface/transformers/issues/25926/events | https://github.com/huggingface/transformers/pull/25926 | 1,878,848,480 | PR_kwDOCUB6oc5ZaXk2 | 25,926 | Add support for Palm, Claude-2, Llama2, CodeLlama (100+LLMs) | {
"login": "ishaan-jaff",
"id": 29436595,
"node_id": "MDQ6VXNlcjI5NDM2NTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/29436595?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ishaan-jaff",
"html_url": "https://github.com/ishaan-jaff",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"@stevhliu @LysandreJik can you please take a look at this PR when possible ? Happy to add more docs/tests if this initial commit looks good😊",
"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... | 1,693 | 1,697 | 1,697 | NONE | null | # What does this PR do?
This PR adds support for the above mentioned LLMs using LiteLLM https://github.com/BerriAI/litellm/
Example
```python
# openai call
response = completion(model="gpt-3.5-turbo", messages=messages)
# cohere call
response = completion(model="command-nightly", messages=messages)
# anthropic... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25926/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25926/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25926",
"html_url": "https://github.com/huggingface/transformers/pull/25926",
"diff_url": "https://github.com/huggingface/transformers/pull/25926.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25926.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.