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/25220 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25220/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25220/comments | https://api.github.com/repos/huggingface/transformers/issues/25220/events | https://github.com/huggingface/transformers/issues/25220 | 1,830,368,736 | I_kwDOCUB6oc5tGTXg | 25,220 | OASST model is unavailable for Transformer Agent: `'inputs' must have less than 1024 tokens.` | {
"login": "sim-so",
"id": 96299403,
"node_id": "U_kgDOBb1piw",
"avatar_url": "https://avatars.githubusercontent.com/u/96299403?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sim-so",
"html_url": "https://github.com/sim-so",
"followers_url": "https://api.github.com/users/sim-so/followers"... | [] | closed | false | null | [] | [
"Hi there. We temporarily increased the max length for this endpoint when releasing the Agents framework, but it's not back to its normal value. So yes, this one won't work anymore.",
"Thank you for the info, @sgugger!\r\n\r\n> So yes, this one won't work anymore.\r\n\r\nThen other OpenAssisant models may also on... | 1,690 | 1,694 | 1,694 | CONTRIBUTOR | null | ### System Info
- transformers version: 4.29.0
- huggingface_hub version: 0.16.4
- python version: 3.10.6
- OS: Ubuntu 22.04.2 LTS
* run on Google Colab using [the provided notebook](https://colab.research.google.com/drive/1c7MHD-T1forUPGcC_jlwsIptOzpG3hSj?usp=sharing).
* [my notebook](https://colab.research.goo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25220/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25220/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25219 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25219/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25219/comments | https://api.github.com/repos/huggingface/transformers/issues/25219/events | https://github.com/huggingface/transformers/issues/25219 | 1,830,148,402 | I_kwDOCUB6oc5tFdky | 25,219 | Trainer.model.push_to_hub() should allow private repository flag | {
"login": "arikanev",
"id": 16505410,
"node_id": "MDQ6VXNlcjE2NTA1NDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/16505410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arikanev",
"html_url": "https://github.com/arikanev",
"followers_url": "https://api.github.com/users/ari... | [] | closed | false | null | [] | [
"Hi @arikanev, thanks for raising this issue. \r\n\r\nIn `TrainingArguments` you can set [hub_private_repo to `True`](https://huggingface.co/docs/transformers/v4.31.0/en/main_classes/trainer#transformers.TrainingArguments.hub_private_repo) to control this. ",
"Thanks for the heads up! Time saver :) ",
"Please n... | 1,690 | 1,694 | 1,694 | NONE | null | ### Feature request
Trainer.model.push_to_hub() should allow a push to a private repository, as opposed to just pushing to a public and having to private it after.
### Motivation
I get frustrated having to private my repositories instead of being able to upload models by default to a private repo programmatically.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25219/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25219/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25218 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25218/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25218/comments | https://api.github.com/repos/huggingface/transformers/issues/25218/events | https://github.com/huggingface/transformers/pull/25218 | 1,830,127,630 | PR_kwDOCUB6oc5W2ZB1 | 25,218 | inject automatic end of utterance tokens | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25218). All of your documentation changes will be reflected on that endpoint."
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | This adds a new feature:
For select models add `<end_of_utterance>` token at the end of each utterance.
The user can now easily break up their prompt and not need to worry about messing with tokens.
So for this prompt:
```
[
"User:",
image,
"Describe this image.",
"A... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25218/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25218/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25218",
"html_url": "https://github.com/huggingface/transformers/pull/25218",
"diff_url": "https://github.com/huggingface/transformers/pull/25218.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25218.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25217 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25217/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25217/comments | https://api.github.com/repos/huggingface/transformers/issues/25217/events | https://github.com/huggingface/transformers/issues/25217 | 1,829,805,442 | I_kwDOCUB6oc5tEJ2C | 25,217 | Scoring translations is unacceptably slow | {
"login": "erip",
"id": 2348806,
"node_id": "MDQ6VXNlcjIzNDg4MDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2348806?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erip",
"html_url": "https://github.com/erip",
"followers_url": "https://api.github.com/users/erip/followers",
... | [] | closed | false | null | [] | [
"cc @gante ",
"Hey @erip 👋 \r\n\r\nSadly, I'm out of bandwidth to dive into the performance of very specific generation modes (in this case, beam search with `PrefixConstrainedLogitsProcessor`). If you'd like to explore the issue and pinpoint the cause of the performance issue, I may be able to help, depending o... | 1,690 | 1,694 | 1,694 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.29.0
- Platform: Linux-3.10.0-862.11.6.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.16
- Huggingface_hub version: 0.12.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25217/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25217/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25216 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25216/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25216/comments | https://api.github.com/repos/huggingface/transformers/issues/25216/events | https://github.com/huggingface/transformers/pull/25216 | 1,829,739,665 | PR_kwDOCUB6oc5W1EHH | 25,216 | [`Docs`/`quantization`] Clearer explanation on how things works under the hood. + remove outdated info | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
As discussed internally with @amyeroberts , this PR makes things clearer to users on how things work under the hood for quantized models. Before this PR it was not clear to users how the other modules (non `torch.nn.Linear`) were treated under the hood when quantizing a model.
cc @amyerob... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25216/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25216/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25216",
"html_url": "https://github.com/huggingface/transformers/pull/25216",
"diff_url": "https://github.com/huggingface/transformers/pull/25216.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25216.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25215 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25215/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25215/comments | https://api.github.com/repos/huggingface/transformers/issues/25215/events | https://github.com/huggingface/transformers/issues/25215 | 1,829,715,520 | I_kwDOCUB6oc5tDz5A | 25,215 | config.json file not available | {
"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 | [] | [
"Hi @andysingal \r\nit seems you are trying to load an adapter model. You can load it with\r\n\r\n```python\r\nfrom peft import AutoPeftModelForCausalLM\r\n\r\nmodel = AutoPeftModelForCausalLM.from_pretrained(\"Andyrasika/qlora-2-7b-andy\")\r\n```\r\n\r\nIf you want to load the base model in 4bit:\r\n\r\n```python\... | 1,690 | 1,706 | 1,694 | NONE | null | ### System Info
colab
notebook: https://colab.research.google.com/drive/118RTcKAQFIICDsgTcabIF-_XKmOgM-cc?usp=sharing
### Who can help?
@sgugger @younesbelkada
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25215/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25215/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25214 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25214/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25214/comments | https://api.github.com/repos/huggingface/transformers/issues/25214/events | https://github.com/huggingface/transformers/pull/25214 | 1,829,588,972 | PR_kwDOCUB6oc5W0jNa | 25,214 | Fix docker image build failure | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
We again get not enough disk size error on docker image build CI. I should try to learn some ways to reduce the size and avoid this error, but this PR fixes this situation in a quick way: install torch/tensorflow before running `pip install .[dev]`, so they are only install once, and we have ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25214/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25214/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25214",
"html_url": "https://github.com/huggingface/transformers/pull/25214",
"diff_url": "https://github.com/huggingface/transformers/pull/25214.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25214.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25213 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25213/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25213/comments | https://api.github.com/repos/huggingface/transformers/issues/25213/events | https://github.com/huggingface/transformers/pull/25213 | 1,829,494,005 | PR_kwDOCUB6oc5W0NhC | 25,213 | Update tiny model info. and pipeline testing | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25213). All of your documentation changes will be reflected on that endpoint."
] | 1,690 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
Just a regular update. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25213/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25213/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25213",
"html_url": "https://github.com/huggingface/transformers/pull/25213",
"diff_url": "https://github.com/huggingface/transformers/pull/25213.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25213.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25212 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25212/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25212/comments | https://api.github.com/repos/huggingface/transformers/issues/25212/events | https://github.com/huggingface/transformers/issues/25212 | 1,829,319,221 | I_kwDOCUB6oc5tCTI1 | 25,212 | MinNewTokensLengthLogitsProcessor | {
"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,690 | 1,690 | 1,690 | MEMBER | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25212/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25212/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25211 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25211/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25211/comments | https://api.github.com/repos/huggingface/transformers/issues/25211/events | https://github.com/huggingface/transformers/pull/25211 | 1,829,299,673 | PR_kwDOCUB6oc5WziM6 | 25,211 | Fix `all_model_classes` in `FlaxBloomGenerationTest` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,691 | 1,690 | COLLABORATOR | null | # What does this PR do?
It should be a tuple (which requires the ending `,`) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25211/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25211/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25211",
"html_url": "https://github.com/huggingface/transformers/pull/25211",
"diff_url": "https://github.com/huggingface/transformers/pull/25211.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25211.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25210 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25210/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25210/comments | https://api.github.com/repos/huggingface/transformers/issues/25210/events | https://github.com/huggingface/transformers/issues/25210 | 1,829,299,671 | I_kwDOCUB6oc5tCOXX | 25,210 | importlib.metadata.PackageNotFoundError: bitsandbytes | {
"login": "looperEit",
"id": 46367388,
"node_id": "MDQ6VXNlcjQ2MzY3Mzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/46367388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/looperEit",
"html_url": "https://github.com/looperEit",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @looperEit, thanks for reporting this issue! \r\n\r\nCould you share the installed version of bitsandbytes and how you installed it? \r\n\r\ncc @younesbelkada ",
"i used the `pip install -r *requriment.txt\"`,and the txt file like:\r\n: 2.0.1+cu117 (True)
- Te... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25210/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25210/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25209 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25209/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25209/comments | https://api.github.com/repos/huggingface/transformers/issues/25209/events | https://github.com/huggingface/transformers/pull/25209 | 1,829,156,249 | PR_kwDOCUB6oc5WzCvk | 25,209 | Update InstructBLIP & Align values after rescale update | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Agreed with your plan!",
"I also prefer 2., but I am a bit confused\r\n\r\n> Update rescale and ViVit config\r\n\r\nSo this only changes `ViVit` config and its `rescale`. And Align uses `EfficientNet` image processor. So when we ch... | 1,690 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
After #25174 the integration tests for Align and InstructBLIP fail.
### InstructBLIP
The difference in the output logits is small. Additionally, when debugging to check the differences and resolve the failing tests, it was noticed that the InstructBLIP tests are not independent. Runnin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25209/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25209/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25209",
"html_url": "https://github.com/huggingface/transformers/pull/25209",
"diff_url": "https://github.com/huggingface/transformers/pull/25209.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25209.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25208 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25208/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25208/comments | https://api.github.com/repos/huggingface/transformers/issues/25208/events | https://github.com/huggingface/transformers/issues/25208 | 1,829,119,355 | I_kwDOCUB6oc5tBiV7 | 25,208 | Getting error while implementing Falcon-7B model: AttributeError: module 'signal' has no attribute 'SIGALRM' | {
"login": "amitkedia007",
"id": 83700281,
"node_id": "MDQ6VXNlcjgzNzAwMjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/83700281?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amitkedia007",
"html_url": "https://github.com/amitkedia007",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey @amitkedia007 ! I'm suspecting you are using Windows? Have you tried [this](https://huggingface.co/tiiuae/falcon-7b-instruct/discussions/57)?\r\n\r\nMaybe adding `trust_remote_code = True` to `tokenizer = AutoTokenizer.from_pretrained(model_name)` in order to allow downloading the appropriate tokenizer would w... | 1,690 | 1,694 | 1,694 | NONE | null | ### System Info

### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25208/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25208/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25207 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25207/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25207/comments | https://api.github.com/repos/huggingface/transformers/issues/25207/events | https://github.com/huggingface/transformers/pull/25207 | 1,828,990,463 | PR_kwDOCUB6oc5WyeKl | 25,207 | [`pipeline`] revisit device check for pipeline | {
"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 | [] | [
"After thinking about it, maybe this shouldn't be the right fix, it is a bad intent from users to add a `device_map` + `device` argument.\r\nLet me know what do you think",
"_The documentation is not available anymore as the PR was closed or merged._",
"Yeah let's raise an error!"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/23336#issuecomment-1657792271
Currently `.to` is called to the model in pipeline even if the model is loaded with accelerate - which is a bad practice and can lead to unexpected behaviour if the model is loaded across multiple GPUs ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25207/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25207/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25207",
"html_url": "https://github.com/huggingface/transformers/pull/25207",
"diff_url": "https://github.com/huggingface/transformers/pull/25207.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25207.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25206 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25206/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25206/comments | https://api.github.com/repos/huggingface/transformers/issues/25206/events | https://github.com/huggingface/transformers/pull/25206 | 1,828,925,185 | PR_kwDOCUB6oc5WyPw1 | 25,206 | [`PreTrainedModel`] Wrap `cuda` and `to` method correctly | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
As discussed internally with @sgugger
Use `functools.wrap` to wrap the `to` and `cuda` methods to preserve their original signature, for example the script below:
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("faceb... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25206/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25206/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25206",
"html_url": "https://github.com/huggingface/transformers/pull/25206",
"diff_url": "https://github.com/huggingface/transformers/pull/25206.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25206.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25205 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25205/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25205/comments | https://api.github.com/repos/huggingface/transformers/issues/25205/events | https://github.com/huggingface/transformers/issues/25205 | 1,828,908,003 | I_kwDOCUB6oc5tAuvj | 25,205 | Using Trainer with torch.compile() and use_orig_params=True produce model checkpoints that cannot be loaded | {
"login": "ikergarcia1996",
"id": 18737249,
"node_id": "MDQ6VXNlcjE4NzM3MjQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/18737249?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ikergarcia1996",
"html_url": "https://github.com/ikergarcia1996",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"I think this comes from a bas interaction between `torch.compile` and FSDP, cc @pacman100 ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [c... | 1,690 | 1,702 | 1,694 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Linux-4.18.0-477.10.1.el8_8.x86_64-x86_64-with-glibc2.28
- Python version: 3.9.7
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distribut... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25205/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25205/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25204 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25204/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25204/comments | https://api.github.com/repos/huggingface/transformers/issues/25204/events | https://github.com/huggingface/transformers/pull/25204 | 1,828,876,853 | PR_kwDOCUB6oc5WyFaP | 25,204 | auto move input to device of the first-layer if necessary | {
"login": "ranchlai",
"id": 5043767,
"node_id": "MDQ6VXNlcjUwNDM3Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5043767?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ranchlai",
"html_url": "https://github.com/ranchlai",
"followers_url": "https://api.github.com/users/ranch... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @ranchlai, thanks to opening this PR! \r\n\r\nCould you share a code snippet that we can run which would currently fail on main and which runs with this update? \r\n\r\ncc @gante \r\n",
"@amyeroberts We don't automatically move ... | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
This PR adds feature to model.generate() to check if input_ids is at the same device of input_embeddings.
If not, move input to the device rather than simply raising an error or warning.
It should be helpful when device_map="auto" or when there are multi-gpus to choose from, in which case w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25204/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25204/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25204",
"html_url": "https://github.com/huggingface/transformers/pull/25204",
"diff_url": "https://github.com/huggingface/transformers/pull/25204.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25204.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25203 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25203/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25203/comments | https://api.github.com/repos/huggingface/transformers/issues/25203/events | https://github.com/huggingface/transformers/pull/25203 | 1,828,852,341 | PR_kwDOCUB6oc5WyAC2 | 25,203 | add pathname and line number to logging formatter in debug mode | {
"login": "ranchlai",
"id": 5043767,
"node_id": "MDQ6VXNlcjUwNDM3Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5043767?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ranchlai",
"html_url": "https://github.com/ranchlai",
"followers_url": "https://api.github.com/users/ranch... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"hi, @amyeroberts thanks very much for commenting! I have added a \"detail\" level. It's the same as debug but will also print the pathname and line-number for easy debugging. I don't know if that looks good ? Thanks!"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
This PR adds pathname and line number to logging formatter in debug mode
It make the debug much easier when setting `export TRANSFORMERS_VERBOSITY=debug`.
It has no effect in other logging levels(info, warning, etc ).
Hope this is acceptable. It's ok if not.
before, there is no way t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25203/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25203/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25203",
"html_url": "https://github.com/huggingface/transformers/pull/25203",
"diff_url": "https://github.com/huggingface/transformers/pull/25203.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25203.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25202 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25202/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25202/comments | https://api.github.com/repos/huggingface/transformers/issues/25202/events | https://github.com/huggingface/transformers/pull/25202 | 1,828,791,482 | PR_kwDOCUB6oc5Wxyng | 25,202 | Better error message in `_prepare_output_docstrings` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
Currently, if an output type has no docstring, or its docstring doesn't have `Args` or `Parameters`, we get an error
```bash
File "/transformers/src/transformers/utils/doc.py", line 137, in _prepare_output_docstrings
full_output_type = f"{output_type.__module__}.{output_type.__name_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25202/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25202/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25202",
"html_url": "https://github.com/huggingface/transformers/pull/25202",
"diff_url": "https://github.com/huggingface/transformers/pull/25202.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25202.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25201 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25201/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25201/comments | https://api.github.com/repos/huggingface/transformers/issues/25201/events | https://github.com/huggingface/transformers/pull/25201 | 1,828,707,509 | PR_kwDOCUB6oc5WxgJY | 25,201 | [`MPT`] Add `require_bitsandbytes` on MPT integration tests | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Jus out of curiosity does the `tooslow` decorator leads to tests still being run? \r\n```bash\r\n Slow tests are skipped while they're in the process of being fixed. No test should stay tagged as \"tooslow\" as\r\n these will n... | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
As per title and as discussed offline with @ydshieh
adding `require_bitsandbytes` is needed to avoid issues with past torch CI that doesn't have bnb installed on their Docker images.
cc @ydshieh | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25201/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25201/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25201",
"html_url": "https://github.com/huggingface/transformers/pull/25201",
"diff_url": "https://github.com/huggingface/transformers/pull/25201.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25201.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25200 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25200/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25200/comments | https://api.github.com/repos/huggingface/transformers/issues/25200/events | https://github.com/huggingface/transformers/pull/25200 | 1,828,703,016 | PR_kwDOCUB6oc5WxfKq | 25,200 | [`Pix2Struct`] Fix pix2struct cross attention | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Fixed a slow test of torchscript that was failing, however the test:\r\n\r\n```bash\r\ntests/models/pix2struct/test_modeling_pix2struct.py::Pix2StructIntegrationTest::test_batched_inference_image_captioning_conditioned\r\n```\r\n\r\n... | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/25175
As pointed out by @leitro on the issue, I can confirm the cross-attention should be in `layer_outputs[5]`. Also fixes the attention output index that should be in index `3` as the index `2` is the `position_bias` (they have the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25200/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25200/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25200",
"html_url": "https://github.com/huggingface/transformers/pull/25200",
"diff_url": "https://github.com/huggingface/transformers/pull/25200.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25200.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25199 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25199/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25199/comments | https://api.github.com/repos/huggingface/transformers/issues/25199/events | https://github.com/huggingface/transformers/issues/25199 | 1,828,682,402 | I_kwDOCUB6oc5s_3qi | 25,199 | [LLaMA] Rotary positional embedding differs with official implementation | {
"login": "lytning98",
"id": 23375707,
"node_id": "MDQ6VXNlcjIzMzc1NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/23375707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lytning98",
"html_url": "https://github.com/lytning98",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"same confusion",
"> same confusion\r\n\r\n@santiweide Params of some layers are re-permuted while converting weights in the official scripts. Check\r\n\r\nhttps://github.com/huggingface/transformers/blob/e42587f596181396e1c4b63660abf0c736b10dae/src/transformers/models/llama/convert_llama_weights_to_hf.py#L113-L1... | 1,690 | 1,708 | 1,690 | NONE | null | `transformers` implement LLaMA model's Rotary Positional Embedding (RoPE) as follows:
https://github.com/huggingface/transformers/blob/e42587f596181396e1c4b63660abf0c736b10dae/src/transformers/models/llama/modeling_llama.py#L173-L188
This is **GPT-NeoX style** RoPE. But in Meta's official model implementation, th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25199/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25199/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25198 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25198/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25198/comments | https://api.github.com/repos/huggingface/transformers/issues/25198/events | https://github.com/huggingface/transformers/pull/25198 | 1,828,638,254 | PR_kwDOCUB6oc5WxRJh | 25,198 | Save tokenizer and model config when training with FSDP | {
"login": "J38",
"id": 13620509,
"node_id": "MDQ6VXNlcjEzNjIwNTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/13620509?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/J38",
"html_url": "https://github.com/J38",
"followers_url": "https://api.github.com/users/J38/followers",
... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25198). All of your documentation changes will be reflected on that endpoint.",
"@sgugger @pacman100 is there anything else you'd like me to do for this PR?",
"@pacman100 friendly ping here.",
"Hello, this PR #https://g... | 1,690 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Currently when training models with FSDP the tokenizer and model config are not saved (at least using standard configs I have). This is especially bad when running a custom train.py that modifies the tokenizer and model before training. In that scenario there is no record of the new model con... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25198/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25198/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25198",
"html_url": "https://github.com/huggingface/transformers/pull/25198",
"diff_url": "https://github.com/huggingface/transformers/pull/25198.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25198.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25197 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25197/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25197/comments | https://api.github.com/repos/huggingface/transformers/issues/25197/events | https://github.com/huggingface/transformers/issues/25197 | 1,828,544,018 | I_kwDOCUB6oc5s_V4S | 25,197 | Multi-threaded parallel inferrence problem | {
"login": "zhaotyer",
"id": 89376832,
"node_id": "MDQ6VXNlcjg5Mzc2ODMy",
"avatar_url": "https://avatars.githubusercontent.com/u/89376832?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhaotyer",
"html_url": "https://github.com/zhaotyer",
"followers_url": "https://api.github.com/users/zha... | [] | closed | false | null | [] | [
"Hi @zhaotyer, thanks for opening this issue! \r\n\r\nCould you edit the issue details to make sure that the code and traceback are properly formatted? This will make it easier for us to read and understand what's going on. \r\n\r\nThe code examples should be wrapped around three backticks. You can also specify the... | 1,690 | 1,700 | 1,697 | NONE | null | ### System Info
accelerate == 0.19.0
bitsandbytes == 0.37.1
- `transformers` version: 4.29.2
- Platform: Linux-3.10.0-1160.92.1.el7.x86_64-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25197/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/25197/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25196 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25196/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25196/comments | https://api.github.com/repos/huggingface/transformers/issues/25196/events | https://github.com/huggingface/transformers/pull/25196 | 1,828,489,229 | PR_kwDOCUB6oc5Www4o | 25,196 | [DOCS] Add descriptive docstring to MinNewTokensLength | {
"login": "nablabits",
"id": 33068707,
"node_id": "MDQ6VXNlcjMzMDY4NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/33068707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nablabits",
"html_url": "https://github.com/nablabits",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @gante ",
"> Thank you for iterating raised_hands\r\n\r\nAlways a pleasure, thanks for the opportunity :hugs: "
] | 1,690 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
It addresses one of the arguments in https://github.com/huggingface/transformers/issues/24783
## 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?
@gante
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25196/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/25196/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25196",
"html_url": "https://github.com/huggingface/transformers/pull/25196",
"diff_url": "https://github.com/huggingface/transformers/pull/25196.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25196.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25195 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25195/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25195/comments | https://api.github.com/repos/huggingface/transformers/issues/25195/events | https://github.com/huggingface/transformers/issues/25195 | 1,828,380,078 | I_kwDOCUB6oc5s-t2u | 25,195 | Incorrect segmentation results on float input in 4.31.0 | {
"login": "antoche",
"id": 1627384,
"node_id": "MDQ6VXNlcjE2MjczODQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1627384?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/antoche",
"html_url": "https://github.com/antoche",
"followers_url": "https://api.github.com/users/antoche/... | [] | closed | false | null | [] | [
"cc @amyeroberts \r\n\r\nthis seems to be the same issue as discussed in https://github.com/huggingface/transformers/issues/24857. Basically there's no need to rescale the images yourself before passing them to the image processor. The image processor already handles the rescaling for you.\r\n\r\nAlternatively, if ... | 1,690 | 1,697 | 1,697 | NONE | null | ### System Info
python-3.9.10
transformers-4.31.0
pytorch-2.0.1
### Who can help?
@amyeroberts
### Information
- [X] 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 dataset (give deta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25195/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25195/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25194 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25194/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25194/comments | https://api.github.com/repos/huggingface/transformers/issues/25194/events | https://github.com/huggingface/transformers/issues/25194 | 1,828,286,916 | I_kwDOCUB6oc5s-XHE | 25,194 | `AutoTokenizer.from_pretrained` raise error when another same filename tokenizer imported | {
"login": "tongyifan",
"id": 25120867,
"node_id": "MDQ6VXNlcjI1MTIwODY3",
"avatar_url": "https://avatars.githubusercontent.com/u/25120867?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tongyifan",
"html_url": "https://github.com/tongyifan",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"I think you should report the issue in the repositories where this code comes from, as the fix you suggest is in that code (and not in the Transformers library).",
"hmmm that's an ad-hoc solution to validate the problem, and I'm not sure whether this import error is expected by Transformers?",
"I don't see an ... | 1,690 | 1,691 | 1,691 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-4.19.91-009.ali4000.alios7.x86_64-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.16.2
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25194/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25194/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25193 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25193/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25193/comments | https://api.github.com/repos/huggingface/transformers/issues/25193/events | https://github.com/huggingface/transformers/pull/25193 | 1,828,253,336 | PR_kwDOCUB6oc5Wv88K | 25,193 | make build_mpt_alibi_tensor a method of MptModel so that deepspeed co… | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
"@sgugger @ArthurZucker please review. thanks",
"should work with https://github.com/microsoft/DeepSpeed/pull/4062",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | …uld override it to make autoTP work
# 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 cont... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25193/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25193/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25193",
"html_url": "https://github.com/huggingface/transformers/pull/25193",
"diff_url": "https://github.com/huggingface/transformers/pull/25193.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25193.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25192 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25192/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25192/comments | https://api.github.com/repos/huggingface/transformers/issues/25192/events | https://github.com/huggingface/transformers/issues/25192 | 1,828,084,649 | I_kwDOCUB6oc5s9lup | 25,192 | Unable to upload/load a tool. | {
"login": "Romainlg29",
"id": 31577471,
"node_id": "MDQ6VXNlcjMxNTc3NDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/31577471?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Romainlg29",
"html_url": "https://github.com/Romainlg29",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @Romainlg29, thanks for reporting this issue! \r\n\r\nCould you update the issue information with the full running environment info: run `transformers-cli env` in the terminal and copy-paste the output? \r\n\r\ncc @LysandreJik ",
"Hi,\r\n\r\nI just updated the config, which is:\r\n\r\n```\r\ntransformers vers... | 1,690 | 1,691 | 1,691 | NONE | null | ### System Info
- transformers version: 4.31.0
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.11.3
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?):... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25192/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25192/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25191 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25191/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25191/comments | https://api.github.com/repos/huggingface/transformers/issues/25191/events | https://github.com/huggingface/transformers/issues/25191 | 1,828,026,972 | I_kwDOCUB6oc5s9Xpc | 25,191 | _forward_unimplemented() got an unexpected keyword argument 'input_ids' | {
"login": "shayongithub",
"id": 65408661,
"node_id": "MDQ6VXNlcjY1NDA4NjYx",
"avatar_url": "https://avatars.githubusercontent.com/u/65408661?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shayongithub",
"html_url": "https://github.com/shayongithub",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"I have add another `forward` method for my `MultiTaskModel `and the error is gone even though the new one appear. "
] | 1,690 | 1,690 | 1,690 | NONE | null | ### System Info
I am training on Google Colab Pro+ with following info:
- `transformers` version: 4.31.0
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- Py... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25191/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25191/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25190 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25190/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25190/comments | https://api.github.com/repos/huggingface/transformers/issues/25190/events | https://github.com/huggingface/transformers/pull/25190 | 1,827,993,319 | PR_kwDOCUB6oc5WvGrS | 25,190 | [quantization.md] fix | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | Fix typos (use case is 2 words) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25190/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25190/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25190",
"html_url": "https://github.com/huggingface/transformers/pull/25190",
"diff_url": "https://github.com/huggingface/transformers/pull/25190.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25190.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25189 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25189/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25189/comments | https://api.github.com/repos/huggingface/transformers/issues/25189/events | https://github.com/huggingface/transformers/issues/25189 | 1,827,962,584 | I_kwDOCUB6oc5s9H7Y | 25,189 | Can BlipForImageTextRetrieval be used to generate captions? | {
"login": "Vibhu04",
"id": 29009031,
"node_id": "MDQ6VXNlcjI5MDA5MDMx",
"avatar_url": "https://avatars.githubusercontent.com/u/29009031?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Vibhu04",
"html_url": "https://github.com/Vibhu04",
"followers_url": "https://api.github.com/users/Vibhu0... | [] | closed | false | null | [] | [
"Hey! Since you are not reporting a bug, could you open a discussion on [the forum](https://discuss.huggingface.co/) for this kind of questions?",
"Sure, apologies. ",
"No worries! 🤗 Feel free to ping @younesbelkada there"
] | 1,690 | 1,690 | 1,690 | NONE | null | ### System Info
`transformers` version: 4.31.0.dev0
Platform: Linux-5.15.0-76-generic-x86_64-with-debian-bullseye-sid
Python version: 3.7.15
Huggingface_hub version: 0.15.1
Safetensors version: 0.3.1
PyTorch version (GPU?): 1.13.1+cu117 (True)
Tensorflow version (GPU?): 2.11.0 (False)
Flax version (CPU?/GPU?/TP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25189/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25189/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25188 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25188/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25188/comments | https://api.github.com/repos/huggingface/transformers/issues/25188/events | https://github.com/huggingface/transformers/pull/25188 | 1,827,901,299 | PR_kwDOCUB6oc5Wu0Yu | 25,188 | Loosen output shape restrictions on GPT-style models | {
"login": "calpt",
"id": 36051308,
"node_id": "MDQ6VXNlcjM2MDUxMzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/36051308?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/calpt",
"html_url": "https://github.com/calpt",
"followers_url": "https://api.github.com/users/calpt/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"In principle, it should be OK to loosen this restriction as it doesn't introduce any breaking changes. However, it is making the code more likely to have a silent bug. Let's get a second opinion from @sgugger\r\n\r\nWith regard to th... | 1,690 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
This PR loosens checks in the model classes of a couple of GPT-style models that enforce the output shape of the model to be identical to the input shape. This aligns the changed model classes to most other model classes which don't enforce the shapes to be identical.
I might not be aware ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25188/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25188/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25188",
"html_url": "https://github.com/huggingface/transformers/pull/25188",
"diff_url": "https://github.com/huggingface/transformers/pull/25188.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25188.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25187 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25187/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25187/comments | https://api.github.com/repos/huggingface/transformers/issues/25187/events | https://github.com/huggingface/transformers/issues/25187 | 1,827,865,213 | I_kwDOCUB6oc5s8wJ9 | 25,187 | Loading LLaMA model does not use GPU memory neither offload folder | {
"login": "not4fame",
"id": 31779190,
"node_id": "MDQ6VXNlcjMxNzc5MTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/31779190?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/not4fame",
"html_url": "https://github.com/not4fame",
"followers_url": "https://api.github.com/users/not... | [] | closed | false | null | [] | [
"cc @sgugger ",
"Hi @not4fame , can you print the `device_map` of the model by printing `model.hf_device.map` ? What do you mean that it is not using the `offloaded folder` ? To me, if you were able to load your model without error, it means that you are indeed using disk offload as your GPU RAM + RAM < model siz... | 1,690 | 1,690 | 1,690 | NONE | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25187/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25187/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25186 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25186/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25186/comments | https://api.github.com/repos/huggingface/transformers/issues/25186/events | https://github.com/huggingface/transformers/pull/25186 | 1,827,693,275 | PR_kwDOCUB6oc5WuLFo | 25,186 | [DOCS] Add `NoRepeatNGramLogitsProcessor` Example for `LogitsProcessor` class | {
"login": "Rishab26",
"id": 12711383,
"node_id": "MDQ6VXNlcjEyNzExMzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/12711383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rishab26",
"html_url": "https://github.com/Rishab26",
"followers_url": "https://api.github.com/users/Ris... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey @gante Thanks for your feedback. I've made the requested changes. Let me know what you think. ",
"@gante I've made the recommended changes. Does this look better?",
"@amyeroberts I've made some changes. Let me know what you t... | 1,690 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
This PR adds an example to the docstring of `NoRepeatNGramLogitsProcessor` and edits the docstring description of the same.
This is with reference to #24783 and is part of the #24575
Fixes # (issue)
#24783
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25186/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25186/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25186",
"html_url": "https://github.com/huggingface/transformers/pull/25186",
"diff_url": "https://github.com/huggingface/transformers/pull/25186.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25186.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25185 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25185/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25185/comments | https://api.github.com/repos/huggingface/transformers/issues/25185/events | https://github.com/huggingface/transformers/issues/25185 | 1,827,569,862 | I_kwDOCUB6oc5s7oDG | 25,185 | conversational + text-generation pipelines fail to read max_length from GenerationConfig | {
"login": "yonigottesman",
"id": 4004127,
"node_id": "MDQ6VXNlcjQwMDQxMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4004127?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yonigottesman",
"html_url": "https://github.com/yonigottesman",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Hey @yonigottesman 👋 We are aware of this issue, where `GenerationConfig` is not being piped correctly at input verification time. This requires a pipeline-level change (and not simply a `Conversation`-level change), and we are working on it :)",
"This issue has been automatically marked as stale because it ha... | 1,690 | 1,694 | 1,694 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: macOS-13.3.1-arm64-arm-64bit
- Python version: 3.10.5
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (False)
- Tensorflow version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25185/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25185/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25184 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25184/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25184/comments | https://api.github.com/repos/huggingface/transformers/issues/25184/events | https://github.com/huggingface/transformers/pull/25184 | 1,827,522,463 | PR_kwDOCUB6oc5WtmoT | 25,184 | Add timeout parameter to load_image function | {
"login": "rolisz",
"id": 426313,
"node_id": "MDQ6VXNlcjQyNjMxMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/426313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rolisz",
"html_url": "https://github.com/rolisz",
"followers_url": "https://api.github.com/users/rolisz/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@amyeroberts I've done the requested changes"
] | 1,690 | 1,691 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
This PR adds a timeout parameter to all pipelines that can fetch images from remote URLs. Without a timeout, the request can hang indefinitely.
Fixes #25168
## Before submitting
- [ ] 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/25184/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25184/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25184",
"html_url": "https://github.com/huggingface/transformers/pull/25184",
"diff_url": "https://github.com/huggingface/transformers/pull/25184.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25184.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25183 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25183/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25183/comments | https://api.github.com/repos/huggingface/transformers/issues/25183/events | https://github.com/huggingface/transformers/issues/25183 | 1,827,496,374 | I_kwDOCUB6oc5s7WG2 | 25,183 | audio pipeline utility ffmpeg_microphone_live doesn't work in Google Colab | {
"login": "crcdng",
"id": 830492,
"node_id": "MDQ6VXNlcjgzMDQ5Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/830492?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/crcdng",
"html_url": "https://github.com/crcdng",
"followers_url": "https://api.github.com/users/crcdng/follow... | [] | closed | false | null | [] | [
"Hey @crcdng! Thanks for flagging this - could you share details of how you achieved step 1 (make sure microphone works and access to microphone is enabled in Colab)? Once I can reproduce I can take a look into how we can get this working!",
"This issue has been automatically marked as stale because it has not ha... | 1,690 | 1,702 | 1,702 | NONE | null | ### System Info
Googel Colab 2023/07/21 / Chrome 115.0.5790.114 / macOS 13.5
Default MacBook microphone
### Who can help?
@sanchit-gandhi
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, .... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25183/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25183/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25182 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25182/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25182/comments | https://api.github.com/repos/huggingface/transformers/issues/25182/events | https://github.com/huggingface/transformers/pull/25182 | 1,827,388,985 | PR_kwDOCUB6oc5WtLUf | 25,182 | Knowledge distillation tutorial initial commit | {
"login": "merveenoyan",
"id": 53175384,
"node_id": "MDQ6VXNlcjUzMTc1Mzg0",
"avatar_url": "https://avatars.githubusercontent.com/u/53175384?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/merveenoyan",
"html_url": "https://github.com/merveenoyan",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"🤦♀️ 😂 "
] | 1,690 | 1,691 | 1,691 | CONTRIBUTOR | null | This is a documentation PR for task guide to show how to distil an image classification model into another, using `Trainer`. I also tried to explain my intuition about distillation process so let me know if there's anything else to clarify. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25182/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25182/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25182",
"html_url": "https://github.com/huggingface/transformers/pull/25182",
"diff_url": "https://github.com/huggingface/transformers/pull/25182.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25182.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25181 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25181/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25181/comments | https://api.github.com/repos/huggingface/transformers/issues/25181/events | https://github.com/huggingface/transformers/issues/25181 | 1,827,355,791 | I_kwDOCUB6oc5s6zyP | 25,181 | RagGenerator | {
"login": "MaskXman",
"id": 59054903,
"node_id": "MDQ6VXNlcjU5MDU0OTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/59054903?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaskXman",
"html_url": "https://github.com/MaskXman",
"followers_url": "https://api.github.com/users/Mas... | [] | closed | false | null | [] | [
"Hi @MaskXman, thanks for raising this issue! \r\n\r\nSo that we can best help you, could you please: \r\n* Make sure there is a minimal reproducible code snippet. We don't have access to the dataset used: `/Volumes/WD_BLACK/Pycharm/dataset/downloads'`. Either a dummy dataset can be created in the script or a publi... | 1,690 | 1,693 | 1,693 | NONE | null | ### System Info
import os
from transformers import RagTokenizer, RagTokenForGeneration
from datasets import load_dataset
dataset_path = '/Volumes/WD_BLACK/Pycharm/dataset/downloads' # 修改为外部硬盘的路径
dataset = load_dataset(dataset_path, "psgs_w100.nq.compressed")
model_name = 'facebook/rag-token-base'
tokenize... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25181/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25181/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25180 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25180/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25180/comments | https://api.github.com/repos/huggingface/transformers/issues/25180/events | https://github.com/huggingface/transformers/issues/25180 | 1,827,279,257 | I_kwDOCUB6oc5s6hGZ | 25,180 | Accelerator FSDP state does not reflect the arguments fsdp_config | {
"login": "howard-yen",
"id": 47925471,
"node_id": "MDQ6VXNlcjQ3OTI1NDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/47925471?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/howard-yen",
"html_url": "https://github.com/howard-yen",
"followers_url": "https://api.github.com/use... | [
{
"id": 5616426447,
"node_id": "LA_kwDOCUB6oc8AAAABTsPdzw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/solved",
"name": "solved",
"color": "B1D6DC",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"cc @pacman100 ",
"Hello @howard-yen, I don't see any issues.\r\n\r\nUsing the main branch of Accelerate and Transformers PR https://github.com/huggingface/transformers/pull/25820 which fixes a bug with efficient loading of model while using FSDP.\r\n\r\nCommand:\r\n```\r\ncd transformers\r\nexport CUDA_VISIBLE_D... | 1,690 | 1,693 | 1,693 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-4.18.0-477.15.1.el8_8.x86_64-x86_64-with-glibc2.28
- Python version: 3.9.17
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (True)
- Tens... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25180/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25180/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25179 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25179/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25179/comments | https://api.github.com/repos/huggingface/transformers/issues/25179/events | https://github.com/huggingface/transformers/issues/25179 | 1,827,203,072 | I_kwDOCUB6oc5s6OgA | 25,179 | Sudden random bug | {
"login": "surya-narayanan",
"id": 17240858,
"node_id": "MDQ6VXNlcjE3MjQwODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/17240858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/surya-narayanan",
"html_url": "https://github.com/surya-narayanan",
"followers_url": "https://api... | [] | open | false | null | [] | [
"I can't really reproduce this and have not seen this anywhere else. The OS Error suggests that the interface is not available, meaning that most probably the path to your hugging face cache cannot be reached (not mounted/ not right etc). A [simple reproducer](https://colab.research.google.com/drive/1S7CRnNIUPnmDWc... | 1,690 | 1,708 | null | NONE | null | ### System Info
Here is the bug
```
File "/home/suryahari/Vornoi/QA.py", line 5, in <module>
model = AutoModelForQuestionAnswering.from_pretrained("deepset/roberta-base-squad2")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/suryahari/miniconda3/en... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25179/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25179/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25178 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25178/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25178/comments | https://api.github.com/repos/huggingface/transformers/issues/25178/events | https://github.com/huggingface/transformers/issues/25178 | 1,827,193,613 | I_kwDOCUB6oc5s6MMN | 25,178 | BERT: TensorFlow Model Garden Conversion scripts | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"cc @Rocketknight1 ",
"This isn't really my area either! A lot of this code goes back to the earliest code in `transformers` when it was a port of TF code for BERT to PyTorch. Pinging @LysandreJik - do you know if the code is intended to support ports from recent versions of the TF Model Garden?",
"As long as e... | 1,690 | 1,693 | null | COLLABORATOR | null | ### Feature request
Hi,
after working some time with the [TensorFlow Model Garden Repository](https://github.com/tensorflow/models) and training BERT models, I found out the following things that could be changed in Transformers library:
I added the Token Dropping BERT Conversion script a while ago, see #17142... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25178/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25178/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25177 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25177/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25177/comments | https://api.github.com/repos/huggingface/transformers/issues/25177/events | https://github.com/huggingface/transformers/pull/25177 | 1,827,151,076 | PR_kwDOCUB6oc5WsZqM | 25,177 | TEAMS: Add TensorFlow 2 Model Garden Conversion Script | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25177). All of your documentation changes will be reflected on that endpoint.",
"cc @Rocketknight1 ",
"Please unstale :robot: ",
"No stale yet, please!",
"Please unstale bot 😄",
"This issue has been automatically m... | 1,690 | 1,704 | 1,704 | COLLABORATOR | null | Hi,
with this PR a pretrained TEAMS model with TensorFlow Models Garden can be converted to an ELECTRA compatible model.
The TEAMS model was proposed in the "[Training ELECTRA Augmented with Multi-word Selection](https://aclanthology.org/2021.findings-acl.219.pdf) paper and accepted at ACL 2021:
> A new text e... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25177/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25177/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25177",
"html_url": "https://github.com/huggingface/transformers/pull/25177",
"diff_url": "https://github.com/huggingface/transformers/pull/25177.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25177.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25176 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25176/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25176/comments | https://api.github.com/repos/huggingface/transformers/issues/25176/events | https://github.com/huggingface/transformers/issues/25176 | 1,827,042,485 | I_kwDOCUB6oc5s5nS1 | 25,176 | Llama Tokenizer Unexpectedly Producing Unknown Token | {
"login": "rehaanahmad2013",
"id": 34905129,
"node_id": "MDQ6VXNlcjM0OTA1MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/34905129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rehaanahmad2013",
"html_url": "https://github.com/rehaanahmad2013",
"followers_url": "https://api... | [
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization",
"name": "Core: Tokenization",
"color": "FF4446",
"default": false,
"description": "Internals of the library; Tokenization."
}
] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Hey! 👋🏻 Thanks for providing a reproduction script. I suspect that you do not have `tokenizers` installed, since when I use `use_fast = True` (which is the default if you have tokenizers) the issue is not present. \r\nNow, this behaviour is expected: \r\n- Quick fix, use `legacy=True` when initialising the toke... | 1,690 | 1,693 | 1,693 | NONE | null | ### System Info
- `transformers` version: 4.29.2
- Platform: Linux-5.19.0-1027-aws-x86_64-with-glibc2.31
- Python version: 3.10.8
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25176/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25176/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25175 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25175/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25175/comments | https://api.github.com/repos/huggingface/transformers/issues/25175/events | https://github.com/huggingface/transformers/issues/25175 | 1,827,035,118 | I_kwDOCUB6oc5s5lfu | 25,175 | Pix2Struct -- mismatched output of cross attention weights | {
"login": "leitro",
"id": 9562709,
"node_id": "MDQ6VXNlcjk1NjI3MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9562709?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leitro",
"html_url": "https://github.com/leitro",
"followers_url": "https://api.github.com/users/leitro/foll... | [] | closed | false | null | [] | [
"Nice catch @leitro ! \r\nI can confirm this is correct, just made https://github.com/huggingface/transformers/pull/25200 to fix the issue on the main branch.",
"Cheers!!"
] | 1,690 | 1,690 | 1,690 | NONE | null | ### System Info
Hi huggingface team!
The output of cross attention weights is mismatched as shown in [https://github.com/huggingface/transformers/blob/05cda5df3405e6a2ee4ecf8f7e1b2300ebda472e/src/transformers/models/pix2struct/modeling_pix2struct.py#L1551C22-L1551C22](https://github.com/huggingface/transformers/bl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25175/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25175/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25174 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25174/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25174/comments | https://api.github.com/repos/huggingface/transformers/issues/25174/events | https://github.com/huggingface/transformers/pull/25174 | 1,826,665,345 | PR_kwDOCUB6oc5WquzP | 25,174 | 🚨🚨🚨 Fix rescale ViVit Efficientnet | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"If I'm not mistaken this PR is problematic as it breaks the `rescale` function. If I rebase my PR https://github.com/huggingface/transformers/pull/24796 to `main` the torchvision transforms vs transformers image transforms equivalenc... | 1,690 | 1,692 | 1,690 | COLLABORATOR | null | # What does this PR do?
Fixes the rescaling logic for both EffiicentNet and ViVit.
EfficientNet: The values were being rescale between [-0.5, 0.5]
ViVit: values were being rescale between [-7.689350249903882e-06, 0.9999923106497501] as scale was being treated as having a value 255 in the `rescale` method, ra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25174/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25174/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25174",
"html_url": "https://github.com/huggingface/transformers/pull/25174",
"diff_url": "https://github.com/huggingface/transformers/pull/25174.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25174.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25173 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25173/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25173/comments | https://api.github.com/repos/huggingface/transformers/issues/25173/events | https://github.com/huggingface/transformers/pull/25173 | 1,826,623,980 | PR_kwDOCUB6oc5Wqlv- | 25,173 | Musicgen: CFG is manually added | {
"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 | [] | [
"@sanchit-gandhi there is a potential change due to order of operations, depending on the processors commonly used. Would you be able to confirm whether it would be okay like this?",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | MEMBER | null | # What does this PR do?
This PR exists to keep `musicgen`'s current functionalities considering the changes in #24654.
In a nutshell, the #24654 has a more flexible version of CFG (allows negative prompting, is compatible with existing generation methods, doesn't need to expand the batch size by 2 before the fwd ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25173/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25173/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25173",
"html_url": "https://github.com/huggingface/transformers/pull/25173",
"diff_url": "https://github.com/huggingface/transformers/pull/25173.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25173.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25172 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25172/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25172/comments | https://api.github.com/repos/huggingface/transformers/issues/25172/events | https://github.com/huggingface/transformers/pull/25172 | 1,826,622,924 | PR_kwDOCUB6oc5Wqlhn | 25,172 | Add `token` arugment in example scripts | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger Ready to go 🚀 ",
"Thank you for the review, changed it to\r\n\r\n```python\r\n token: str = field(\r\n default=None,\r\n metadata={\r\n \"help\": (\r\n \"The token to use as HTT... | 1,690 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
If the change is good, I will apply the same to other files.
Let me know if you have opinion on the `False` vs `None` thing here. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25172/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25172/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25172",
"html_url": "https://github.com/huggingface/transformers/pull/25172",
"diff_url": "https://github.com/huggingface/transformers/pull/25172.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25172.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25171 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25171/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25171/comments | https://api.github.com/repos/huggingface/transformers/issues/25171/events | https://github.com/huggingface/transformers/pull/25171 | 1,826,479,086 | PR_kwDOCUB6oc5WqFzF | 25,171 | [`InstructBlip`] Fix instructblip slow test | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25171). All of your documentation changes will be reflected on that endpoint."
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
Fixes the current failing daily CI test: https://github.com/huggingface/transformers/actions/runs/5675853423/job/15381807774 let's make the daily CI happy!
Ran the test on the latest docker image and the test now pass with these values.
cc @sgugger @ydshieh
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25171/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25171/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25171",
"html_url": "https://github.com/huggingface/transformers/pull/25171",
"diff_url": "https://github.com/huggingface/transformers/pull/25171.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25171.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25170 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25170/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25170/comments | https://api.github.com/repos/huggingface/transformers/issues/25170/events | https://github.com/huggingface/transformers/pull/25170 | 1,826,453,493 | PR_kwDOCUB6oc5WqAlx | 25,170 | [`Mpt`] Fix mpt slow test | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
As per title, failure report here: https://github.com/huggingface/transformers/actions/runs/5675853423/job/15381788713
Probably an issue with libs I had when designing the tests (had torch +cu117 instead of cu118) - ran the tests on the latest docker image and they all pass
cc @sgugger ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25170/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25170/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25170",
"html_url": "https://github.com/huggingface/transformers/pull/25170",
"diff_url": "https://github.com/huggingface/transformers/pull/25170.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25170.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25169 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25169/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25169/comments | https://api.github.com/repos/huggingface/transformers/issues/25169/events | https://github.com/huggingface/transformers/pull/25169 | 1,826,315,324 | PR_kwDOCUB6oc5WpiY4 | 25,169 | [MusicGen] Fix integration tests | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
Fixes the integration tests for MusicGen:
1. Places all input tensors on the correct device
2. Updates expected values with those obtained on cuda
3. Fixes for fp16 generation
cc @ydshieh | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25169/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/25169/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25169",
"html_url": "https://github.com/huggingface/transformers/pull/25169",
"diff_url": "https://github.com/huggingface/transformers/pull/25169.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25169.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25168 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25168/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25168/comments | https://api.github.com/repos/huggingface/transformers/issues/25168/events | https://github.com/huggingface/transformers/issues/25168 | 1,826,080,259 | I_kwDOCUB6oc5s18YD | 25,168 | Add support for timeout parameter for load_image | {
"login": "rolisz",
"id": 426313,
"node_id": "MDQ6VXNlcjQyNjMxMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/426313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rolisz",
"html_url": "https://github.com/rolisz",
"followers_url": "https://api.github.com/users/rolisz/follow... | [] | closed | false | null | [] | [
"cc @amyeroberts \r\nSounds like a good idea, so if you want to open a PR, please go ahead!",
"Do you have any preferences, keeping it simple, add just the timeout parameter, or adding a more general `requests_params`?",
"I think keeping it simple is probably for the best."
] | 1,690 | 1,691 | 1,691 | CONTRIBUTOR | null | ### Feature request
Add a parameter timeout to the `image_utils.py:load_image` function, which would enable setting the timeout for the requests call. This parameter should be plumbed in through all the ways to call that function (so add support for it in all the image related pipelines).
Alternatively, you should ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25168/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/25168/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25167 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25167/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25167/comments | https://api.github.com/repos/huggingface/transformers/issues/25167/events | https://github.com/huggingface/transformers/pull/25167 | 1,826,054,882 | PR_kwDOCUB6oc5WopEf | 25,167 | Update `use_auth_token` -> `token` in example scripts | {
"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 | [] | [
"`use_auth_token` has been deprecated in favor of `token` in the latest release of `datasets` 🙂. ",
"> `use_auth_token` has been deprecated in favor of `token` in the latest release of `datasets` 🙂.\r\n\r\nYes, I got to check it and update my comment :-)\r\n\r\nBut thanks a lot for the information. It's very ni... | 1,690 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
Update example scripts to use `token`.
We have `datasets!=2.5.0` in transformers, and I see `datasets=2.7.0` still only uses `use_auth_token`, so I don't touch the usage in `load_dataset`. Let me know if we should change to `token` + pin a higher minimum `datasets` version.
The files un... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25167/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25167/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25167",
"html_url": "https://github.com/huggingface/transformers/pull/25167",
"diff_url": "https://github.com/huggingface/transformers/pull/25167.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25167.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25166 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25166/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25166/comments | https://api.github.com/repos/huggingface/transformers/issues/25166/events | https://github.com/huggingface/transformers/pull/25166 | 1,826,004,469 | PR_kwDOCUB6oc5Wod68 | 25,166 | override .cuda() to check if model is already quantized | {
"login": "ranchlai",
"id": 5043767,
"node_id": "MDQ6VXNlcjUwNDM3Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5043767?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ranchlai",
"html_url": "https://github.com/ranchlai",
"followers_url": "https://api.github.com/users/ranch... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
This PR is a quick fix by adding .cuda() to prevent device casting after 8-bit quantization. Same spirit as #20409. @younesbelkada @sgugger Would you please have a quick look .
It fixes the following unexpected error:
### For reberta-large, output `nan` without raising an error
```pyth... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25166/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25166/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25166",
"html_url": "https://github.com/huggingface/transformers/pull/25166",
"diff_url": "https://github.com/huggingface/transformers/pull/25166.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25166.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25165 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25165/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25165/comments | https://api.github.com/repos/huggingface/transformers/issues/25165/events | https://github.com/huggingface/transformers/issues/25165 | 1,825,998,532 | I_kwDOCUB6oc5s1obE | 25,165 | cached_file() got an unexpected keyword argument 'token' | {
"login": "nivibilla",
"id": 26687662,
"node_id": "MDQ6VXNlcjI2Njg3NjYy",
"avatar_url": "https://avatars.githubusercontent.com/u/26687662?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nivibilla",
"html_url": "https://github.com/nivibilla",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi, can you provide a full code snippet with which I can reproduce the error?\r\n",
"Hi I'm just loading the llama 2 model but from my local machine. I have an update however. I tested it on the latest pip install version and it works fine. So I think the code broke in between the pip version and the current sta... | 1,690 | 1,693 | 1,693 | NONE | null | ### System Info
transformers-4.32.0.dev0
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [x] My own task or dataset (give details below)
### Reproduc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25165/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25165/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25164 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25164/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25164/comments | https://api.github.com/repos/huggingface/transformers/issues/25164/events | https://github.com/huggingface/transformers/pull/25164 | 1,825,959,645 | PR_kwDOCUB6oc5WoUto | 25,164 | Represent query_length in a different way to solve jit issue | {
"login": "jiqing-feng",
"id": 107918818,
"node_id": "U_kgDOBm614g",
"avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiqing-feng",
"html_url": "https://github.com/jiqing-feng",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,691 | 1,690 | CONTRIBUTOR | null | Hi @ArthurZucker @younesbelkada @sgugger
Thanks for contributing to the MPT model. I found a jit issue with this model.
```python
from transformers import AutoModelForCausalLM, AutoConfig
from optimum.intel.generation.modeling import jit_trace
model = AutoModelForCausalLM.from_pretrained("mosaicml/mpt-7b")
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25164/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25164/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25164",
"html_url": "https://github.com/huggingface/transformers/pull/25164",
"diff_url": "https://github.com/huggingface/transformers/pull/25164.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25164.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25163 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25163/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25163/comments | https://api.github.com/repos/huggingface/transformers/issues/25163/events | https://github.com/huggingface/transformers/issues/25163 | 1,825,954,420 | I_kwDOCUB6oc5s1dp0 | 25,163 | torch.jit._trace.TracingCheckError: Tracing failed sanity checks! ERROR: Graphs differed across invocations! | {
"login": "zhug777",
"id": 41363470,
"node_id": "MDQ6VXNlcjQxMzYzNDcw",
"avatar_url": "https://avatars.githubusercontent.com/u/41363470?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhug777",
"html_url": "https://github.com/zhug777",
"followers_url": "https://api.github.com/users/zhug77... | [] | closed | false | null | [] | [
"Hi it seems you code snippet is somehow different than what has been shown in the log where it has\r\n\r\n```Cell In[24], line 4\r\n 2 out = model(t)\r\n 3 print(out[0].shape)\r\n----> 4 t_model = torch.jit.trace(model, [t])\r\n 5 print(\"ok\")\r\n```\r\nAlso the code snippet won't work for us as we... | 1,690 | 1,694 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-4.18.0-2.4.3.3.kwai.x86_64-x86_64-with-glibc2.17
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (Tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25163/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25163/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25162 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25162/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25162/comments | https://api.github.com/repos/huggingface/transformers/issues/25162/events | https://github.com/huggingface/transformers/issues/25162 | 1,825,942,162 | I_kwDOCUB6oc5s1aqS | 25,162 | torch.jit._trace.TracingCheckError: Tracing failed sanity checks! ERROR: Graphs differed across invocations! | {
"login": "zhug777",
"id": 41363470,
"node_id": "MDQ6VXNlcjQxMzYzNDcw",
"avatar_url": "https://avatars.githubusercontent.com/u/41363470?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhug777",
"html_url": "https://github.com/zhug777",
"followers_url": "https://api.github.com/users/zhug77... | [] | closed | false | null | [] | [] | 1,690 | 1,690 | 1,690 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-4.18.0-2.4.3.3.kwai.x86_64-x86_64-with-glibc2.17
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (Tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25162/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25162/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25161 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25161/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25161/comments | https://api.github.com/repos/huggingface/transformers/issues/25161/events | https://github.com/huggingface/transformers/pull/25161 | 1,825,694,594 | PR_kwDOCUB6oc5WndEd | 25,161 | Update configuration_glpn.py | {
"login": "PETRASTORE",
"id": 104895418,
"node_id": "U_kgDOBkCTug",
"avatar_url": "https://avatars.githubusercontent.com/u/104895418?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PETRASTORE",
"html_url": "https://github.com/PETRASTORE",
"followers_url": "https://api.github.com/users/PET... | [] | closed | false | null | [] | [
"C",
"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/CONTRIBUTIN... | 1,690 | 1,693 | 1,693 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25161/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25161/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25161",
"html_url": "https://github.com/huggingface/transformers/pull/25161",
"diff_url": "https://github.com/huggingface/transformers/pull/25161.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25161.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25160 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25160/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25160/comments | https://api.github.com/repos/huggingface/transformers/issues/25160/events | https://github.com/huggingface/transformers/issues/25160 | 1,825,674,040 | I_kwDOCUB6oc5s0ZM4 | 25,160 | "RuntimeError: expected scalar type Half but found Char" on LLaMa-2 () inference stage | {
"login": "Nicolas99-9",
"id": 16637853,
"node_id": "MDQ6VXNlcjE2NjM3ODUz",
"avatar_url": "https://avatars.githubusercontent.com/u/16637853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Nicolas99-9",
"html_url": "https://github.com/Nicolas99-9",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"This is a duplicate of #25144. Make sure to check the `pretraining_tp` value in the config.json\r\n",
"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 ... | 1,690 | 1,693 | 1,693 | NONE | null | ### System Info
Error when loading LLM with 8 bit quantization.
**Versions:**
tokenizers 0.13.3
transformers 4.31.0
**Error message:**
```
File "/opt/conda/lib/python3.10/site-packages/accelerate/hooks.py", line 165, in new_forward
output = old_forward(*args, **kw... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25160/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25160/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25159 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25159/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25159/comments | https://api.github.com/repos/huggingface/transformers/issues/25159/events | https://github.com/huggingface/transformers/pull/25159 | 1,825,611,663 | PR_kwDOCUB6oc5WnLr5 | 25,159 | Add GeoLM | {
"login": "zekun-li",
"id": 5383572,
"node_id": "MDQ6VXNlcjUzODM1NzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5383572?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zekun-li",
"html_url": "https://github.com/zekun-li",
"followers_url": "https://api.github.com/users/zekun... | [] | closed | false | null | [] | [
"Hi @zekun-li, thanks for opening this PR! \r\n\r\nThe easiest and recommended way to make a model available in transformers is to add the modeling code directly on the hub: https://huggingface.co/docs/transformers/custom_models\r\n\r\nThis means, once working, the model can be found and used immediately without ha... | 1,690 | 1,693 | 1,693 | NONE | null | # What does this PR do?
Add a new model called **GeoLM** into the Transformer library. GeoLM is a language model based on BERT that facilitates **geospatial understanding** in NL documents. It is pretrained on world-wide OpenStreetMap (OSM), WikiData and Wikipedia data, and can be adapted to various geospatial relat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25159/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25159/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25159",
"html_url": "https://github.com/huggingface/transformers/pull/25159",
"diff_url": "https://github.com/huggingface/transformers/pull/25159.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25159.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25158 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25158/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25158/comments | https://api.github.com/repos/huggingface/transformers/issues/25158/events | https://github.com/huggingface/transformers/issues/25158 | 1,825,599,289 | I_kwDOCUB6oc5s0G85 | 25,158 | Transformers not working with the new Jax 0.4.14 due to API deprecation | {
"login": "SystemPanic",
"id": 25750030,
"node_id": "MDQ6VXNlcjI1NzUwMDMw",
"avatar_url": "https://avatars.githubusercontent.com/u/25750030?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SystemPanic",
"html_url": "https://github.com/SystemPanic",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @SystemPanic \r\n\r\n`transformers` currently only support `jax<=0.4.13` and `jaxlib<=0.4.13`. You can see that in\r\n\r\nhttps://github.com/huggingface/transformers/blob/400e76ef11d94a12c255fe1a598966e1d6021511/setup.py#L127-L128"
] | 1,690 | 1,691 | 1,691 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.0+cu117 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25158/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 1,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25158/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25157 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25157/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25157/comments | https://api.github.com/repos/huggingface/transformers/issues/25157/events | https://github.com/huggingface/transformers/issues/25157 | 1,825,590,026 | I_kwDOCUB6oc5s0EsK | 25,157 | Unexpected GPU requests during training | {
"login": "rangehow",
"id": 88258534,
"node_id": "MDQ6VXNlcjg4MjU4NTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/88258534?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rangehow",
"html_url": "https://github.com/rangehow",
"followers_url": "https://api.github.com/users/ran... | [] | closed | false | null | [] | [
"solved"
] | 1,690 | 1,690 | 1,690 | NONE | null | ### System Info
- `transformers` version: 4.29.2
- Platform: Linux-5.19.0-46-generic-x86_64-with-glibc2.31
- Python version: 3.11.4
- Huggingface_hub version: 0.15.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25157/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25157/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25156 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25156/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25156/comments | https://api.github.com/repos/huggingface/transformers/issues/25156/events | https://github.com/huggingface/transformers/issues/25156 | 1,825,499,416 | I_kwDOCUB6oc5szukY | 25,156 | Mask2Former Model Doesn't Move to GPU | {
"login": "chokevin8",
"id": 66405082,
"node_id": "MDQ6VXNlcjY2NDA1MDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/66405082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chokevin8",
"html_url": "https://github.com/chokevin8",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @chokevin8 \r\n\r\nThank you for reporting. Could you provide a self-contained code snippet so the reproduction of the error is direct.\r\n\r\nAlso you can enclose the error log in a block like the following\r\n\r\n\\`\\`\\`bash\r\n error log ...\r\n\\`\\`\\`\r\n\r\nto make it easier to read. \r\n\r\nThank you... | 1,690 | 1,693 | 1,693 | NONE | null | ### System Info
transformers version: 4.31.0 (same bug occurs until version 4.27.0)
pytorch 2.0.1+cu118 (same bug occurs with cu117)
python: python 3.10
systems: NVIDIA RTX 3090 CUDA 12.0
### Who can help?
@amyeroberts @sgugger
### Information
- [ ] The official example scripts
- [X] My own modified scripts
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25156/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25156/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25155 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25155/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25155/comments | https://api.github.com/repos/huggingface/transformers/issues/25155/events | https://github.com/huggingface/transformers/issues/25155 | 1,825,280,259 | I_kwDOCUB6oc5sy5ED | 25,155 | torch compile changes model output in half precision | {
"login": "markovalexander",
"id": 22663468,
"node_id": "MDQ6VXNlcjIyNjYzNDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/22663468?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/markovalexander",
"html_url": "https://github.com/markovalexander",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"That seems like an issue for PyTorch more than Transformers :-) Also note that there is a special order for context manager autocast and compiled model to respect (can't remember right now) which also may be the cause.",
"This issue has been automatically marked as stale because it has not had recent activity. I... | 1,690 | 1,693 | 1,693 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.0-1034-oracle-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- Accelerate version: 0.20.3
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25155/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25155/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25154 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25154/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25154/comments | https://api.github.com/repos/huggingface/transformers/issues/25154/events | https://github.com/huggingface/transformers/issues/25154 | 1,825,181,782 | I_kwDOCUB6oc5syhBW | 25,154 | `Pipeline.forward()` possibility to place `model_outputs` on GPU | {
"login": "gugarosa",
"id": 4120639,
"node_id": "MDQ6VXNlcjQxMjA2Mzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4120639?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gugarosa",
"html_url": "https://github.com/gugarosa",
"followers_url": "https://api.github.com/users/gugar... | [] | closed | false | null | [] | [
"`pipeline` is only a wrapper around the model and preprocessing class for quick demos. To customize things more to your needs, you should use those classes independently as you need :-)",
"Thanks for the feedback @sgugger! I will keep customizing it then 😄 "
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | ### Feature request
In `transformers.pipelines.base.py` (line 1035):
`model_outputs = self._ensure_tensor_on_device(model_outputs, device=torch.device("cpu"))`
Is it possible to add a new argument that decides whether `model_outputs` should be placed on `self.device` instead of `torch.device("cpu")`?
### Mo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25154/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25154/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25153 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25153/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25153/comments | https://api.github.com/repos/huggingface/transformers/issues/25153/events | https://github.com/huggingface/transformers/pull/25153 | 1,825,011,442 | PR_kwDOCUB6oc5WlGpX | 25,153 | Add new model: GeoLM | {
"login": "zekun-li",
"id": 5383572,
"node_id": "MDQ6VXNlcjUzODM1NzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5383572?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zekun-li",
"html_url": "https://github.com/zekun-li",
"followers_url": "https://api.github.com/users/zekun... | [] | closed | false | null | [] | [
"This PR contains redundant commits and failed test cases. I will fix them and create a new PR later. "
] | 1,690 | 1,690 | 1,690 | NONE | null | # What does this PR do?
Add a new model called **GeoLM** into the Transformer library. GeoLM is a language model based on BERT that facilitates **geospatial understanding** in NL documents. It is pretrained on world-wide OpenStreetMap (OSM), WikiData and Wikipedia data, and can be adapted to various geospatial relat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25153/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25153/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25153",
"html_url": "https://github.com/huggingface/transformers/pull/25153",
"diff_url": "https://github.com/huggingface/transformers/pull/25153.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25153.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25152 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25152/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25152/comments | https://api.github.com/repos/huggingface/transformers/issues/25152/events | https://github.com/huggingface/transformers/issues/25152 | 1,824,988,098 | I_kwDOCUB6oc5sxxvC | 25,152 | Model is not compiled when using `torch_compile=True` on a machine with multiple GPUs | {
"login": "eawer",
"id": 1741779,
"node_id": "MDQ6VXNlcjE3NDE3Nzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1741779?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eawer",
"html_url": "https://github.com/eawer",
"followers_url": "https://api.github.com/users/eawer/follower... | [] | closed | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"cc @muellerzr ",
"When running on my machine via `main` I do get the `torch._inductor` warning, meaning that compilation is happening (and verified looking at accelerate). I'm running on two t4's so I may not see the direct speed impact we may expect, but I got 45s with, 15s without. @sgugger any thoughts on why... | 1,690 | 1,699 | 1,699 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-4.14.318-241.531.amzn2.x86_64-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (Tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25152/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25152/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25151 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25151/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25151/comments | https://api.github.com/repos/huggingface/transformers/issues/25151/events | https://github.com/huggingface/transformers/issues/25151 | 1,824,842,616 | I_kwDOCUB6oc5sxON4 | 25,151 | Correct Falcon code in github does not match Falcon's checkpoint | {
"login": "afcruzs",
"id": 4340932,
"node_id": "MDQ6VXNlcjQzNDA5MzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4340932?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/afcruzs",
"html_url": "https://github.com/afcruzs",
"followers_url": "https://api.github.com/users/afcruzs/... | [] | closed | false | null | [] | [
"The Falcon model inside Transformers is not ready to be used yet and is not compatible with the online checkpoint. To make the online checkpoints compatible with Transformer, we need to do some changes in the model repo that will break its integration with text-generation-inference. We are waiting for the new vers... | 1,690 | 1,693 | 1,693 | CONTRIBUTOR | null | ### System Info
Transformers version: 4.31.0
### Who can help?
@ArthurZucker @younesbelkada @Rocketknight1
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or datas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25151/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/25151/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25150 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25150/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25150/comments | https://api.github.com/repos/huggingface/transformers/issues/25150/events | https://github.com/huggingface/transformers/pull/25150 | 1,824,743,435 | PR_kwDOCUB6oc5WkMtG | 25,150 | Update modeling_gpt2.py | {
"login": "nikitakapitan",
"id": 101126304,
"node_id": "U_kgDOBgcQoA",
"avatar_url": "https://avatars.githubusercontent.com/u/101126304?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikitakapitan",
"html_url": "https://github.com/nikitakapitan",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Can you just run `make style`, maybe it will put it back? ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25150). All of your documentation changes will be reflected on that endpoint.",
"Is there anything I can do to help merging it? ",
"Yo... | 1,690 | 1,695 | 1,695 | NONE | null | Changed the declaration order in __ init __ so it is aligned with operational order.
As consequence, __ repr __ method is now also aligned with operational order
# 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25150/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25150/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25150",
"html_url": "https://github.com/huggingface/transformers/pull/25150",
"diff_url": "https://github.com/huggingface/transformers/pull/25150.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25150.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25149 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25149/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25149/comments | https://api.github.com/repos/huggingface/transformers/issues/25149/events | https://github.com/huggingface/transformers/pull/25149 | 1,824,643,810 | PR_kwDOCUB6oc5Wj2ph | 25,149 | [`IDEFICS`] Fix idefics config refactor | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
Refactors the `IdeficsConfig` to match the configuration composition patterns of multimodal models on transformers
original PR: https://github.com/huggingface/transformers/pull/24796
Summary of the changes
- Removed the copy of `CLIPTextConfig`, `CLIPConfig` in `clip.py` as they wer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25149/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/25149/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25149",
"html_url": "https://github.com/huggingface/transformers/pull/25149",
"diff_url": "https://github.com/huggingface/transformers/pull/25149.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25149.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25148 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25148/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25148/comments | https://api.github.com/repos/huggingface/transformers/issues/25148/events | https://github.com/huggingface/transformers/pull/25148 | 1,824,620,658 | PR_kwDOCUB6oc5Wjxiv | 25,148 | Add new model in doc table of content | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
As requested by @stas00 , this PR makes sure that the `add-new-model-like` command adds the model in the doc table of content. Since we are using another model as a reference, we can simply add it to the same section as that base model. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25148/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/25148/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25148",
"html_url": "https://github.com/huggingface/transformers/pull/25148",
"diff_url": "https://github.com/huggingface/transformers/pull/25148.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25148.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25147 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25147/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25147/comments | https://api.github.com/repos/huggingface/transformers/issues/25147/events | https://github.com/huggingface/transformers/issues/25147 | 1,824,577,013 | I_kwDOCUB6oc5swNX1 | 25,147 | Add PromptTemplate and allow for default PromptTemplate in model configuration | {
"login": "vincentmin",
"id": 39170736,
"node_id": "MDQ6VXNlcjM5MTcwNzM2",
"avatar_url": "https://avatars.githubusercontent.com/u/39170736?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vincentmin",
"html_url": "https://github.com/vincentmin",
"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 | [] | [
"cc @ArthurZucker ",
"This is 100% needed!",
"Hey! Thanks for opening this. Not sure if you have seen this but we have the [`ConversationalPipeline` ](https://huggingface.co/docs/transformers/main_classes/pipelines#transformers.Conversation) along with the `Conversation` object, which can pretty easily handle c... | 1,690 | 1,702 | null | NONE | null | ### Feature request
As a user, I want to be able to load a model and feed it my input in such a way that it matches the prompt template that it saw during training. I want to be able to load the default prompt with few lines of code and without having to look up how the model was trained. Additionally, I want to be ab... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25147/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25147/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25146 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25146/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25146/comments | https://api.github.com/repos/huggingface/transformers/issues/25146/events | https://github.com/huggingface/transformers/pull/25146 | 1,824,575,839 | PR_kwDOCUB6oc5Wjn_t | 25,146 | More `token` things | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
Fix #25141
A few places are missed in #25083
(I haven't work on the training example scripts) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25146/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25146/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25146",
"html_url": "https://github.com/huggingface/transformers/pull/25146",
"diff_url": "https://github.com/huggingface/transformers/pull/25146.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25146.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25145 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25145/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25145/comments | https://api.github.com/repos/huggingface/transformers/issues/25145/events | https://github.com/huggingface/transformers/issues/25145 | 1,824,558,234 | I_kwDOCUB6oc5swIya | 25,145 | LLAMA 2 Distributed Training Support | {
"login": "BiEchi",
"id": 60613238,
"node_id": "MDQ6VXNlcjYwNjEzMjM4",
"avatar_url": "https://avatars.githubusercontent.com/u/60613238?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BiEchi",
"html_url": "https://github.com/BiEchi",
"followers_url": "https://api.github.com/users/BiEchi/fo... | [] | closed | false | null | [] | [
"Without a code reproducer of the error you encounter, there is little we will be able to do to help.",
"Just figured it out. So after we set `device_map=True`, we can't move the model to a specific device using `model = model.to(device)`, because the model is already dynamically allocated on all available device... | 1,690 | 1,690 | 1,690 | NONE | null | ### Feature request
LLAMA 2 support for `device_map=True`
### Motivation
The current LLAMA 2 does not include support for `device_map=True`.
```
Traceback (most recent call last):
File "/u/haob2/saliency4alce/salience_llama_ecco.py", line 38, in <module>
output = lm.generate(text, generate=3, beam_size=1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25145/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25145/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25144 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25144/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25144/comments | https://api.github.com/repos/huggingface/transformers/issues/25144/events | https://github.com/huggingface/transformers/issues/25144 | 1,824,539,424 | I_kwDOCUB6oc5swEMg | 25,144 | Having "RuntimeError: expected scalar type Half but found Char" on LLaMa-2 inference stage | {
"login": "kenchanLOL",
"id": 55791584,
"node_id": "MDQ6VXNlcjU1NzkxNTg0",
"avatar_url": "https://avatars.githubusercontent.com/u/55791584?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kenchanLOL",
"html_url": "https://github.com/kenchanLOL",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Hmm I really think we should set that value (`config.pretraining_tp`) to 1 (at least when the model is quantized) for all models as it can introduce unexpected behaviour to users. We saw it introduced bugs with PEFT (that users currently overcome by forcing `config.pretraining_tp` to be equ... | 1,690 | 1,691 | 1,691 | NONE | null | ### System Info
Working on jupyter notebook of a docker Linux instance of A100 , Ubuntu, x86_64

### Who can help?
@sgugger @muellerzr
### Information
- [X] The official example scripts
- [ ] My ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25144/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25144/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25143 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25143/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25143/comments | https://api.github.com/repos/huggingface/transformers/issues/25143/events | https://github.com/huggingface/transformers/issues/25143 | 1,824,468,791 | I_kwDOCUB6oc5svy83 | 25,143 | run_generation.py script does not work for most models | {
"login": "bortzmeyer",
"id": 103188,
"node_id": "MDQ6VXNlcjEwMzE4OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/103188?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bortzmeyer",
"html_url": "https://github.com/bortzmeyer",
"followers_url": "https://api.github.com/users/b... | [] | closed | false | null | [] | [
"I'm not sure why you expect this command to work: you are passing `--model_name_or_path=xlnet` which is not a valid model identifier on the Hub (as the error clearly says). You need to pick an actual model, all xlnet variants are listed [here](https://huggingface.co/models?sort=trending&search=xlnet).",
"> I'm n... | 1,690 | 1,693 | 1,693 | NONE | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Linux-6.1.0-10-amd64-x86_64-with-glibc2.36
- Python version: 3.11.2
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (False)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25143/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25143/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25142 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25142/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25142/comments | https://api.github.com/repos/huggingface/transformers/issues/25142/events | https://github.com/huggingface/transformers/issues/25142 | 1,824,441,731 | I_kwDOCUB6oc5svsWD | 25,142 | Using Trainer with custom model caused dimension error | {
"login": "zhangyilun",
"id": 8699465,
"node_id": "MDQ6VXNlcjg2OTk0NjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8699465?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhangyilun",
"html_url": "https://github.com/zhangyilun",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"cc our trainer master @sgugger , but I think the best is to follow the standard output format (i.e. either tuple or dict)",
"This is communicated clearly on the [Trainer doc page](https://huggingface.co/docs/transformers/main_classes/trainer), scroll a bit to the big warning.",
"Thank you for pointing me to th... | 1,690 | 1,690 | 1,690 | NONE | null | ### System Info
```
- `transformers` version: 4.31.0
- Platform: Windows-10-10.0.19045-SP0
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25142/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25142/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25141 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25141/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25141/comments | https://api.github.com/repos/huggingface/transformers/issues/25141/events | https://github.com/huggingface/transformers/issues/25141 | 1,824,416,847 | I_kwDOCUB6oc5svmRP | 25,141 | use_auth_token deprecation in pipeline | {
"login": "maxjeblick",
"id": 24281881,
"node_id": "MDQ6VXNlcjI0MjgxODgx",
"avatar_url": "https://avatars.githubusercontent.com/u/24281881?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maxjeblick",
"html_url": "https://github.com/maxjeblick",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Thanks for the report!\r\ncc @ydshieh Looks like it comes from the PR from yesterday.",
"Thanks for reporting, I will work on this. Not very easy to hanlde this history it turns out 👀 ",
"Hi @maxjeblick \r\n\r\nCould you share the full error log. So far I don't get error when using `token=True`.\r\n(For `gene... | 1,690 | 1,690 | 1,690 | NONE | null | ### System Info
I noticed that `pipeline` uses `use_auth_token` argument which raises `FutureWarning: The use_auth_token argument is deprecated and will be removed in v5 of Transformers.`.
Replacing `use_auth_token=True` with `token=True` argument does not yet work in `pipeline` (will raise an error).
Sys Info... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25141/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25141/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25140 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25140/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25140/comments | https://api.github.com/repos/huggingface/transformers/issues/25140/events | https://github.com/huggingface/transformers/pull/25140 | 1,824,314,789 | PR_kwDOCUB6oc5WiwL- | 25,140 | add docs TypicalLogitsWarper | {
"login": "akshayamadhuri",
"id": 76612327,
"node_id": "MDQ6VXNlcjc2NjEyMzI3",
"avatar_url": "https://avatars.githubusercontent.com/u/76612327?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akshayamadhuri",
"html_url": "https://github.com/akshayamadhuri",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"@gante let me know the changes",
"You also need to run `make fixup` before your next commit, so that our CI becomes happy :D ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25140). All of your documentation changes will be reflected on that endpoint.",
"This issu... | 1,690 | 1,693 | 1,693 | NONE | null | # What does this PR do?
Added some doc string to TypicalLogitsWarper with some examples as well.
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25140/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25140/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25140",
"html_url": "https://github.com/huggingface/transformers/pull/25140",
"diff_url": "https://github.com/huggingface/transformers/pull/25140.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25140.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25139 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25139/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25139/comments | https://api.github.com/repos/huggingface/transformers/issues/25139/events | https://github.com/huggingface/transformers/issues/25139 | 1,824,272,525 | I_kwDOCUB6oc5svDCN | 25,139 | Seq2SeqTrainer.prediction_step does not support model.generation_config.max_length to be null | {
"login": "antonioalegria",
"id": 49322,
"node_id": "MDQ6VXNlcjQ5MzIy",
"avatar_url": "https://avatars.githubusercontent.com/u/49322?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/antonioalegria",
"html_url": "https://github.com/antonioalegria",
"followers_url": "https://api.github.com/u... | [] | closed | false | null | [] | [
"cc @gante ",
"Hi @antonioalegria -- your issue and suggested fix makes complete sense 👍 Would you like to open a PR with the fix?",
"Sure, I'll do it! Thanks!",
"I'd like to note here that when setting `predict_with_generate=True` whenever loop gets to evaluation phase it starts spitting out a ton of warnin... | 1,690 | 1,695 | 1,695 | NONE | null | ### System Info
Although it is recommended to use max_new_tokens instead of max_length, if we set max_length to None, in the model's generation config, then in the following lines, we will get a "TypeError: '<' not supported between instances of 'int' and 'NoneType'"
In transformers/trainer_seq2seq.py:290-296
```p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25139/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25139/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25138 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25138/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25138/comments | https://api.github.com/repos/huggingface/transformers/issues/25138/events | https://github.com/huggingface/transformers/issues/25138 | 1,824,118,516 | I_kwDOCUB6oc5sudb0 | 25,138 | How to return detected language using whisper with asr pipeline? | {
"login": "arso1er",
"id": 29825179,
"node_id": "MDQ6VXNlcjI5ODI1MTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/29825179?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arso1er",
"html_url": "https://github.com/arso1er",
"followers_url": "https://api.github.com/users/arso1e... | [] | closed | false | null | [] | [
"Probably the easiest here is to use the `processor` + `model` API:\r\n```python\r\nfrom transformers import WhisperProcessor, WhisperForConditionalGeneration\r\nfrom datasets import load_dataset\r\n\r\nmodel = WhisperForConditionalGeneration.from_pretrained(\"openai/whisper-tiny\")\r\nprocessor = WhisperProcessor.... | 1,690 | 1,707 | 1,690 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.0-67-generic-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (False)
- Tensor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25138/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25138/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25137 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25137/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25137/comments | https://api.github.com/repos/huggingface/transformers/issues/25137/events | https://github.com/huggingface/transformers/issues/25137 | 1,824,102,025 | I_kwDOCUB6oc5suZaJ | 25,137 | Incorrect backward pass in the four bits LLaMA 2 70B | {
"login": "noamwies",
"id": 3121971,
"node_id": "MDQ6VXNlcjMxMjE5NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3121971?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/noamwies",
"html_url": "https://github.com/noamwies",
"followers_url": "https://api.github.com/users/noamw... | [] | closed | false | null | [] | [
"Hi @noamwies \r\nFor fine-tuning llama2 models that have `config.pretraining_tp>1` consider calling\r\n\r\n```python\r\nmodel.config.pretraining_tp = 1\r\n```\r\n\r\nBefore training, make sure to use the main branch of `transformers` to include: https://github.com/huggingface/transformers/pull/24906 \r\n\r\n```bas... | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | ### System Info
This issue needs to be treated as a code review comment.
### Who can help?
@TimDettmers @ArthurZucker @younesbelkada
It seems that when `config.pretraining_tp` is greater than one, then the projections of the keys, queries, and values in the `LlamaAttention` implemented using `torch.nn.functiona... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25137/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25137/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25136 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25136/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25136/comments | https://api.github.com/repos/huggingface/transformers/issues/25136/events | https://github.com/huggingface/transformers/pull/25136 | 1,824,063,174 | PR_kwDOCUB6oc5Wh5Tv | 25,136 | fix delete all checkpoints when save_total_limit is set to 1 | {
"login": "Pbihao",
"id": 22709028,
"node_id": "MDQ6VXNlcjIyNzA5MDI4",
"avatar_url": "https://avatars.githubusercontent.com/u/22709028?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Pbihao",
"html_url": "https://github.com/Pbihao",
"followers_url": "https://api.github.com/users/Pbihao/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25136). All of your documentation changes will be reflected on that endpoint."
] | 1,690 | 1,690 | 1,690 | 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/25136/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25136/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25136",
"html_url": "https://github.com/huggingface/transformers/pull/25136",
"diff_url": "https://github.com/huggingface/transformers/pull/25136.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25136.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25135 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25135/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25135/comments | https://api.github.com/repos/huggingface/transformers/issues/25135/events | https://github.com/huggingface/transformers/pull/25135 | 1,824,003,061 | PR_kwDOCUB6oc5WhsNH | 25,135 | In assisted decoding, pass model_kwargs to model's forward call | {
"login": "sinking-point",
"id": 17532243,
"node_id": "MDQ6VXNlcjE3NTMyMjQz",
"avatar_url": "https://avatars.githubusercontent.com/u/17532243?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sinking-point",
"html_url": "https://github.com/sinking-point",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25135). All of your documentation changes will be reflected on that endpoint.",
"@gante This is ready to review now. Thanks in advance.",
"This issue has been automatically marked as stale because it has not had recent ac... | 1,690 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Previously, assisted decoding would ignore any additional kwargs that it doesn't explicitly handle. This was inconsistent with other generation methods, which pass the model_kwargs through prepare_inputs_for_generation and forward the returned dict to the model's forward call.
The prepare_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25135/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25135/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25135",
"html_url": "https://github.com/huggingface/transformers/pull/25135",
"diff_url": "https://github.com/huggingface/transformers/pull/25135.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25135.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25134 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25134/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25134/comments | https://api.github.com/repos/huggingface/transformers/issues/25134/events | https://github.com/huggingface/transformers/pull/25134 | 1,823,902,899 | PR_kwDOCUB6oc5WhWg5 | 25,134 | Clarify 4/8 bit loading log message | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @younesbelkada and @SunMarc",
"Thanks!"
] | 1,690 | 1,690 | 1,690 | COLLABORATOR | null | If you enable 4-bit loading, you will get a message that the model is being loaded in 8-bit. This can be a tad confusing. This tiny PR simply distinguishes in the logging between 4-bit and 8-bit loading. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25134/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25134/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25134",
"html_url": "https://github.com/huggingface/transformers/pull/25134",
"diff_url": "https://github.com/huggingface/transformers/pull/25134.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25134.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25133 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25133/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25133/comments | https://api.github.com/repos/huggingface/transformers/issues/25133/events | https://github.com/huggingface/transformers/pull/25133 | 1,823,798,215 | PR_kwDOCUB6oc5Wg_0Q | 25,133 | make run_generation more generic for other devices | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@muellerzr Hey there! I've addressed some code quality check warnings. Could you take a look at this PR? Thank you!",
"> Thanks! There's some errors in here we need to fix, and we can probably also improve the mixed precision to us... | 1,690 | 1,694 | 1,690 | CONTRIBUTOR | null | ## What does this PR do?
Currently, the example for text-generation is only available for cuda or cpu. This PR makes it work well on mps or npu devices.
Verified on A100 and npu.
Example usage:
```
python3 run_generation.py \
--model_type=gpt2 \
--model_name_or_path=gpt2
```
Below are the output ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25133/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25133/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25133",
"html_url": "https://github.com/huggingface/transformers/pull/25133",
"diff_url": "https://github.com/huggingface/transformers/pull/25133.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25133.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25132 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25132/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25132/comments | https://api.github.com/repos/huggingface/transformers/issues/25132/events | https://github.com/huggingface/transformers/issues/25132 | 1,823,781,928 | I_kwDOCUB6oc5stLQo | 25,132 | Fine tuning TrOCR on 22 Indian Languages | {
"login": "AnustupOCR",
"id": 138591337,
"node_id": "U_kgDOCEK8aQ",
"avatar_url": "https://avatars.githubusercontent.com/u/138591337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnustupOCR",
"html_url": "https://github.com/AnustupOCR",
"followers_url": "https://api.github.com/users/Anu... | [] | closed | false | null | [] | [
"@AnustupOCR \r\n\r\nThis question is better to be on [Hugging Face Forum](https://discuss.huggingface.co/). The issue page here is for bug reporting and feature requests.\r\n\r\n-------------------\r\n\r\nHowever, it makes sense to try `decoder_start_token_id=2` but monitoring the generation results earlier (not t... | 1,690 | 1,693 | 1,693 | NONE | null | Yeah that definitely will change behaviour. If you check
```python
from transformers import TrOCRProcessor, VisionEncoderDecoderModel
processor = TrOCRProcessor.from_pretrained("microsoft/trocr-base-stage1")
model = VisionEncoderDecoderModel.from_pretrained("microsoft/trocr-base-stage1")
print(... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25132/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25132/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25131 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25131/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25131/comments | https://api.github.com/repos/huggingface/transformers/issues/25131/events | https://github.com/huggingface/transformers/pull/25131 | 1,823,768,011 | PR_kwDOCUB6oc5Wg5YM | 25,131 | [`T5/LlamaTokenizer`] default legacy to `None` to not always warn | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Excellent - thank you for improving this feature, Arthur!"
] | 1,690 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
In a follow up to the patch that introduce the `legacy` argument #24622, this makes sure people are warn if the `legacy` is not set. Since online models were not changed, this does not really change much! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25131/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25131/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25131",
"html_url": "https://github.com/huggingface/transformers/pull/25131",
"diff_url": "https://github.com/huggingface/transformers/pull/25131.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25131.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25130 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25130/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25130/comments | https://api.github.com/repos/huggingface/transformers/issues/25130/events | https://github.com/huggingface/transformers/issues/25130 | 1,823,639,062 | I_kwDOCUB6oc5ssoYW | 25,130 | an inplace operation preventing TorchDistributor training | {
"login": "liqi6811",
"id": 48280760,
"node_id": "MDQ6VXNlcjQ4MjgwNzYw",
"avatar_url": "https://avatars.githubusercontent.com/u/48280760?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liqi6811",
"html_url": "https://github.com/liqi6811",
"followers_url": "https://api.github.com/users/liq... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"I would be very surprised if this famous `BERT` model has such issue.\r\n\r\nCould you provide the system environment like pytorch version.\r\n\r\nYou can run the command `transformers-cli env` and copy-paste its output.",
"Actually @ydshieh I think this is pretty valid, and we have a bunch of issues with `inpla... | 1,690 | 1,704 | null | NONE | null | ### System Info
databricks
### Who can help?
@ArthurZucker @younesbelkada
Hi team,
I got an error message by using TorchDistributor.
I have checked in the class BertEmbeddings (url as below), line 238, embeddings += position_embeddings is an inplace operation, would you be able to change to embedd... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25130/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25130/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25129 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25129/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25129/comments | https://api.github.com/repos/huggingface/transformers/issues/25129/events | https://github.com/huggingface/transformers/issues/25129 | 1,823,565,113 | I_kwDOCUB6oc5ssWU5 | 25,129 | Delete all checkpoints when set save_total_limit=1 | {
"login": "Pbihao",
"id": 22709028,
"node_id": "MDQ6VXNlcjIyNzA5MDI4",
"avatar_url": "https://avatars.githubusercontent.com/u/22709028?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Pbihao",
"html_url": "https://github.com/Pbihao",
"followers_url": "https://api.github.com/users/Pbihao/fo... | [] | closed | false | null | [] | [
"Hi @Pbihao ! \r\n\r\nThank you a lot of reporting this issue. I can confirm it.\r\n\r\nWould you like to open a PR to help us fixing this 🤗 ? ",
"Yeah, I have submitted the PR #25136 .\r\n\r\nMany thanks."
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-3.10.0-1160.el7.x86_64-x86_64-with-glibc2.27
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (True)
- Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25129/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25129/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25128 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25128/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25128/comments | https://api.github.com/repos/huggingface/transformers/issues/25128/events | https://github.com/huggingface/transformers/pull/25128 | 1,823,549,934 | PR_kwDOCUB6oc5WgKtx | 25,128 | make run_generation more generic for other devices | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | ## What does this PR do?
Currently, the example for text-generation is only available for cuda or cpu. This PR makes it work well on mps or npu devices.
Verified on A100 and npu.
Example usage:
```
python3 run_generation.py \
--model_type=gpt2 \
--model_name_or_path=gpt2
```
Below are the output ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25128/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25128",
"html_url": "https://github.com/huggingface/transformers/pull/25128",
"diff_url": "https://github.com/huggingface/transformers/pull/25128.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25128.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25127 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25127/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25127/comments | https://api.github.com/repos/huggingface/transformers/issues/25127/events | https://github.com/huggingface/transformers/issues/25127 | 1,823,431,626 | I_kwDOCUB6oc5sr1vK | 25,127 | Trainer explodes with multiple validation sets used | {
"login": "radekosmulski",
"id": 2444926,
"node_id": "MDQ6VXNlcjI0NDQ5MjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2444926?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/radekosmulski",
"html_url": "https://github.com/radekosmulski",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Yes, multiple evaluation datasets are not supported in a notebook env, that is a known issue.",
"Thank you, Sylvain! 🙂 Didn't know that! Appreciate your reply, will close this now.",
"Ah ah you don't need to close it ;-) It's not been high-priority for us but we should fix it at some point.",
"Ok, sorry Syl... | 1,690 | 1,694 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Linux-5.15.0-76-generic-x86_64-with-glibc2.35
- Python version: 3.11.4
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- Accelerate version: 0.22.0.dev0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (True)
- Tens... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25127/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25127/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25126 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25126/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25126/comments | https://api.github.com/repos/huggingface/transformers/issues/25126/events | https://github.com/huggingface/transformers/pull/25126 | 1,823,409,646 | PR_kwDOCUB6oc5Wfs7V | 25,126 | [setup] fix min isort requirements | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"no, actually that didn't help :(",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25126). All of your documentation changes will be reflected on that endpoint."
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | the current isort min version requirement doesn't match CI's reality
even with isort 5.10.1 `make style` leads to modified code which doesn't match CI.
I tested that 5.12 syncs with CI.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25126/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25126/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25126",
"html_url": "https://github.com/huggingface/transformers/pull/25126",
"diff_url": "https://github.com/huggingface/transformers/pull/25126.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25126.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25125 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25125/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25125/comments | https://api.github.com/repos/huggingface/transformers/issues/25125/events | https://github.com/huggingface/transformers/pull/25125 | 1,823,394,223 | PR_kwDOCUB6oc5Wfpkk | 25,125 | [DOCS] Add example and modified docs of EtaLogitsWarper | {
"login": "ashishthomaschempolil",
"id": 12584994,
"node_id": "MDQ6VXNlcjEyNTg0OTk0",
"avatar_url": "https://avatars.githubusercontent.com/u/12584994?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ashishthomaschempolil",
"html_url": "https://github.com/ashishthomaschempolil",
"followers_... | [] | closed | false | null | [] | [
"@ashishthomaschempolil thank you for iterating 🤗 ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
See #24783
Added example to EtaLogitsWarper and also modifed its docstrings to make it more understandable
## 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:/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25125/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25125/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25125",
"html_url": "https://github.com/huggingface/transformers/pull/25125",
"diff_url": "https://github.com/huggingface/transformers/pull/25125.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25125.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25124 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25124/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25124/comments | https://api.github.com/repos/huggingface/transformers/issues/25124/events | https://github.com/huggingface/transformers/pull/25124 | 1,823,131,234 | PR_kwDOCUB6oc5WewYQ | 25,124 | added compiled model support for inference | {
"login": "markovalexander",
"id": 22663468,
"node_id": "MDQ6VXNlcjIyNjYzNDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/22663468?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/markovalexander",
"html_url": "https://github.com/markovalexander",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | CONTRIBUTOR | null | # What does this PR do?
Adds support for torch.compile-ed models in pipelines.
Basically, you cannot run torch.compile-ed model under `torch.inference_mode()` context and should use `torch.no_grad` instead
Examples:
<img width="1004" alt="image" src="https://github.com/huggingface/transformers/assets/226634... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25124/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25124/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25124",
"html_url": "https://github.com/huggingface/transformers/pull/25124",
"diff_url": "https://github.com/huggingface/transformers/pull/25124.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25124.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25123 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25123/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25123/comments | https://api.github.com/repos/huggingface/transformers/issues/25123/events | https://github.com/huggingface/transformers/issues/25123 | 1,822,844,771 | I_kwDOCUB6oc5spmdj | 25,123 | Add Vocos model | {
"login": "ylacombe",
"id": 52246514,
"node_id": "MDQ6VXNlcjUyMjQ2NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ylacombe",
"html_url": "https://github.com/ylacombe",
"followers_url": "https://api.github.com/users/yla... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hey @amyeroberts, could I implement this?",
"@kamathis4 Sure :) \r\n\r\ncc @sanchit-gandhi ",
"Feel free to open a PR if you're interested @kamathis4 - I think @ylacombe is also interested in adding this quite quickly, so the two of you could work together if desired!",
"Hey @sanchit-gandhi, will be a bit b... | 1,690 | 1,693 | null | COLLABORATOR | null | ### Model description
Vocos is a Fourier-based neural vocoder for audio synthesis.
According to its [paper](https://arxiv.org/pdf/2306.00814.pdf), Vocos constantly outperforms [HifiGan](https://huggingface.co/docs/transformers/main/en/model_doc/speecht5#transformers.SpeechT5HifiGan), has 13.5M params and is signifi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25123/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25123/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25122 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25122/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25122/comments | https://api.github.com/repos/huggingface/transformers/issues/25122/events | https://github.com/huggingface/transformers/pull/25122 | 1,822,804,388 | PR_kwDOCUB6oc5WdpTO | 25,122 | Move center_crop to BaseImageProcessor | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,690 | 1,690 | COLLABORATOR | null | # What does this PR do?
Moves center_crop to BaseImageProcessor as the logic is the same for almost all models' image processors (except [bridgetower](https://github.com/huggingface/transformers/blob/659829b6ae558dd2e178462a797bf8b1a749f070/src/transformers/models/bridgetower/image_processing_bridgetower.py#L229) an... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25122/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25122/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25122",
"html_url": "https://github.com/huggingface/transformers/pull/25122",
"diff_url": "https://github.com/huggingface/transformers/pull/25122.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25122.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25121 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25121/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25121/comments | https://api.github.com/repos/huggingface/transformers/issues/25121/events | https://github.com/huggingface/transformers/pull/25121 | 1,822,711,692 | PR_kwDOCUB6oc5WdVSe | 25,121 | Add copied from for image processor methods | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,690 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR do?
Adds `# Copied from` headers to shared image processor methods to ensure any updates to e.g. docstrings are propogated across. This mainly applies to the methods resize, center_crop and rescale.
This is in part to prepare for any future adaptations to make handling of images with differen... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25121/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25121",
"html_url": "https://github.com/huggingface/transformers/pull/25121",
"diff_url": "https://github.com/huggingface/transformers/pull/25121.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25121.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.