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/25020 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25020/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25020/comments | https://api.github.com/repos/huggingface/transformers/issues/25020/events | https://github.com/huggingface/transformers/issues/25020 | 1,816,913,337 | I_kwDOCUB6oc5sS-W5 | 25,020 | GenerationMixin: model_kwargs not passed to model in assisted decoding | {
"login": "sinking-point",
"id": 17532243,
"node_id": "MDQ6VXNlcjE3NTMyMjQz",
"avatar_url": "https://avatars.githubusercontent.com/u/17532243?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sinking-point",
"html_url": "https://github.com/sinking-point",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"I'm happy to have a go at fixing this if a maintainer is willing to support.",
"@sinking-point thank you for spotting it! Yes, I'd be very happy to support you in fixing this :D ",
"@gante No problem, thank you for offering to support.\r\n\r\nI've come up against a problem. This is from the GPT2 `prepare_input... | 1,690 | 1,697 | 1,697 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.31
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (True)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25020/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25020/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25019 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25019/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25019/comments | https://api.github.com/repos/huggingface/transformers/issues/25019/events | https://github.com/huggingface/transformers/pull/25019 | 1,816,799,255 | PR_kwDOCUB6oc5WJjfS | 25,019 | Add saffu langauge model to the transformers library | {
"login": "haoranzhao419",
"id": 79516199,
"node_id": "MDQ6VXNlcjc5NTE2MTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/79516199?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haoranzhao419",
"html_url": "https://github.com/haoranzhao419",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,690 | 1,690 | 1,690 | NONE | null | # What does this PR do?
We upload a language model called SAFFU (self attention feed forward unit) to the huggingface with the theme of improving the computational efficiency in computing the attention distribution
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25019/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25019/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25019",
"html_url": "https://github.com/huggingface/transformers/pull/25019",
"diff_url": "https://github.com/huggingface/transformers/pull/25019.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25019.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25018 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25018/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25018/comments | https://api.github.com/repos/huggingface/transformers/issues/25018/events | https://github.com/huggingface/transformers/pull/25018 | 1,816,789,025 | PR_kwDOCUB6oc5WJhgB | 25,018 | Fix typo in LlamaTokenizerFast docstring example | {
"login": "sbrunk",
"id": 3939659,
"node_id": "MDQ6VXNlcjM5Mzk2NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3939659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sbrunk",
"html_url": "https://github.com/sbrunk",
"followers_url": "https://api.github.com/users/sbrunk/foll... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25018). All of your documentation changes will be reflected on that endpoint."
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
Fix typo in LlamaTokenizerFast docstring example
<!--
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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25018/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25018/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25018",
"html_url": "https://github.com/huggingface/transformers/pull/25018",
"diff_url": "https://github.com/huggingface/transformers/pull/25018.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25018.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25017 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25017/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25017/comments | https://api.github.com/repos/huggingface/transformers/issues/25017/events | https://github.com/huggingface/transformers/pull/25017 | 1,816,781,221 | PR_kwDOCUB6oc5WJgCx | 25,017 | π [i18n-KO] Translated `add_tensorflow_model.md` to Korean | {
"login": "keonju2",
"id": 54880474,
"node_id": "MDQ6VXNlcjU0ODgwNDc0",
"avatar_url": "https://avatars.githubusercontent.com/u/54880474?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keonju2",
"html_url": "https://github.com/keonju2",
"followers_url": "https://api.github.com/users/keonju... | [] | closed | false | null | [] | [
"Please do not open and close four different PRs for the same file. You can update the original PR.",
"곡λ€μ¬ λ²μ λ° μμ μ ν΅ν΄ νλ₯ν κ²°κ³Όλ¬Όμ΄ λμ€μ κ² κ°λ€μ! μ 체μ μΌλ‘ μ μ½νλ κ² κ°μ΅λλ€~ ",
"_The documentation is not available anymore as the PR was closed or merged._",
"Could you review this PR? π\r\n@sgugger, @ArthurZucker, @eunseojo"... | 1,690 | 1,691 | 1,691 | CONTRIBUTOR | null | <!-- PRμ μ λͺ©μ "π [i18n-KO] Translated `add_tensorflow_model.md` to Korean" μΌλ‘ λΆνλ립λλ€ -->
# What does this PR do?
Translated the `add_tensorflow_model.md` file of the documentation to Korean π
Thank you in advance for your review!
Part of https://github.com/huggingface/transformers/issues/20179
<!-- λ©μΈ μ΄μμ κΈ°λ‘... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25017/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25017/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25017",
"html_url": "https://github.com/huggingface/transformers/pull/25017",
"diff_url": "https://github.com/huggingface/transformers/pull/25017.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25017.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25016 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25016/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25016/comments | https://api.github.com/repos/huggingface/transformers/issues/25016/events | https://github.com/huggingface/transformers/pull/25016 | 1,816,772,087 | PR_kwDOCUB6oc5WJeN_ | 25,016 | π [i18n-KO] Translated `add_tensorflow_model.md` to Korean | {
"login": "keonju2",
"id": 54880474,
"node_id": "MDQ6VXNlcjU0ODgwNDc0",
"avatar_url": "https://avatars.githubusercontent.com/u/54880474?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keonju2",
"html_url": "https://github.com/keonju2",
"followers_url": "https://api.github.com/users/keonju... | [] | closed | false | null | [] | [] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | <!-- PRμ μ λͺ©μ "π [i18n-KO] Translated `add_tensorflow_model.md` to Korean" μΌλ‘ λΆνλ립λλ€ -->
# What does this PR do?
Translated the `add_tensorflow_model.md` file of the documentation to Korean π
Thank you in advance for your review!
Part of https://github.com/huggingface/transformers/issues/20179
<!-- λ©μΈ μ΄μμ κΈ°λ‘... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25016/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25016/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25016",
"html_url": "https://github.com/huggingface/transformers/pull/25016",
"diff_url": "https://github.com/huggingface/transformers/pull/25016.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25016.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25015 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25015/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25015/comments | https://api.github.com/repos/huggingface/transformers/issues/25015/events | https://github.com/huggingface/transformers/pull/25015 | 1,816,771,826 | PR_kwDOCUB6oc5WJeKz | 25,015 | π [i18n-KO] Translated `add_tensorflow_model.md` to Korean | {
"login": "keonju2",
"id": 54880474,
"node_id": "MDQ6VXNlcjU0ODgwNDc0",
"avatar_url": "https://avatars.githubusercontent.com/u/54880474?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keonju2",
"html_url": "https://github.com/keonju2",
"followers_url": "https://api.github.com/users/keonju... | [] | closed | false | null | [] | [] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | <!-- PRμ μ λͺ©μ "π [i18n-KO] Translated `add_tensorflow_model.md` to Korean" μΌλ‘ λΆνλ립λλ€ -->
# What does this PR do?
Translated the `your_file.md` file of the documentation to Korean π
Thank you in advance for your review!
Part of https://github.com/huggingface/transformers/issues/20179
<!-- λ©μΈ μ΄μμ κΈ°λ‘μ΄ λ¨μμ! κ°μ§μ°κ΅¬... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25015/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25015/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25015",
"html_url": "https://github.com/huggingface/transformers/pull/25015",
"diff_url": "https://github.com/huggingface/transformers/pull/25015.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25015.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25014 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25014/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25014/comments | https://api.github.com/repos/huggingface/transformers/issues/25014/events | https://github.com/huggingface/transformers/issues/25014 | 1,816,751,521 | I_kwDOCUB6oc5sSW2h | 25,014 | When I use the command "python convert_llama_weights_to_hf.py --input_dir /xxx/llama/ --model_size 70B --output_dir /xxxx/Llama-2-70b-chat-hf" killed | {
"login": "cm-liushaodong",
"id": 44772254,
"node_id": "MDQ6VXNlcjQ0NzcyMjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/44772254?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cm-liushaodong",
"html_url": "https://github.com/cm-liushaodong",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hi @cm-liushaodong \r\nThe llama-70B model weights file is at least 140GB in half precision, sadly I think that you need an instance of at least that CPU memory size to download the weights and load them in CPU memory. Maybe @ArthurZucker can confirm as he has used that script",
"Yes, as[ the documentation menti... | 1,690 | 1,694 | 1,690 | NONE | null | ### System Info
Hi,@ArthurZucker,@younesbelkada
When I use the command "python convert_llama_weights_to_hf.py --input_dir /xxx/llama/ --model_size 70B --output_dir /xxxx/Llama-2-70b-chat-hf", the following error occurred:
<img width="1342" alt="image" src="https://github.com/huggingface/transformers/assets/44772254/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25014/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25014/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25013 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25013/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25013/comments | https://api.github.com/repos/huggingface/transformers/issues/25013/events | https://github.com/huggingface/transformers/issues/25013 | 1,816,711,404 | I_kwDOCUB6oc5sSNDs | 25,013 | [i18n-<languageCode>] Translating docs to <languageName>czech republic | {
"login": "Denyweeeed",
"id": 137151489,
"node_id": "U_kgDOCCzEAQ",
"avatar_url": "https://avatars.githubusercontent.com/u/137151489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Denyweeeed",
"html_url": "https://github.com/Denyweeeed",
"followers_url": "https://api.github.com/users/Den... | [] | closed | false | null | [] | [
"@Denyweeeed I would like to contribute to the Telugu language translation",
"Please properly fill the template when opening such issues."
] | 1,690 | 1,690 | 1,690 | NONE | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the <languageName>-speaking community π (currently 0 out of 267 complete)
Who would want to translate? Please follow the π€ [TRANSLATING guide](https://github.com/hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25013/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25013/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25012 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25012/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25012/comments | https://api.github.com/repos/huggingface/transformers/issues/25012/events | https://github.com/huggingface/transformers/pull/25012 | 1,816,662,059 | PR_kwDOCUB6oc5WJJlY | 25,012 | [check_config_docstrings.py] improve diagnostics | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | It's difficult to know what to do when one gets an error:
```
python utils/check_config_docstrings.py
Traceback (most recent call last):
File "utils/check_config_docstrings.py", line 92, in <module>
check_config_docstrings_have_checkpoints()
File "utils/check_config_docstrings.py", line 88, in check_c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25012/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25012/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25012",
"html_url": "https://github.com/huggingface/transformers/pull/25012",
"diff_url": "https://github.com/huggingface/transformers/pull/25012.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25012.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25011 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25011/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25011/comments | https://api.github.com/repos/huggingface/transformers/issues/25011/events | https://github.com/huggingface/transformers/issues/25011 | 1,816,644,197 | I_kwDOCUB6oc5sR8pl | 25,011 | Transformers 4.31.0 Runtime error trying to load model saved as 8bit on HF fails | {
"login": "mediocreatmybest",
"id": 80406625,
"node_id": "MDQ6VXNlcjgwNDA2NjI1",
"avatar_url": "https://avatars.githubusercontent.com/u/80406625?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mediocreatmybest",
"html_url": "https://github.com/mediocreatmybest",
"followers_url": "https://... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Hi @mediocreatmybest \r\nThanks for the very clean reproducer, I managed to repro the issue and propose a fix in https://github.com/huggingface/transformers/pull/25047\r\nThe fix should be now live on the main branch of transformers and you should be able to use that by installing transform... | 1,690 | 1,690 | 1,690 | NONE | null | ### System Info
Transformers 4.31.0
Python 3.10.6
Linux and Windows (Same issue on both)
Bitsandbytes 0.39.1 to 0.40x
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25011/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/25011/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25010 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25010/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25010/comments | https://api.github.com/repos/huggingface/transformers/issues/25010/events | https://github.com/huggingface/transformers/pull/25010 | 1,816,640,007 | PR_kwDOCUB6oc5WJFub | 25,010 | π [i18n-KO] Translated `philosophy.md` to Korean | {
"login": "TaeYupNoh",
"id": 107118671,
"node_id": "U_kgDOBmKATw",
"avatar_url": "https://avatars.githubusercontent.com/u/107118671?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TaeYupNoh",
"html_url": "https://github.com/TaeYupNoh",
"followers_url": "https://api.github.com/users/TaeYup... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"May you please review this PR? :) \r\n@sgugger, @ArthurZucker, @eunseojo"
] | 1,690 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
Translated the `philosophy.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/25010/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/25010/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25010",
"html_url": "https://github.com/huggingface/transformers/pull/25010",
"diff_url": "https://github.com/huggingface/transformers/pull/25010.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25010.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25009 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25009/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25009/comments | https://api.github.com/repos/huggingface/transformers/issues/25009/events | https://github.com/huggingface/transformers/pull/25009 | 1,816,636,498 | PR_kwDOCUB6oc5WJFCL | 25,009 | uploading saffu language model to the transformers library | {
"login": "haoranzhao419",
"id": 79516199,
"node_id": "MDQ6VXNlcjc5NTE2MTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/79516199?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haoranzhao419",
"html_url": "https://github.com/haoranzhao419",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Need to fix some issues of the code"
] | 1,690 | 1,690 | 1,690 | NONE | null | # What does this PR do?
In this PR, we upload a new language model **SAFFU** (Self-Attention-Feed-Forward-Unit) to the HuggingFace transformers library. This model is super efficient to use and fast to train that we derive a super efficient way of computing the self-attention matrix with an explicit mathematical sol... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25009/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25009/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25009",
"html_url": "https://github.com/huggingface/transformers/pull/25009",
"diff_url": "https://github.com/huggingface/transformers/pull/25009.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25009.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25008 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25008/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25008/comments | https://api.github.com/repos/huggingface/transformers/issues/25008/events | https://github.com/huggingface/transformers/issues/25008 | 1,816,514,256 | I_kwDOCUB6oc5sRc7Q | 25,008 | [bug] `token` not supported in `AutoModel` | {
"login": "ain-soph",
"id": 13214530,
"node_id": "MDQ6VXNlcjEzMjE0NTMw",
"avatar_url": "https://avatars.githubusercontent.com/u/13214530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ain-soph",
"html_url": "https://github.com/ain-soph",
"followers_url": "https://api.github.com/users/ain... | [] | closed | false | null | [] | [
"Could you let us know which version of transformers you are using? I just tried this on the main branch and it seems to work fine.",
"@sgugger \r\n\r\n```\r\n$ pip freeze | grep transformers\r\ntransformers @ git+https://github.com/huggingface/transformers.git@b08f41e62a41632195cb986fcc41d428a5bf1d56\r\n```\r\n\... | 1,689 | 1,690 | 1,690 | NONE | null |
I see `use_auth_token` is already deprecated and will be replaced by `token`,
https://github.com/huggingface/transformers/blob/b257c46a075419c09e5ce5c5aa39bc346ecdb9a5/src/transformers/modeling_utils.py#L2196-L2204
But `AutoModel` doesn't accept the new argument `token` yet. Especially in https://github.com/hugg... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25008/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/25008/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25007 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25007/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25007/comments | https://api.github.com/repos/huggingface/transformers/issues/25007/events | https://github.com/huggingface/transformers/issues/25007 | 1,816,501,106 | I_kwDOCUB6oc5sRZty | 25,007 | [ROCM] GFX906 gpu dosent work when GFX900 gpu is also in the system | {
"login": "IMbackK",
"id": 13803414,
"node_id": "MDQ6VXNlcjEzODAzNDE0",
"avatar_url": "https://avatars.githubusercontent.com/u/13803414?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IMbackK",
"html_url": "https://github.com/IMbackK",
"followers_url": "https://api.github.com/users/IMback... | [] | closed | false | null | [] | [
"This seems more of an issue for PyTorch and AMD? We only use those libraries in Transformers.",
"this is correct, this issue has since been tracked down here https://github.com/ROCmSoftwarePlatform/rocBLAS/issues/1346#issuecomment-1646942417\r\n\r\ni will keep the bug here open untill its resolved so that any on... | 1,689 | 1,697 | 1,697 | NONE | null | ### System Info
System:
* ROCM 5.6
* torch-2.1.0.dev20230721+rocm5.6
* GFX900 GPU (MI25) (HIP device 2)
* GFX906 GPU (MI50) (HIP device 1)
* GFX1030 GPU (rx6800xt) (HIP device 0)
* transformers @b257c46a075419c09e5ce5c5aa39bc346ecdb9a5
* Linux 6.4.3 with AMDGPU p2p activated
companion bug against rocm: http... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25007/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25007/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25006 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25006/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25006/comments | https://api.github.com/repos/huggingface/transformers/issues/25006/events | https://github.com/huggingface/transformers/issues/25006 | 1,816,377,402 | I_kwDOCUB6oc5sQ7g6 | 25,006 | RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn | {
"login": "lcoandrade",
"id": 8769816,
"node_id": "MDQ6VXNlcjg3Njk4MTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8769816?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lcoandrade",
"html_url": "https://github.com/lcoandrade",
"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 | [] | [
"Even setting the model to train model with:\r\n`self.bert.train()`\r\n\r\nI get the same error.",
"Hey ππ» \r\nWe need a minimal reproducing script in order to help: you are using an external library `pytorch lightning` and I have no idea what is happening inside. `transformers` also has a trainer class, we ca... | 1,689 | 1,695 | 1,695 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-5.15.120+-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.0+cpu (False)
- Tensorflow version (GPU?): 2.12.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25006/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25006/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25005 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25005/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25005/comments | https://api.github.com/repos/huggingface/transformers/issues/25005/events | https://github.com/huggingface/transformers/pull/25005 | 1,816,351,369 | PR_kwDOCUB6oc5WII8r | 25,005 | Make more test models smaller | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Yes we could go even smaller if we wanted to, but it's hard for big encoer/decoder models with backbones."
] | 1,689 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
This PR continues on the work of #24824 by fixing the models used in more common tests. This is big enough to be reviewed, I'll do the last ones in a separate PR :-) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25005/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25005/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25005",
"html_url": "https://github.com/huggingface/transformers/pull/25005",
"diff_url": "https://github.com/huggingface/transformers/pull/25005.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25005.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25004 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25004/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25004/comments | https://api.github.com/repos/huggingface/transformers/issues/25004/events | https://github.com/huggingface/transformers/pull/25004 | 1,816,273,210 | PR_kwDOCUB6oc5WH4DP | 25,004 | Move template doc file to md | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,689 | 1,689 | 1,689 | COLLABORATOR | null | # What does this PR do?
This PR fixes the `add-new-model` command which broke when we moved all the doc file from MDX to MD (dunno why the test missed it since we deactivated it after if I recall correctly).
Fixes #25003 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25004/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25004/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25004",
"html_url": "https://github.com/huggingface/transformers/pull/25004",
"diff_url": "https://github.com/huggingface/transformers/pull/25004.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25004.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25003 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25003/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25003/comments | https://api.github.com/repos/huggingface/transformers/issues/25003/events | https://github.com/huggingface/transformers/issues/25003 | 1,816,245,674 | I_kwDOCUB6oc5sQbWq | 25,003 | [cookiecutter] Fails to create new model template | {
"login": "zekun-li",
"id": 5383572,
"node_id": "MDQ6VXNlcjUzODM1NzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5383572?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zekun-li",
"html_url": "https://github.com/zekun-li",
"followers_url": "https://api.github.com/users/zekun... | [] | closed | false | null | [] | [
"Please note that this command is deprecated and it's better to use `add-new-model-like`. Will fix this though.",
"> Please note that this command is deprecated and it's better to use `add-new-model-like`. Will fix this though.\r\n\r\nGood to know, thanks!"
] | 1,689 | 1,689 | 1,689 | NONE | null | ### System Info
2023-07-21 18:34:34.146635: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
WARNING:tensorflow:From /home/zekun/transformers/src/transformers/commands/env.py:100: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will be r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25003/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25003/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25002 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25002/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25002/comments | https://api.github.com/repos/huggingface/transformers/issues/25002/events | https://github.com/huggingface/transformers/pull/25002 | 1,816,195,880 | PR_kwDOCUB6oc5WHnMN | 25,002 | Fix graph break for Segformer | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Closing as this is resolved on torch nightly"
] | 1,689 | 1,689 | 1,689 | COLLABORATOR | null | # What does this PR do?
Small change in the forward pass of Segformer which reduces the number of graph breaks in the compiled model from 5 to 0.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor gui... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25002/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25002/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25002",
"html_url": "https://github.com/huggingface/transformers/pull/25002",
"diff_url": "https://github.com/huggingface/transformers/pull/25002.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25002.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25001 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25001/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25001/comments | https://api.github.com/repos/huggingface/transformers/issues/25001/events | https://github.com/huggingface/transformers/pull/25001 | 1,816,145,902 | PR_kwDOCUB6oc5WHcf3 | 25,001 | [WIP]Add ViTPose to Transformers | {
"login": "shauray8",
"id": 39147312,
"node_id": "MDQ6VXNlcjM5MTQ3MzEy",
"avatar_url": "https://avatars.githubusercontent.com/u/39147312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shauray8",
"html_url": "https://github.com/shauray8",
"followers_url": "https://api.github.com/users/sha... | [] | closed | false | null | [] | [
"@amyeroberts weights for ViTPose are in PyTorch checkpoint files, should I convert them into .bin or something else?",
"@shauray8 You will want to write a conversion script, which translates the names of the weights in the state dict to their equivalent in transformers. These weights will then be loaded into the... | 1,689 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
Adds ViTPose to Huggingface/Transformers
Code and weights: https://github.com/ViTAE-Transformer/ViTPose
Paper: https://arxiv.org/abs/2204.12484
Fixes #24915
## Before submitting
- [X] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONT... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25001/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25001/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25001",
"html_url": "https://github.com/huggingface/transformers/pull/25001",
"diff_url": "https://github.com/huggingface/transformers/pull/25001.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25001.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25000 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25000/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25000/comments | https://api.github.com/repos/huggingface/transformers/issues/25000/events | https://github.com/huggingface/transformers/issues/25000 | 1,816,046,742 | I_kwDOCUB6oc5sPqyW | 25,000 | beam_indices = None | {
"login": "Dongximing",
"id": 35741613,
"node_id": "MDQ6VXNlcjM1NzQxNjEz",
"avatar_url": "https://avatars.githubusercontent.com/u/35741613?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Dongximing",
"html_url": "https://github.com/Dongximing",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @gante who is gonna be more familiar with this! ",
"Hey @Dongximing π \r\n\r\nThe PR linked above (#25042) should fix it :) In a nutshell, the values were not being piped all the way to the output."
] | 1,689 | 1,690 | 1,690 | NONE | null | ### System Info
Hi dear officer
I find a bug, that is, if I use the 'force_words_id' parameter in generate() function and set output_score = True. then I want to get beam_indices, it will return None. but if I remove force_words_id. it will work.
`
prompt = """Tell me some about Canada"""
input_tokenized_i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25000/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25000/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24999 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24999/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24999/comments | https://api.github.com/repos/huggingface/transformers/issues/24999/events | https://github.com/huggingface/transformers/issues/24999 | 1,816,027,426 | I_kwDOCUB6oc5sPmEi | 24,999 | dataloading bug after upgrading to 4.31.0 | {
"login": "getao",
"id": 12735658,
"node_id": "MDQ6VXNlcjEyNzM1NjU4",
"avatar_url": "https://avatars.githubusercontent.com/u/12735658?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/getao",
"html_url": "https://github.com/getao",
"followers_url": "https://api.github.com/users/getao/follow... | [
{
"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 | {
"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 but we will need a full reproducer to be able to help.",
"Thank you. I list my code as follows:\r\n\r\ndef train_model(model, train_dataset, eval_dataset, epochs=5, batch_size=1):\r\n training_args = TrainingArguments(\r\n output_dir=\"outputs/\",\r\n overwrite_output_dir=True,\r\n... | 1,689 | 1,691 | 1,691 | NONE | null | ### System Info
transformers=4.31.0
pytorch=1.13.1
### Who can help?
Hi @sgugger and @ArthurZucker
When I used transformers 4.29.2 and 4.30.2 with the streaming dataset and local batch size=1, I didn't pad the text sequence and everything goes well.
However, after I upgrade the transformers to 4.31.0. M... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24999/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24999/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24998 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24998/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24998/comments | https://api.github.com/repos/huggingface/transformers/issues/24998/events | https://github.com/huggingface/transformers/pull/24998 | 1,816,021,958 | PR_kwDOCUB6oc5WHBuQ | 24,998 | [`Llama`] remove persistent `inv_freq` tensor | {
"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,689 | 1,689 | 1,689 | COLLABORATOR | null | # What does this PR do?
The tensor should not be persistent as if the model is loaded from pretrained, whatever the head dimension size, it will not be resized. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24998/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24998/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24998",
"html_url": "https://github.com/huggingface/transformers/pull/24998",
"diff_url": "https://github.com/huggingface/transformers/pull/24998.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24998.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24997 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24997/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24997/comments | https://api.github.com/repos/huggingface/transformers/issues/24997/events | https://github.com/huggingface/transformers/pull/24997 | 1,816,006,642 | PR_kwDOCUB6oc5WG-Zw | 24,997 | Better handling missing SYS in llama conversation tokenizer | {
"login": "ichernev",
"id": 757060,
"node_id": "MDQ6VXNlcjc1NzA2MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/757060?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ichernev",
"html_url": "https://github.com/ichernev",
"followers_url": "https://api.github.com/users/icherne... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Hey! Could you elaborate on \r\n> failed to add SYS if the conv has history without SYS? \r\n\r\nThe SYSTEM prompting should always go at the start of the whole conversation, thus we only check whether a system prompt is in the first prompt or not, because if you go through the conversationa... | 1,689 | 1,690 | 1,690 | CONTRIBUTOR | null | The existing code failed to add SYS if the conversation has history without SYS, but does modify the passed conversation to include it.
Rearrange the code so modification to the conversation object are taken into account for token id generation. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24997/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24997/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24997",
"html_url": "https://github.com/huggingface/transformers/pull/24997",
"diff_url": "https://github.com/huggingface/transformers/pull/24997.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24997.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24996 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24996/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24996/comments | https://api.github.com/repos/huggingface/transformers/issues/24996/events | https://github.com/huggingface/transformers/issues/24996 | 1,816,003,165 | I_kwDOCUB6oc5sPgJd | 24,996 | one of the variables needed for gradient computation has been modified by an inplace operation | {
"login": "levuloihust99",
"id": 49064246,
"node_id": "MDQ6VXNlcjQ5MDY0MjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/49064246?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/levuloihust99",
"html_url": "https://github.com/levuloihust99",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"cc @pacman100 ",
"Hi @levuloihust99 \r\ndo you face the same issue by setting:\r\n```python\r\nfind_unused_parameters=True\r\n```",
"> Hi @levuloihust99 do you face the same issue by setting:\r\n> \r\n> ```python\r\n> find_unused_parameters=True\r\n> ```\r\n\r\nSetting `find_unused_parameters=True` gave me the... | 1,689 | 1,707 | 1,693 | NONE | null | ### System Info
* Ubuntu 20.04
* Architecture x86_64
* 3 x Tesla P100-PCIE-12GB
* Python 3.8.10
* torch==1.12.1+cu116
### Who can help?
@ArthurZucker @younesbelkada
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24996/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24996/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24995 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24995/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24995/comments | https://api.github.com/repos/huggingface/transformers/issues/24995/events | https://github.com/huggingface/transformers/pull/24995 | 1,816,002,605 | PR_kwDOCUB6oc5WG9iV | 24,995 | [`bnb`] Add simple check for bnb import | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
as discussed internally @sgugger let's add a GPU check inside `is_bnb_available`
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24995/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24995/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24995",
"html_url": "https://github.com/huggingface/transformers/pull/24995",
"diff_url": "https://github.com/huggingface/transformers/pull/24995.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24995.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24994 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24994/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24994/comments | https://api.github.com/repos/huggingface/transformers/issues/24994/events | https://github.com/huggingface/transformers/issues/24994 | 1,815,885,939 | I_kwDOCUB6oc5sPDhz | 24,994 | Llama-2-hf non stopping token generation. | {
"login": "francescobodria",
"id": 41335942,
"node_id": "MDQ6VXNlcjQxMzM1OTQy",
"avatar_url": "https://avatars.githubusercontent.com/u/41335942?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/francescobodria",
"html_url": "https://github.com/francescobodria",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"cc @gante and @ArthurZucker ",
"Hey! This is expected, the llama model kind of rarely generates the `eos_token`. It was the same with Llama 1, and if you run your script with the original llama, you will get the same output:\r\n```python\r\n# Copyright (c) Meta Platforms, Inc. and affiliates.\r\n# This software ... | 1,689 | 1,693 | 1,691 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.0-1035-azure-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.22.0.dev0
- Accelerate config: not found
- PyTorch version (GPU?): 1.13.1+cu116 (True)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24994/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24994/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24993 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24993/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24993/comments | https://api.github.com/repos/huggingface/transformers/issues/24993/events | https://github.com/huggingface/transformers/pull/24993 | 1,815,873,752 | PR_kwDOCUB6oc5WGhpW | 24,993 | Use main_input_name for include_inputs_for_metrics | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,689 | 1,689 | 1,689 | COLLABORATOR | null | # What does this PR do?
Instead of hard-coding `"input_ids"`, we should use the model main input name when getting the inputs for the metrics.
Fixes #24933 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24993/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24993/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24993",
"html_url": "https://github.com/huggingface/transformers/pull/24993",
"diff_url": "https://github.com/huggingface/transformers/pull/24993.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24993.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24992 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24992/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24992/comments | https://api.github.com/repos/huggingface/transformers/issues/24992/events | https://github.com/huggingface/transformers/pull/24992 | 1,815,829,901 | PR_kwDOCUB6oc5WGYL2 | 24,992 | Add `OwlViTForObjectDetection` to `MODEL_FOR_OBJECT_DETECTION` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"well",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24992). All of your documentation changes will be reflected on that endpoint."
] | 1,689 | 1,693 | 1,689 | COLLABORATOR | null | # What does this PR do?
~~This seems a miss, but need @NielsRogge to make sure.~~
well, he told me
> it's not a bug, it's intended. OWL-ViT can be loaded using the AutoModelForZeroShotObjectDetectionModel class (few that's a long name) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24992/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24992/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24992",
"html_url": "https://github.com/huggingface/transformers/pull/24992",
"diff_url": "https://github.com/huggingface/transformers/pull/24992.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24992.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24991 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24991/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24991/comments | https://api.github.com/repos/huggingface/transformers/issues/24991/events | https://github.com/huggingface/transformers/issues/24991 | 1,815,828,071 | I_kwDOCUB6oc5sO1Zn | 24,991 | MarianMTModel model.generate function issue after v4.30.2 | {
"login": "bariscankurtkaya",
"id": 33360380,
"node_id": "MDQ6VXNlcjMzMzYwMzgw",
"avatar_url": "https://avatars.githubusercontent.com/u/33360380?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bariscankurtkaya",
"html_url": "https://github.com/bariscankurtkaya",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hi @bariscankurtkaya There is a problem in the weights of that model, I made a PR [here](https://huggingface.co/Helsinki-NLP/opus-tatoeba-en-tr/discussions/3) to fix them but it hasn't been merged. You can load the model weights of this PR by adding `revision=\"pr/3\"` in your `from_pretrained` call.",
"> Hi @ba... | 1,689 | 1,689 | 1,689 | NONE | null | Hello there,
I have encountered a problem with the model.generate function after version v4.30.2 on several different systems. Below, you can find the problem description and the corresponding code block:
```
from transformers import AutoTokenizer, MarianMTModel
model_name = f"Helsinki-NLP/opus-tatoeba-en-tr"... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24991/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24991/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24990 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24990/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24990/comments | https://api.github.com/repos/huggingface/transformers/issues/24990/events | https://github.com/huggingface/transformers/pull/24990 | 1,815,780,901 | PR_kwDOCUB6oc5WGOBi | 24,990 | Fix `llama` tokenization doctest | {
"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,689 | 1,689 | 1,689 | COLLABORATOR | null | # What does this PR do?
See comment in the change. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24990/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24990/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24990",
"html_url": "https://github.com/huggingface/transformers/pull/24990",
"diff_url": "https://github.com/huggingface/transformers/pull/24990.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24990.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24989 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24989/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24989/comments | https://api.github.com/repos/huggingface/transformers/issues/24989/events | https://github.com/huggingface/transformers/pull/24989 | 1,815,743,642 | PR_kwDOCUB6oc5WGGLr | 24,989 | Generate: `ImageToTextPipeline` now supports generation kwargs | {
"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 | [] | [
" > This PR borrows code from the other pipelines, to allow things like `pipe(input, min_new_tokens=10)` (as opposed to `pipe(input, generate_kwargs={\"min_new_tokens\":10})`). It also updates the docs, which were slightly outdated.\r\n\r\nActually, other pipelines that accept anything, are the ones that have been ... | 1,689 | 1,690 | 1,690 | MEMBER | null | # What does this PR do?
As the title indicates -- previously the generation kwargs had to be passed as a separate dictionary, which was inconsistent with the other pipelines.
This PR borrows code from the other pipelines, to allow things like `pipe(input, min_new_tokens=10)` (as opposed to `pipe(input, generate_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24989/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24989/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24989",
"html_url": "https://github.com/huggingface/transformers/pull/24989",
"diff_url": "https://github.com/huggingface/transformers/pull/24989.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24989.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24988 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24988/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24988/comments | https://api.github.com/repos/huggingface/transformers/issues/24988/events | https://github.com/huggingface/transformers/pull/24988 | 1,815,721,079 | PR_kwDOCUB6oc5WGBbm | 24,988 | Fix type annotation for deepspeed training arg | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,689 | 1,689 | 1,689 | COLLABORATOR | null | # What does this PR do?
#24550 wanted to put a more exact type annotation for the deepspeed arg, which then makes that training arg fail in CLI commands. This PR reverts that part and adds a comment so we do not break this again.
Fixes #24974 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24988/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24988/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24988",
"html_url": "https://github.com/huggingface/transformers/pull/24988",
"diff_url": "https://github.com/huggingface/transformers/pull/24988.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24988.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24987 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24987/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24987/comments | https://api.github.com/repos/huggingface/transformers/issues/24987/events | https://github.com/huggingface/transformers/pull/24987 | 1,815,679,262 | PR_kwDOCUB6oc5WF4Vy | 24,987 | [i18n-KO] Translated docs: ko: pr_checks.md to Korean | {
"login": "sronger",
"id": 79131091,
"node_id": "MDQ6VXNlcjc5MTMxMDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/79131091?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sronger",
"html_url": "https://github.com/sronger",
"followers_url": "https://api.github.com/users/sronge... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24987). All of your documentation changes will be reflected on that endpoint.",
"Translation completed!\r\nMay you please review this PR? :)\r\n@sgugger, @ArthurZucker, @eunseojo, @stevhliu "
] | 1,689 | 1,692 | 1,692 | CONTRIBUTOR | null | <!-- PRμ μ λͺ©μ "π [i18n-KO] Translated `<your_file>.md` to Korean" μΌλ‘ λΆνλ립λλ€! -->
# What does this PR do?
Translated the `pr_checks.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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24987/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/24987/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24987",
"html_url": "https://github.com/huggingface/transformers/pull/24987",
"diff_url": "https://github.com/huggingface/transformers/pull/24987.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24987.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24986 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24986/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24986/comments | https://api.github.com/repos/huggingface/transformers/issues/24986/events | https://github.com/huggingface/transformers/issues/24986 | 1,815,669,526 | I_kwDOCUB6oc5sOOsW | 24,986 | All `meta-llama/Llama-2-*-hf` models have incorrect `max_position_embeddings` | {
"login": "zijian-hu",
"id": 16883354,
"node_id": "MDQ6VXNlcjE2ODgzMzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/16883354?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zijian-hu",
"html_url": "https://github.com/zijian-hu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey! ππ» \r\nIndeed the paper does mention that the default `max_position_embeddings` is `4096`, and no, the models ~don't have~ should not have to be reconverted: \r\n```\r\nmodel = AutoModelForCausalLM.from_pretrained(\"meta-llama/Llama-2-7b-chat-hf\", max_position_embeddings=4096)\r\n```\r\nworked out of the ... | 1,689 | 1,690 | 1,690 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.0-76-generic-x86_64-with-glibc2.34
- Python version: 3.8.13
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Te... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24986/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24986/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24985 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24985/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24985/comments | https://api.github.com/repos/huggingface/transformers/issues/24985/events | https://github.com/huggingface/transformers/pull/24985 | 1,815,585,409 | PR_kwDOCUB6oc5WFjt- | 24,985 | [i18n-KO] Translated `big_models.md` to Korean | {
"login": "bolizabeth",
"id": 68984363,
"node_id": "MDQ6VXNlcjY4OTg0MzYz",
"avatar_url": "https://avatars.githubusercontent.com/u/68984363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bolizabeth",
"html_url": "https://github.com/bolizabeth",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24985). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please... | 1,689 | 1,695 | 1,695 | CONTRIBUTOR | null | <!-- PRμ μ λͺ©μ "π [i18n-KO] Translated `<your_file>.md` to Korean" μΌλ‘ λΆνλ립λλ€! -->
# What does this PR do?
Translated the `big_models.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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24985/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24985/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24985",
"html_url": "https://github.com/huggingface/transformers/pull/24985",
"diff_url": "https://github.com/huggingface/transformers/pull/24985.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24985.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24984 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24984/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24984/comments | https://api.github.com/repos/huggingface/transformers/issues/24984/events | https://github.com/huggingface/transformers/pull/24984 | 1,815,561,682 | PR_kwDOCUB6oc5WFen0 | 24,984 | π [i18n-KO] Translated `add_tensorflow_model.md` to Korean | {
"login": "keonju2",
"id": 54880474,
"node_id": "MDQ6VXNlcjU0ODgwNDc0",
"avatar_url": "https://avatars.githubusercontent.com/u/54880474?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keonju2",
"html_url": "https://github.com/keonju2",
"followers_url": "https://api.github.com/users/keonju... | [] | closed | false | null | [] | [] | 1,689 | 1,690 | 1,690 | CONTRIBUTOR | null | <!-- PRμ μ λͺ©μ "π [i18n-KO] Translated `add_tensorflow_model.md` to Korean" μΌλ‘ λΆνλ립λλ€ -->
# What does this PR do?
Translated the `your_file.md` file of the documentation to Korean π
Thank you in advance for your review!
Part of https://github.com/huggingface/transformers/issues/20179
<!-- λ©μΈ μ΄μμ κΈ°λ‘μ΄ λ¨μμ! κ°μ§μ°κ΅¬... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24984/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24984/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24984",
"html_url": "https://github.com/huggingface/transformers/pull/24984",
"diff_url": "https://github.com/huggingface/transformers/pull/24984.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24984.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24983 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24983/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24983/comments | https://api.github.com/repos/huggingface/transformers/issues/24983/events | https://github.com/huggingface/transformers/pull/24983 | 1,815,525,614 | PR_kwDOCUB6oc5WFWpX | 24,983 | π [i18n-KO] Translated perf_train_gpu_many.md to Korean | {
"login": "hyunhp",
"id": 105839613,
"node_id": "U_kgDOBk77_Q",
"avatar_url": "https://avatars.githubusercontent.com/u/105839613?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hyunhp",
"html_url": "https://github.com/hyunhp",
"followers_url": "https://api.github.com/users/hyunhp/follower... | [] | closed | false | null | [] | [
"Please do not open and close several PRs for the same file. You can update a PR by pushing more commits to it.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24983). All of your documentation changes will be reflected on that endpoint.",
"> Please do not open and c... | 1,689 | 1,695 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
Translated the `perf_train_gpu_many.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/24983/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24983/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24983",
"html_url": "https://github.com/huggingface/transformers/pull/24983",
"diff_url": "https://github.com/huggingface/transformers/pull/24983.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24983.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24982 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24982/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24982/comments | https://api.github.com/repos/huggingface/transformers/issues/24982/events | https://github.com/huggingface/transformers/pull/24982 | 1,815,488,533 | PR_kwDOCUB6oc5WFOjH | 24,982 | π [i18n-KO] Translated `<perf_train_gpu_many>.md` to Korean | {
"login": "hyunhp",
"id": 105839613,
"node_id": "U_kgDOBk77_Q",
"avatar_url": "https://avatars.githubusercontent.com/u/105839613?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hyunhp",
"html_url": "https://github.com/hyunhp",
"followers_url": "https://api.github.com/users/hyunhp/follower... | [] | closed | false | null | [] | [
"미리보기 λ¬Έμ μ ready for request μ§ννμ¬ μ·¨μ ν, reopen"
] | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
Translated the `<your_file>.md` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
## Before reviewing
- [x] Check for missing / redundant translations (λ²μ λλ½/μ€λ³΅ κ²μ¬)
- [x] Grammar Check (λ§μΆ€λ² κ²μ¬)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24982/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24982/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24982",
"html_url": "https://github.com/huggingface/transformers/pull/24982",
"diff_url": "https://github.com/huggingface/transformers/pull/24982.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24982.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24981 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24981/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24981/comments | https://api.github.com/repos/huggingface/transformers/issues/24981/events | https://github.com/huggingface/transformers/issues/24981 | 1,815,457,417 | I_kwDOCUB6oc5sNa6J | 24,981 | trainer throw "Torch not compiled with CUDA enabled" | {
"login": "nemesis00sam",
"id": 112406441,
"node_id": "U_kgDOBrMvqQ",
"avatar_url": "https://avatars.githubusercontent.com/u/112406441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nemesis00sam",
"html_url": "https://github.com/nemesis00sam",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @nemesis00sam \r\nThanks for the issue, there are two issues with your training setup\r\n1- you are trying to load your model in 8bit, which is only supported on GPU devices (not M1 chips)\r\n2- It seems you are trying to do pure 8bit training, despite I see lora-specific arguments, i don't see where they are u... | 1,689 | 1,693 | 1,693 | NONE | null | ### System Info
transformers version: 4.31.0.dev0
Platform: macOS-13.2.1-arm64-arm-64bit
Python version: 3.10.10
Huggingface_hub version: 0.16.4
Safetensors version: 0.3.1
Accelerate version: 0.22.0.dev0
Accelerate config: not found
PyTorch version (GPU?): 2.0.0 (False)
Tensorflow version (GPU?): 2.10.0 (True)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24981/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24981/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24980 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24980/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24980/comments | https://api.github.com/repos/huggingface/transformers/issues/24980/events | https://github.com/huggingface/transformers/pull/24980 | 1,815,416,722 | PR_kwDOCUB6oc5WE-7U | 24,980 | fsdp fixes and enhancements | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
1. Fixes #24724. Should be merged after https://github.com/huggingface/accelerate/pull/1753
2. Fixes #24568. Should be merged after https://github.com/huggingface/accelerate/pull/1753
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24980/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24980/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24980",
"html_url": "https://github.com/huggingface/transformers/pull/24980",
"diff_url": "https://github.com/huggingface/transformers/pull/24980.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24980.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24979 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24979/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24979/comments | https://api.github.com/repos/huggingface/transformers/issues/24979/events | https://github.com/huggingface/transformers/pull/24979 | 1,815,384,291 | PR_kwDOCUB6oc5WE3-p | 24,979 | [ `ForSequenceClassification`] Support `left` padding | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24979). All of your documentation changes will be reflected on that endpoint.",
"Test seems flaky:\r\n```python \r\nFAILED tests/models/gptj/test_modeling_gptj.py::GPTJModelTest::test_pt_tf_model_equivalence - AssertionErro... | 1,689 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
Update the computation of `sequence_lengths` that determines the index of the outpus to be pooled on models that use pooled inputs in such a way.
Adresses #24265
- [ ] add a common test to make sure whether you pad left or right, sequence outputs are the same | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24979/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24979/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24979",
"html_url": "https://github.com/huggingface/transformers/pull/24979",
"diff_url": "https://github.com/huggingface/transformers/pull/24979.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24979.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24978 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24978/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24978/comments | https://api.github.com/repos/huggingface/transformers/issues/24978/events | https://github.com/huggingface/transformers/pull/24978 | 1,815,354,186 | PR_kwDOCUB6oc5WExqZ | 24,978 | π [i18n-KO] Translated `perf_infer_gpu_one.md` to Korean | {
"login": "eenzeenee",
"id": 71638597,
"node_id": "MDQ6VXNlcjcxNjM4NTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/71638597?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eenzeenee",
"html_url": "https://github.com/eenzeenee",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Could you review this PR? π\r\n@sgugger, @ArthurZucker, @eunseojo",
"Thanks for fixing! π₯ "
] | 1,689 | 1,691 | 1,691 | CONTRIBUTOR | null | <!-- PRμ μ λͺ©μ "π [i18n-KO] Translated `<your_file>.md` to Korean" μΌλ‘ λΆνλ립λλ€! -->
# What does this PR do?
Translated the `perf_infer_gpu_one.md` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
## Before reviewing
- [... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24978/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/24978/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24978",
"html_url": "https://github.com/huggingface/transformers/pull/24978",
"diff_url": "https://github.com/huggingface/transformers/pull/24978.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24978.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24977 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24977/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24977/comments | https://api.github.com/repos/huggingface/transformers/issues/24977/events | https://github.com/huggingface/transformers/pull/24977 | 1,815,311,174 | PR_kwDOCUB6oc5WEoWw | 24,977 | π [i18n-KO] Translated `generation_strategies.md` to Korean | {
"login": "wonhyeongseo",
"id": 29195190,
"node_id": "MDQ6VXNlcjI5MTk1MTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/29195190?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wonhyeongseo",
"html_url": "https://github.com/wonhyeongseo",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24977). All of your documentation changes will be reflected on that endpoint."
] | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | <!-- PRμ μ λͺ©μ "π [i18n-KO] Translated `<your_file>.md` to Korean" μΌλ‘ λΆνλ립λλ€ -->
# What does this PR do?
Translated the `generation_strategies.md` file of the documentation to Korean π
Thank you in advance for your review!
Part of https://github.com/huggingface/transformers/issues/20179
<!-- λ©μΈ μ΄μμ κΈ°λ‘μ΄ λ¨μμ! κ°... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24977/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24977/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24977",
"html_url": "https://github.com/huggingface/transformers/pull/24977",
"diff_url": "https://github.com/huggingface/transformers/pull/24977.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24977.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24976 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24976/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24976/comments | https://api.github.com/repos/huggingface/transformers/issues/24976/events | https://github.com/huggingface/transformers/issues/24976 | 1,815,301,839 | I_kwDOCUB6oc5sM07P | 24,976 | Llama weights are in `bfloat16` but loaded as `float32` | {
"login": "ayaka14732",
"id": 68557794,
"node_id": "MDQ6VXNlcjY4NTU3Nzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/68557794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ayaka14732",
"html_url": "https://github.com/ayaka14732",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey! ππ» \r\nWithout the path to the checkpoint that you are using, it's gonna be a bit hard for me to debug. The `dtype` can be affectect by the `model.config.torch_dtype` which is stored online. ",
"It is expected behavior: https://huggingface.co/docs/transformers/v4.31.0/en/main_classes/model#transformers.Pr... | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Linux-5.8.0-1035-gcp-x86_64-with-glibc2.31
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0.dev20230719+cpu (Fal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24976/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24976/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24975 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24975/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24975/comments | https://api.github.com/repos/huggingface/transformers/issues/24975/events | https://github.com/huggingface/transformers/pull/24975 | 1,815,296,306 | PR_kwDOCUB6oc5WElEG | 24,975 | π [i18n-KO] Translated `text-to-speech.md` to Korean | {
"login": "wonhyeongseo",
"id": 29195190,
"node_id": "MDQ6VXNlcjI5MTk1MTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/29195190?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wonhyeongseo",
"html_url": "https://github.com/wonhyeongseo",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24975). All of your documentation changes will be reflected on that endpoint.",
"Hello, I'm curious about the reason for closing this PR. I'd like to inquire whether I can continue the translation work of this document.\r\n... | 1,689 | 1,701 | 1,689 | CONTRIBUTOR | null | <!-- PRμ μ λͺ©μ "π [i18n-KO] Translated `<your_file>.md` to Korean" μΌλ‘ λΆνλ립λλ€ -->
# What does this PR do?
Translated the `text-to-speech.md` file of the documentation to Korean π
Thank you in advance for your review!
Part of https://github.com/huggingface/transformers/issues/20179
<!-- λ©μΈ μ΄μμ κΈ°λ‘μ΄ λ¨μμ! κ°μ§μ°κ΅¬μ 리ν¬λ₯Ό μ¬μ©ν΄ μ°... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24975/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24975/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24975",
"html_url": "https://github.com/huggingface/transformers/pull/24975",
"diff_url": "https://github.com/huggingface/transformers/pull/24975.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24975.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24974 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24974/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24974/comments | https://api.github.com/repos/huggingface/transformers/issues/24974/events | https://github.com/huggingface/transformers/issues/24974 | 1,815,212,577 | I_kwDOCUB6oc5sMfIh | 24,974 | deepspeed typing Dict error | {
"login": "cnut1648",
"id": 37067883,
"node_id": "MDQ6VXNlcjM3MDY3ODgz",
"avatar_url": "https://avatars.githubusercontent.com/u/37067883?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cnut1648",
"html_url": "https://github.com/cnut1648",
"followers_url": "https://api.github.com/users/cnu... | [] | closed | false | null | [] | [
"Yes, this has been broken by #24550 again..."
] | 1,689 | 1,689 | 1,689 | NONE | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Linux-5.10.179-171.711.amzn2.x86_64-x86_64-with-glibc2.26
- Python version: 3.9.16
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- Accelerate version: 0.22.0.dev0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24974/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24974/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24973 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24973/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24973/comments | https://api.github.com/repos/huggingface/transformers/issues/24973/events | https://github.com/huggingface/transformers/pull/24973 | 1,815,210,720 | PR_kwDOCUB6oc5WESix | 24,973 | π [i18n-KO] Translated perf_infer_gpu_one.md to Korean | {
"login": "eenzeenee",
"id": 71638597,
"node_id": "MDQ6VXNlcjcxNjM4NTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/71638597?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eenzeenee",
"html_url": "https://github.com/eenzeenee",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | <!-- PRμ μ λͺ©μ "π [i18n-KO] Translated `<your_file>.md` to Korean" μΌλ‘ λΆνλ립λλ€! -->
# What does this PR do?
Translated the `perf_infer_gpu_one.md` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
## Before reviewing
- [... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24973/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24973/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24973",
"html_url": "https://github.com/huggingface/transformers/pull/24973",
"diff_url": "https://github.com/huggingface/transformers/pull/24973.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24973.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24972 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24972/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24972/comments | https://api.github.com/repos/huggingface/transformers/issues/24972/events | https://github.com/huggingface/transformers/pull/24972 | 1,815,203,305 | PR_kwDOCUB6oc5WEQ7f | 24,972 | π [i18n-KO] Translated perf_infer_gpu_one.md to Korean | {
"login": "eenzeenee",
"id": 71638597,
"node_id": "MDQ6VXNlcjcxNjM4NTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/71638597?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eenzeenee",
"html_url": "https://github.com/eenzeenee",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | <!-- PRμ μ λͺ©μ "π [i18n-KO] Translated `<your_file>.md` to Korean" μΌλ‘ λΆνλ립λλ€! -->
# What does this PR do?
Translated the `perf_infer_gpu_one.md` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
## Before reviewing
- [... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24972/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24972/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24972",
"html_url": "https://github.com/huggingface/transformers/pull/24972",
"diff_url": "https://github.com/huggingface/transformers/pull/24972.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24972.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24971 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24971/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24971/comments | https://api.github.com/repos/huggingface/transformers/issues/24971/events | https://github.com/huggingface/transformers/issues/24971 | 1,815,178,950 | I_kwDOCUB6oc5sMW7G | 24,971 | New mode in `model.generate` | {
"login": "huangjy-pku",
"id": 68498923,
"node_id": "MDQ6VXNlcjY4NDk4OTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/68498923?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huangjy-pku",
"html_url": "https://github.com/huangjy-pku",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @gante ",
"Hey @huangjy-pku I believe the authors intended its use to be as an alternative to beam search, but I agree the two could be used together (beam search explores beam diversity, and contrastive search explores repetition avoidance).\r\n\r\nBuilding it takes a significant time, and I haven't seen dem... | 1,689 | 1,690 | 1,690 | NONE | null | Hello, is there any support for combining `contrastive_search` and `beam_search` in `model.generate` method?
My motivation is that when using `beam_search` I observe the outputs of model sometimes tend to produce repetitive text. I learned that `contrastive_search` was proposed to address the repetition issue. But w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24971/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24971/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24970 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24970/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24970/comments | https://api.github.com/repos/huggingface/transformers/issues/24970/events | https://github.com/huggingface/transformers/issues/24970 | 1,815,165,782 | I_kwDOCUB6oc5sMTtW | 24,970 | Parameter ... has been marked as ready twice. | {
"login": "levuloihust99",
"id": 49064246,
"node_id": "MDQ6VXNlcjQ5MDY0MjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/49064246?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/levuloihust99",
"html_url": "https://github.com/levuloihust99",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,689 | 1,689 | 1,689 | NONE | null | ### System Info
* Ubuntu 20.04 Desktop
* Architecture x86_64
* Python 3.8.10
* torch 1.12.1+cu116
* GPU P100 x 3
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24970/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24970/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24969 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24969/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24969/comments | https://api.github.com/repos/huggingface/transformers/issues/24969/events | https://github.com/huggingface/transformers/pull/24969 | 1,815,161,340 | PR_kwDOCUB6oc5WEH_n | 24,969 | Fix beam search when using model parallel | {
"login": "pfldy2850",
"id": 9526337,
"node_id": "MDQ6VXNlcjk1MjYzMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9526337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pfldy2850",
"html_url": "https://github.com/pfldy2850",
"followers_url": "https://api.github.com/users/pf... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24969). All of your documentation changes will be reflected on that endpoint.",
"I agree with you!\r\nWhich do you think is better, fixing the rest of the model in this PR or creating a new PR fixing the rest?\r\n\r\nI am w... | 1,689 | 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/24969/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24969/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24969",
"html_url": "https://github.com/huggingface/transformers/pull/24969",
"diff_url": "https://github.com/huggingface/transformers/pull/24969.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24969.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24968 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24968/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24968/comments | https://api.github.com/repos/huggingface/transformers/issues/24968/events | https://github.com/huggingface/transformers/pull/24968 | 1,815,138,631 | PR_kwDOCUB6oc5WEDJo | 24,968 | π [i18n-KO] Translated `hpo_train.md` to Korean | {
"login": "harheem",
"id": 49297157,
"node_id": "MDQ6VXNlcjQ5Mjk3MTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/49297157?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harheem",
"html_url": "https://github.com/harheem",
"followers_url": "https://api.github.com/users/harhee... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Can you just solve the conflict so we can merge this PR?"
] | 1,689 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
Translated the `hpo_train.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/24968/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24968/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24968",
"html_url": "https://github.com/huggingface/transformers/pull/24968",
"diff_url": "https://github.com/huggingface/transformers/pull/24968.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24968.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24967 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24967/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24967/comments | https://api.github.com/repos/huggingface/transformers/issues/24967/events | https://github.com/huggingface/transformers/issues/24967 | 1,815,036,946 | I_kwDOCUB6oc5sL0QS | 24,967 | run summarization | {
"login": "tigernandita",
"id": 124251696,
"node_id": "U_kgDOB2fuMA",
"avatar_url": "https://avatars.githubusercontent.com/u/124251696?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tigernandita",
"html_url": "https://github.com/tigernandita",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@tigernandita \r\n\r\nPlease report the issue with providing your env. info.\r\n\r\nYou can run the command `transformers-cli env` and copy-paste its output.\r\n\r\nAlso, please provide the full traceback.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think t... | 1,689 | 1,700 | 1,693 | NONE | null | ### System Info
with open(output_prediction_file, "w", encoding="utf-8") as writer:: The script opens the output file in write mode with UTF-8 encoding to handle non-ASCII characters
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] A... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24967/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24967/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24966 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24966/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24966/comments | https://api.github.com/repos/huggingface/transformers/issues/24966/events | https://github.com/huggingface/transformers/pull/24966 | 1,814,983,062 | PR_kwDOCUB6oc5WDi6z | 24,966 | π [i18n-KO] Translated `perf_hardware.md` to Korean | {
"login": "augustinLib",
"id": 74291999,
"node_id": "MDQ6VXNlcjc0MjkxOTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/74291999?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/augustinLib",
"html_url": "https://github.com/augustinLib",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"μμμ @0525hhgus λμ λκΈμ μ μΈνκ³ λ λ³λμ 리뷰μ¬ν μμ΅λλ€ :) ",
"> Looks good! Could you update the ## GPU [[gpu]] in the english version as well? Seems like it is not rendering properly, let's kill two birds with one stone!\r\n> \r\n> <img alt=\... | 1,689 | 1,690 | 1,690 | CONTRIBUTOR | null | <!-- PRμ μ λͺ©μ "π [i18n-KO] Translated `<your_file>.md` to Korean" μΌλ‘ λΆνλ립λλ€! -->
# What does this PR do?
Translated the `perf_hardware.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] Ch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24966/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/24966/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24966",
"html_url": "https://github.com/huggingface/transformers/pull/24966",
"diff_url": "https://github.com/huggingface/transformers/pull/24966.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24966.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24965 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24965/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24965/comments | https://api.github.com/repos/huggingface/transformers/issues/24965/events | https://github.com/huggingface/transformers/issues/24965 | 1,814,934,313 | I_kwDOCUB6oc5sLbMp | 24,965 | device_map='sequential' does not utilize gpu devices other than the first when running in 8bit and 4bit | {
"login": "Daryl149",
"id": 6736668,
"node_id": "MDQ6VXNlcjY3MzY2Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6736668?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Daryl149",
"html_url": "https://github.com/Daryl149",
"followers_url": "https://api.github.com/users/Daryl... | [] | closed | false | null | [] | [
"Hi @Daryl149 \r\nThanks for your issue, per the documentation it says:\r\n\r\n> \"sequential\" will fit what it can on GPU 0, then move on GPU 1 and so forth (so wonβt use the last GPUs if it doesnβt need to).\r\n\r\nMaybe there are some corner cases when using 8bit quantization, hence the OOM error. What is the G... | 1,689 | 1,693 | 1,693 | NONE | null | ### System Info
transformers==4.31.0
python==3.10.6
bitsandbytes==0.40.2
torch==2.0.1
Whenever I set the parameter `device_map='sequential'`, only the first gpu device is taken into account. For models that do not fit on the first gpu, the model returns a cuda OOM, as if only running on the first gpu, instead ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24965/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24965/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24964 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24964/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24964/comments | https://api.github.com/repos/huggingface/transformers/issues/24964/events | https://github.com/huggingface/transformers/pull/24964 | 1,814,767,987 | PR_kwDOCUB6oc5WCz7g | 24,964 | improve from_pretrained for zero3 multi gpus mode | {
"login": "1ytic",
"id": 27285181,
"node_id": "MDQ6VXNlcjI3Mjg1MTgx",
"avatar_url": "https://avatars.githubusercontent.com/u/27285181?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/1ytic",
"html_url": "https://github.com/1ytic",
"followers_url": "https://api.github.com/users/1ytic/follow... | [] | closed | false | null | [] | [
"Thank you for the PR, @1ytic \r\n\r\nThe idea is excellent, but we need to think about multiple use-cases here.\r\n\r\nwhat happens if zero3 is used, but not `zero.Init` - won't this code fail if you try to access any of the meta weights before `deepspeed.initialize` gets called at which point deepspeed will parti... | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | # Decrease RAM consumption during Deepspeed Zero 3 model initialisation with multiple GPUs.
This simple PR will save a ton of RAM in case with multi GPUs and Zero 3 Deepspeed scenario.
The idea is simple. We do not need to load checkpoints for all instances, because `deepspeed.zero.GatheredParameters` will copy w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24964/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24964/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24964",
"html_url": "https://github.com/huggingface/transformers/pull/24964",
"diff_url": "https://github.com/huggingface/transformers/pull/24964.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24964.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24963 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24963/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24963/comments | https://api.github.com/repos/huggingface/transformers/issues/24963/events | https://github.com/huggingface/transformers/pull/24963 | 1,814,744,305 | PR_kwDOCUB6oc5WCurq | 24,963 | Remove tokenizers from the doc table | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,689 | 1,689 | 1,689 | COLLABORATOR | null | # What does this PR do?
As discussed offline with @LysandreJik and @stas00 it doesn't really make sense to have the info on tokenizers in this table in the index, which:
- makes it look like something is missing for vision models or speech models
- is not accurate when a model uses another's tokenizer model.
Th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24963/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24963/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24963",
"html_url": "https://github.com/huggingface/transformers/pull/24963",
"diff_url": "https://github.com/huggingface/transformers/pull/24963.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24963.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24962 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24962/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24962/comments | https://api.github.com/repos/huggingface/transformers/issues/24962/events | https://github.com/huggingface/transformers/issues/24962 | 1,814,736,352 | I_kwDOCUB6oc5sKq3g | 24,962 | Trainer bug > using dict (with single or multiple datasets) for eval_dataset arg throws error | {
"login": "lenn-arts",
"id": 25841810,
"node_id": "MDQ6VXNlcjI1ODQxODEw",
"avatar_url": "https://avatars.githubusercontent.com/u/25841810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lenn-arts",
"html_url": "https://github.com/lenn-arts",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"It looks like one of your datasets might not have labels, so the metrics returned are None, maybe?",
"Thanks for the prompt answer! I don't think this is the problem for two reasons:\r\n1st) running \r\n```\r\neval_datasets[\"val\"].unique(\"labels\")\r\neval_datasets[\"test\"].unique(\"labels\")\r\n```\r\nretur... | 1,689 | 1,690 | 1,690 | NONE | null | ### System Info
Using python 3.10, transformers 4.28.1
Dear team @sgugger ,
When I tried passing multiple datasets to the eval_dataset argument of the trainer using a dict structure as per the documentation, I experienced that only metrics on the first of the passed datasets get compute at the evaluation step in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24962/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24962/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24961 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24961/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24961/comments | https://api.github.com/repos/huggingface/transformers/issues/24961/events | https://github.com/huggingface/transformers/issues/24961 | 1,814,710,715 | I_kwDOCUB6oc5sKkm7 | 24,961 | RuntimeError: mat1 and mat2 shapes cannot be multiplied - Llama-2-13b-chat-hf - v4.31.0 | {
"login": "xhluca",
"id": 21180505,
"node_id": "MDQ6VXNlcjIxMTgwNTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/21180505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xhluca",
"html_url": "https://github.com/xhluca",
"followers_url": "https://api.github.com/users/xhluca/fo... | [] | closed | false | null | [] | [
"Demo on kaggle: https://www.kaggle.com/xhlulu/error-transformers-v4-31-0-llama-2-13b-chat-hf",
"Thanks for reporting! We'll take a look cc @ArthurZucker ",
"@ArthurZucker The corresponding model still has `pretraining_tp=2`, this is why there is this issue.\r\n\r\n@xhluca While waiting for the model to be fixe... | 1,689 | 1,694 | 1,689 | CONTRIBUTOR | null | ### System Info
```
Name: transformers
Version: 4.31.0
Summary: State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow
Home-page: https://github.com/huggingface/transformers
Author: The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24961/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24961/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24960 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24960/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24960/comments | https://api.github.com/repos/huggingface/transformers/issues/24960/events | https://github.com/huggingface/transformers/pull/24960 | 1,814,702,988 | PR_kwDOCUB6oc5WClYa | 24,960 | Avoid importing all models when instantiating a pipeline | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"It works too, but I think with the design selected for the PEFT integration in `from_pretrained` (which will supercede #24827), we won't need to remove them. I think it's a useful warning to have when users try to instantiate a pipel... | 1,689 | 1,692 | 1,689 | COLLABORATOR | null | # What does this PR do?
The check on the model being in the right mapping for the pipeline requires the import of all models associated with that pipeline. This is because it uses the `MODEL_XXX_MAPPING` instead of the `MODEL_XXX_MAPPING_NAMES`. This PR suggests to switch to that, since the check is done on the mode... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24960/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24960/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24960",
"html_url": "https://github.com/huggingface/transformers/pull/24960",
"diff_url": "https://github.com/huggingface/transformers/pull/24960.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24960.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24959 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24959/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24959/comments | https://api.github.com/repos/huggingface/transformers/issues/24959/events | https://github.com/huggingface/transformers/issues/24959 | 1,814,491,051 | I_kwDOCUB6oc5sJu-r | 24,959 | Whisper not returning last phrase from audio >25s | {
"login": "pli66",
"id": 26721632,
"node_id": "MDQ6VXNlcjI2NzIxNjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/26721632?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pli66",
"html_url": "https://github.com/pli66",
"followers_url": "https://api.github.com/users/pli66/follow... | [] | closed | false | null | [] | [
"Thanks for the examples - they suggest that the model is predicting the EOS token too early within the 30s segment. Having listened to the audio, I think this is because the last sentence does not finish completely within the 30s window, so the Whisper model decides to ignore it.\r\n\r\nWhat we can do is feed a la... | 1,689 | 1,692 | 1,692 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-5.4.226-129.415.amzn2.x86_64-x86_64-with-glibc2.10
- Python version: 3.8.13
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): not installed (NA)
- Tensorflow version (GPU?): not installed (NA)
- Flax versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24959/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24959/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24958 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24958/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24958/comments | https://api.github.com/repos/huggingface/transformers/issues/24958/events | https://github.com/huggingface/transformers/pull/24958 | 1,814,444,504 | PR_kwDOCUB6oc5WBslb | 24,958 | [`LlamaConfig`] Nit: pad token should be None by default | {
"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,689 | 1,689 | 1,689 | COLLABORATOR | null | # What does this PR do?
Does not set the padding token as `0` is for the `unk_token`. Though Llama has bytefallback support, meaning most of the time the unkown token will not be form the input, it can generate the `<unk>` token (probably very rarely). The pad token is used in the embedding and the unk embedding is no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24958/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24958/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24958",
"html_url": "https://github.com/huggingface/transformers/pull/24958",
"diff_url": "https://github.com/huggingface/transformers/pull/24958.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24958.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24957 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24957/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24957/comments | https://api.github.com/repos/huggingface/transformers/issues/24957/events | https://github.com/huggingface/transformers/pull/24957 | 1,814,434,802 | PR_kwDOCUB6oc5WBqeB | 24,957 | π [i18n-KO] Translated `add_new_model.md` to Korean | {
"login": "mjk0618",
"id": 39152134,
"node_id": "MDQ6VXNlcjM5MTUyMTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/39152134?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mjk0618",
"html_url": "https://github.com/mjk0618",
"followers_url": "https://api.github.com/users/mjk061... | [] | closed | false | null | [] | [
"Hello @sgugger , may you please approve the workflow for this PR?\n\nI ran doc-builder locally, and it looks OK. We just want to see the live-preview to double check.\n\nThank you so much for your support.\nHope you have a great day! π ",
"_The documentation is not available anymore as the PR was closed or merg... | 1,689 | 1,691 | 1,691 | CONTRIBUTOR | null | <!-- PRμ μ λͺ©μ "π [i18n-KO] Translated `<your_file>.md` to Korean" μΌλ‘ λΆνλ립λλ€! -->
# What does this PR do?
Translated the `add_new_model.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] Ch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24957/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24957/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24957",
"html_url": "https://github.com/huggingface/transformers/pull/24957",
"diff_url": "https://github.com/huggingface/transformers/pull/24957.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24957.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24956 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24956/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24956/comments | https://api.github.com/repos/huggingface/transformers/issues/24956/events | https://github.com/huggingface/transformers/pull/24956 | 1,814,366,838 | PR_kwDOCUB6oc5WBbZ2 | 24,956 | Change logic for logging in the examples | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24956). All of your documentation changes will be reflected on that endpoint."
] | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
Changes logic to check if we are doing distributed training by reading the `parallel_mode` instead, since `local_rank` will always (for the most part) be `>-1` with Accelerate now
Fixes # (issue)
Solves https://github.com/huggingface/transformers/issues/24924
Verified that it now sho... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24956/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24956/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24956",
"html_url": "https://github.com/huggingface/transformers/pull/24956",
"diff_url": "https://github.com/huggingface/transformers/pull/24956.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24956.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24955 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24955/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24955/comments | https://api.github.com/repos/huggingface/transformers/issues/24955/events | https://github.com/huggingface/transformers/pull/24955 | 1,814,306,233 | PR_kwDOCUB6oc5WBOI4 | 24,955 | [`RWKV`] Add Gradient Checkpointing support for RWKV | {
"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._",
"This snippet worked on my end:\r\n\r\n```python\r\nimport torch\r\nfrom transformers import RwkvForCausalLM\r\n\r\nmodel = RwkvForCausalLM.from_pretrained(\"RWKV/rwkv-4-169m-pile\").to(0)\r\nmodel.train()\r\nmodel.gradient_checkpoint... | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/24831
As stated by the issue above, technically there is no reason to not support GC for RWKV model
cc @sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24955/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24955/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24955",
"html_url": "https://github.com/huggingface/transformers/pull/24955",
"diff_url": "https://github.com/huggingface/transformers/pull/24955.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24955.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24954 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24954/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24954/comments | https://api.github.com/repos/huggingface/transformers/issues/24954/events | https://github.com/huggingface/transformers/pull/24954 | 1,814,279,161 | PR_kwDOCUB6oc5WBIC8 | 24,954 | Bump aiohttp from 3.8.1 to 3.8.5 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._"
] | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.1 to 3.8.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/aio-libs/aiohttp/releases">aiohttp's releases</a>.</em></p>
<blockquote>
<h2>3.8.5</h2>
<h2>Security bugfixes</h2>
<ul>
<li>
<p>Upgraded the vendored copy ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24954/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24954/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24954",
"html_url": "https://github.com/huggingface/transformers/pull/24954",
"diff_url": "https://github.com/huggingface/transformers/pull/24954.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24954.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24953 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24953/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24953/comments | https://api.github.com/repos/huggingface/transformers/issues/24953/events | https://github.com/huggingface/transformers/pull/24953 | 1,814,156,868 | PR_kwDOCUB6oc5WAswF | 24,953 | π [i18n-KO] Translated `add_tensorflow_model.md` to Korean | {
"login": "keonju2",
"id": 54880474,
"node_id": "MDQ6VXNlcjU0ODgwNDc0",
"avatar_url": "https://avatars.githubusercontent.com/u/54880474?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keonju2",
"html_url": "https://github.com/keonju2",
"followers_url": "https://api.github.com/users/keonju... | [] | closed | false | null | [] | [
"Please stop opening and closing the same PR like this."
] | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | <!-- PRμ μ λͺ©μ "π [i18n-KO] Translated `<your_file>.md` to Korean" μΌλ‘ λΆνλ립λλ€ -->
# What does this PR do?
Translated the `add_tensorflow_model.md` file of the documentation to Korean π
Thank you in advance for your review!
Part of https://github.com/huggingface/transformers/issues/20179
<!-- λ©μΈ μ΄μμ κΈ°λ‘μ΄ λ¨μμ! κ°μ§... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24953/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24953/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24953",
"html_url": "https://github.com/huggingface/transformers/pull/24953",
"diff_url": "https://github.com/huggingface/transformers/pull/24953.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24953.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24952 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24952/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24952/comments | https://api.github.com/repos/huggingface/transformers/issues/24952/events | https://github.com/huggingface/transformers/pull/24952 | 1,814,103,275 | PR_kwDOCUB6oc5WAg8t | 24,952 | Add Text-To-Speech pipeline | {
"login": "ylacombe",
"id": 52246514,
"node_id": "MDQ6VXNlcjUyMjQ2NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ylacombe",
"html_url": "https://github.com/ylacombe",
"followers_url": "https://api.github.com/users/yla... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @Narsil , thanks for your fast review!\r\nBasically, I will refactor my code to meet your expectations !\r\nThere are still 2 things I'd like to discuss before and that I talked about in the comments:\r\n\r\n1. **`speechT5` specif... | 1,689 | 1,692 | 1,692 | COLLABORATOR | null | # What does this PR do?
Until recently, there was only one TTS model in Transformers. Recent ([Bark](https://huggingface.co/docs/transformers/model_doc/bark)) and future ([FastSpeechConformer2](https://github.com/huggingface/transformers/pull/23439)) additions have and will further enrich the number of TTS models in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24952/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 4,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24952/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24952",
"html_url": "https://github.com/huggingface/transformers/pull/24952",
"diff_url": "https://github.com/huggingface/transformers/pull/24952.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24952.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24951 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24951/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24951/comments | https://api.github.com/repos/huggingface/transformers/issues/24951/events | https://github.com/huggingface/transformers/issues/24951 | 1,814,060,845 | I_kwDOCUB6oc5sIF8t | 24,951 | T5 Tokenizer Legacy behaviour warning | {
"login": "pointonjoel",
"id": 45101698,
"node_id": "MDQ6VXNlcjQ1MTAxNjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/45101698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pointonjoel",
"html_url": "https://github.com/pointonjoel",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hey! Will just answer for potentially confused users: \r\n- the warning is triggered if `legacy=True` which is the default for backward compatibility\r\n- to use the latest behaviour, use `tokeniser = AutoTokenizer.from_pretrained(\"google/mt5-small\", legacy=False)`\r\n",
"It might be nice to add the fix to the... | 1,689 | 1,690 | 1,689 | NONE | null | ### System Info
I am running on Google Collab (Python 3.10.6) using tokenizers-0.13.3, transformers-4.31.0, huggingface-hub-0.16.4 ,safetensors-0.3.1
### Who can help?
@ArthurZucker @younesbelkada
### Information
- [X] The official example scripts
- [X] My own modified scripts
### Tasks
- [X] An officially supp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24951/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24951/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24950 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24950/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24950/comments | https://api.github.com/repos/huggingface/transformers/issues/24950/events | https://github.com/huggingface/transformers/pull/24950 | 1,813,817,380 | PR_kwDOCUB6oc5V_iKD | 24,950 | Update processing_vision_text_dual_encoder.py | {
"login": "premsa",
"id": 38909445,
"node_id": "MDQ6VXNlcjM4OTA5NDQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/38909445?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/premsa",
"html_url": "https://github.com/premsa",
"followers_url": "https://api.github.com/users/premsa/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24950). All of your documentation changes will be reflected on that endpoint."
] | 1,689 | 1,689 | 1,689 | 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/24950/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24950/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24950",
"html_url": "https://github.com/huggingface/transformers/pull/24950",
"diff_url": "https://github.com/huggingface/transformers/pull/24950.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24950.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24949 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24949/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24949/comments | https://api.github.com/repos/huggingface/transformers/issues/24949/events | https://github.com/huggingface/transformers/pull/24949 | 1,813,770,848 | PR_kwDOCUB6oc5V_XpY | 24,949 | Bump pygments from 2.11.2 to 2.15.0 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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24949). All of your documentation changes will be reflected on that endpoint."
] | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | Bumps [pygments](https://github.com/pygments/pygments) from 2.11.2 to 2.15.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pygments/pygments/releases">pygments's releases</a>.</em></p>
<blockquote>
<h2>2.15.0</h2>
<ul>
<li>
<p>Added lexers:</p>
<ul>
<li>Carbon (<a href="htt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24949/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24949/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24949",
"html_url": "https://github.com/huggingface/transformers/pull/24949",
"diff_url": "https://github.com/huggingface/transformers/pull/24949.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24949.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24948 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24948/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24948/comments | https://api.github.com/repos/huggingface/transformers/issues/24948/events | https://github.com/huggingface/transformers/issues/24948 | 1,813,768,095 | I_kwDOCUB6oc5sG-ef | 24,948 | Converting Llama2 to HF weight on Windows 10 PC failed | {
"login": "CinderZhang",
"id": 72751738,
"node_id": "MDQ6VXNlcjcyNzUxNzM4",
"avatar_url": "https://avatars.githubusercontent.com/u/72751738?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CinderZhang",
"html_url": "https://github.com/CinderZhang",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"It looks like there is a problem with your installation of `bitsandbytes`. You should fix it or uninstall it.",
"Did both. Neither ways worked. I left a ticket on bitsandbytes.",
"It works for me to convert 70b-chat. I don't even install the bitsandbytes library.",
"This issue has been automatically marked a... | 1,689 | 1,695 | 1,695 | NONE | null | ### System Info
Setup: RTX A2000 12G; CUDA 12.2
Command:
python r:/transformers/src/transformers/models/llama/convert_llama_weights_to_hf.py --input_dir Llama-2-7b --model_size 7B --output_dir hf_wght_7b
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own mo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24948/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24948/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24947 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24947/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24947/comments | https://api.github.com/repos/huggingface/transformers/issues/24947/events | https://github.com/huggingface/transformers/pull/24947 | 1,813,759,444 | PR_kwDOCUB6oc5V_VGV | 24,947 | fix: cast input pixels to appropriate dtype for image_to_text pipelines | {
"login": "JimAllanson",
"id": 1419473,
"node_id": "MDQ6VXNlcjE0MTk0NzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1419473?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JimAllanson",
"html_url": "https://github.com/JimAllanson",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks, I've run the styling and copy checks locally, which identified some copy checks that were failing. If I understand correctly, these checks are ensuring that the implementations of derived model classes match their sources? On... | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
### _Automatically converts input pixels to the correct type when running image_to_text pipelines_
---
Currently, when using image_to_text pipelines with half precision, I encounter an error in the forward function when passing in the pixel data. I found that casting to the target_dtype w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24947/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24947/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24947",
"html_url": "https://github.com/huggingface/transformers/pull/24947",
"diff_url": "https://github.com/huggingface/transformers/pull/24947.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24947.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24946 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24946/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24946/comments | https://api.github.com/repos/huggingface/transformers/issues/24946/events | https://github.com/huggingface/transformers/issues/24946 | 1,813,612,492 | I_kwDOCUB6oc5sGYfM | 24,946 | convertion to hf format of llama2 70b get kill | {
"login": "zixiliuUSC",
"id": 49173327,
"node_id": "MDQ6VXNlcjQ5MTczMzI3",
"avatar_url": "https://avatars.githubusercontent.com/u/49173327?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zixiliuUSC",
"html_url": "https://github.com/zixiliuUSC",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"That is because you do not have enough CPU RAM to do the conversion. It needs 140GB of memory. If you have access to the weights, you can get them on the Hugging Face Hub (as long as you email address for HF matches the one with which you got the weights).",
"@sgugger The files on https://huggingface.co/meta-lla... | 1,689 | 1,693 | 1,693 | NONE | null | ### System Info
transformers 4.31.0
RAM: 20G, 8Core
A100-80GB
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give detai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24946/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24946/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24945 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24945/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24945/comments | https://api.github.com/repos/huggingface/transformers/issues/24945/events | https://github.com/huggingface/transformers/issues/24945 | 1,813,573,783 | I_kwDOCUB6oc5sGPCX | 24,945 | BatchSampler | {
"login": "Neptune-Trojans",
"id": 68503564,
"node_id": "MDQ6VXNlcjY4NTAzNTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/68503564?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Neptune-Trojans",
"html_url": "https://github.com/Neptune-Trojans",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) for such questions as we keep issues for bugs and feature requests only."
] | 1,689 | 1,689 | 1,689 | NONE | null | ### Feature request
I am trying to use Transformers Trainer and I want to generate batches and not single items.
### Motivation
I need that in order to generate batches of different sizes without doing padding.
Is that possible to do with the implemented trainer ?
### Your contribution
.. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24945/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24945/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24944 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24944/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24944/comments | https://api.github.com/repos/huggingface/transformers/issues/24944/events | https://github.com/huggingface/transformers/pull/24944 | 1,813,231,178 | PR_kwDOCUB6oc5V9gep | 24,944 | replace no_cuda with use_cpu in test_pytorch_examples | {
"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 documentation is not available anymore as the PR was closed or merged._"
] | 1,689 | 1,694 | 1,689 | CONTRIBUTOR | null | ### What does this PR do?
This PR replace `no_cuda` with `use_cpu` in `test_pytorch_examples.py`, as `no_cuda` training argument is deprecated([see](https://github.com/huggingface/transformers/pull/24863)) . By the way delete a piece of code that will never be used.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24944/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24944/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24944",
"html_url": "https://github.com/huggingface/transformers/pull/24944",
"diff_url": "https://github.com/huggingface/transformers/pull/24944.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24944.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24943 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24943/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24943/comments | https://api.github.com/repos/huggingface/transformers/issues/24943/events | https://github.com/huggingface/transformers/pull/24943 | 1,813,189,872 | PR_kwDOCUB6oc5V9Xh2 | 24,943 | π [i18n-KO] Translated `perf_infer_gpu_many.md` to Korean | {
"login": "heuristicwave",
"id": 31366038,
"node_id": "MDQ6VXNlcjMxMzY2MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/31366038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/heuristicwave",
"html_url": "https://github.com/heuristicwave",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,689 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
Translated the `perf_infer_gpu_many.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/24943/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24943/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24943",
"html_url": "https://github.com/huggingface/transformers/pull/24943",
"diff_url": "https://github.com/huggingface/transformers/pull/24943.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24943.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24942 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24942/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24942/comments | https://api.github.com/repos/huggingface/transformers/issues/24942/events | https://github.com/huggingface/transformers/pull/24942 | 1,813,183,021 | PR_kwDOCUB6oc5V9WCV | 24,942 | Fallback for missing attribute `Parameter.ds_numel` | {
"login": "apoorvkh",
"id": 7005565,
"node_id": "MDQ6VXNlcjcwMDU1NjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7005565?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/apoorvkh",
"html_url": "https://github.com/apoorvkh",
"followers_url": "https://api.github.com/users/apoor... | [] | closed | false | null | [] | [
"Sure -- imo my rewrite was more readable but I guess that's subjective π \r\n\r\nAnyway, I've reverted the other changes and added the fix. Lmk, thanks!",
"> Sure -- imo my rewrite was more readable but I guess that's subjective +1\r\n> \r\n> Anyway, I've reverted the other changes and added the fix. Lmk, thank... | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | #22193 added a parameter count for Deepspeed sharded models (i.e. using the `Parameter` attribute `ds_numel`). However, `Parameter` Tensors don't always have the `ds_numel` attribute (even when the model is sharded with Zero stage 3).
We can see how this is [alternatively handled in Deepspeed](https://github.com/mic... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24942/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24942/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24942",
"html_url": "https://github.com/huggingface/transformers/pull/24942",
"diff_url": "https://github.com/huggingface/transformers/pull/24942.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24942.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24941 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24941/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24941/comments | https://api.github.com/repos/huggingface/transformers/issues/24941/events | https://github.com/huggingface/transformers/pull/24941 | 1,812,945,088 | PR_kwDOCUB6oc5V8i9d | 24,941 | Prevent Dynamo graph fragmentation in GPTNeoX with torch.baddbmm fix | {
"login": "norabelrose",
"id": 39116809,
"node_id": "MDQ6VXNlcjM5MTE2ODA5",
"avatar_url": "https://avatars.githubusercontent.com/u/39116809?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/norabelrose",
"html_url": "https://github.com/norabelrose",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I'm struggling to see what's wrong with my code style since when I run `black` locally it says it's fine.",
"> Hey! Thanks for submitting a PR! You should be using `make style` to properly format the code.\r\n\r\nThis doesn't seem to work for me. `make style` makes a ton of changes to _other_ files that I didn't... | 1,689 | 1,692 | 1,692 | CONTRIBUTOR | null | # What does this PR do?
Fixes #24940.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-request... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24941/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/24941/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24941",
"html_url": "https://github.com/huggingface/transformers/pull/24941",
"diff_url": "https://github.com/huggingface/transformers/pull/24941.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24941.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24940 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24940/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24940/comments | https://api.github.com/repos/huggingface/transformers/issues/24940/events | https://github.com/huggingface/transformers/issues/24940 | 1,812,942,941 | I_kwDOCUB6oc5sD1Bd | 24,940 | TorchDynamo graph needlessly fragmented for GPTNeoX due to baddbmm type mistake | {
"login": "norabelrose",
"id": 39116809,
"node_id": "MDQ6VXNlcjM5MTE2ODA5",
"avatar_url": "https://avatars.githubusercontent.com/u/39116809?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/norabelrose",
"html_url": "https://github.com/norabelrose",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"@fxmarty I think you are more familiar with this topic? If so, could you take a look, thanks!",
"Hi @norabelrose, would you like to submit a PR?",
"> Hi @norabelrose, would you like to submit a PR?\n\nI already did! π See #24941.",
"This issue has been automatically marked as stale because it has not had re... | 1,689 | 1,692 | 1,692 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Linux-5.19.0-42-generic-x86_64-with-glibc2.27
- Python version: 3.10.10
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24940/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24940/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24939 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24939/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24939/comments | https://api.github.com/repos/huggingface/transformers/issues/24939/events | https://github.com/huggingface/transformers/issues/24939 | 1,812,827,119 | I_kwDOCUB6oc5sDYvv | 24,939 | #24028 seems to break the last epoch for a logging integration | {
"login": "franz101",
"id": 18228395,
"node_id": "MDQ6VXNlcjE4MjI4Mzk1",
"avatar_url": "https://avatars.githubusercontent.com/u/18228395?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/franz101",
"html_url": "https://github.com/franz101",
"followers_url": "https://api.github.com/users/fra... | [] | closed | false | null | [] | [
"Reproducible in [this colab example](https://colab.research.google.com/drive/1NObtjxY37VEx2u3SBFDDa_zwTILbX3B2?usp=sharing) currently",
"Found the issue, it seems like the on step end is called only after two data points have been collated."
] | 1,689 | 1,692 | 1,692 | NONE | null | ### System Info
Hey @muellerzr,
thanks for your lightning fast (accelerated) reply ;) regarding #24028, I'm currently debugging what's causing the issue
Setup:
- A custom callback to log embeddings, the data collator in the Trainer is wrapped to extract ids of each sample in a batch
Error:
- The wrapped d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24939/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24939/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24938 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24938/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24938/comments | https://api.github.com/repos/huggingface/transformers/issues/24938/events | https://github.com/huggingface/transformers/issues/24938 | 1,812,804,204 | I_kwDOCUB6oc5sDTJs | 24,938 | Serious issue with `device_map='balanced'` on GPT-2 | {
"login": "eric-mitchell",
"id": 56408839,
"node_id": "MDQ6VXNlcjU2NDA4ODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/56408839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eric-mitchell",
"html_url": "https://github.com/eric-mitchell",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"cc @sgugger (especially the user says `Simply removing the device_map='balanced' argument produces the correct output in all cases`)",
"cc @SunMarc who was investigating the same thing on another (or maybe the same?) model.",
"Hi @eric-mitchell , thanks for reporting. Concerning the warning in `4.31.0`, this i... | 1,689 | 1,695 | 1,695 | NONE | null | ### System Info
- `transformers` version: 4.29.1
- Platform: Linux-5.4.0-153-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24938/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24938/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24937 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24937/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24937/comments | https://api.github.com/repos/huggingface/transformers/issues/24937/events | https://github.com/huggingface/transformers/issues/24937 | 1,812,800,546 | I_kwDOCUB6oc5sDSQi | 24,937 | Support symbolic tracing for NeoX models | {
"login": "norabelrose",
"id": 39116809,
"node_id": "MDQ6VXNlcjM5MTE2ODA5",
"avatar_url": "https://avatars.githubusercontent.com/u/39116809?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/norabelrose",
"html_url": "https://github.com/norabelrose",
"followers_url": "https://api.github.com/... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | open | false | null | [] | [
"Hi @norabelrose \r\n\r\nThat would be very nice if you are able to enable this π€ . Thanks in advance.",
"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 f... | 1,689 | 1,692 | null | CONTRIBUTOR | null | ### Feature request
Currently `transformers.utils.fx.symbolic_trace` fails when passed any NeoX model, and I'd like to fix that:
```
NotImplementedError: Model GPTNeoXForCausalLM is not supported yet, supported models: AlbertForMaskedLM,
AlbertForMultipleChoice, AlbertForPreTraining, AlbertForQuestionAnswering, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24937/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24937/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24936 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24936/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24936/comments | https://api.github.com/repos/huggingface/transformers/issues/24936/events | https://github.com/huggingface/transformers/issues/24936 | 1,812,783,689 | I_kwDOCUB6oc5sDOJJ | 24,936 | Add support for Llama-2-70b-chat-hf in transformers | {
"login": "Daryl149",
"id": 6736668,
"node_id": "MDQ6VXNlcjY3MzY2Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6736668?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Daryl149",
"html_url": "https://github.com/Daryl149",
"followers_url": "https://api.github.com/users/Daryl... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Turns out the model is supported, but has a bug in the `config.json`, see https://github.com/facebookresearch/llama/issues/423\r\nAlso, I am adding a version that works without any manual changes here: https://huggingface.co/daryl149/llama-2-70b-chat-hf"
] | 1,689 | 1,689 | 1,689 | NONE | null | ### Model description
Not sure if it is a bug, or that it is intentionally not supported yet. In either case: there have been 0 confirmations of people being able to successfully run the official **Llama-2-70b-chat-hf** model in transformers.
### Open source status
- [ ] The model implementation is available
- [X] T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24936/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24936/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24935 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24935/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24935/comments | https://api.github.com/repos/huggingface/transformers/issues/24935/events | https://github.com/huggingface/transformers/pull/24935 | 1,812,780,805 | PR_kwDOCUB6oc5V7-dz | 24,935 | fix llama2 chat system prompt | {
"login": "jphme",
"id": 2862336,
"node_id": "MDQ6VXNlcjI4NjIzMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2862336?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jphme",
"html_url": "https://github.com/jphme",
"followers_url": "https://api.github.com/users/jphme/follower... | [] | closed | false | null | [] | [
"> Hey! Thanks for catching this. There seems to be a missing space in our prompt, here: `Youranswers should not include...`.\r\n> \r\n> I can't accept the PR in the current state as the formating is there to comply with our linters. If you can just add the missing space would be great! Thanks for catching this. We... | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
Fixes the Llama 2 System Prompt so its consistent with METAs version.
When testing my finetuning script, I found that the official LLAMA Code and the Huggingface code returned different tokens for the same code, apparently due to different linebreaks.
Code to test:
```python
#from h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24935/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24935/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24935",
"html_url": "https://github.com/huggingface/transformers/pull/24935",
"diff_url": "https://github.com/huggingface/transformers/pull/24935.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24935.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24934 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24934/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24934/comments | https://api.github.com/repos/huggingface/transformers/issues/24934/events | https://github.com/huggingface/transformers/issues/24934 | 1,812,635,816 | I_kwDOCUB6oc5sCqCo | 24,934 | Change package name from "transformers" to something less generic | {
"login": "geajack",
"id": 2124157,
"node_id": "MDQ6VXNlcjIxMjQxNTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2124157?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/geajack",
"html_url": "https://github.com/geajack",
"followers_url": "https://api.github.com/users/geajack/... | [] | closed | false | null | [] | [
"You do realize this would break the existing code of many many people?",
"Yes\r\n\r\nMy theory/suggestion is that HF is still a relatively young library used by a relatively niche community used to having to move in a rapidly developing field (we're not talking about the C standard lib or something), that a lot ... | 1,689 | 1,693 | 1,693 | NONE | null | ### Feature request
I'm repeatedly finding myself in situations where I want to have a package called `datasets.py` or `evaluate.py` in my code and can't because those names are being taken up by Huggingface packages. While I can understand how (even from the user's perspective) it's aesthetically pleasing to have n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24934/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24934/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24933 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24933/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24933/comments | https://api.github.com/repos/huggingface/transformers/issues/24933/events | https://github.com/huggingface/transformers/issues/24933 | 1,812,501,830 | I_kwDOCUB6oc5sCJVG | 24,933 | KeyError: 'input_ids' on Whisper training with include_inputs_for_metrics | {
"login": "dmurillo976s",
"id": 79943298,
"node_id": "MDQ6VXNlcjc5OTQzMjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/79943298?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dmurillo976s",
"html_url": "https://github.com/dmurillo976s",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The `include_inputs_for_metrics=True` feature only supports text models, not other modalities for now.",
"Noted. Thanks for the quick response! I couldn't find anything that suggested so in the docs, so I hope this github issue comes in handy if anyone else tries this. \r\n\r\nI'll go ahead and close the issue."... | 1,689 | 1,702 | 1,689 | NONE | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24933/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24933/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24932 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24932/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24932/comments | https://api.github.com/repos/huggingface/transformers/issues/24932/events | https://github.com/huggingface/transformers/issues/24932 | 1,812,381,133 | I_kwDOCUB6oc5sBr3N | 24,932 | Don't wait for mlflow.log_artifact in Trainer api | {
"login": "avramdj",
"id": 48069158,
"node_id": "MDQ6VXNlcjQ4MDY5MTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/48069158?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avramdj",
"html_url": "https://github.com/avramdj",
"followers_url": "https://api.github.com/users/avramd... | [] | 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... | [
"I think this makes a lot of sense. \r\n\r\nNote that:\r\n\r\n> Integrations with reporting platforms are entirely maintained by the developers of those integrations or the community.\r\n\r\nWould you like to open a PR π€ ?",
"Hi @ydshieh, thank's for the response. \r\n\r\nBefore opening a PR, I'd like to discuss... | 1,689 | 1,693 | 1,693 | NONE | null | ### Feature request
It would be ideal if there was an option to make `transformers.Trainer.train` with `HF_MLFLOW_LOG_ARTIFACTS=1` continue training while a separate process/thread logs the artifacts, so the whole run doesn't hang because of a network bottleneck.
I would be happy to discuss the possibilities and/or... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24932/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24932/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24931 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24931/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24931/comments | https://api.github.com/repos/huggingface/transformers/issues/24931/events | https://github.com/huggingface/transformers/pull/24931 | 1,812,352,338 | PR_kwDOCUB6oc5V6f68 | 24,931 | [doc] `image_processing_vilt.py` wrong default documented | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | Sync the doc with reality.
https://github.com/huggingface/transformers/blob/ee4250a35f3bd5e9a4379b4907b3d8f9d5d9523f/src/transformers/models/vilt/image_processing_vilt.py#L299
https://github.com/huggingface/transformers/blob/ee4250a35f3bd5e9a4379b4907b3d8f9d5d9523f/src/transformers/models/vilt/image_processing_vi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24931/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24931/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24931",
"html_url": "https://github.com/huggingface/transformers/pull/24931",
"diff_url": "https://github.com/huggingface/transformers/pull/24931.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24931.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24930 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24930/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24930/comments | https://api.github.com/repos/huggingface/transformers/issues/24930/events | https://github.com/huggingface/transformers/pull/24930 | 1,812,329,329 | PR_kwDOCUB6oc5V6avK | 24,930 | Fix missing spaces in system prompt of Llama2 tokenizer | {
"login": "chenjoya",
"id": 20626415,
"node_id": "MDQ6VXNlcjIwNjI2NDE1",
"avatar_url": "https://avatars.githubusercontent.com/u/20626415?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chenjoya",
"html_url": "https://github.com/chenjoya",
"followers_url": "https://api.github.com/users/che... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Hey thanks, a similar PR is also #24935. Same comment would apply here, make sure `make style` is green and should be good! ",
"Hi, thank you so much for your help. Seems it still cannot go green. I am not very familiar with it ... Could you give me some guidance? ;)",
"_The documentatio... | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a typo in system prompt of Llama2 tokenizer. There are missing spaces compared to https://github.com/facebookresearch/llama/blob/main/llama/generation.py
Thank you. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24930/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24930/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24930",
"html_url": "https://github.com/huggingface/transformers/pull/24930",
"diff_url": "https://github.com/huggingface/transformers/pull/24930.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24930.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24929 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24929/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24929/comments | https://api.github.com/repos/huggingface/transformers/issues/24929/events | https://github.com/huggingface/transformers/issues/24929 | 1,812,283,672 | I_kwDOCUB6oc5sBUEY | 24,929 | The xformers result can not match with norm attention result | {
"login": "guozhiyao",
"id": 21999339,
"node_id": "MDQ6VXNlcjIxOTk5MzM5",
"avatar_url": "https://avatars.githubusercontent.com/u/21999339?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guozhiyao",
"html_url": "https://github.com/guozhiyao",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"You should use the [forums](https://discuss.huggingface.co/) to help debug your code. It's not really Transformers fault if you can't match the results of a model after changing its implementation π
"
] | 1,689 | 1,689 | 1,689 | NONE | null | ### System Info
Collecting environment information...
PyTorch version: 1.13.0
Is debug build: False
CUDA used to build PyTorch: 11.6
ROCM used to build PyTorch: N/A
OS: Alibaba Group Enterprise Linux Server 7.2 (Paladin) (x86_64)
GCC version: (GCC) 7.5.0
Clang version: Could not collect
CMake version: versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24929/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24929/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24928 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24928/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24928/comments | https://api.github.com/repos/huggingface/transformers/issues/24928/events | https://github.com/huggingface/transformers/pull/24928 | 1,812,188,151 | PR_kwDOCUB6oc5V57qz | 24,928 | Remove `llama2` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24928). All of your documentation changes will be reflected on that endpoint."
] | 1,689 | 1,693 | 1,689 | COLLABORATOR | null | A mistake π
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24928/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24928/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24928",
"html_url": "https://github.com/huggingface/transformers/pull/24928",
"diff_url": "https://github.com/huggingface/transformers/pull/24928.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24928.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24927 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24927/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24927/comments | https://api.github.com/repos/huggingface/transformers/issues/24927/events | https://github.com/huggingface/transformers/pull/24927 | 1,812,166,092 | PR_kwDOCUB6oc5V522f | 24,927 | Allow generic composite models to pass more kwargs | {
"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._",
"Looking at the errors, we probably need to check whether the model has `self.encoder` or `self.model.encoder` ",
"> Looking at the errors, we probably need to check whether the model has `self.encoder` or `self.model.encoder`\r\n\r... | 1,689 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
Generic composite models: `(Text|Vision|Speech)EncoderDecoder`: their `forward` don't have the full info. in their 2 components.
Fix #24919 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24927/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24927/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24927",
"html_url": "https://github.com/huggingface/transformers/pull/24927",
"diff_url": "https://github.com/huggingface/transformers/pull/24927.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24927.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24926 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24926/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24926/comments | https://api.github.com/repos/huggingface/transformers/issues/24926/events | https://github.com/huggingface/transformers/pull/24926 | 1,812,093,640 | PR_kwDOCUB6oc5V5nDy | 24,926 | fix fsdp checkpointing issues | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
1. FSDP loading now return the `load_result` to be given to `_issue_warnings_after_load`. Should be merged after https://github.com/huggingface/accelerate/pull/1745
2. Earlier it was wrongly saving `optimizer.pt` with FSDP, fixed it. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24926/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24926/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24926",
"html_url": "https://github.com/huggingface/transformers/pull/24926",
"diff_url": "https://github.com/huggingface/transformers/pull/24926.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24926.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24925 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24925/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24925/comments | https://api.github.com/repos/huggingface/transformers/issues/24925/events | https://github.com/huggingface/transformers/issues/24925 | 1,812,076,702 | I_kwDOCUB6oc5sAhie | 24,925 | Fully compatible with the open clip Tokeniser | {
"login": "laksjdjf",
"id": 22386664,
"node_id": "MDQ6VXNlcjIyMzg2NjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/22386664?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/laksjdjf",
"html_url": "https://github.com/laksjdjf",
"followers_url": "https://api.github.com/users/lak... | [] | closed | false | null | [] | [
"@patrickvonplaten",
"cc @patil-suraj and @ArthurZucker ",
"Hey, I am not really sure I understand the issue here. The `pad_token_id` is dependent on the `pad_token`. By default the `pad_token` is set to `'!'` which, maps to `0` : `tokenizer.decode(torch.tensor([0]))`, `tokenizer.convert_tokens_to_ids('!')`. If... | 1,689 | 1,693 | 1,693 | NONE | null | ### Feature request
The open clip tokeniser has a ```pad_token_id``` of 0, but this cannot be achieved because ```CLIPTokeniser.__init__()``` cannot set a ```pad_token_id```
### Motivation
Related to https://github.com/huggingface/diffusers/issues/4153
Stable diffusion v2 and XL use the open clip tokeniser. To av... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24925/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/24925/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24924 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24924/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24924/comments | https://api.github.com/repos/huggingface/transformers/issues/24924/events | https://github.com/huggingface/transformers/issues/24924 | 1,812,052,995 | I_kwDOCUB6oc5sAbwD | 24,924 | `VisionTextDualEncoder`: Distributed training is always enabled | {
"login": "phiyodr",
"id": 33572125,
"node_id": "MDQ6VXNlcjMzNTcyMTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/33572125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/phiyodr",
"html_url": "https://github.com/phiyodr",
"followers_url": "https://api.github.com/users/phiyod... | [
{
"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 | {
"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... | [
"How are you launching the training script? Could you share that part?",
"I use the unchanged code from the [example](https://github.com/huggingface/transformers/tree/main/examples/pytorch/contrastive-image-text#train-the-model):\r\n\r\n```\r\npython examples/pytorch/contrastive-image-text/run_clip.py \\\r\n -... | 1,689 | 1,689 | 1,689 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Linux-5.15.0-76-generic-x86_64-with-glibc2.31
- Python version: 3.10.10
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Te... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24924/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24924/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/24923 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24923/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24923/comments | https://api.github.com/repos/huggingface/transformers/issues/24923/events | https://github.com/huggingface/transformers/pull/24923 | 1,812,048,860 | PR_kwDOCUB6oc5V5dPZ | 24,923 | π [i18n-KO] Translated `perf_train_cpu_many.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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,689 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
Translated the `perf_train_cpu_many.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/24923/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24923/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24923",
"html_url": "https://github.com/huggingface/transformers/pull/24923",
"diff_url": "https://github.com/huggingface/transformers/pull/24923.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24923.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24922 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24922/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24922/comments | https://api.github.com/repos/huggingface/transformers/issues/24922/events | https://github.com/huggingface/transformers/pull/24922 | 1,812,020,570 | PR_kwDOCUB6oc5V5W97 | 24,922 | Deprecate unused OpenLlama architecture | {
"login": "tomaarsen",
"id": 37621491,
"node_id": "MDQ6VXNlcjM3NjIxNDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/37621491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomaarsen",
"html_url": "https://github.com/tomaarsen",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> FAILED tests/test_modeling_utils.py::ModelPushToHubTester::test_push_to_hub - huggingface_hub.utils._errors.HfHubHTTPError: 500 Server Error: Internal Server Error for url: https://hub-ci.huggingface.co/api/repos/create\r\n\r\nTest... | 1,689 | 1,689 | 1,689 | MEMBER | null | Hello!
# What does this PR do?
1. Deprecate `OpenLlama` following #24787.
2. Add a disclaimer pointing users to `LLaMA` for the [OpenLLaMA models](https://huggingface.co/models?search=openllama).
3. Resolve a typo in a warning in `check_repo.py`
4. Read modeling files with `encoding="utf8"` in `check_config_attr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24922/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24922/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/24922",
"html_url": "https://github.com/huggingface/transformers/pull/24922",
"diff_url": "https://github.com/huggingface/transformers/pull/24922.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/24922.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/24921 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/24921/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/24921/comments | https://api.github.com/repos/huggingface/transformers/issues/24921/events | https://github.com/huggingface/transformers/issues/24921 | 1,811,996,093 | I_kwDOCUB6oc5sAN29 | 24,921 | error when load model | {
"login": "linhui1020",
"id": 91501054,
"node_id": "MDQ6VXNlcjkxNTAxMDU0",
"avatar_url": "https://avatars.githubusercontent.com/u/91501054?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/linhui1020",
"html_url": "https://github.com/linhui1020",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"You will need to drop that key from your state dict, or use the `save_pretrained` and `from_pretrained` method of the library.",
"I'm having the same issue, except my model is a custom model that includes a transformer model as a part of it so I need to use `torch.load_state_dict` to load the model.\r\n\r\nHere'... | 1,689 | 1,693 | 1,693 | NONE | null | ### System Info
2023-07-19 13:47:33.834732: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
### Who can help?
_No response_
### Information
- [x] The official example scripts
- [ ] My own modified scripts
### Tasks
- [x] An officially supported task in the `examp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/24921/reactions",
"total_count": 5,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/24921/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.