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/28457 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28457/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28457/comments | https://api.github.com/repos/huggingface/transformers/issues/28457/events | https://github.com/huggingface/transformers/pull/28457 | 2,077,277,222 | PR_kwDOCUB6oc5j12zh | 28,457 | Bump jinja2 from 2.11.3 to 3.1.3 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"
},
{
"id": 6410... | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28457). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"FYI @Rocketknight1 if we see failures"
] | 1,704 | 1,705 | 1,705 | CONTRIBUTOR | null | Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.3 to 3.1.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pallets/jinja/releases">jinja2's releases</a>.</em></p>
<blockquote>
<h2>3.1.3</h2>
<p>This is a fix release for the 3.1.x feature branch.</p>
<ul>
<li>Fix fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28457/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28457/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28457",
"html_url": "https://github.com/huggingface/transformers/pull/28457",
"diff_url": "https://github.com/huggingface/transformers/pull/28457.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28457.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28456 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28456/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28456/comments | https://api.github.com/repos/huggingface/transformers/issues/28456/events | https://github.com/huggingface/transformers/issues/28456 | 2,077,240,191 | I_kwDOCUB6oc570Ct_ | 28,456 | Very slow on conditional check of HF tokenizers | {
"login": "pseudotensor",
"id": 2249614,
"node_id": "MDQ6VXNlcjIyNDk2MTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2249614?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pseudotensor",
"html_url": "https://github.com/pseudotensor",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Hey! Thanks for raising this, I have no idea how to fix this 🤣 python is trying to convert the object to a boolean, but I don't know what's happening other than that! 🤗 ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed pl... | 1,704 | 1,708 | 1,708 | NONE | null | ### System Info
transformers==4.36.2
Python 3.10
Ubuntu 20
### Who can help?
@ArthurZucker
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28456/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28456/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28455 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28455/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28455/comments | https://api.github.com/repos/huggingface/transformers/issues/28455/events | https://github.com/huggingface/transformers/pull/28455 | 2,077,174,720 | PR_kwDOCUB6oc5j1f1e | 28,455 | Changed type hinting for attentions | {
"login": "nakranivaibhav",
"id": 67785830,
"node_id": "MDQ6VXNlcjY3Nzg1ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/67785830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nakranivaibhav",
"html_url": "https://github.com/nakranivaibhav",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [] | 1,704 | 1,705 | 1,705 | CONTRIBUTOR | null | Issue No: #28345
# What does this PR do?
Changed type hinting for attentions to 'attentions: Optional[tuple[torch.FloatTensor,...]] = None'
<!--
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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28455/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28455/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28455",
"html_url": "https://github.com/huggingface/transformers/pull/28455",
"diff_url": "https://github.com/huggingface/transformers/pull/28455.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28455.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28454 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28454/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28454/comments | https://api.github.com/repos/huggingface/transformers/issues/28454/events | https://github.com/huggingface/transformers/issues/28454 | 2,077,166,524 | I_kwDOCUB6oc57zwu8 | 28,454 | Generate with Logits Processor not working - even with no modifications to logits | {
"login": "SamSJackson",
"id": 86316114,
"node_id": "MDQ6VXNlcjg2MzE2MTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/86316114?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SamSJackson",
"html_url": "https://github.com/SamSJackson",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I spent far too long on this. I had forgotten to instantiate my custom processor class.",
"Thanks for sharing! 🤗 "
] | 1,704 | 1,705 | 1,704 | NONE | null | ### System Info
- `transformers` version: 4.37.0.dev0
- Platform: Windows-10-10.0.19045-SP0
- Python version: 3.11.5
- Huggingface_hub version: 0.20.2
- Safetensors version: 0.4.0
- Accelerate version: 0.25.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.1 (True)
- Tensorflow version (GPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28454/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28454/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28453 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28453/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28453/comments | https://api.github.com/repos/huggingface/transformers/issues/28453/events | https://github.com/huggingface/transformers/issues/28453 | 2,077,008,882 | I_kwDOCUB6oc57zKPy | 28,453 | Loading safetensor version of mistralai/Mistral-7B-Instruct-v0.1(7b) in Triton Server results in cuda OOM | {
"login": "jimmymanianchira",
"id": 9268915,
"node_id": "MDQ6VXNlcjkyNjg5MTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/9268915?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jimmymanianchira",
"html_url": "https://github.com/jimmymanianchira",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"Thanks for reporting, pinging @Narsil for visibility, do you have any reproducers / examples of inputs that can lead to this? ",
"@jimmymanianchira this is quite unusual as safetensors do not interact with CUDA right @Narsil ? \r\nAre you sure you are using the same transformers version across your tests? How di... | 1,704 | 1,708 | 1,708 | NONE | null | ### System Info
transformers==4.36
Triton Instance - nvcr.io/nvidia/tritonserver:23.09-pyt-python-py3
torch==2.1.2
### Who can help?
We are trying to load and serve [Mistral 7B Instruct v0.1](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1) using Triton Inference server.
We initially was loading the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28453/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28453/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28452 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28452/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28452/comments | https://api.github.com/repos/huggingface/transformers/issues/28452/events | https://github.com/huggingface/transformers/pull/28452 | 2,076,802,059 | PR_kwDOCUB6oc5j0Mjb | 28,452 | Fix docker file | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [] | 1,704 | 1,704 | 1,704 | COLLABORATOR | null | # What does this PR do?
The change in #28400 and #28432 break the docker image build. This PR fixes 2 issues to we can build the image for CI. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28452/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28452/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28452",
"html_url": "https://github.com/huggingface/transformers/pull/28452",
"diff_url": "https://github.com/huggingface/transformers/pull/28452.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28452.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28451 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28451/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28451/comments | https://api.github.com/repos/huggingface/transformers/issues/28451/events | https://github.com/huggingface/transformers/pull/28451 | 2,076,714,857 | PR_kwDOCUB6oc5jz4zg | 28,451 | Fix broken link on page | {
"login": "keenranger",
"id": 18392918,
"node_id": "MDQ6VXNlcjE4MzkyOTE4",
"avatar_url": "https://avatars.githubusercontent.com/u/18392918?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keenranger",
"html_url": "https://github.com/keenranger",
"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_28451). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update."
] | 1,704 | 1,704 | 1,704 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes broken link in documents. see the `Hub` link in [page](https://huggingface.co/docs/transformers/main/en/add_new_pipeline)
<!--
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 tit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28451/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28451/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28451",
"html_url": "https://github.com/huggingface/transformers/pull/28451",
"diff_url": "https://github.com/huggingface/transformers/pull/28451.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28451.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28450 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28450/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28450/comments | https://api.github.com/repos/huggingface/transformers/issues/28450/events | https://github.com/huggingface/transformers/pull/28450 | 2,076,610,815 | PR_kwDOCUB6oc5jzhVb | 28,450 | Fix docstring checker issues with PIL enums | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,704 | 1,704 | 1,704 | MEMBER | null | The docstring checker is called by `make repo-consistency` or `make fix-copies`, but it struggles with enums, and particularly struggles with the `PIL.Resampling` enum, as this moved in PIL 10 and we set some code in `image_utils` to always put it in the same place. This caused issues where, depending on the installed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28450/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28450/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28450",
"html_url": "https://github.com/huggingface/transformers/pull/28450",
"diff_url": "https://github.com/huggingface/transformers/pull/28450.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28450.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28449 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28449/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28449/comments | https://api.github.com/repos/huggingface/transformers/issues/28449/events | https://github.com/huggingface/transformers/issues/28449 | 2,076,606,399 | I_kwDOCUB6oc57xn-_ | 28,449 | Intel/dpt-swinv2: TypeError: unsupported operand type(s) for //: 'NoneType' and 'NoneType' | {
"login": "kadirnar",
"id": 36204372,
"node_id": "MDQ6VXNlcjM2MjA0Mzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/36204372?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kadirnar",
"html_url": "https://github.com/kadirnar",
"followers_url": "https://api.github.com/users/kad... | [] | closed | false | null | [] | [
"This model doesn't work either.\r\n\r\nhttps://huggingface.co/Intel/dpt-beit-base-384",
"cc @NielsRogge as well ",
"Hi,\r\n\r\nLooks like you may need to update your Transformers version. Works for me on main",
"> Hi,\r\n> \r\n> Looks like you may need to update your Transformers version. Works for me on mai... | 1,704 | 1,705 | 1,705 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.35.2
- Platform: Windows-10-10.0.22631-SP0
- Python version: 3.8.18
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: 0.25.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.1+cu118 (True)
- Tensorflow version (GPU?):... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28449/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28449/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28448 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28448/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28448/comments | https://api.github.com/repos/huggingface/transformers/issues/28448/events | https://github.com/huggingface/transformers/issues/28448 | 2,076,593,743 | I_kwDOCUB6oc57xk5P | 28,448 | Interested in YOLOv6 Addition? | {
"login": "SangbumChoi",
"id": 34004152,
"node_id": "MDQ6VXNlcjM0MDA0MTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/34004152?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SangbumChoi",
"html_url": "https://github.com/SangbumChoi",
"followers_url": "https://api.github.com/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hi @SangbumChoi thanks for this amazing draft!\r\n\r\nIs the YOLOv6 model trained from scratch or are you using any pre-trained weights?\r\n\r\nRegarding the design, that looks great already, however we would need to include the preparation of the targets inside the image processor, such that users can pass images... | 1,704 | 1,706 | 1,706 | CONTRIBUTOR | null | ### Model description
Hi, transformers team my question is very simple. Does team is interested in implementing [YOLOv6](https://github.com/meituan/YOLOv6/tree/main)?
I have finished making inference pipeline and working on training pipeline.
https://github.com/SangbumChoi/transformers/tree/yolov6
Currently, i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28448/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28448/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28447 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28447/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28447/comments | https://api.github.com/repos/huggingface/transformers/issues/28447/events | https://github.com/huggingface/transformers/pull/28447 | 2,076,391,809 | PR_kwDOCUB6oc5jywC5 | 28,447 | symbolic_trace: add past_key_values, llama, sdpa support | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28447). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update."
] | 1,704 | 1,705 | 1,705 | COLLABORATOR | null | This PR:
* Allows to use `transformers.utils.fx.symbolic_trace` with `past_key_values` inputs for some architectures (currently opt, llama)
* Adds llama support for symbolic_trace.
* Adds SDPA support for symbolic_trace.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28447/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/28447/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28447",
"html_url": "https://github.com/huggingface/transformers/pull/28447",
"diff_url": "https://github.com/huggingface/transformers/pull/28447.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28447.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28446 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28446/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28446/comments | https://api.github.com/repos/huggingface/transformers/issues/28446/events | https://github.com/huggingface/transformers/issues/28446 | 2,076,195,029 | I_kwDOCUB6oc57wDjV | 28,446 | Failed to import transformers.models.transfo_xl.configuration_transfo_xl | {
"login": "andysingal",
"id": 20493493,
"node_id": "MDQ6VXNlcjIwNDkzNDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/20493493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andysingal",
"html_url": "https://github.com/andysingal",
"followers_url": "https://api.github.com/use... | [] | open | false | null | [] | [
"TransfoXL was deprecated and is now in the legacy folder see `/transformers/src/transformers/models/deprecated/transfo_xl` as it is no longer maintained",
"> TransfoXL was deprecated and is now in the legacy folder see `/transformers/src/transformers/models/deprecated/transfo_xl` as it is no longer maintained\r\... | 1,704 | 1,708 | null | NONE | null | ### System Info
Colab Notebook
### Who can help?
@ArthurZucker @pacman100
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Repro... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28446/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28446/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28445 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28445/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28445/comments | https://api.github.com/repos/huggingface/transformers/issues/28445/events | https://github.com/huggingface/transformers/pull/28445 | 2,076,151,831 | PR_kwDOCUB6oc5jx69l | 28,445 | When using npu to reproduce the training results, `torch.manual_seed` is also needed | {
"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/... | [] | open | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,704 | 1,708 | null | 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/28445/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28445/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28445",
"html_url": "https://github.com/huggingface/transformers/pull/28445",
"diff_url": "https://github.com/huggingface/transformers/pull/28445.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28445.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28444 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28444/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28444/comments | https://api.github.com/repos/huggingface/transformers/issues/28444/events | https://github.com/huggingface/transformers/issues/28444 | 2,076,025,396 | I_kwDOCUB6oc57vaI0 | 28,444 | Attribute Error: 'GenerationConfig' object has no attribute 'lang_to_id' | {
"login": "kimbaang",
"id": 154123661,
"node_id": "U_kgDOCS-9jQ",
"avatar_url": "https://avatars.githubusercontent.com/u/154123661?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kimbaang",
"html_url": "https://github.com/kimbaang",
"followers_url": "https://api.github.com/users/kimbaang/... | [] | closed | false | null | [] | [
"Hey @kimbaang 👋 \r\n\r\nThis issue (https://github.com/huggingface/transformers/issues/25084) seems related -- can you check if the solutions presented there help with your problem? 🤗 ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to ... | 1,704 | 1,708 | 1,708 | NONE | null | ### System Info
- `transformers` version: 4.36.2
- Platform: Linux-5.15.0-91-generic-x86_64-with-glibc2.31
- Python version: 3.11.5
- Huggingface_hub version: 0.20.1
- Safetensors version: 0.4.1
- Accelerate version: 0.25.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distributed_typ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28444/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/28444/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28443 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28443/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28443/comments | https://api.github.com/repos/huggingface/transformers/issues/28443/events | https://github.com/huggingface/transformers/pull/28443 | 2,076,012,129 | PR_kwDOCUB6oc5jxcqZ | 28,443 | Adding [T5/MT5/UMT5]ForTokenClassification | {
"login": "hackyon",
"id": 1557853,
"node_id": "MDQ6VXNlcjE1NTc4NTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1557853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hackyon",
"html_url": "https://github.com/hackyon",
"followers_url": "https://api.github.com/users/hackyon/... | [] | closed | false | null | [] | [
"Thanks @ArthurZucker. \r\n\r\nThe CIs are green now. Please take a look when you get a chance. Thanks!",
"Yes! Will review 🤗 ",
"Just rebasing the changes on top of the latest head",
"Thanks for adding the tests! It seems to have caused you a lot of extra work 😓 so let' s keep it as is. A lot of tests were... | 1,704 | 1,706 | 1,706 | CONTRIBUTOR | null | # What does this PR do?
Adding [T5/MT5/UMT5]ForTokenClassification. See discussion [here](https://github.com/huggingface/transformers/pull/26683#issuecomment-1874899361).
## 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 r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28443/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28443/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28443",
"html_url": "https://github.com/huggingface/transformers/pull/28443",
"diff_url": "https://github.com/huggingface/transformers/pull/28443.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28443.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28442 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28442/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28442/comments | https://api.github.com/repos/huggingface/transformers/issues/28442/events | https://github.com/huggingface/transformers/pull/28442 | 2,075,968,215 | PR_kwDOCUB6oc5jxTKh | 28,442 | Refine xpu device setting | {
"login": "zhuhong61",
"id": 95205772,
"node_id": "U_kgDOBay5jA",
"avatar_url": "https://avatars.githubusercontent.com/u/95205772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhuhong61",
"html_url": "https://github.com/zhuhong61",
"followers_url": "https://api.github.com/users/zhuhong6... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,704 | 1,708 | 1,708 | NONE | null | We'd like to revise some xpu related logic in device settting.
1. For MULTI_XPU case, we should set the device according to local rank, instead of to xpu:0 only.
2. If user set deepspeed config, deepspeed path should be triggered. But current logic will trigger xpu DDP logic not deepspeed. We adjust the order and p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28442/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28442/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28442",
"html_url": "https://github.com/huggingface/transformers/pull/28442",
"diff_url": "https://github.com/huggingface/transformers/pull/28442.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28442.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28441 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28441/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28441/comments | https://api.github.com/repos/huggingface/transformers/issues/28441/events | https://github.com/huggingface/transformers/issues/28441 | 2,075,659,577 | I_kwDOCUB6oc57uA05 | 28,441 | Proposal for Adding a New Scheduler Strategy for Language Model Pretraining | {
"login": "gmftbyGMFTBY",
"id": 27548710,
"node_id": "MDQ6VXNlcjI3NTQ4NzEw",
"avatar_url": "https://avatars.githubusercontent.com/u/27548710?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gmftbyGMFTBY",
"html_url": "https://github.com/gmftbyGMFTBY",
"followers_url": "https://api.github.c... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"Good ISSUE! \r\nSimilar to the `learning_rate_target` in trlx config: https://trlx.readthedocs.io/en/docs/configs.html#trlx.data.configs.TrainConfig\r\n\r\n```\r\nlearning_rate_init (float) – Initial learning rate after ramp up\r\nlearning_rate_target (float) – Target learning rate after decay\r\n```\r\n\r\nNow t... | 1,704 | 1,705 | null | CONTRIBUTOR | null | ### Feature request
We try to propose the addition of a new and widely-adopted scheduler strategy for language model pretraining in the Transformers repository. Upon reviewing the current schedulers available in the [Transformers optimization module](https://github.com/huggingface/transformers/blob/main/src/transforme... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28441/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/28441/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28440 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28440/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28440/comments | https://api.github.com/repos/huggingface/transformers/issues/28440/events | https://github.com/huggingface/transformers/issues/28440 | 2,074,813,346 | I_kwDOCUB6oc57qyOi | 28,440 | Adding mixtral attention_bias in style of llama modeling | {
"login": "Moreh-LeeJunhyeok",
"id": 99154015,
"node_id": "U_kgDOBej4Xw",
"avatar_url": "https://avatars.githubusercontent.com/u/99154015?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Moreh-LeeJunhyeok",
"html_url": "https://github.com/Moreh-LeeJunhyeok",
"followers_url": "https://api.g... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"what is a status of this issue? is this on progress? thanks in advance ",
"Hi @Moreh-LeeJunhyeok, thanks for opening an issue! \r\n\r\nNote - making experiments easier isn't in and of itself enough of a reason to add something to a model. However, as there was the equivalent added to Llama, this seems reasonable... | 1,704 | 1,705 | null | NONE | null | ### Feature request
### System Info
transformers version: 4.36.2
### Who can help?
don't have a clue about this
### Information
Refer to llama2 modeling code, I want to add attention bias option in mixtral model and configuration for flexibility of experiments.
If this changes seems appropriate, I will m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28440/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28440/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28439 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28439/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28439/comments | https://api.github.com/repos/huggingface/transformers/issues/28439/events | https://github.com/huggingface/transformers/pull/28439 | 2,074,806,467 | PR_kwDOCUB6oc5jtUbo | 28,439 | Task-specific pipeline init args | {
"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 | [] | [
"Thanks for this work ! I don't see the PR's documentation though, would be nice to take a look at the rendered stuff.\r\n\r\nAlso would this be interesting @amyeroberts : https://github.com/huggingface/doc-builder/issues/465 ? (I've seen a discrepancy between docstring and typing in safetensors, and thought this m... | 1,704 | 1,706 | 1,706 | COLLABORATOR | null | # What does this PR do?
Related to: https://github.com/huggingface/transformers/pull/28439#issue-2074806467
Adds a function to build the pipelines init arguments based on the processing objects it accepts: tokenizer, image processor, feature extractor.
This replaces `PIPELINE_INIT_ARGS` for the task-specific ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28439/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28439/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28439",
"html_url": "https://github.com/huggingface/transformers/pull/28439",
"diff_url": "https://github.com/huggingface/transformers/pull/28439.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28439.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28438 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28438/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28438/comments | https://api.github.com/repos/huggingface/transformers/issues/28438/events | https://github.com/huggingface/transformers/issues/28438 | 2,074,777,327 | I_kwDOCUB6oc57qpbv | 28,438 | Multi-worker HF training using trainer API in torch-xla result in too many graph compilations after saving checkpoint (transformers>=4.35) | {
"login": "jeffhataws",
"id": 56947987,
"node_id": "MDQ6VXNlcjU2OTQ3OTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/56947987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffhataws",
"html_url": "https://github.com/jeffhataws",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,704 | 1,706 | 1,706 | CONTRIBUTOR | null | ### System Info
transformers>=4.35
Neuron SDK 2.15 with torch-neuronx 1.13
### Who can help?
@muellerz
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28438/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28438/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28437 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28437/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28437/comments | https://api.github.com/repos/huggingface/transformers/issues/28437/events | https://github.com/huggingface/transformers/pull/28437 | 2,074,758,258 | PR_kwDOCUB6oc5jtJze | 28,437 | Fix load correct tokenizer in Mixtral model documentation | {
"login": "JuanFKurucz",
"id": 31422367,
"node_id": "MDQ6VXNlcjMxNDIyMzY3",
"avatar_url": "https://avatars.githubusercontent.com/u/31422367?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JuanFKurucz",
"html_url": "https://github.com/JuanFKurucz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,704 | 1,705 | 1,704 | CONTRIBUTOR | null | # What does this PR do?
There is an incorrect non existent tokenizer linked in the Mixtral documentation. https://huggingface.co/docs/transformers/main/en/model_doc/mixtral#usage-tips
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
##... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28437/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28437/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28437",
"html_url": "https://github.com/huggingface/transformers/pull/28437",
"diff_url": "https://github.com/huggingface/transformers/pull/28437.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28437.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28436 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28436/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28436/comments | https://api.github.com/repos/huggingface/transformers/issues/28436/events | https://github.com/huggingface/transformers/pull/28436 | 2,074,723,389 | PR_kwDOCUB6oc5jtCKF | 28,436 | Add qwen2 | {
"login": "JustinLin610",
"id": 27664428,
"node_id": "MDQ6VXNlcjI3NjY0NDI4",
"avatar_url": "https://avatars.githubusercontent.com/u/27664428?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JustinLin610",
"html_url": "https://github.com/JustinLin610",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Feel free to rebase on main as well if some CIs are unrelated to your PR, and ping me whenever for a final review! 🤗 ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28436). All of your documentation changes will be reflected on that endpoint. The docs are available ... | 1,704 | 1,707 | 1,705 | CONTRIBUTOR | null | # Adding Qwen2
This PR adds the support of codes for the coming Qwen2 models. For information about Qwen, please visit https://github.com/QwenLM/Qwen. @ArthurZucker | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28436/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/28436/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28436",
"html_url": "https://github.com/huggingface/transformers/pull/28436",
"diff_url": "https://github.com/huggingface/transformers/pull/28436.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28436.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28435 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28435/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28435/comments | https://api.github.com/repos/huggingface/transformers/issues/28435/events | https://github.com/huggingface/transformers/issues/28435 | 2,074,690,827 | I_kwDOCUB6oc57qUUL | 28,435 | Skip some weights for load_in_8bit and keep them as fp16/32? | {
"login": "gregor-ge",
"id": 7710563,
"node_id": "MDQ6VXNlcjc3MTA1NjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7710563?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gregor-ge",
"html_url": "https://github.com/gregor-ge",
"followers_url": "https://api.github.com/users/gr... | [] | closed | false | null | [] | [
"Is this what you are looking for:\r\nhttps://github.com/huggingface/transformers/blob/a3b00030c96be4c66e818cf9a22040dbe41006d8/src/transformers/modeling_utils.py#L1165\r\n",
"Not quite, no, but it is similar. `_keep_in_fp32_modules ` is set on the library side (e.g. for the T5 modules) and it also is limited to... | 1,704 | 1,705 | 1,705 | NONE | null | ### Feature request
Hello,
I am looking for a way to load a checkpoint where I only load some of the weights in 8 bit and keep others in 16/32 bit.
### Motivation
My motivation is for vision-language models like Llava or BLIP2 where I want to load the LLM part in 8 bit but the image encoder should stay in 1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28435/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28435/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28434 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28434/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28434/comments | https://api.github.com/repos/huggingface/transformers/issues/28434/events | https://github.com/huggingface/transformers/issues/28434 | 2,074,395,530 | I_kwDOCUB6oc57pMOK | 28,434 | Llama2 inference in bfloat16 | {
"login": "JeevanBhoot",
"id": 64039772,
"node_id": "MDQ6VXNlcjY0MDM5Nzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/64039772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JeevanBhoot",
"html_url": "https://github.com/JeevanBhoot",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @JeevanBhoot \r\nThis is not supported in PyTorch, when passing input_ids they need to stay in `torch.int64`, the only way to run inference in bf16 is the following: \r\n```diff\r\nmodel_path = \"meta-llama/Llama-2-7b-chat-hf\"\r\nmodel = AutoModelForCausalLM.from_pretrained(model_path, device_map=\"auto\", tru... | 1,704 | 1,708 | 1,708 | NONE | null | ### System Info
- `transformers` version: 4.36.2
- Platform: Linux-5.15.0-89-generic-x86_64-with-glibc2.31
- Python version: 3.10.13
- Huggingface_hub version: 0.20.1
- Safetensors version: 0.4.1
- Accelerate version: 0.25.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.2+cu121 (True)
- Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28434/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28434/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28433 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28433/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28433/comments | https://api.github.com/repos/huggingface/transformers/issues/28433/events | https://github.com/huggingface/transformers/pull/28433 | 2,074,298,641 | PR_kwDOCUB6oc5jrky2 | 28,433 | Enable multi-label image classification in pipeline | {
"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 | [] | [
"@Narsil - I've added applying sigmoid function to the model outputs for image classification matching the text classification pipeline, per your [suggestion here](https://github.com/huggingface/huggingface.js/issues/429#issuecomment-1880625080). \r\n\r\nAgree controlling through a config would be a good idea -- i... | 1,704 | 1,704 | 1,704 | COLLABORATOR | null | # What does this PR do?
Enables multilabel image classification in the pipeline and explicity specifying the activation function applied to the model's logits - matching the logic for [text classification pipeline](https://github.com/huggingface/transformers/blob/ffd3710391c0700a3957f0cdf2c99bc5ae966c70/src/transfor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28433/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28433/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28433",
"html_url": "https://github.com/huggingface/transformers/pull/28433",
"diff_url": "https://github.com/huggingface/transformers/pull/28433.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28433.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28432 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28432/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28432/comments | https://api.github.com/repos/huggingface/transformers/issues/28432/events | https://github.com/huggingface/transformers/pull/28432 | 2,074,076,507 | PR_kwDOCUB6oc5jqz3A | 28,432 | CI: limit natten version | {
"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 | [] | [] | 1,704 | 1,704 | 1,704 | MEMBER | null | # What does this PR do?
[natten](https://github.com/SHI-Labs/NATTEN/) has a new release (v0.15.0), breaking our CI. This PR limits its version to the latest working version. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28432/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/28432/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28432",
"html_url": "https://github.com/huggingface/transformers/pull/28432",
"diff_url": "https://github.com/huggingface/transformers/pull/28432.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28432.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28431 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28431/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28431/comments | https://api.github.com/repos/huggingface/transformers/issues/28431/events | https://github.com/huggingface/transformers/pull/28431 | 2,073,804,691 | PR_kwDOCUB6oc5jp4fY | 28,431 | Doc | {
"login": "jiqing-feng",
"id": 107918818,
"node_id": "U_kgDOBm614g",
"avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiqing-feng",
"html_url": "https://github.com/jiqing-feng",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@stevhliu please help review the doc",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28431). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"Hi @stevhliu . Thanks for your advice, I... | 1,704 | 1,704 | 1,704 | CONTRIBUTOR | null | Hi @amyeroberts
We need to update some lib versions for CPU training in the docs, would you please help review it? Thx! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28431/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28431/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28431",
"html_url": "https://github.com/huggingface/transformers/pull/28431",
"diff_url": "https://github.com/huggingface/transformers/pull/28431.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28431.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28430 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28430/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28430/comments | https://api.github.com/repos/huggingface/transformers/issues/28430/events | https://github.com/huggingface/transformers/pull/28430 | 2,073,787,119 | PR_kwDOCUB6oc5jp0rr | 28,430 | Fix number of models in README.md | {
"login": "bayllama",
"id": 142558246,
"node_id": "U_kgDOCH9EJg",
"avatar_url": "https://avatars.githubusercontent.com/u/142558246?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bayllama",
"html_url": "https://github.com/bayllama",
"followers_url": "https://api.github.com/users/bayllama/... | [] | closed | false | null | [] | [] | 1,704 | 1,704 | 1,704 | CONTRIBUTOR | null | # What does this PR do?
This fixes a small typo in the README.md
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28430/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28430/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28430",
"html_url": "https://github.com/huggingface/transformers/pull/28430",
"diff_url": "https://github.com/huggingface/transformers/pull/28430.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28430.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28429 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28429/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28429/comments | https://api.github.com/repos/huggingface/transformers/issues/28429/events | https://github.com/huggingface/transformers/pull/28429 | 2,073,673,605 | PR_kwDOCUB6oc5jpb-B | 28,429 | disable query_length diff on graph model | {
"login": "jiqing-feng",
"id": 107918818,
"node_id": "U_kgDOBm614g",
"avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiqing-feng",
"html_url": "https://github.com/jiqing-feng",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi, I don't think this change should be done. jit traced model still uses SDPA that may dispatch to memory-efficient backend, which requires to have no fully masked rows (see https://github.com/pytorch/pytorch/issues/110213), which is what `_unmask_unattended` avoids. I'd recommend to trace models with `query_leng... | 1,704 | 1,705 | 1,705 | CONTRIBUTOR | null | Hi @fxmarty
In generation tasks, the model will not use `AttentionMaskConverter._unmask_unattended` on the 1st token because no `past_key_values`, but will use it from the 2nd token. It will cause a different implementation while tracing, so we need to disable check `query_length` when using `jit.trace`.
cc @you... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28429/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28429/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28429",
"html_url": "https://github.com/huggingface/transformers/pull/28429",
"diff_url": "https://github.com/huggingface/transformers/pull/28429.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28429.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28428 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28428/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28428/comments | https://api.github.com/repos/huggingface/transformers/issues/28428/events | https://github.com/huggingface/transformers/issues/28428 | 2,073,602,733 | I_kwDOCUB6oc57mKqt | 28,428 | Huggingface endpoint not working | {
"login": "andysingal",
"id": 20493493,
"node_id": "MDQ6VXNlcjIwNDkzNDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/20493493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andysingal",
"html_url": "https://github.com/andysingal",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey, this is not related to `transformers` but the inference API ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](h... | 1,704 | 1,708 | 1,708 | NONE | null | ### System Info
```
2024-01-10 05:12:28.914726: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-01-10 05:12:28.914812: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28428/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28428/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28427 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28427/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28427/comments | https://api.github.com/repos/huggingface/transformers/issues/28427/events | https://github.com/huggingface/transformers/issues/28427 | 2,073,519,255 | I_kwDOCUB6oc57l2SX | 28,427 | RagRetriever download too much data and won't stop | {
"login": "MohammadDara",
"id": 6161219,
"node_id": "MDQ6VXNlcjYxNjEyMTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6161219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MohammadDara",
"html_url": "https://github.com/MohammadDara",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"cc @ydshieh if you can have a look 🤗 ",
"Hi.\r\n\r\nWell , when I tried it on Colab\r\n\r\n> Downloading data: 80% 3.75G/4.69G [01:16<00:22, 41.7MB/s]\r\n\r\nSo it's big `4.69 G` ... On colab, it's fast. In your case, it depends on your network :-)",
"Sorry, your are right, something is wrong! I will check",
... | 1,704 | 1,707 | 1,707 | NONE | null | ### System Info
- `transformers` version: 4.36.2
- Platform: macOS-14.1.1-arm64-arm-64bit
- Python version: 3.10.13
- Huggingface_hub version: 0.20.2
- Safetensors version: 0.4.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.2 (False)
- Tensorflow version (GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28427/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28427/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28425 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28425/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28425/comments | https://api.github.com/repos/huggingface/transformers/issues/28425/events | https://github.com/huggingface/transformers/issues/28425 | 2,073,426,512 | I_kwDOCUB6oc57lfpQ | 28,425 | GQA Llama 13B slower than Llama 13B without GQA | {
"login": "Adonai02",
"id": 70610799,
"node_id": "MDQ6VXNlcjcwNjEwNzk5",
"avatar_url": "https://avatars.githubusercontent.com/u/70610799?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Adonai02",
"html_url": "https://github.com/Adonai02",
"followers_url": "https://api.github.com/users/Ado... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"That would be nice but a bit outside the scope of transformers! Would be nice if you have a working example! \r\nWhat I recommend is to register a load_state_dict hook that converts the checkpoints on the fly. \r\nThe benchmark should run on different num kv heads as some shapes might be less optimal ? That would ... | 1,704 | 1,705 | null | NONE | null | ### Feature request
It would be nice if when I choose different key_value_heads (key_value_heads < attention_heads) on config's model, automatically the attn weights were computed by mean pooling. Right now, if I do this, it gives me the next error.
key_value_heads = 4
<img width="916" alt="image" src="https:/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28425/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28425/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28424 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28424/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28424/comments | https://api.github.com/repos/huggingface/transformers/issues/28424/events | https://github.com/huggingface/transformers/pull/28424 | 2,073,406,278 | PR_kwDOCUB6oc5joi7U | 28,424 | Solve: Inconsistent decoding with additional special tokens between slow and fast tokenizers. | {
"login": "hi-sushanta",
"id": 93595990,
"node_id": "U_kgDOBZQpVg",
"avatar_url": "https://avatars.githubusercontent.com/u/93595990?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hi-sushanta",
"html_url": "https://github.com/hi-sushanta",
"followers_url": "https://api.github.com/users/hi... | [] | open | false | null | [] | [
"Would you be able to check my solution?",
"I don't understand why this error occurs, but my code does the same work to define the issue section.",
"@hi-sushanta To figure out the errors, you'll need to look at the CI runs and debug locally so that the currently failing tests pass. For the quality checks, you'l... | 1,704 | 1,707 | null | CONTRIBUTOR | null | With this pull request, I have endeavored to remedy a minor decoding issue. If any problems remain with my proposed solution, I welcome your thoughtful feedback and suggestions for improvement.
Fixes #28287
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28424/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28424/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28424",
"html_url": "https://github.com/huggingface/transformers/pull/28424",
"diff_url": "https://github.com/huggingface/transformers/pull/28424.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28424.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28423 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28423/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28423/comments | https://api.github.com/repos/huggingface/transformers/issues/28423/events | https://github.com/huggingface/transformers/pull/28423 | 2,073,383,421 | PR_kwDOCUB6oc5joeCJ | 28,423 | Fix paths to AI Sweden Models reference and model loading | {
"login": "JuanFKurucz",
"id": 31422367,
"node_id": "MDQ6VXNlcjMxNDIyMzY3",
"avatar_url": "https://avatars.githubusercontent.com/u/31422367?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JuanFKurucz",
"html_url": "https://github.com/JuanFKurucz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,704 | 1,705 | 1,705 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the paths to the correct models of AI Sweden Models, as they migrated their models to a different account https://huggingface.co/AI-Sweden-Models.
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28423/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28423/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28423",
"html_url": "https://github.com/huggingface/transformers/pull/28423",
"diff_url": "https://github.com/huggingface/transformers/pull/28423.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28423.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28422 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28422/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28422/comments | https://api.github.com/repos/huggingface/transformers/issues/28422/events | https://github.com/huggingface/transformers/pull/28422 | 2,073,334,024 | PR_kwDOCUB6oc5joTUU | 28,422 | Set `cache_dir` for `evaluate.load()` in example scripts | {
"login": "aphedges",
"id": 14283972,
"node_id": "MDQ6VXNlcjE0MjgzOTcy",
"avatar_url": "https://avatars.githubusercontent.com/u/14283972?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aphedges",
"html_url": "https://github.com/aphedges",
"followers_url": "https://api.github.com/users/aph... | [] | closed | false | null | [] | [
"I would appreciate if you could make sure to preserve my commit message (with any needed changes) when merging so it ends up in the Git log."
] | 1,704 | 1,704 | 1,704 | CONTRIBUTOR | null | # What does this PR do?
While using `run_clm.py`,[^1] I noticed that some files were being added to my global cache, not the local cache. I set the `cache_dir` parameter for the one call to `evaluate.load()`, which partially solved the problem. I figured that while I was fixing the one script upstream, I might as we... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28422/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28422/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28422",
"html_url": "https://github.com/huggingface/transformers/pull/28422",
"diff_url": "https://github.com/huggingface/transformers/pull/28422.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28422.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28421 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28421/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28421/comments | https://api.github.com/repos/huggingface/transformers/issues/28421/events | https://github.com/huggingface/transformers/pull/28421 | 2,073,059,648 | PR_kwDOCUB6oc5jnXEa | 28,421 | Skip now failing test in the Trainer tests | {
"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 | [] | [] | 1,704 | 1,704 | 1,704 | CONTRIBUTOR | null | # What does this PR do?
https://github.com/huggingface/accelerate/pull/2319 introduced a revert on the DataLoader sampling logic to *not* use a SeedableRandomSampler by default as users were taken aback by the performance differences, so we've set it to `False` by default. This test is now back to its old way, where... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28421/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28421/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28421",
"html_url": "https://github.com/huggingface/transformers/pull/28421",
"diff_url": "https://github.com/huggingface/transformers/pull/28421.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28421.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28420 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28420/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28420/comments | https://api.github.com/repos/huggingface/transformers/issues/28420/events | https://github.com/huggingface/transformers/pull/28420 | 2,072,866,425 | PR_kwDOCUB6oc5jmscR | 28,420 | Optionally preprocess segmentation maps for MobileViT | {
"login": "harisankar95",
"id": 58052269,
"node_id": "MDQ6VXNlcjU4MDUyMjY5",
"avatar_url": "https://avatars.githubusercontent.com/u/58052269?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harisankar95",
"html_url": "https://github.com/harisankar95",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"@amyeroberts Can you please review the PR? MobileViT image preprocessor is updated to accept segmentation maps inline to other preprocessors for segmentation models like that of Segformer. ",
"I have corrected the error in the tests_torch. I will wait for the https://github.com/huggingface/transformers/pull/28... | 1,704 | 1,704 | 1,704 | CONTRIBUTOR | null | # What does this PR do?
- Preprocessor can now accept segmentations maps as well and performs augmentations inline to input images.
- Tests added for preprocessing segmentation masks.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28420/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28420/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28420",
"html_url": "https://github.com/huggingface/transformers/pull/28420",
"diff_url": "https://github.com/huggingface/transformers/pull/28420.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28420.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28419 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28419/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28419/comments | https://api.github.com/repos/huggingface/transformers/issues/28419/events | https://github.com/huggingface/transformers/pull/28419 | 2,072,771,476 | PR_kwDOCUB6oc5jmXeF | 28,419 | Correctly resolve trust_remote_code=None for AutoTokenizer | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28419). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"I tried, but I couldn't figure out a way to test it, and I don't think the previou... | 1,704 | 1,704 | 1,704 | MEMBER | null | If `trust_remote_code` is left at the default `None` in `AutoTokenizer.from_pretrained()`, an error is thrown if you try to load a repo that requires remote code, rather than the correct dialog box being displayed. This PR fixes that issue. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28419/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28419/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28419",
"html_url": "https://github.com/huggingface/transformers/pull/28419",
"diff_url": "https://github.com/huggingface/transformers/pull/28419.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28419.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28418 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28418/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28418/comments | https://api.github.com/repos/huggingface/transformers/issues/28418/events | https://github.com/huggingface/transformers/pull/28418 | 2,072,765,682 | PR_kwDOCUB6oc5jmWNX | 28,418 | [i18n-fr] Translate accelerate tutorial to French | {
"login": "NoB0",
"id": 28621493,
"node_id": "MDQ6VXNlcjI4NjIxNDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/28621493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NoB0",
"html_url": "https://github.com/NoB0",
"followers_url": "https://api.github.com/users/NoB0/followers"... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28418). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"This issue has been automatically marked as stale because it has not had recent ac... | 1,704 | 1,708 | 1,708 | CONTRIBUTOR | null | # What does this PR do?
Translates the `accelerate.md` file of the documentation to French.
Part of #21456
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28418/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28418/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28418",
"html_url": "https://github.com/huggingface/transformers/pull/28418",
"diff_url": "https://github.com/huggingface/transformers/pull/28418.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28418.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28417 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28417/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28417/comments | https://api.github.com/repos/huggingface/transformers/issues/28417/events | https://github.com/huggingface/transformers/pull/28417 | 2,072,687,874 | PR_kwDOCUB6oc5jmE_k | 28,417 | Bump fonttools from 4.31.1 to 4.43.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"
},
{
"id": 6410... | closed | false | null | [] | [] | 1,704 | 1,704 | 1,704 | CONTRIBUTOR | null | Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.31.1 to 4.43.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/fonttools/fonttools/releases">fonttools's releases</a>.</em></p>
<blockquote>
<h2>4.43.0</h2>
<ul>
<li>[subset] Set up lxml <code>XMLParser(resolve_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28417/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28417/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28417",
"html_url": "https://github.com/huggingface/transformers/pull/28417",
"diff_url": "https://github.com/huggingface/transformers/pull/28417.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28417.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28416 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28416/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28416/comments | https://api.github.com/repos/huggingface/transformers/issues/28416/events | https://github.com/huggingface/transformers/issues/28416 | 2,072,663,931 | I_kwDOCUB6oc57ild7 | 28,416 | Loading Phi 1.5 model from the hub gives warning that model is uninitialized | {
"login": "gabeorlanski",
"id": 18234433,
"node_id": "MDQ6VXNlcjE4MjM0NDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/18234433?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gabeorlanski",
"html_url": "https://github.com/gabeorlanski",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"From the [model card](https://huggingface.co/microsoft/phi-2):\r\n> If you are using transformers>=4.36.0, always load the model with trust_remote_code=True to prevent side-effects.\r\n\r\nYou'll find a few examples on how to load the model there. The following should work:\r\n```python\r\nfrom transformers import... | 1,704 | 1,705 | 1,705 | NONE | null | ### System Info
- `transformers` version: 4.36.2
- Platform: Linux-5.15.0-91-generic-x86_64-with-glibc2.35
- Python version: 3.10.13
- Huggingface_hub version: 0.20.1
- Safetensors version: 0.4.1
- Accelerate version: 0.25.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distributed_ty... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28416/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28416/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28415 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28415/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28415/comments | https://api.github.com/repos/huggingface/transformers/issues/28415/events | https://github.com/huggingface/transformers/issues/28415 | 2,072,579,042 | I_kwDOCUB6oc57iQvi | 28,415 | Can not load model after finetuning PHI2 model | {
"login": "zhangmiaosen2000",
"id": 59921236,
"node_id": "MDQ6VXNlcjU5OTIxMjM2",
"avatar_url": "https://avatars.githubusercontent.com/u/59921236?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhangmiaosen2000",
"html_url": "https://github.com/zhangmiaosen2000",
"followers_url": "https://... | [] | open | false | null | [] | [
"Running into the exact same issue after fine-tuning with embedding reshaped ",
"> But when I try to use this code to load finetuned model:\r\n\r\nI assume that the error appears when you try to merge the adapter and the base model. The problem is that phi-2 expects the vocab_size to be a multiple of 64 (see [con... | 1,704 | 1,706 | null | NONE | null | ### System Info
Here is my code in finetuning PHI-2 model
```
model = transformers.AutoModelForCausalLM.from_pretrained("microsoft/phi-2", torch_dtype="auto", flash_attn=True, flash_rotary=True, fused_dense=True, trust_remote_code=True)
tokenizer = transformers.AutoTokenizer.from_pretrained(
"microsoft/phi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28415/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28415/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28414 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28414/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28414/comments | https://api.github.com/repos/huggingface/transformers/issues/28414/events | https://github.com/huggingface/transformers/pull/28414 | 2,072,545,115 | PR_kwDOCUB6oc5jlleD | 28,414 | Fix mismatching loading in from_pretrained with/without accelerate | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28414). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"@fxmarty Could you add a test that passes with these changes? ",
"@amyeroberts s... | 1,704 | 1,706 | 1,705 | COLLABORATOR | null | It appears that passing a `device_map` may result in some parameters being not contiguous in the loaded model, which is not the case when loading a model without a `device_map`.
See for instance:
```python
from transformers import OwlViTProcessor, OwlViTForObjectDetection
model = OwlViTForObjectDetection.from... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28414/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28414/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28414",
"html_url": "https://github.com/huggingface/transformers/pull/28414",
"diff_url": "https://github.com/huggingface/transformers/pull/28414.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28414.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28413 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28413/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28413/comments | https://api.github.com/repos/huggingface/transformers/issues/28413/events | https://github.com/huggingface/transformers/issues/28413 | 2,072,410,625 | I_kwDOCUB6oc57hnoB | 28,413 | CausalLMOutputWithPast does not output hidden states | {
"login": "Tiziano41",
"id": 156085316,
"node_id": "U_kgDOCU2sRA",
"avatar_url": "https://avatars.githubusercontent.com/u/156085316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tiziano41",
"html_url": "https://github.com/Tiziano41",
"followers_url": "https://api.github.com/users/Tizian... | [] | closed | false | null | [] | [
"Hi @Tiziano41 \r\nThanks for the issue! It seems you are using the `trust_remote_code=True` model, therefore the bug should be on their end. Would you mind opening a similar issue on the original repository on 🤗 Hub? https://huggingface.co/microsoft/phi-2 ",
"Alternatively you can use the HF version of Phi-2 (... | 1,704 | 1,708 | 1,708 | NONE | null | ### System Info
sentence-transformers 2.2.2
transformers 4.31.0
numpy 1.19
### Who can help?
@ArthurZucker @younesbelkada
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially suppor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28413/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28413/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28412 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28412/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28412/comments | https://api.github.com/repos/huggingface/transformers/issues/28412/events | https://github.com/huggingface/transformers/issues/28412 | 2,072,311,882 | I_kwDOCUB6oc57hPhK | 28,412 | TGI Support for Mixtral AWQ | {
"login": "RonanKMcGovern",
"id": 78278410,
"node_id": "MDQ6VXNlcjc4Mjc4NDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/78278410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RonanKMcGovern",
"html_url": "https://github.com/RonanKMcGovern",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Sorry, should have been posted in text-generation inference.\r\n\r\nAlso, TGI does work with AWQ. It's just that it doesn't work - at the time of writing with TheBloke's quant. See details [here](https://huggingface.co/TheBloke/Mixtral-8x7B-Instruct-v0.1-AWQ/discussions/1)."
] | 1,704 | 1,704 | 1,704 | NONE | null | ### Feature request
Currently, TGI seems to be able to load Mixtral AWQ models. However, the responses returned are blank.
### Motivation
It's possible to inference a Mixtral model from 16 bit weights (incl. with eetq if desired) but the downloading of weights is buggy and slow see [here](https://github.com/huggingf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28412/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/28412/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28411 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28411/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28411/comments | https://api.github.com/repos/huggingface/transformers/issues/28411/events | https://github.com/huggingface/transformers/issues/28411 | 2,072,297,197 | I_kwDOCUB6oc57hL7t | 28,411 | Indicies element out of bounds from inclusive range | {
"login": "nogifeet",
"id": 72322393,
"node_id": "MDQ6VXNlcjcyMzIyMzkz",
"avatar_url": "https://avatars.githubusercontent.com/u/72322393?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nogifeet",
"html_url": "https://github.com/nogifeet",
"followers_url": "https://api.github.com/users/nog... | [] | closed | false | null | [] | [
"Hey! THanks for opening an issue, but without an isolated reproducible snippet + a traceback that shows this is an issue from transfromers I am not sure how we can help! 🤗 "
] | 1,704 | 1,704 | 1,704 | NONE | null | ### System Info
Hello, we are using the TR-OCR model exported to Onnx. We notice a problem with the large checkpoints for both printed and handwritten; when we run inference using the onnxruntime java library.
Dataset: IAM handwritten (Lines)
Different behaviours are observed on CPU and GPU:
CPU: (we might... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28411/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28411/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28410 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28410/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28410/comments | https://api.github.com/repos/huggingface/transformers/issues/28410/events | https://github.com/huggingface/transformers/issues/28410 | 2,072,135,788 | I_kwDOCUB6oc57gkhs | 28,410 | Query on Llama2 Tokenizer Behavior During Causal LM Instruction Tuning | {
"login": "Hannibal046",
"id": 38466901,
"node_id": "MDQ6VXNlcjM4NDY2OTAx",
"avatar_url": "https://avatars.githubusercontent.com/u/38466901?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hannibal046",
"html_url": "https://github.com/Hannibal046",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This behavior can be changed by the `add_bos_token` attribute. something like `tokenizer = LlamaTokenizer.from_pretrained(\"meta-llama/Llama-2-7b\", add_bos_token = False)` to de-activate the addition of the token. \r\nALso `tokenizer(..., add_special_tokens = False)` de activates this as well\r\n",
"Hi, thanks ... | 1,704 | 1,705 | 1,705 | NONE | null | ### System Info
- `transformers` version: 4.36.2
- Platform: Linux-5.15.0-1050-azure-x86_64-with-glibc2.17
- Python version: 3.8.18
- Huggingface_hub version: 0.20.1
- Safetensors version: 0.4.1
- Accelerate version: 0.25.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.2+cu121 (True)
- Tensor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28410/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28410/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28409 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28409/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28409/comments | https://api.github.com/repos/huggingface/transformers/issues/28409/events | https://github.com/huggingface/transformers/issues/28409 | 2,072,073,395 | I_kwDOCUB6oc57gVSz | 28,409 | Add FlashAttention-2 support for Mask2Former model | {
"login": "DanieleVeri",
"id": 20779433,
"node_id": "MDQ6VXNlcjIwNzc5NDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/20779433?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DanieleVeri",
"html_url": "https://github.com/DanieleVeri",
"followers_url": "https://api.github.com/... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [] | 1,704 | 1,704 | null | NONE | null | ### Feature request
Is it possible to add FlashAttention-2 support to the Mask2Former model?
### Motivation
Since it is already availble for ViT, it would be great to have it on Mask2Former too.
Maybe the additional input masks to the decoder layer represent a major challenge?
### Your contribution
I... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28409/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28409/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28408 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28408/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28408/comments | https://api.github.com/repos/huggingface/transformers/issues/28408/events | https://github.com/huggingface/transformers/pull/28408 | 2,072,032,542 | PR_kwDOCUB6oc5jj1Pc | 28,408 | Remove `task` arg in `load_dataset` in image-classification example | {
"login": "regisss",
"id": 15324346,
"node_id": "MDQ6VXNlcjE1MzI0MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/regisss",
"html_url": "https://github.com/regisss",
"followers_url": "https://api.github.com/users/regiss... | [] | closed | false | null | [] | [
"Related to this PR, I opened an issue in `datasets` to improve the user experience when using `DatasetDict.column_names`:\r\n- https://github.com/huggingface/datasets/issues/6571",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28408). All of your documentation changes... | 1,704 | 1,705 | 1,705 | 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/28408/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/28408/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28408",
"html_url": "https://github.com/huggingface/transformers/pull/28408",
"diff_url": "https://github.com/huggingface/transformers/pull/28408.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28408.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28407 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28407/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28407/comments | https://api.github.com/repos/huggingface/transformers/issues/28407/events | https://github.com/huggingface/transformers/pull/28407 | 2,071,993,801 | PR_kwDOCUB6oc5jjs9c | 28,407 | [Whisper] Fix slow test | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"ah, you are too fast. See this comment \r\n\r\nhttps://github.com/huggingface/transformers/pull/28400#discussion_r1445856908\r\n\r\nin short: `mozilla-foundation/common_voice_11_0` doesn't require token if this works for you",
"> mozilla-foundation/common_voice_11_0\r\n\r\nThe problem with CV 11.0 is that the ex... | 1,704 | 1,704 | 1,704 | MEMBER | null | # What does this PR do?
This PR fixes a slow test for Whisper that doesn't work anymore because it's using a deprecated dataset. For this slow test to pass, we will need the CI to have access to a security token (cc @ydshieh) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28407/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28407/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28407",
"html_url": "https://github.com/huggingface/transformers/pull/28407",
"diff_url": "https://github.com/huggingface/transformers/pull/28407.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28407.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28406 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28406/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28406/comments | https://api.github.com/repos/huggingface/transformers/issues/28406/events | https://github.com/huggingface/transformers/pull/28406 | 2,071,931,777 | PR_kwDOCUB6oc5jjfiz | 28,406 | Fix auxiliary loss related code in transformers | {
"login": "SangbumChoi",
"id": 34004152,
"node_id": "MDQ6VXNlcjM0MDA0MTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/34004152?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SangbumChoi",
"html_url": "https://github.com/SangbumChoi",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"```\r\n- conditional_detr\r\n \r\n root@0a2b4fe54761:/mnt/nas2/users/sbchoi/transformers# RUN_SLOW=1 pytest tests/models/conditional_detr/\r\n ================================================================= test session starts ==================================================================\r\n pla... | 1,704 | 1,705 | 1,705 | 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/28406/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28406/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28406",
"html_url": "https://github.com/huggingface/transformers/pull/28406",
"diff_url": "https://github.com/huggingface/transformers/pull/28406.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28406.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28405 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28405/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28405/comments | https://api.github.com/repos/huggingface/transformers/issues/28405/events | https://github.com/huggingface/transformers/pull/28405 | 2,071,834,084 | PR_kwDOCUB6oc5jjKkH | 28,405 | [`core`/ FEAT] Add the possibility to push custom tags using `PreTrainedModel` itself | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28405). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"I made some modification after some offline discussion, an exmaple model pushed ca... | 1,704 | 1,705 | 1,705 | CONTRIBUTOR | null | # What does this PR do?
From an idea we discussed internally. This PR introduces a new API to inject custom tags in the model card
From a community perspective it will make easier to push custom tags as for now it is only limited to trainers.
Below I demonstrate the simplicity of the API
```python
from tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28405/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/28405/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28405",
"html_url": "https://github.com/huggingface/transformers/pull/28405",
"diff_url": "https://github.com/huggingface/transformers/pull/28405.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28405.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28404 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28404/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28404/comments | https://api.github.com/repos/huggingface/transformers/issues/28404/events | https://github.com/huggingface/transformers/issues/28404 | 2,071,685,145 | I_kwDOCUB6oc57e2gZ | 28,404 | How the new version of transformers uses the author's LLaVA weights? | {
"login": "koking0",
"id": 45281765,
"node_id": "MDQ6VXNlcjQ1MjgxNzY1",
"avatar_url": "https://avatars.githubusercontent.com/u/45281765?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/koking0",
"html_url": "https://github.com/koking0",
"followers_url": "https://api.github.com/users/koking... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nBoth should be equal (cc @younesbelkada).\r\n\r\nWhich difference are you seeing?",
"I used the above code, and the initial error was that the preprocessor_config.json file was missing. \r\n\r\nI found that there was indeed no such file in https://huggingface.co/liuhaotian/llava-v1.5-7b/tree/main, so ... | 1,704 | 1,704 | 1,704 | NONE | null | I am very excited that the LLaVA model has been added to transformers-4.36. I noticed that the LLaVA model of transformers seems to be different from the LLaVA author's model.
LLaVA model of transformers: [https://huggingface.co/llava-hf/llava-1.5-7b-hf](https://huggingface.co/llava-hf/llava-1.5-7b-hf)
LLaVA author... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28404/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28404/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28403 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28403/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28403/comments | https://api.github.com/repos/huggingface/transformers/issues/28403/events | https://github.com/huggingface/transformers/pull/28403 | 2,071,661,787 | PR_kwDOCUB6oc5jilIT | 28,403 | Update Mixtral modeling | {
"login": "imoneoi",
"id": 26354659,
"node_id": "MDQ6VXNlcjI2MzU0NjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/26354659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/imoneoi",
"html_url": "https://github.com/imoneoi",
"followers_url": "https://api.github.com/users/imoneo... | [] | closed | false | null | [] | [
"It worries me a little bit that Mistral has different implementations for this specific process in the model.\r\n\r\nThey submitted a PR to vLLM which is aligned with the current Huggingface implementation:\r\n\r\nhttps://github.com/mistralai/vllm-release/commit/3e21dacb79471ebf946e72e67a5ca14ebcc598c1#diff-74473e... | 1,704 | 1,708 | 1,708 | NONE | null | # What does this PR do?
The [Mixtral technical report](https://arxiv.org/pdf/2401.04088.pdf) was published recently, showing that Mixtral routing weights are calculated in the top-K before softmax order.
This PR updates the Mixtral model implementation accordingly.
## Before submitting
- [ ] This PR fixes a t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28403/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/28403/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28403",
"html_url": "https://github.com/huggingface/transformers/pull/28403",
"diff_url": "https://github.com/huggingface/transformers/pull/28403.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28403.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28402 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28402/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28402/comments | https://api.github.com/repos/huggingface/transformers/issues/28402/events | https://github.com/huggingface/transformers/issues/28402 | 2,071,573,060 | I_kwDOCUB6oc57ebJE | 28,402 | google / flan-t5-xxl introduces different result to inference API | {
"login": "YJYJLee",
"id": 28900943,
"node_id": "MDQ6VXNlcjI4OTAwOTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/28900943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YJYJLee",
"html_url": "https://github.com/YJYJLee",
"followers_url": "https://api.github.com/users/YJYJLe... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThis is because the inference API uses greedy decoding by default, whereas you are using beam search (as you are providing `num_beams=5` to the generate method). One would need to use the same generation parameters as [the ones used by the inference API](https://huggingface.co/docs/api-inference/detaile... | 1,704 | 1,708 | 1,708 | NONE | null | ### System Info
- `transformers` version: 4.37.0.dev0
- Platform: Linux-5.15.0-1048-aws-x86_64-with-glibc2.10
- Python version: 3.8.18
- Huggingface_hub version: 0.20.2
- Safetensors version: 0.4.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.3.0.dev20240104+cu1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28402/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28402/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28401 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28401/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28401/comments | https://api.github.com/repos/huggingface/transformers/issues/28401/events | https://github.com/huggingface/transformers/pull/28401 | 2,071,287,937 | PR_kwDOCUB6oc5jhU5l | 28,401 | dummy test; not for merge | {
"login": "weimingzha0",
"id": 38259546,
"node_id": "MDQ6VXNlcjM4MjU5NTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/38259546?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/weimingzha0",
"html_url": "https://github.com/weimingzha0",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,704 | 1,704 | 1,704 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28401/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28401/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28401",
"html_url": "https://github.com/huggingface/transformers/pull/28401",
"diff_url": "https://github.com/huggingface/transformers/pull/28401.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28401.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28400 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28400/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28400/comments | https://api.github.com/repos/huggingface/transformers/issues/28400/events | https://github.com/huggingface/transformers/pull/28400 | 2,071,001,586 | PR_kwDOCUB6oc5jgV8q | 28,400 | [SDPA] Make sure attn mask creation is always done on CPU | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"@ydshieh Also I don't fully understand why we use the `huggingface/transformers-pytorch-gpu` Docker image for the Pipeline tests here https://github.com/huggingface/transformers/blob/3b742ea84cfc32432d60c0b65c886576ef736833/.github/workflows/self-scheduled.yml#L248 , \r\nbut we use the `huggingface/transformers-al... | 1,704 | 1,704 | 1,704 | MEMBER | null | # What does this PR do?
Many SDPA tests currently fail. E.g. when running:
```
CUDA_VISIBLE_DEVICES="1" RUN_SLOW=1 pytest tests/models/whisper/test_modeling_whisper.py::WhisperStandaloneDecoderModelTest::test_eager_matches_sdpa_inference_0_float16 -sv
```
We get the following error message:
```
> range... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28400/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28400/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28400",
"html_url": "https://github.com/huggingface/transformers/pull/28400",
"diff_url": "https://github.com/huggingface/transformers/pull/28400.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28400.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28399 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28399/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28399/comments | https://api.github.com/repos/huggingface/transformers/issues/28399/events | https://github.com/huggingface/transformers/pull/28399 | 2,070,868,093 | PR_kwDOCUB6oc5jf46J | 28,399 | Use py310 for docbuild | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [] | 1,704 | 1,704 | 1,704 | COLLABORATOR | null | # What does this PR do?
Use py310 for docbuild | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28399/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28399/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28399",
"html_url": "https://github.com/huggingface/transformers/pull/28399",
"diff_url": "https://github.com/huggingface/transformers/pull/28399.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28399.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28398 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28398/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28398/comments | https://api.github.com/repos/huggingface/transformers/issues/28398/events | https://github.com/huggingface/transformers/pull/28398 | 2,070,826,243 | PR_kwDOCUB6oc5jfvpS | 28,398 | Update metadata loading for oneformer | {
"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 | [] | [] | 1,704 | 1,705 | 1,705 | COLLABORATOR | null | # What does this PR do?
Previously, the loading of the metadata file for oneformer was effectively hardcoded to download a file from the hub. This PR updates the `prepare_metadata` method to allow for loading of local files as well as model repos.
```py
from transformers import OneformerImageProcessor
image_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28398/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/28398/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28398",
"html_url": "https://github.com/huggingface/transformers/pull/28398",
"diff_url": "https://github.com/huggingface/transformers/pull/28398.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28398.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28397 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28397/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28397/comments | https://api.github.com/repos/huggingface/transformers/issues/28397/events | https://github.com/huggingface/transformers/issues/28397 | 2,070,801,692 | I_kwDOCUB6oc57be0c | 28,397 | Seamless M4T-v2 Inference bug when using chunk_length_s parameter | {
"login": "asusdisciple",
"id": 138434950,
"node_id": "U_kgDOCEBZhg",
"avatar_url": "https://avatars.githubusercontent.com/u/138434950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asusdisciple",
"html_url": "https://github.com/asusdisciple",
"followers_url": "https://api.github.com/use... | [] | open | false | null | [] | [
"cc @ylacombe ",
"Hey @asusdisciple, thanks for opening this issue. I'll look into it, but first, could you send a snippet which show how you use the pipeline ?",
"Sure. Here is how I initialize the pipeline:\r\n```\r\n\r\nobj = pipeline(task=\"automatic-speech-recognition\",\r\n model=\"facebook/... | 1,704 | 1,706 | null | NONE | null | ### System Info
Ubuntu 22
Python 3.12
Latest Transformers
### Who can help?
@Narsil
@SunMarc
### 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 det... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28397/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28397/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28396 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28396/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28396/comments | https://api.github.com/repos/huggingface/transformers/issues/28396/events | https://github.com/huggingface/transformers/issues/28396 | 2,070,736,295 | I_kwDOCUB6oc57bO2n | 28,396 | Llama 2 Transfomers Neuron X issue | {
"login": "liechtym",
"id": 7433062,
"node_id": "MDQ6VXNlcjc0MzMwNjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/7433062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liechtym",
"html_url": "https://github.com/liechtym",
"followers_url": "https://api.github.com/users/liech... | [] | closed | false | null | [] | [
"Sorry I don't think this is related to `transformers` as there is a wrapper around it. `sdpa` is natively supported in transformers ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease ... | 1,704 | 1,708 | 1,708 | NONE | null | I was trying to use the generate API for Llama 2 using the same code from this example:
https://awsdocs-neuron.readthedocs-hosted.com/en/latest/libraries/transformers-neuronx/transformers-neuronx-developer-guide.html#features
My code:
```
from transformers_neuronx.llama.model import LlamaForSampling
from transfo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28396/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28396/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28395 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28395/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28395/comments | https://api.github.com/repos/huggingface/transformers/issues/28395/events | https://github.com/huggingface/transformers/issues/28395 | 2,070,736,215 | I_kwDOCUB6oc57bO1X | 28,395 | AttributeError: 'HfDeepSpeedConfig' object has no attribute 'trainer_config_finalize' | {
"login": "zhongshsh",
"id": 62104945,
"node_id": "MDQ6VXNlcjYyMTA0OTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/62104945?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhongshsh",
"html_url": "https://github.com/zhongshsh",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey thanks for reporting, can you upgrade to the newest version of transformers 🤗 ",
"thx for your reply. After using `pip install -U transformers` or using `conda upgrade transformers`, same error still exists. here is the version info after the upgrade:\r\n```\r\n- `transformers` version: 4.36.2\r\n- Platform... | 1,704 | 1,707 | 1,707 | NONE | null | ### System Info
- `transformers` version: 4.30.0
- Platform: Linux-5.15.0-18-shopee-generic-x86_64-with-glibc2.31
- Python version: 3.10.13
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.1
- PyTorch version (GPU?): 2.0.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28395/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28395/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28394 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28394/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28394/comments | https://api.github.com/repos/huggingface/transformers/issues/28394/events | https://github.com/huggingface/transformers/pull/28394 | 2,070,672,841 | PR_kwDOCUB6oc5jfN6W | 28,394 | Mentee owlv2 | {
"login": "talshaharabany",
"id": 50660642,
"node_id": "MDQ6VXNlcjUwNjYwNjQy",
"avatar_url": "https://avatars.githubusercontent.com/u/50660642?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/talshaharabany",
"html_url": "https://github.com/talshaharabany",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [] | 1,704 | 1,704 | 1,704 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28394/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28394/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28394",
"html_url": "https://github.com/huggingface/transformers/pull/28394",
"diff_url": "https://github.com/huggingface/transformers/pull/28394.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28394.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28393 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28393/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28393/comments | https://api.github.com/repos/huggingface/transformers/issues/28393/events | https://github.com/huggingface/transformers/issues/28393 | 2,070,596,478 | I_kwDOCUB6oc57ast- | 28,393 | IndexError: index out of range in self | {
"login": "andysingal",
"id": 20493493,
"node_id": "MDQ6VXNlcjIwNDkzNDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/20493493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andysingal",
"html_url": "https://github.com/andysingal",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This means your inputs are out of bound for the embedding matrix. Do you mind trying to explain your issue instead of just pointing to a collab notebook! 🤗 ",
"> This means your inputs are out of bound for the embedding matrix. Do you mind trying to explain your issue instead of just pointing to a collab notebo... | 1,704 | 1,708 | 1,708 | NONE | null | ### System Info
Colab Notebook T4
Colab: https://colab.research.google.com/drive/10JDBNsLlYrQdnI2FWfDK3F5M8wvVUDXG?usp=sharing
### Who can help?
@ArthurZucker @younesbelkada @pacman
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28393/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28393/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28392 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28392/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28392/comments | https://api.github.com/repos/huggingface/transformers/issues/28392/events | https://github.com/huggingface/transformers/pull/28392 | 2,070,530,963 | PR_kwDOCUB6oc5jeu-x | 28,392 | update docs to add the `phi-2` example | {
"login": "susnato",
"id": 56069179,
"node_id": "MDQ6VXNlcjU2MDY5MTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/56069179?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/susnato",
"html_url": "https://github.com/susnato",
"followers_url": "https://api.github.com/users/susnat... | [] | closed | false | null | [] | [
"Can you make it into a tip / warning for the mean time. ",
"Hi @ArthurZucker, I have added the tip/warning. \r\n\r\nLet me know if anything more needs to be added.",
"just need to rebase on main 😉 ",
"Sorry my bad :sweat_smile: \r\n\r\nDone!",
"Thanks! "
] | 1,704 | 1,704 | 1,704 | 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/28392/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28392/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28392",
"html_url": "https://github.com/huggingface/transformers/pull/28392",
"diff_url": "https://github.com/huggingface/transformers/pull/28392.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28392.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28391 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28391/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28391/comments | https://api.github.com/repos/huggingface/transformers/issues/28391/events | https://github.com/huggingface/transformers/issues/28391 | 2,070,525,785 | I_kwDOCUB6oc57abdZ | 28,391 | [BUG] Very high loss when using DeepSpeed with CPU offloading for versions>=4.36.0. | {
"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 | [] | [
"Closing as #28245 fixed it",
"These are brutally expensive bugs for your users. What kind of test cases could be implemented to prevent this from happening?",
"We added a new test that you can find here: https://github.com/huggingface/transformers/pull/28245/files#diff-712bbefe24deb3653111486b471859bd0f2b4d61... | 1,704 | 1,705 | 1,704 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.37.0.dev0
- Platform: Linux-5.4.0-166-generic-x86_64-with-glibc2.31
- Python version: 3.10.13
- Huggingface_hub version: 0.20.2
- Safetensors version: 0.4.0
- Accelerate version: 0.25.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.2+cu121 (True)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28391/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28391/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28390 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28390/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28390/comments | https://api.github.com/repos/huggingface/transformers/issues/28390/events | https://github.com/huggingface/transformers/pull/28390 | 2,070,510,911 | PR_kwDOCUB6oc5jeql1 | 28,390 | Check the xpu available and move the tensor or model to xpu | {
"login": "yuanwu2017",
"id": 34643241,
"node_id": "MDQ6VXNlcjM0NjQzMjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/34643241?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuanwu2017",
"html_url": "https://github.com/yuanwu2017",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,704 | 1,708 | 1,708 | 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/28390/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28390/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28390",
"html_url": "https://github.com/huggingface/transformers/pull/28390",
"diff_url": "https://github.com/huggingface/transformers/pull/28390.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28390.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28389 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28389/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28389/comments | https://api.github.com/repos/huggingface/transformers/issues/28389/events | https://github.com/huggingface/transformers/issues/28389 | 2,070,380,409 | I_kwDOCUB6oc57Z395 | 28,389 | 'str' object has no attribute 'to' | {
"login": "andysingal",
"id": 20493493,
"node_id": "MDQ6VXNlcjIwNDkzNDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/20493493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andysingal",
"html_url": "https://github.com/andysingal",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey, according to the documentation: \r\n> model ([`PreTrainedModel`] or `torch.nn.Module`, *optional*):\r\n The model to train, evaluate or use for predictions. If not provided, a `model_init` must be passed.\r\n\r\nyou are passing a string. ",
"> Hey, according to the documentation:\r\n> \r\... | 1,704 | 1,708 | 1,708 | NONE | null | ### System Info
Colab Notebook, T4
Colab Notebook: https://colab.research.google.com/drive/10JDBNsLlYrQdnI2FWfDK3F5M8wvVUDXG?usp=sharing
### Who can help?
@pacman100 @muellerz @younesbelkada
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An of... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28389/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28389/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28388 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28388/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28388/comments | https://api.github.com/repos/huggingface/transformers/issues/28388/events | https://github.com/huggingface/transformers/issues/28388 | 2,070,280,146 | I_kwDOCUB6oc57ZffS | 28,388 | How to use an efficient encoder as shared EncoderDecoderModel? | {
"login": "Bachstelze",
"id": 19904888,
"node_id": "MDQ6VXNlcjE5OTA0ODg4",
"avatar_url": "https://avatars.githubusercontent.com/u/19904888?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bachstelze",
"html_url": "https://github.com/Bachstelze",
"followers_url": "https://api.github.com/use... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"Deberta as shared encoder and decoder would be also good: https://github.com/huggingface/transformers/issues/12436"
] | 1,704 | 1,704 | null | NONE | null | ### Feature request
Efficient encoder like destilBERT, ALBERT or ELECTRA aren't supported as decoder of the EncoderDecoderModel and so they can't be shared as encoder and decoder.
### Motivation
Warm-starting shared models is a powerful way to build transformer models. Yet the efficient models can't be used.
### Yo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28388/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28388/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28386 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28386/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28386/comments | https://api.github.com/repos/huggingface/transformers/issues/28386/events | https://github.com/huggingface/transformers/pull/28386 | 2,070,056,730 | PR_kwDOCUB6oc5jdGp0 | 28,386 | Fix wrong xpu device in DistributedType.MULTI_XPU mode | {
"login": "faaany",
"id": 24477841,
"node_id": "MDQ6VXNlcjI0NDc3ODQx",
"avatar_url": "https://avatars.githubusercontent.com/u/24477841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/faaany",
"html_url": "https://github.com/faaany",
"followers_url": "https://api.github.com/users/faaany/fo... | [] | closed | false | null | [] | [
"@ArthurZucker would you take a look at this PR as well? Not quite sure who is the best reviewer for this case. Many thanks!",
"Hi folks, any concern or feedback for this PR? ",
"cc @abhilash1910",
"Thanks @muellerzr for highlighting. As per our previous issue : #27716 (cc @ArthurZucker ) , this was causing... | 1,704 | 1,705 | 1,705 | CONTRIBUTOR | null | ## Problem
When running lora fine-tuning on XPU in single-node&multi-card way, I noticed that the device is not correctly set up for distributed fine-tuning in the "__setup_devices" function.

As can be seen f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28386/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28386/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28386",
"html_url": "https://github.com/huggingface/transformers/pull/28386",
"diff_url": "https://github.com/huggingface/transformers/pull/28386.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28386.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28385 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28385/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28385/comments | https://api.github.com/repos/huggingface/transformers/issues/28385/events | https://github.com/huggingface/transformers/issues/28385 | 2,069,908,917 | I_kwDOCUB6oc57YE21 | 28,385 | model.generate() produces different results with paddings | {
"login": "zhentaocc",
"id": 90437536,
"node_id": "MDQ6VXNlcjkwNDM3NTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/90437536?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhentaocc",
"html_url": "https://github.com/zhentaocc",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Feel free to check https://github.com/huggingface/transformers/issues/25420#issuecomment-1775317535 for a better explanation ",
"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 th... | 1,704 | 1,707 | 1,707 | NONE | null | ### System Info
I found this issue when I try to reproduce `https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard` results, specifically gsm8k on `mncai/Llama2-7B-guanaco-dolphin-500`. My result is 13.12 while the one reported was 5.99.
Also I found paddings make the outputs different (not sure if they ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28385/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28385/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28384 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28384/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28384/comments | https://api.github.com/repos/huggingface/transformers/issues/28384/events | https://github.com/huggingface/transformers/issues/28384 | 2,069,899,827 | I_kwDOCUB6oc57YCoz | 28,384 | add_tokens does not preserve spacing | {
"login": "denizyuret",
"id": 1822118,
"node_id": "MDQ6VXNlcjE4MjIxMTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1822118?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/denizyuret",
"html_url": "https://github.com/denizyuret",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Few things can come into play. By default the token will be normalized, this means that the normalizer will be adding a prefix space to that token. When decoding, that space is removed. You should add the token using `tokenizer.add_tokens(AddedToken(\"Deniz\", normalized = False, special=False))`",
"This time th... | 1,704 | 1,707 | 1,707 | NONE | null | ### System Info
- `transformers` version: 4.35.2
- Platform: Linux-4.18.0-348.el8.x86_64-x86_64-with-glibc2.28
- Python version: 3.11.6
- Huggingface_hub version: 0.20.1
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
### Who can help?
@ArthurZucker and @younesbelkada
### Information
- [ ] The off... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28384/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28384/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28387 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28387/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28387/comments | https://api.github.com/repos/huggingface/transformers/issues/28387/events | https://github.com/huggingface/transformers/issues/28387 | 2,070,201,891 | I_kwDOCUB6oc57ZMYj | 28,387 | Issue with Adding New Tokens to ESM2 Model Tokenizer | {
"login": "mahdip72",
"id": 42680708,
"node_id": "MDQ6VXNlcjQyNjgwNzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/42680708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mahdip72",
"html_url": "https://github.com/mahdip72",
"followers_url": "https://api.github.com/users/mah... | [] | closed | false | null | [] | [
"Seems like a bug with ESMTokenizer, (which doesn't use this library).\r\n\r\n@ArthurZucker for insights or the more relevant people ?",
"Hey, I cannot reproduce this: \r\n```python \r\nIn [23]: model_checkpoint = \"facebook/esm2_t6_8M_UR50D\"\r\n ...: tokenizer_2 = AutoTokenizer.from_pretrained(model_checkpoi... | 1,704 | 1,705 | 1,705 | NONE | null | Hello
I am encountering an issue while working with the ESM2 models (`facebook/esm2_t6_8M_UR50D`). Specifically, when I try to add new tokens to the tokenizer, they are automatically classified as special tokens, even though I am specifying `special_tokens=False`.
Here is the code snippet I am using:
```python... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28387/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28387/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28383 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28383/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28383/comments | https://api.github.com/repos/huggingface/transformers/issues/28383/events | https://github.com/huggingface/transformers/issues/28383 | 2,069,570,341 | I_kwDOCUB6oc57WyMl | 28,383 | GPUA10:QWenLMHeadModel does not support Flash Attention 2.0 yet | {
"login": "PolarPeak",
"id": 44831329,
"node_id": "MDQ6VXNlcjQ0ODMxMzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/44831329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PolarPeak",
"html_url": "https://github.com/PolarPeak",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey, I don't think Qwen was merged into transformers it's a code on the hub, you should open the issue directly on the model discussion page : https://huggingface.co/Qwen/Qwen-72B/discussions"
] | 1,704 | 1,704 | 1,704 | NONE | null | ValueError: QWenLMHeadModel does not support Flash Attention 2.0 yet. Please open an issue on GitHub to request support for this architecture: https://github.com/huggingface/transformers/issues/new
my GPU is A10
transformers>=4.36.2 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28383/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28383/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28382 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28382/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28382/comments | https://api.github.com/repos/huggingface/transformers/issues/28382/events | https://github.com/huggingface/transformers/issues/28382 | 2,069,500,600 | I_kwDOCUB6oc57WhK4 | 28,382 | rewrite trainer's save_model method get unexpected pytorch_model.bin file | {
"login": "Chandler-Bing",
"id": 29994840,
"node_id": "MDQ6VXNlcjI5OTk0ODQw",
"avatar_url": "https://avatars.githubusercontent.com/u/29994840?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Chandler-Bing",
"html_url": "https://github.com/Chandler-Bing",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hello, this does not seem to be a direct issue, so would recommend you to ask on[ the forum ](https://discuss.huggingface.co/) 🤗 "
] | 1,704 | 1,706 | 1,706 | NONE | null | ### System Info
- `transformers` version: 4.33.1
- Platform: Linux-3.10.0-1127.19.1.el7.x86_64-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.1+cu121 (True... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28382/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28382/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28381 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28381/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28381/comments | https://api.github.com/repos/huggingface/transformers/issues/28381/events | https://github.com/huggingface/transformers/issues/28381 | 2,069,429,917 | I_kwDOCUB6oc57WP6d | 28,381 | PhiForCausalLM does not support Flash Attention 2.0 | {
"login": "gmittal",
"id": 2015126,
"node_id": "MDQ6VXNlcjIwMTUxMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2015126?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gmittal",
"html_url": "https://github.com/gmittal",
"followers_url": "https://api.github.com/users/gmittal/... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | closed | false | null | [] | [
"Hi, I would like to work on this issue",
"Support for Phi-2 is still WIP, you can follow the progress here: https://github.com/huggingface/transformers/pull/28163",
"Hi @gmittal, Flash Attention is already implemented for Phi, [PR](https://github.com/huggingface/transformers/pull/27661) \r\n\r\nIt seems that y... | 1,704 | 1,705 | 1,705 | NONE | null | ```
import torch
from transformers import AutoModelForCausalLM, AutoModel
model = AutoModelForCausalLM.from_pretrained(
'microsoft/phi-2',
use_flash_attention_2=True,
torch_dtype=torch.bfloat16,
trust_remote_code=True,
)
```
Throws:
```
ValueError: PhiForCausalLM does not support Flash A... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28381/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28381/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28380 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28380/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28380/comments | https://api.github.com/repos/huggingface/transformers/issues/28380/events | https://github.com/huggingface/transformers/pull/28380 | 2,069,357,560 | PR_kwDOCUB6oc5jap25 | 28,380 | Fix building alibi tensor when num_heads is not a power of 2 | {
"login": "abuelnasr0",
"id": 64566340,
"node_id": "MDQ6VXNlcjY0NTY2MzQw",
"avatar_url": "https://avatars.githubusercontent.com/u/64566340?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abuelnasr0",
"html_url": "https://github.com/abuelnasr0",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,704 | 1,704 | 1,704 | CONTRIBUTOR | null | # Fix building alibi tensor when `n_heads` is not a power of 2
when the `n_heads` of MPT model is not a power of 2 number (ex: 6), the function that build the alibi tensor will return with an error, you can check that by running the extra test case that I have added. This PR fixes that issue.
## Before submittin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28380/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28380/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28380",
"html_url": "https://github.com/huggingface/transformers/pull/28380",
"diff_url": "https://github.com/huggingface/transformers/pull/28380.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28380.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28379 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28379/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28379/comments | https://api.github.com/repos/huggingface/transformers/issues/28379/events | https://github.com/huggingface/transformers/pull/28379 | 2,069,268,419 | PR_kwDOCUB6oc5jaX4v | 28,379 | Convert SlimSAM checkpoints | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | open | false | null | [] | [] | 1,704 | 1,707 | null | CONTRIBUTOR | null | # What does this PR do?
This PR extends the conversion script of SAM (Segment Anything) to also support [SlimSAM](https://github.com/czg1225/SlimSAM/tree/master) checkpoints.
SlimSAM is a compressed (pruned) version of SAM, claims to outperform FastSAM and MobileSAM. Looks cool! Below are the SAM-vit-base (top) v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28379/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28379/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28379",
"html_url": "https://github.com/huggingface/transformers/pull/28379",
"diff_url": "https://github.com/huggingface/transformers/pull/28379.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28379.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28378 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28378/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28378/comments | https://api.github.com/repos/huggingface/transformers/issues/28378/events | https://github.com/huggingface/transformers/pull/28378 | 2,069,263,197 | PR_kwDOCUB6oc5jaW3R | 28,378 | fix: sampling in flax keeps EOS | {
"login": "borisdayma",
"id": 715491,
"node_id": "MDQ6VXNlcjcxNTQ5MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisdayma",
"html_url": "https://github.com/borisdayma",
"followers_url": "https://api.github.com/users/b... | [] | closed | false | null | [] | [
"Running the same example listed in #28377, we get the correct output with EOS token present before the PAD tokens:\r\n`[\"</s><s><s>My friends are cool but they eat too many carbs. I love carbs. The carb-averse among us have a love for dessert on this one. I've got some amazing desserts. I've been a junkie for 10 ... | 1,704 | 1,705 | 1,705 | 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/28378/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28378/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28378",
"html_url": "https://github.com/huggingface/transformers/pull/28378",
"diff_url": "https://github.com/huggingface/transformers/pull/28378.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28378.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28377 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28377/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28377/comments | https://api.github.com/repos/huggingface/transformers/issues/28377/events | https://github.com/huggingface/transformers/issues/28377 | 2,069,262,223 | I_kwDOCUB6oc57Vm-P | 28,377 | Flax generate sampling does not return EOS | {
"login": "borisdayma",
"id": 715491,
"node_id": "MDQ6VXNlcjcxNTQ5MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisdayma",
"html_url": "https://github.com/borisdayma",
"followers_url": "https://api.github.com/users/b... | [] | closed | false | null | [] | [] | 1,704 | 1,705 | 1,705 | CONTRIBUTOR | null | ### System Info
When calling `flax_model.generate(do_sample=True)`, we can notice that the EOS token has been replaced with PAD token.
Configuration:
```
- `transformers` version: 4.37.0.dev0
- Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.20.1
- S... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28377/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28377/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28376 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28376/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28376/comments | https://api.github.com/repos/huggingface/transformers/issues/28376/events | https://github.com/huggingface/transformers/issues/28376 | 2,069,187,992 | I_kwDOCUB6oc57VU2Y | 28,376 | Detr Loss: "IndexError: tensors used as indices must be long, int, byte or bool tensors" | {
"login": "kimborenn",
"id": 42417378,
"node_id": "MDQ6VXNlcjQyNDE3Mzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/42417378?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kimborenn",
"html_url": "https://github.com/kimborenn",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey 🤗 thanks for opening an issue! We try to keep the github issues for bugs/feature requests, since you are using custom code, unless you isolate that this is comming from transformers / the trainer and not he way you process your data, I would recommend you to ask your question on the [forum](https://discuss.h... | 1,704 | 1,707 | 1,707 | NONE | null | ### System Info
- `transformers` version: 4.35.0
- Platform: Linux-5.15.0-73-generic-x86_64-with-glibc2.35
- Python version: 3.10.9
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: 0.24.1
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu121 (False)
- Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28376/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/28376/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28375 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28375/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28375/comments | https://api.github.com/repos/huggingface/transformers/issues/28375/events | https://github.com/huggingface/transformers/issues/28375 | 2,069,157,788 | I_kwDOCUB6oc57VNec | 28,375 | NameError: name 'torch' is not defined | {
"login": "KaifAhmad1",
"id": 98801504,
"node_id": "U_kgDOBeOXYA",
"avatar_url": "https://avatars.githubusercontent.com/u/98801504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KaifAhmad1",
"html_url": "https://github.com/KaifAhmad1",
"followers_url": "https://api.github.com/users/KaifA... | [] | closed | false | null | [] | [
"The error is misleading, it actually means that bitsandbytes is not available. That's because you're using Windows, and the library only works on Linux (see [here](https://github.com/TimDettmers/bitsandbytes#tldr)).\r\n\r\nNote that you leaked your token twice, you should rotate it.",
"Would you like to open a P... | 1,704 | 1,704 | 1,704 | NONE | null | ### System Info
#### Device Info:
Device: `DESKTOP-0EE5HES`
Processor: `11th Gen Intel Core i5-1135G7 @ 2.40GHz`
Windows Edition: `Windows 11 Home Single Language`
System Type: `64-bit operating system, x64-based processor`
Version: `23H2 (Build 22631.2861)`
#### Package Info:
transformers; `4.36.2`
Pyth... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28375/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28375/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28374 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28374/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28374/comments | https://api.github.com/repos/huggingface/transformers/issues/28374/events | https://github.com/huggingface/transformers/issues/28374 | 2,068,992,694 | I_kwDOCUB6oc57UlK2 | 28,374 | The model has parameters that do not require training, causing training to be interrupted. | {
"login": "xmy0916",
"id": 43675899,
"node_id": "MDQ6VXNlcjQzNjc1ODk5",
"avatar_url": "https://avatars.githubusercontent.com/u/43675899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xmy0916",
"html_url": "https://github.com/xmy0916",
"followers_url": "https://api.github.com/users/xmy091... | [] | closed | false | null | [] | [
"Hey! No idea as we don't have access to the full custom code, but would recommend you to use the latest version of transformers, and share a full snippet + traceback otherwise we can't help you ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still n... | 1,704 | 1,707 | 1,707 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.4.143.bsk.8-amd64-x86_64-with-glibc2.28
- Python version: 3.10.13
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.4.0
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Ten... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28374/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28374/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28373 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28373/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28373/comments | https://api.github.com/repos/huggingface/transformers/issues/28373/events | https://github.com/huggingface/transformers/pull/28373 | 2,068,890,592 | PR_kwDOCUB6oc5jZM2S | 28,373 | Change progress logging to once across all nodes | {
"login": "siddartha-RE",
"id": 55106295,
"node_id": "MDQ6VXNlcjU1MTA2Mjk1",
"avatar_url": "https://avatars.githubusercontent.com/u/55106295?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/siddartha-RE",
"html_url": "https://github.com/siddartha-RE",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"> Let's just include the changes to `trainer_callback.py` please, and #28364 we'll leave for handling the checkpoint issue. Thanks!\r\n\r\nDone. Thank you for reviewing.",
"@muellerzr What do you think? Will close if you think this does not seem worth changing.."
] | 1,704 | 1,705 | 1,705 | CONTRIBUTOR | null | # What does this PR do?
Change progress logging to be once across all nodes rather than once per node.
## 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/transfo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28373/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28373/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28373",
"html_url": "https://github.com/huggingface/transformers/pull/28373",
"diff_url": "https://github.com/huggingface/transformers/pull/28373.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28373.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28372 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28372/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28372/comments | https://api.github.com/repos/huggingface/transformers/issues/28372/events | https://github.com/huggingface/transformers/issues/28372 | 2,068,888,813 | I_kwDOCUB6oc57ULzt | 28,372 | Support setting multiple adapters | {
"login": "pbarker",
"id": 5533189,
"node_id": "MDQ6VXNlcjU1MzMxODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5533189?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pbarker",
"html_url": "https://github.com/pbarker",
"followers_url": "https://api.github.com/users/pbarker/... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"cc @younesbelkada "
] | 1,704 | 1,704 | null | NONE | null | ### Feature request
The underlying peft library supports setting multiple adapters:
```python
model.set_adapters(["adapter_a", "adapter_b"])
```
It would be nice if the pipeline supported the same, from looking at https://github.com/huggingface/transformers/pull/25077 it appears it only supports a single adapt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28372/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28372/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28371 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28371/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28371/comments | https://api.github.com/repos/huggingface/transformers/issues/28371/events | https://github.com/huggingface/transformers/issues/28371 | 2,068,843,148 | I_kwDOCUB6oc57UAqM | 28,371 | Data collator does not pass inputs to tokenizer | {
"login": "EricLBuehler",
"id": 65165915,
"node_id": "MDQ6VXNlcjY1MTY1OTE1",
"avatar_url": "https://avatars.githubusercontent.com/u/65165915?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/EricLBuehler",
"html_url": "https://github.com/EricLBuehler",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey 🤗 thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co/) instead? I'm sure the community will be of help!\r\n\r\nThanks!",
"Ok, thanks for the recommendation!"
] | 1,704 | 1,704 | 1,704 | NONE | null | Hello all,
While attempting to train a model using `Trainer` and `DataCollatorForSeq2Seq`, I get the following error:
`ValueError: You should supply an encoding or a list of encodings to this method that includes input_ids, but you provided []`.
I have written my own model class (this is necessary for the design... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28371/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28371/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28370 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28370/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28370/comments | https://api.github.com/repos/huggingface/transformers/issues/28370/events | https://github.com/huggingface/transformers/issues/28370 | 2,068,828,967 | I_kwDOCUB6oc57T9Mn | 28,370 | Missing `vocab_file` Attribute When Using Custom SentencePiece Models | {
"login": "teleprint-me",
"id": 77757836,
"node_id": "MDQ6VXNlcjc3NzU3ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/77757836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/teleprint-me",
"html_url": "https://github.com/teleprint-me",
"followers_url": "https://api.github.c... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
},
{
"id": 3081136536,
... | open | false | null | [] | [
"Thanks for opening this! \r\nThe conversion scripts should not always rely on sentencepiece as some models do not use it. ( Bert for example)\r\nHowever it is true that supporting a kind of direct conversion could / would help. \r\n\r\nWould you like to open a PR to help using the converter class for converting sp... | 1,704 | 1,707 | null | NONE | null | ### System Info
- `transformers` version: 4.36.2
- Platform: Linux-6.1.69-1-lts-x86_64-with-glibc2.38
- Python version: 3.11.6
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.0
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.2+cpu (False)
- Tensor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28370/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28370/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28369 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28369/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28369/comments | https://api.github.com/repos/huggingface/transformers/issues/28369/events | https://github.com/huggingface/transformers/pull/28369 | 2,068,658,566 | PR_kwDOCUB6oc5jYebU | 28,369 | [AttentionMaskConverter] fix sdpa unmask unattended | {
"login": "zspo",
"id": 26846598,
"node_id": "MDQ6VXNlcjI2ODQ2NTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/26846598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zspo",
"html_url": "https://github.com/zspo",
"followers_url": "https://api.github.com/users/zspo/followers"... | [] | closed | false | null | [] | [
"> Thanks, can you update the PR name to \"[`AttentionMaskConverter`] fix sdpa unmask unattended\"\r\n\r\nHi, nailed it! Thanks",
"Thanks 🤗 "
] | 1,704 | 1,704 | 1,704 | CONTRIBUTOR | null | # What does this PR do?
Keep tensor devices consistent
@ArthurZucker @amyeroberts | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28369/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28369/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28369",
"html_url": "https://github.com/huggingface/transformers/pull/28369",
"diff_url": "https://github.com/huggingface/transformers/pull/28369.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28369.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28368 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28368/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28368/comments | https://api.github.com/repos/huggingface/transformers/issues/28368/events | https://github.com/huggingface/transformers/issues/28368 | 2,068,557,686 | I_kwDOCUB6oc57S692 | 28,368 | [Flax] Migration from frozen to regular dicts with v0.7.1+ | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | open | false | null | [] | [
"cc @patrickvonplaten @ArthurZucker @patil-suraj for Flax discussions",
"I'm also in favor of 2.) Also given we don't have that much use in Flax, I wonder whether we should do a bigger breaking change by changing the default of `_do_init` to `_do_init=False` - it's just the correct design for Flax",
"+1 on this... | 1,704 | 1,707 | null | CONTRIBUTOR | null | ### Feature request
As of version 0.7.1, Flax defaults to returning **regular dictionaries** with the methods `.init` and `.apply`, not **frozen dictionaries** as was the case before: https://github.com/google/flax/discussions/3191
The `.init` method is called in the Transformers method `model.init_weights`, wher... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28368/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/28368/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28367 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28367/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28367/comments | https://api.github.com/repos/huggingface/transformers/issues/28367/events | https://github.com/huggingface/transformers/pull/28367 | 2,068,538,196 | PR_kwDOCUB6oc5jYErk | 28,367 | [Flax] Freeze params when _do_init=True | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28367). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"This issue has been automatically marked as stale because it has not had recent ac... | 1,704 | 1,707 | 1,707 | CONTRIBUTOR | null | # What does this PR do?
As of version 0.7.1, Flax defaults to returning **regular dictionaries** with the methods `.init` and `.apply`, not frozen dictionaries as was the case before: https://github.com/google/flax/discussions/3191
This PR shows how we can update the Transformers modelling code to maintain the pr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28367/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28367/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28367",
"html_url": "https://github.com/huggingface/transformers/pull/28367",
"diff_url": "https://github.com/huggingface/transformers/pull/28367.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28367.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28366 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28366/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28366/comments | https://api.github.com/repos/huggingface/transformers/issues/28366/events | https://github.com/huggingface/transformers/issues/28366 | 2,068,536,149 | I_kwDOCUB6oc57S1tV | 28,366 | apply_chat_template fails if the model's jinja template doesn't support a system prompt | {
"login": "unoriginalscreenname",
"id": 815932,
"node_id": "MDQ6VXNlcjgxNTkzMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/815932?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/unoriginalscreenname",
"html_url": "https://github.com/unoriginalscreenname",
"followers_url": "... | [] | closed | false | null | [] | [
"Second this issue, just ran into this on Mistral as well.",
"cc @Rocketknight1 ",
"Hi @unoriginalscreenname and @lithafnium, this was discussed in #27922. I'll paste the relevant part of my reply here:\r\n\r\n> Unfortunately, this is an unavoidable consequence of how these models were trained. Some models were... | 1,704 | 1,708 | 1,708 | NONE | null | ### System Info
All the latest versions
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduct... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28366/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28366/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28365 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28365/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28365/comments | https://api.github.com/repos/huggingface/transformers/issues/28365/events | https://github.com/huggingface/transformers/issues/28365 | 2,068,478,757 | I_kwDOCUB6oc57Snsl | 28,365 | Whisper Alignment Heads calculation for custom model | {
"login": "DavraYoung",
"id": 33338429,
"node_id": "MDQ6VXNlcjMzMzM4NDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/33338429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DavraYoung",
"html_url": "https://github.com/DavraYoung",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@sanchit-gandhi hi, have you tried this with distilled model?",
"Hey 🤗 thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co/) instead? I'm sure the community will be of help!\r\n\r\nThanks!",
"Hey... | 1,704 | 1,706 | 1,706 | NONE | null | ### Feature request
Token timestamps work great on the pretrained model, but once the model is finetuned, token timestamp are no more correct.
I tried to dig deeper and found that the token timestamps calculation is done using cross attention heads with some dynamic time warping calculation over token sequence.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28365/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28365/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28364 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28364/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28364/comments | https://api.github.com/repos/huggingface/transformers/issues/28364/events | https://github.com/huggingface/transformers/pull/28364 | 2,068,164,458 | PR_kwDOCUB6oc5jWzoc | 28,364 | Fix for checkpoint rename race condition | {
"login": "tblattner",
"id": 10550807,
"node_id": "MDQ6VXNlcjEwNTUwODA3",
"avatar_url": "https://avatars.githubusercontent.com/u/10550807?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tblattner",
"html_url": "https://github.com/tblattner",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"One thing to note, I attempted to reuse the existing with block: \r\n```with self.args.main_process_first(desc=\"Renaming model checkpoint folder to true location\", local=self.args.save_on_each_node):```\r\n\r\nand include the fsync. Unfortunately fsync did not flush buffers related to the staging directory, so i... | 1,704 | 1,706 | 1,704 | CONTRIBUTOR | null | # What does this PR do?
When running distributed training with deepspeed, I was encountered a race condition due to os.rename not being atomic on network filesystems. This rework, changes the logic for renaming to only run on the main processes, or a single main process depending on the save_on_each_node flag. Also ad... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28364/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28364/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28364",
"html_url": "https://github.com/huggingface/transformers/pull/28364",
"diff_url": "https://github.com/huggingface/transformers/pull/28364.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28364.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28363 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28363/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28363/comments | https://api.github.com/repos/huggingface/transformers/issues/28363/events | https://github.com/huggingface/transformers/pull/28363 | 2,068,009,708 | PR_kwDOCUB6oc5jWRjx | 28,363 | [`DETR`] Update the processing to adapt masks & bboxes to reflect padding | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28363). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update."
] | 1,704 | 1,707 | 1,707 | COLLABORATOR | null | # What does this PR do?
Fixes an issue with the processing of batches of images for DETR and DETR related models.
Previously, the annotations for the models - specifically the masks and bboxes, wouldn't be updated to account for the new image sizes if padding occurred. This PR pads the masks to match their corre... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28363/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28363/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28363",
"html_url": "https://github.com/huggingface/transformers/pull/28363",
"diff_url": "https://github.com/huggingface/transformers/pull/28363.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28363.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28362 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28362/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28362/comments | https://api.github.com/repos/huggingface/transformers/issues/28362/events | https://github.com/huggingface/transformers/pull/28362 | 2,067,842,903 | PR_kwDOCUB6oc5jVsvA | 28,362 | Tokenizer kwargs in textgeneration pipe | {
"login": "thedamnedrhino",
"id": 8396998,
"node_id": "MDQ6VXNlcjgzOTY5OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8396998?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thedamnedrhino",
"html_url": "https://github.com/thedamnedrhino",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"Thank you 🤗. Anything specific I can help with?",
"Not sure since it's merged 🤗 "
] | 1,704 | 1,705 | 1,705 | CONTRIBUTOR | null | # What does this PR do?
Support tokenizer arguments in `text-generation` pipeline `__call__()`
Fixes # (issue)
#27869
## 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/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28362/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28362/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28362",
"html_url": "https://github.com/huggingface/transformers/pull/28362",
"diff_url": "https://github.com/huggingface/transformers/pull/28362.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28362.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28361 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28361/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28361/comments | https://api.github.com/repos/huggingface/transformers/issues/28361/events | https://github.com/huggingface/transformers/pull/28361 | 2,067,842,705 | PR_kwDOCUB6oc5jVssN | 28,361 | chore: Fix typo s/exclusivelly/exclusively/ | {
"login": "hugo-syn",
"id": 61210734,
"node_id": "MDQ6VXNlcjYxMjEwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/61210734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hugo-syn",
"html_url": "https://github.com/hugo-syn",
"followers_url": "https://api.github.com/users/hug... | [] | closed | false | null | [] | [] | 1,704 | 1,704 | 1,704 | CONTRIBUTOR | null | # What does this PR do?
Just fix some typos in the code/doc
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
## Who can review?
Sorry if you are not the right person, but I think that _documentation_ should be appropriate @stevhliu ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28361/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28361/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28361",
"html_url": "https://github.com/huggingface/transformers/pull/28361",
"diff_url": "https://github.com/huggingface/transformers/pull/28361.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28361.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28360 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28360/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28360/comments | https://api.github.com/repos/huggingface/transformers/issues/28360/events | https://github.com/huggingface/transformers/issues/28360 | 2,067,751,897 | I_kwDOCUB6oc57P2PZ | 28,360 | Pythia (GPTNeoXForCausalLM) Regression (inference time) in transformers 4.35.0 | {
"login": "JonasGeiping",
"id": 22680696,
"node_id": "MDQ6VXNlcjIyNjgwNjk2",
"avatar_url": "https://avatars.githubusercontent.com/u/22680696?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JonasGeiping",
"html_url": "https://github.com/JonasGeiping",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Thanks for reporting, this should be a lot easier to debug! 🤗 Having a look (can definitely reproduce).\r\n- quick fix: using `bfloat16` get's rid of the nan's. \r\n- definitely a regression as I can confirm this was passing before. \r\n- seems to come from https://github.com/huggingface/transformers/commit/253f9... | 1,704 | 1,705 | 1,705 | NONE | null | ### System Info
- `transformers` version: 4.35.0
- Platform: Linux-5.16.19-76051619-generic-x86_64-with-glibc2.35
- Python version: 3.10.11
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.3.1
- Accelerate version: 0.25.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.3.0.dev20240104 (T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28360/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28360/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/28359 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28359/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28359/comments | https://api.github.com/repos/huggingface/transformers/issues/28359/events | https://github.com/huggingface/transformers/pull/28359 | 2,067,739,721 | PR_kwDOCUB6oc5jVVcL | 28,359 | [i18n-fr] Translate pipeline tutorial to French | {
"login": "NoB0",
"id": 28621493,
"node_id": "MDQ6VXNlcjI4NjIxNDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/28621493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NoB0",
"html_url": "https://github.com/NoB0",
"followers_url": "https://api.github.com/users/NoB0/followers"... | [] | closed | false | null | [] | [
"> Pipeline is a female gendered noun in french! Otherwise should be alright\r\n\r\nAccording to [Larousse](https://www.larousse.fr/dictionnaires/francais/pipeline/61067) and [Le Petit Robert](https://dictionnaire.lerobert.com/definition/pipeline) dictionaries it is male gendered. Waiting for feedback before changi... | 1,704 | 1,707 | 1,707 | CONTRIBUTOR | null | # What does this PR do?
Translates the `pipeline_tutorial.md` file of the documentation to French.
Part of #21456
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28359/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28359/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28359",
"html_url": "https://github.com/huggingface/transformers/pull/28359",
"diff_url": "https://github.com/huggingface/transformers/pull/28359.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28359.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28358 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28358/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28358/comments | https://api.github.com/repos/huggingface/transformers/issues/28358/events | https://github.com/huggingface/transformers/pull/28358 | 2,067,570,096 | PR_kwDOCUB6oc5jUvwt | 28,358 | Add HTDemucs | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28358). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.",
"This issue has been automatically marked as stale because it has not had recent ac... | 1,704 | 1,708 | 1,708 | CONTRIBUTOR | null | # What does this PR do?
Adds HTDemucs, required for the MusicGen melody model. Supersedes #25660.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28358/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28358/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/28358",
"html_url": "https://github.com/huggingface/transformers/pull/28358",
"diff_url": "https://github.com/huggingface/transformers/pull/28358.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/28358.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/28357 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/28357/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/28357/comments | https://api.github.com/repos/huggingface/transformers/issues/28357/events | https://github.com/huggingface/transformers/issues/28357 | 2,067,521,303 | I_kwDOCUB6oc57O98X | 28,357 | "cached cross_attention states don't have to be reordered -> they are always the same" | {
"login": "YJYJLee",
"id": 28900943,
"node_id": "MDQ6VXNlcjI4OTAwOTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/28900943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YJYJLee",
"html_url": "https://github.com/YJYJLee",
"followers_url": "https://api.github.com/users/YJYJLe... | [] | closed | false | null | [] | [
"Cross attention only happends between the encoder and decoder, but the encoded states do not change, you always use the same, the decoder state change. Thus you don't re-compute / change the cross-attention states across the generate function",
"This issue has been automatically marked as stale because it has no... | 1,704 | 1,707 | 1,707 | NONE | null | ### System Info
Sorry, this is not the bug report, but I couldn't find the proper category to ask this question
### 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/SQuA... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/28357/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/28357/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.