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/28356
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28356/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28356/comments
https://api.github.com/repos/huggingface/transformers/issues/28356/events
https://github.com/huggingface/transformers/issues/28356
2,067,228,709
I_kwDOCUB6oc57N2gl
28,356
[generation] Exact Search Decoding
{ "login": "Saibo-creator", "id": 53392976, "node_id": "MDQ6VXNlcjUzMzkyOTc2", "avatar_url": "https://avatars.githubusercontent.com/u/53392976?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Saibo-creator", "html_url": "https://github.com/Saibo-creator", "followers_url": "https://api.githu...
[ { "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
[]
[ "FYI @gante ", "Hi @Saibo-creator ๐Ÿ‘‹ \r\n\r\nI'll do my usual bargain! I haven't seen demand for this feature, so my current decision is negative. However, if this comment reaches 10 reactions within a 3-month time spawn, I'll revisit this decision -- it means the community is interested in the feature ๐Ÿ™Œ \r\n\r\...
1,704
1,704
null
CONTRIBUTOR
null
### Feature request Hello Hugging Face Transformers Team, I am writing to suggest a feature of an "exact search" decoding method, suggested in https://aclanthology.org/D19-1331/ Greedy search and beam search are both "greedy" in the sense that they are not guaranteed to find the global most likely generation....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28356/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28356/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28355
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28355/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28355/comments
https://api.github.com/repos/huggingface/transformers/issues/28355/events
https://github.com/huggingface/transformers/issues/28355
2,067,008,954
I_kwDOCUB6oc57NA26
28,355
Using add_generation_prompt with tokenizer.apply_chat_template does not add the required assistant start token
{ "login": "srikant86panda", "id": 18262494, "node_id": "MDQ6VXNlcjE4MjYyNDk0", "avatar_url": "https://avatars.githubusercontent.com/u/18262494?v=4", "gravatar_id": "", "url": "https://api.github.com/users/srikant86panda", "html_url": "https://github.com/srikant86panda", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "cc @Rocketknight1 ", "Hi @srikant86panda, Mistral and Mixtral both use the LLaMA prompt format, which does not include a special token at the start of assistant responses. Instead, they enforce that all conversations must alternate user/assistant/user/assistant, and the assistant response is always written immed...
1,704
1,704
1,704
NONE
null
### System Info Version: transformers: 4.36.1 and transformers @ git+https://github.com/huggingface/transformers.git@5d36025ca13d05151b7a0c761e90d429c4644a30 Tokenizer: tokenizers==0.15.0 ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28355/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28355/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28354
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28354/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28354/comments
https://api.github.com/repos/huggingface/transformers/issues/28354/events
https://github.com/huggingface/transformers/pull/28354
2,066,891,430
PR_kwDOCUB6oc5jSb3a
28,354
fix auxiliary loss training in DetrSegmentation
{ "login": "SangbumChoi", "id": 34004152, "node_id": "MDQ6VXNlcjM0MDA0MTUy", "avatar_url": "https://avatars.githubusercontent.com/u/34004152?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SangbumChoi", "html_url": "https://github.com/SangbumChoi", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "@amyeroberts Hi back again with the test!\r\nMainly I added function called test_forward_auxiliary_loss. This will check if the two major components when the config.auxiliary_loss is set to True\r\n1. whether output of auxiliary loss is not None\r\n2. check the output len is equivalent to the num_hidden_layers - 1...
1,704
1,704
1,704
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28354/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28354/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28354", "html_url": "https://github.com/huggingface/transformers/pull/28354", "diff_url": "https://github.com/huggingface/transformers/pull/28354.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28354.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28353
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28353/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28353/comments
https://api.github.com/repos/huggingface/transformers/issues/28353/events
https://github.com/huggingface/transformers/issues/28353
2,066,865,837
I_kwDOCUB6oc57Md6t
28,353
Weird Tokenization when Training New Tokenizer from GPT2 Tokenizer using train_new_from_iterator
{ "login": "minmie", "id": 40080081, "node_id": "MDQ6VXNlcjQwMDgwMDgx", "avatar_url": "https://avatars.githubusercontent.com/u/40080081?v=4", "gravatar_id": "", "url": "https://api.github.com/users/minmie", "html_url": "https://github.com/minmie", "followers_url": "https://api.github.com/users/minmie/fo...
[]
closed
false
null
[]
[ "Hey! You should have a look at https://github.com/huggingface/tokenizers/issues/203 it's expected! ๐Ÿค— ", "@ArthurZucker thanks for your help." ]
1,704
1,705
1,705
NONE
null
### System Info - `transformers` version: 4.33.0 - Platform: Windows-10-10.0.19045-SP0 - Python version: 3.10.12 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.3 - Accelerate version: 0.22.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cpu (False) - Tensorflow version (G...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28353/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28353/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28352
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28352/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28352/comments
https://api.github.com/repos/huggingface/transformers/issues/28352/events
https://github.com/huggingface/transformers/pull/28352
2,066,815,165
PR_kwDOCUB6oc5jSLps
28,352
Add: fsdp accelerate version warning
{ "login": "jp1924", "id": 93233241, "node_id": "U_kgDOBY6gWQ", "avatar_url": "https://avatars.githubusercontent.com/u/93233241?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jp1924", "html_url": "https://github.com/jp1924", "followers_url": "https://api.github.com/users/jp1924/followers"...
[]
open
false
null
[]
[ "cc @pacman100 ", "# Reproduction Code\r\n```python\r\nfrom transformers import (\r\n TrainingArguments,\r\n Trainer,\r\n BertForSequenceClassification,\r\n BertTokenizer,\r\n)\r\nfrom datasets import load_dataset\r\nfrom transformers.utils import check_min_version\r\nfrom accelerate import __version_...
1,704
1,708
null
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/28352/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28352/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28352", "html_url": "https://github.com/huggingface/transformers/pull/28352", "diff_url": "https://github.com/huggingface/transformers/pull/28352.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28352.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28351
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28351/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28351/comments
https://api.github.com/repos/huggingface/transformers/issues/28351/events
https://github.com/huggingface/transformers/pull/28351
2,066,672,074
PR_kwDOCUB6oc5jRubQ
28,351
Don't check the device when device_map=auto
{ "login": "yuanwu2017", "id": 34643241, "node_id": "MDQ6VXNlcjM0NjQzMjQx", "avatar_url": "https://avatars.githubusercontent.com/u/34643241?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuanwu2017", "html_url": "https://github.com/yuanwu2017", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,704
1,704
1,704
CONTRIBUTOR
null
When running the case on multi-cards server with devcie_map-auto, It will not always be allocated to device 0, Because other processes may be using these cards. It will select the devices that can accommodate this model. # What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28351/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28351/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28351", "html_url": "https://github.com/huggingface/transformers/pull/28351", "diff_url": "https://github.com/huggingface/transformers/pull/28351.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28351.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28350
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28350/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28350/comments
https://api.github.com/repos/huggingface/transformers/issues/28350/events
https://github.com/huggingface/transformers/issues/28350
2,066,671,557
I_kwDOCUB6oc57LufF
28,350
[tests] Check device failed in test_small_model_pt_bloom_accelerate
{ "login": "yuanwu2017", "id": 34643241, "node_id": "MDQ6VXNlcjM0NjQzMjQx", "avatar_url": "https://avatars.githubusercontent.com/u/34643241?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuanwu2017", "html_url": "https://github.com/yuanwu2017", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hey! Sure, would you like to open a pr for a fix? " ]
1,704
1,704
1,704
CONTRIBUTOR
null
### System Info transformers 4.37.0.dev0 pytorch 2.1.2 py3.9_cuda11.8_cudnn8.7.0_0 pytorch pytorch-cuda 11.8 h7e8668a_5 pytorch pytorch-mutex 1.0 cuda pytorch torchaudio 2.1.2 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28350/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28350/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28349
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28349/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28349/comments
https://api.github.com/repos/huggingface/transformers/issues/28349/events
https://github.com/huggingface/transformers/pull/28349
2,066,574,181
PR_kwDOCUB6oc5jRa2k
28,349
Enhancing Code Readability and Maintainability with Simplified Activation Function Selection.
{ "login": "hi-sushanta", "id": 93595990, "node_id": "U_kgDOBZQpVg", "avatar_url": "https://avatars.githubusercontent.com/u/93595990?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hi-sushanta", "html_url": "https://github.com/hi-sushanta", "followers_url": "https://api.github.com/users/hi...
[]
closed
false
null
[]
[]
1,704
1,704
1,704
CONTRIBUTOR
null
This code optimization enhances code readability and maintainability by utilizing aliases, simplified activation function selection, and consistent function definitions. Before submitting ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28349/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28349/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28349", "html_url": "https://github.com/huggingface/transformers/pull/28349", "diff_url": "https://github.com/huggingface/transformers/pull/28349.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28349.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28348
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28348/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28348/comments
https://api.github.com/repos/huggingface/transformers/issues/28348/events
https://github.com/huggingface/transformers/issues/28348
2,066,557,346
I_kwDOCUB6oc57LSmi
28,348
Add flash attention 2.0 support for GPT2LMHeadModel
{ "login": "brresnic", "id": 6865869, "node_id": "MDQ6VXNlcjY4NjU4Njk=", "avatar_url": "https://avatars.githubusercontent.com/u/6865869?v=4", "gravatar_id": "", "url": "https://api.github.com/users/brresnic", "html_url": "https://github.com/brresnic", "followers_url": "https://api.github.com/users/brres...
[ { "id": 2392046359, "node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue", "name": "Good Second Issue", "color": "dd935a", "default": false, "description": "Issues that are more difficult to do than \"Good First...
open
false
null
[]
[ "I think there is a draft PR here #26502 ans #27479, maybe working on sdpa might be better" ]
1,704
1,707
null
NONE
null
``` model = AutoModelForCausalLM.from_pretrained( my_GPT2LMHeadModel_checkpoint, torch_dtype=torch.bfloat16, attn_implementation="flash_attention_2", ) ``` throws the following error: ``` Error loading Flash_Model_2: GPT2LMHeadModel does not support Flash Attention 2.0 yet. Pl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28348/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/28348/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28347
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28347/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28347/comments
https://api.github.com/repos/huggingface/transformers/issues/28347/events
https://github.com/huggingface/transformers/issues/28347
2,066,544,538
I_kwDOCUB6oc57LPea
28,347
Training doesn't end properly but stops the machine. With no error message.
{ "login": "johnDonor", "id": 70208188, "node_id": "MDQ6VXNlcjcwMjA4MTg4", "avatar_url": "https://avatars.githubusercontent.com/u/70208188?v=4", "gravatar_id": "", "url": "https://api.github.com/users/johnDonor", "html_url": "https://github.com/johnDonor", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hey ๐Ÿค— thanks for opening an issue! \r\nYou should check [for OOM ](https://stackoverflow.com/questions/624857/finding-which-process-was-killed-by-linux-oom-killer) issues and whether or not this is what crached your machine. If yes, you should try to use float16 or bfloat16 for training rather than full precisio...
1,704
1,707
1,707
NONE
null
### System Info - `transformers` version: 4.37.0.dev0 - Platform: Windows-10-10.0.19045-SP0 - Python version: 3.11.5 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.0 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu121 (True) - Tensorflow version ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28347/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28347/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28346
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28346/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28346/comments
https://api.github.com/repos/huggingface/transformers/issues/28346/events
https://github.com/huggingface/transformers/issues/28346
2,066,231,647
I_kwDOCUB6oc57KDFf
28,346
Token healing (under 40 LOC)
{ "login": "Ayenem", "id": 50707385, "node_id": "MDQ6VXNlcjUwNzA3Mzg1", "avatar_url": "https://avatars.githubusercontent.com/u/50707385?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Ayenem", "html_url": "https://github.com/Ayenem", "followers_url": "https://api.github.com/users/Ayenem/fo...
[ { "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
[]
[ "FYI @gante ", "@Ayenem that's a really cool use of `sequence_bias`! I had read about token healing in the past, and never thought about it when I added `sequence_bias`.\r\n\r\nWould you be up for adding it to `transformers`? I think we could include it inside `generate` (e.g. [here](https://github.com/huggingfac...
1,704
1,704
null
NONE
null
### Feature request Token healing rectifies the token boundary bias in greedy tokenization. It does this by trimming and regrowing the prompt to better align with the model's tokenizer, thus enhancing generation quality. The improvement is clearest with completion models. Token boundary bias is a silent performan...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28346/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28346/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28345
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28345/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28345/comments
https://api.github.com/repos/huggingface/transformers/issues/28345/events
https://github.com/huggingface/transformers/issues/28345
2,066,055,450
I_kwDOCUB6oc57JYEa
28,345
Is there some bug in typehint in `modeling_outputs` (or maybe other files)?
{ "login": "gary-young", "id": 56245046, "node_id": "MDQ6VXNlcjU2MjQ1MDQ2", "avatar_url": "https://avatars.githubusercontent.com/u/56245046?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gary-young", "html_url": "https://github.com/gary-young", "followers_url": "https://api.github.com/use...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" } ]
closed
false
null
[]
[ "Hey! I think that we used Tuple[X] when there can be N instances of X. I don't mind using ellipsis. \r\ncc @Rocketknight1 who is our type expert! ", "@ArthurZucker Thank you for your reply! I am a new guy for type hint so I am not sure about the situation about the previous version (before Python 3.10) but in t...
1,704
1,705
1,705
NONE
null
### System Info Hi! When I tried to modify some code which calls some classes in `src/transformers/modeling_outputs.py` such as the class `BaseModelOutput` and `BaseModelOutputwithPast`, I find the typehint of some parameters is different from your comments and my understanding of the code. I believe the correct type ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28345/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28345/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28344
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28344/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28344/comments
https://api.github.com/repos/huggingface/transformers/issues/28344/events
https://github.com/huggingface/transformers/issues/28344
2,065,985,520
I_kwDOCUB6oc57JG_w
28,344
Problem in using H100 for LLAMA 70 b inference
{ "login": "HelloWorldLTY", "id": 43333475, "node_id": "MDQ6VXNlcjQzMzMzNDc1", "avatar_url": "https://avatars.githubusercontent.com/u/43333475?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HelloWorldLTY", "html_url": "https://github.com/HelloWorldLTY", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "How much memory does the H100 have? Note that you need 70 billion * 2 = 140GB of RAM to run the model in bfloat16.", "Thanks, I have not thought that it is a problem caused by memory. I may seek to the help from other models.", "This issue has been automatically marked as stale because it has not had recent ac...
1,704
1,707
1,707
NONE
null
### System Info Hi, I notice that I cannot access the LLAMA 2 70 B chat hf for running my response, and here is the bug: ```python Traceback (most recent call last): File "/workspace/demo_llama.py", line 27, in <module> sequences = pipeline( File "/opt/conda/lib/python3.10/site-packages/transformers/pip...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28344/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28344/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28343
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28343/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28343/comments
https://api.github.com/repos/huggingface/transformers/issues/28343/events
https://github.com/huggingface/transformers/issues/28343
2,065,575,304
I_kwDOCUB6oc57Hi2I
28,343
How to log custom value?
{ "login": "xmy0916", "id": 43675899, "node_id": "MDQ6VXNlcjQzNjc1ODk5", "avatar_url": "https://avatars.githubusercontent.com/u/43675899?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xmy0916", "html_url": "https://github.com/xmy0916", "followers_url": "https://api.github.com/users/xmy091...
[]
closed
false
null
[]
[ "Hey ๐Ÿค— thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co/) instead? I'm sure the community will be of help!\r\n\r\nThanks!" ]
1,704
1,704
1,704
NONE
null
I want to log some info to `{'loss': 2.5234, 'learning_rate': 1.0344827586206896e-06, 'epoch': 0.0}` how can i do that? like: {'loss': 2.5234, 'learning_rate': 1.0344827586206896e-06, 'epoch': 0.0, 'version': 'v1'}
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28343/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28343/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28342
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28342/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28342/comments
https://api.github.com/repos/huggingface/transformers/issues/28342/events
https://github.com/huggingface/transformers/issues/28342
2,065,481,107
I_kwDOCUB6oc57HL2T
28,342
Switch Transformers Jitter Noise in Inference
{ "login": "drunkcoding", "id": 14305648, "node_id": "MDQ6VXNlcjE0MzA1NjQ4", "avatar_url": "https://avatars.githubusercontent.com/u/14305648?v=4", "gravatar_id": "", "url": "https://api.github.com/users/drunkcoding", "html_url": "https://github.com/drunkcoding", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hey! Before I can help you, could provide an actual reproducer? \r\nThis one fails with `TypeError: The current model class (SwitchTransformersModel) is not compatible with `.generate()`, as it doesn't have a language model head. Please use one of the following classes instead: {'SwitchTransformersForConditionalGe...
1,704
1,707
1,707
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-5.15.0-1033-gkeop-x86_64-with-glibc2.17 - Python version: 3.8.18 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.3.1 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu121 (True) - Te...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28342/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28342/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28341
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28341/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28341/comments
https://api.github.com/repos/huggingface/transformers/issues/28341/events
https://github.com/huggingface/transformers/pull/28341
2,065,393,894
PR_kwDOCUB6oc5jNavK
28,341
fix FA2 when using quantization for remaining models
{ "login": "susnato", "id": 56069179, "node_id": "MDQ6VXNlcjU2MDY5MTc5", "avatar_url": "https://avatars.githubusercontent.com/u/56069179?v=4", "gravatar_id": "", "url": "https://api.github.com/users/susnato", "html_url": "https://github.com/susnato", "followers_url": "https://api.github.com/users/susnat...
[]
closed
false
null
[]
[ "Done! @ArthurZucker ", "CI is green now! @ArthurZucker ", "Thanks for the contribution! FYI @pacman100 and @younesbelkada " ]
1,704
1,704
1,704
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28341/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28341/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28341", "html_url": "https://github.com/huggingface/transformers/pull/28341", "diff_url": "https://github.com/huggingface/transformers/pull/28341.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28341.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28340
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28340/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28340/comments
https://api.github.com/repos/huggingface/transformers/issues/28340/events
https://github.com/huggingface/transformers/pull/28340
2,065,364,022
PR_kwDOCUB6oc5jNUTf
28,340
Fix error in M4T feature extractor
{ "login": "ylacombe", "id": 52246514, "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ylacombe", "html_url": "https://github.com/ylacombe", "followers_url": "https://api.github.com/users/yla...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28340). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Hey @amyeroberts, thanks for the quick review and the relevant feedback, I've modi...
1,704
1,704
1,704
COLLABORATOR
null
# What does this PR do? Really small PR that fixes an error when calling the SeamlessM4TFeatureExtractor without attention mask. I simply added a check to verify if the attention mask exists before operating on it. I've also modified the test suite to test this in the future. cc @amyeroberts or @ArthurZucker ! WD...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28340/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28340/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28340", "html_url": "https://github.com/huggingface/transformers/pull/28340", "diff_url": "https://github.com/huggingface/transformers/pull/28340.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28340.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28339
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28339/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28339/comments
https://api.github.com/repos/huggingface/transformers/issues/28339/events
https://github.com/huggingface/transformers/issues/28339
2,065,211,719
I_kwDOCUB6oc57GKFH
28,339
Significantly increased VRAM usage for Mixtral qlora training compared to 4.36.2?
{ "login": "DocShotgun", "id": 126566557, "node_id": "U_kgDOB4tAnQ", "avatar_url": "https://avatars.githubusercontent.com/u/126566557?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DocShotgun", "html_url": "https://github.com/DocShotgun", "followers_url": "https://api.github.com/users/Doc...
[]
closed
false
null
[]
[ "Hey! Thanks for the report, here are potential PRs that I would suspect: \r\n- #28142 which fixes some of the FA2 bugs\r\n- #28061 wich should fix gradient checkpointing issues\r\nPinging @younesbelkada for when he comes back, would be great if you can isolate the commit that lead to this in the meantime ๐Ÿค— ", "...
1,704
1,707
1,706
NONE
null
### System Info The environment is a Runpod container with python 3.10, single A100 80gb, transformers 4.37.0dev (3cefac1d974db5e2825a0cb2b842883a628be7a0), using axolotl training script (https://github.com/OpenAccess-AI-Collective/axolotl). ### Who can help? _No response_ ### Information - [ ] The official exampl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28339/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28339/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28338
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28338/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28338/comments
https://api.github.com/repos/huggingface/transformers/issues/28338/events
https://github.com/huggingface/transformers/pull/28338
2,065,061,516
PR_kwDOCUB6oc5jMTQX
28,338
fix pipeline to support tuple model output
{ "login": "jiqing-feng", "id": 107918818, "node_id": "U_kgDOBm614g", "avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jiqing-feng", "html_url": "https://github.com/jiqing-feng", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi @amyeroberts . Thanks for your review. The default dataclass works well as you said. However, sometimes we would like to enable other optimization like `model = torch.jit.trace(model, inputs)` (which will get a significant acceleration in both GPU and CPU), and it can't recognize the dataclass, so I set `return...
1,704
1,704
1,704
CONTRIBUTOR
null
Hi @Narsil @amyeroberts . This PR considers pipeline.model may output a tuple (if return_dict=False). Would you please help to review it? Thx! Problem can be reproduced by ```python from transformers import pipeline, AutoModel, AutoTokenizer sentences = ["This is an example sentence", "Each sentence is conve...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28338/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28338/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28338", "html_url": "https://github.com/huggingface/transformers/pull/28338", "diff_url": "https://github.com/huggingface/transformers/pull/28338.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28338.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28337
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28337/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28337/comments
https://api.github.com/repos/huggingface/transformers/issues/28337/events
https://github.com/huggingface/transformers/issues/28337
2,065,052,124
I_kwDOCUB6oc57FjHc
28,337
Failure to produce exact input sequence from output logits
{ "login": "hxiaoyang", "id": 98200137, "node_id": "U_kgDOBdpqSQ", "avatar_url": "https://avatars.githubusercontent.com/u/98200137?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hxiaoyang", "html_url": "https://github.com/hxiaoyang", "followers_url": "https://api.github.com/users/hxiaoyan...
[]
closed
false
null
[]
[ "You should use the `generate` function. Otherwise I have no idea what model you are using, but this is expected: the model does not necessarily predict the token you give as an input. Assisted decoding relies on this property. \r\n\r\n```python\r\nprompt = \"Please provide a code sample that reproduces the\"\r\nf...
1,704
1,704
1,704
NONE
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-6.1.58+-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu121 (True) - Tensorflow versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28337/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28337/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28336
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28336/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28336/comments
https://api.github.com/repos/huggingface/transformers/issues/28336/events
https://github.com/huggingface/transformers/issues/28336
2,064,930,278
I_kwDOCUB6oc57FFXm
28,336
Does m2m_100 support multiple forced_bos_token_id?
{ "login": "sfc-gh-zhwang", "id": 135062830, "node_id": "U_kgDOCAzlLg", "avatar_url": "https://avatars.githubusercontent.com/u/135062830?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sfc-gh-zhwang", "html_url": "https://github.com/sfc-gh-zhwang", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "You should use `forced_decoder_ids` https://huggingface.co/docs/transformers/main_classes/text_generation#transformers.GenerationConfig.forced_decoder_ids ", "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 ...
1,704
1,707
1,707
NONE
null
``` generated_tokens = model.generate(input_ids = ids_tensor, attention_mask = attention_padded, forced_bos_token_id=[tokenizer.get_lang_id("es"),tokenizer.get_lang_id("fr")]) ``` Seems above code will output the same language output.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28336/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28336/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28335
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28335/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28335/comments
https://api.github.com/repos/huggingface/transformers/issues/28335/events
https://github.com/huggingface/transformers/issues/28335
2,064,920,715
I_kwDOCUB6oc57FDCL
28,335
Peft + gradient checkpointing crashes
{ "login": "snailrowen1337", "id": 45402632, "node_id": "MDQ6VXNlcjQ1NDAyNjMy", "avatar_url": "https://avatars.githubusercontent.com/u/45402632?v=4", "gravatar_id": "", "url": "https://api.github.com/users/snailrowen1337", "html_url": "https://github.com/snailrowen1337", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "hey! Could you try upgrading your torch version? 1.13.0 is a bit old. \r\ncc @younesbelkada ", "@ArthurZucker -- I've updated to the latest pytorch but still face the issue", "Alright, now you are using a remote model so would recommend you to open the issue on `https://huggingface.co/NousResearch/Yarn-Mistra...
1,704
1,707
1,707
NONE
null
### System Info >>> transformers.__version__ '4.37.0.dev0' >>> peft.__version__ '0.7.2.dev0' >>> torch.__version__ '1.13.0' ### Who can help? _No response_ ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [X] An officially supported task in the `examples` fold...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28335/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28335/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28334
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28334/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28334/comments
https://api.github.com/repos/huggingface/transformers/issues/28334/events
https://github.com/huggingface/transformers/issues/28334
2,064,878,520
I_kwDOCUB6oc57E4u4
28,334
TypeError: Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead.
{ "login": "hadim", "id": 528003, "node_id": "MDQ6VXNlcjUyODAwMw==", "avatar_url": "https://avatars.githubusercontent.com/u/528003?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hadim", "html_url": "https://github.com/hadim", "followers_url": "https://api.github.com/users/hadim/followers"...
[]
closed
false
null
[]
[ "```diff\r\n+ inputs = processor(raw_image, input_points=input_points, return_tensors=\"pt\").to(torch.float32).to(\"mps\")\r\n- inputs = processor(raw_image, input_points=input_points, return_tensors=\"pt\").to(\"mps\")\r\n```\r\nwill fix this. \r\nI think this is more a mps issue as the conversion works well othe...
1,704
1,704
1,704
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: macOS-14.2.1-arm64-arm-64bit - Python version: 3.10.13 - Huggingface_hub version: 0.20.0 - Safetensors version: 0.3.3 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.1.0 (False) - Tensorflow version (GPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28334/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28334/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28333
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28333/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28333/comments
https://api.github.com/repos/huggingface/transformers/issues/28333/events
https://github.com/huggingface/transformers/pull/28333
2,064,764,543
PR_kwDOCUB6oc5jLVu6
28,333
Fix `_merge_input_ids_with_image_features` for llava model
{ "login": "VictorSanh", "id": 16107619, "node_id": "MDQ6VXNlcjE2MTA3NjE5", "avatar_url": "https://avatars.githubusercontent.com/u/16107619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/VictorSanh", "html_url": "https://github.com/VictorSanh", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Adressed the comments and moved the dummy test case into proper tests.\r\nlet me know if you would like something more involved test wise!", "Good to go ! Feel free to merge @VictorSanh ๐Ÿค— ", "I am not cool enough to have merge access. The time where i am merging stuff whenever i wanted on hf transformers is w...
1,704
1,706
1,704
MEMBER
null
Bug detected by @Sakshi-Bhargava The method `LlavaForConditionalGeneration._merge_input_ids_with_image_features` takes care of merging the input_embeds with the hidden states obtained from the vision encoder. The merge output is fed to the language model part of the model. However, `labels` was omitted from the m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28333/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28333/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28333", "html_url": "https://github.com/huggingface/transformers/pull/28333", "diff_url": "https://github.com/huggingface/transformers/pull/28333.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28333.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28332
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28332/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28332/comments
https://api.github.com/repos/huggingface/transformers/issues/28332/events
https://github.com/huggingface/transformers/issues/28332
2,064,684,522
I_kwDOCUB6oc57EJXq
28,332
Use mmap to accelerate checkpoint loading
{ "login": "weimingzha0", "id": 38259546, "node_id": "MDQ6VXNlcjM4MjU5NTQ2", "avatar_url": "https://avatars.githubusercontent.com/u/38259546?v=4", "gravatar_id": "", "url": "https://api.github.com/users/weimingzha0", "html_url": "https://github.com/weimingzha0", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Closing as the PR was merged" ]
1,704
1,705
1,705
CONTRIBUTOR
null
### Feature request Use torch.load(mmap=True) if possible. ### Motivation Python 2.1 allows mmap() when loading checkpoints ([doc](https://pytorch.org/docs/stable/generated/torch.load.html)) I tested on a 6B model: with mmap(), takes 2.x seconds to load (vs 12.x seconds without using mmap) ### Your contr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28332/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/28332/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28331
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28331/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28331/comments
https://api.github.com/repos/huggingface/transformers/issues/28331/events
https://github.com/huggingface/transformers/pull/28331
2,064,682,839
PR_kwDOCUB6oc5jLEMz
28,331
Use mmap option to load_state_dict
{ "login": "weimingzha0", "id": 38259546, "node_id": "MDQ6VXNlcjM4MjU5NTQ2", "avatar_url": "https://avatars.githubusercontent.com/u/38259546?v=4", "gravatar_id": "", "url": "https://api.github.com/users/weimingzha0", "html_url": "https://github.com/weimingzha0", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "> torch bin files are now deprecated in favor of safetensors but no harm in improving this! Coul you add a test as well in test_modelling_common? ๐Ÿค—\r\n\r\nSure. Please let me know if my test case is correct.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28331). All...
1,704
1,704
1,704
CONTRIBUTOR
null
# Use torch.load(mmap=True) to accelerate checkpoint loading https://github.com/huggingface/transformers/issues/28332 cc @SunMarc @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28331/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28331/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28331", "html_url": "https://github.com/huggingface/transformers/pull/28331", "diff_url": "https://github.com/huggingface/transformers/pull/28331.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28331.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28330
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28330/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28330/comments
https://api.github.com/repos/huggingface/transformers/issues/28330/events
https://github.com/huggingface/transformers/issues/28330
2,064,444,622
I_kwDOCUB6oc57DOzO
28,330
Error with BetterTransformer Optimizations in Transformers Library with Starcoderplus Model"
{ "login": "Taishi-N324", "id": 82321333, "node_id": "MDQ6VXNlcjgyMzIxMzMz", "avatar_url": "https://avatars.githubusercontent.com/u/82321333?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Taishi-N324", "html_url": "https://github.com/Taishi-N324", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "I think the idea is to remove the call to `model.to_bettertransformer()` and `with torch.backends.cuda.sdp_kernel(enable_flash=True, enable_math=False, enable_mem_efficient=False):` . The error should be updated to mention this! would you like to open a PR?", "I'm sorry, I don't quite understand. What do you mea...
1,704
1,704
1,704
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-4.18.0-193.el8.x86_64-x86_64-with-glibc2.28 - Python version: 3.10.13 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu118 (True) - Ten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28330/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28330/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28329
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28329/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28329/comments
https://api.github.com/repos/huggingface/transformers/issues/28329/events
https://github.com/huggingface/transformers/issues/28329
2,064,382,134
I_kwDOCUB6oc57C_i2
28,329
[TrOCR] Dealing with occasional multi-line images
{ "login": "aureliusnoble", "id": 16746857, "node_id": "MDQ6VXNlcjE2NzQ2ODU3", "avatar_url": "https://avatars.githubusercontent.com/u/16746857?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aureliusnoble", "html_url": "https://github.com/aureliusnoble", "followers_url": "https://api.githu...
[]
open
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,704
1,707
null
NONE
null
Hi, I am using TrOCR to transcribe historical (18th century) handwritten French data. I am feeding in text-line images which are automatically segmented. However, due to the nature of the documents, sometimes this segmentation is not perfect, and the image contains multiple lines of text. These have been transcribed...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28329/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28329/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28328
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28328/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28328/comments
https://api.github.com/repos/huggingface/transformers/issues/28328/events
https://github.com/huggingface/transformers/issues/28328
2,064,359,352
I_kwDOCUB6oc57C5-4
28,328
Implement Half-Quadratic Quantization (HQQ)
{ "login": "michaelfeil", "id": 63565275, "node_id": "MDQ6VXNlcjYzNTY1Mjc1", "avatar_url": "https://avatars.githubusercontent.com/u/63565275?v=4", "gravatar_id": "", "url": "https://api.github.com/users/michaelfeil", "html_url": "https://github.com/michaelfeil", "followers_url": "https://api.github.com/...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[ "cc @younesbelkada ", "This is very cool ! We are definitely interested in adding HQQ inference support in transformers. The cool thing is that indeed it seems you don't need to pre-quantize the weights in order to quantize the models. We'll explore a bit on our side and let you know how it goes\r\ncc @SunMarc @T...
1,704
1,704
null
CONTRIBUTOR
null
### Feature request I would be curious if https://github.com/mobiusml/hqq can be supported in similar fashion to `autogptq` or `autoawq`. hqq is most similar to `bitsandbytes` `nf4/fp4` datatypes, but offers 2,3,4,8 bit quantization. CC: @mobicham ### Motivation HQQ performs 2/3/4 bit quantization and can do ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28328/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/28328/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28327
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28327/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28327/comments
https://api.github.com/repos/huggingface/transformers/issues/28327/events
https://github.com/huggingface/transformers/issues/28327
2,064,215,480
I_kwDOCUB6oc57CW24
28,327
BARK: 'GenerationConfig' object has no attribute 'semantic_config'
{ "login": "Cazforshort", "id": 6918831, "node_id": "MDQ6VXNlcjY5MTg4MzE=", "avatar_url": "https://avatars.githubusercontent.com/u/6918831?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Cazforshort", "html_url": "https://github.com/Cazforshort", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "cc @ylacombe as well. Seems like this should be supported from the doc, so might just be the generation config not being initialized properly. \r\nMaybe `model.generation_config = model.config` will fix this in the meantime @Cazforshort ", "> model.generation_config = model.config\r\n\r\nNo luck\r\n\r\n```\r\nMO...
1,704
1,707
1,707
NONE
null
### System Info python 3.10.3 Windows 10 transformers 4.37.0.dev0 torch 2.0.1 ### 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/28327/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28327/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28326
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28326/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28326/comments
https://api.github.com/repos/huggingface/transformers/issues/28326/events
https://github.com/huggingface/transformers/pull/28326
2,064,072,295
PR_kwDOCUB6oc5jJAaB
28,326
Add the XPU device check for pipeline mode
{ "login": "yuanwu2017", "id": 34643241, "node_id": "MDQ6VXNlcjM0NjQzMjQx", "avatar_url": "https://avatars.githubusercontent.com/u/34643241?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuanwu2017", "html_url": "https://github.com/yuanwu2017", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hey! Feel free to ping me for a review when this is ready! ", "Hi @ArthurZucker,\r\nI tested the failed run_tests case in my local machine, but I got following warning. I think the case failure is not caused by my patch. Do you know how to run the case correctly? Thanks a lot.\r\n\r\n```\r\n(upstream) [yuanwu@s...
1,704
1,705
1,705
CONTRIBUTOR
null
When setting xpu device for pipeline, It needs to use is_torch_xpu_available to load ipex and determine whether the device is available. # 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 th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28326/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28326/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28326", "html_url": "https://github.com/huggingface/transformers/pull/28326", "diff_url": "https://github.com/huggingface/transformers/pull/28326.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28326.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28325
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28325/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28325/comments
https://api.github.com/repos/huggingface/transformers/issues/28325/events
https://github.com/huggingface/transformers/pull/28325
2,064,055,311
PR_kwDOCUB6oc5jI8tT
28,325
Remove token_type_ids from model_input_names (like #24788)
{ "login": "Apsod", "id": 5305850, "node_id": "MDQ6VXNlcjUzMDU4NTA=", "avatar_url": "https://avatars.githubusercontent.com/u/5305850?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Apsod", "html_url": "https://github.com/Apsod", "followers_url": "https://api.github.com/users/Apsod/follower...
[]
closed
false
null
[]
[ "Thanks for the quick reply! \r\nI ran the following: \r\n\r\n```\r\nRUN_SLOW=yes python -m pytest -n auto --dist=loadfile -s -v ./tests/models/gpt_sw3/test_tokenization_gpt_sw3.py\r\n```\r\nIt did fail a test, namely an equality test where the reference output has token_type_ids.\r\n\r\nIt also (catastrophically) ...
1,704
1,704
1,704
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28325/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28325/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28325", "html_url": "https://github.com/huggingface/transformers/pull/28325", "diff_url": "https://github.com/huggingface/transformers/pull/28325.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28325.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28324
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28324/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28324/comments
https://api.github.com/repos/huggingface/transformers/issues/28324/events
https://github.com/huggingface/transformers/issues/28324
2,063,793,570
I_kwDOCUB6oc57Av2i
28,324
FastTokenizer not using the user_defined_symbols defined in the SentencePiece Model
{ "login": "kitkhai", "id": 71968397, "node_id": "MDQ6VXNlcjcxOTY4Mzk3", "avatar_url": "https://avatars.githubusercontent.com/u/71968397?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kitkhai", "html_url": "https://github.com/kitkhai", "followers_url": "https://api.github.com/users/kitkha...
[]
closed
false
null
[]
[ "Additionally, is there a way to retrieve (and edit) the merge rules from \"slow\" & \"fast\" tokenizers respectively?", "Hey! Few things here. What you are trying to do is outside the scope of the supported features. Adding a token should be done using `tokenizer.add_tokens` function. \r\nThe fast version is for...
1,704
1,704
1,704
NONE
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-6.1.58+-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu121 (False) - Tensorflow ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28324/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28324/timeline
not_planned
null
null
https://api.github.com/repos/huggingface/transformers/issues/28323
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28323/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28323/comments
https://api.github.com/repos/huggingface/transformers/issues/28323/events
https://github.com/huggingface/transformers/issues/28323
2,063,604,265
I_kwDOCUB6oc57ABop
28,323
OSError: image file is truncated (1 bytes not processed)
{ "login": "andysingal", "id": 20493493, "node_id": "MDQ6VXNlcjIwNDkzNDkz", "avatar_url": "https://avatars.githubusercontent.com/u/20493493?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andysingal", "html_url": "https://github.com/andysingal", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hey ๐Ÿค— thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [dataset's community tab](https://huggingface.co/datasets/mehul7/captioned_military_aircraft/discussions) instead?\r\n\r\nThanks!", "Can you please forward the issue there?\r\n\r...
1,704
1,707
1,707
NONE
null
### System Info RTX 3090 ### Who can help? @younesbelkada @ArthurZucker ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details bel...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28323/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28323/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28321
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28321/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28321/comments
https://api.github.com/repos/huggingface/transformers/issues/28321/events
https://github.com/huggingface/transformers/pull/28321
2,063,466,908
PR_kwDOCUB6oc5jG4tl
28,321
support PeftMixedModel signature inspect
{ "login": "Facico", "id": 56598258, "node_id": "MDQ6VXNlcjU2NTk4MjU4", "avatar_url": "https://avatars.githubusercontent.com/u/56598258?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Facico", "html_url": "https://github.com/Facico", "followers_url": "https://api.github.com/users/Facico/fo...
[]
closed
false
null
[]
[ "cc @younesbelkada ", "@younesbelkada Thanks for the suggestion, I've pushed the changes!", "@Facico can you confirm the latest commit on this branch fixes your issue?", "Yes, They all work. @younesbelkada ", "@younesbelkada How do I pass the tests_exotic_models?", "Rebasing on main should help! ", "Yes...
1,704
1,706
1,706
CONTRIBUTOR
null
support PeftMixedModel signature inspect Use model.base_model.model to get the base model(PeftMixedModel don't have "get_base_model" attribute)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28321/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28321/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28321", "html_url": "https://github.com/huggingface/transformers/pull/28321", "diff_url": "https://github.com/huggingface/transformers/pull/28321.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28321.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28320
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28320/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28320/comments
https://api.github.com/repos/huggingface/transformers/issues/28320/events
https://github.com/huggingface/transformers/issues/28320
2,063,466,171
I_kwDOCUB6oc56_f67
28,320
Unable to Resume Training from LoRA Checkpoints When Using FSDP
{ "login": "fabianlim", "id": 8325951, "node_id": "MDQ6VXNlcjgzMjU5NTE=", "avatar_url": "https://avatars.githubusercontent.com/u/8325951?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fabianlim", "html_url": "https://github.com/fabianlim", "followers_url": "https://api.github.com/users/fa...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,704
1,707
1,707
NONE
null
### System Info transformers==4.35.2 accelerate==0.23.0 peft==0.5.0 `accelerate.yaml` ```yaml compute_environment: LOCAL_MACHINE distributed_type: FSDP downcast_bf16: 'no' fsdp_config: fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP fsdp_backward_prefetch_policy: BACKWARD_PRE fsdp_forward_prefetch...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28320/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28320/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28322
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28322/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28322/comments
https://api.github.com/repos/huggingface/transformers/issues/28322/events
https://github.com/huggingface/transformers/issues/28322
2,063,497,821
I_kwDOCUB6oc56_npd
28,322
Unclear Tokenizer Algorithm Documentation
{ "login": "kitkhai", "id": 71968397, "node_id": "MDQ6VXNlcjcxOTY4Mzk3", "avatar_url": "https://avatars.githubusercontent.com/u/71968397?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kitkhai", "html_url": "https://github.com/kitkhai", "followers_url": "https://api.github.com/users/kitkha...
[]
closed
false
null
[]
[ "Hey! Thanks for raising this issue. Do you want to open a PR for a fix? ๐Ÿค— ", "Hey! Thanks for the swift response.\r\n\r\nI'm still rather new and am actually confused about what the \"slow\" & \"fast\" Tokenizers are based on... (I don't really understand why one is based on \"sentencepiece\" and the other is b...
1,704
1,707
1,707
NONE
null
**Bug description.** In the docs, for example for [NLLB ](https://huggingface.co/docs/transformers/model_doc/nllb), the "slow" & "fast" tokenizers are documented to be based on SentencePiece & BPE respectively. I do think that is a little confusing as: - Saying that the "slow" tokenizer is based on SentencePiece, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28322/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28322/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28319
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28319/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28319/comments
https://api.github.com/repos/huggingface/transformers/issues/28319/events
https://github.com/huggingface/transformers/issues/28319
2,063,383,696
I_kwDOCUB6oc56_LyQ
28,319
Allow gradient for generate()
{ "login": "whitejeep600", "id": 73194181, "node_id": "MDQ6VXNlcjczMTk0MTgx", "avatar_url": "https://avatars.githubusercontent.com/u/73194181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/whitejeep600", "html_url": "https://github.com/whitejeep600", "followers_url": "https://api.github.c...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[ "The reason is that generate is for inference only, training requires a custom sampling logic ", "> The reason is that generate is for inference only, training requires a custom sampling logic\r\n\r\nThank you for the quick reply.\r\n\r\nHowever, what if I would just like to use the existing sampling algorithms f...
1,704
1,704
null
NONE
null
### Feature request The generate function is decorated with @torch.no_grad() and thus can't be used for model training. It would be better to make calculating gradients optional, rather than impossible, so that the function can be used for tuning. The simplest solution is to remove the decorator altogether, as users...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28319/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28319/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28318
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28318/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28318/comments
https://api.github.com/repos/huggingface/transformers/issues/28318/events
https://github.com/huggingface/transformers/pull/28318
2,063,361,670
PR_kwDOCUB6oc5jGhBh
28,318
Port MPT to Flax
{ "login": "shivance", "id": 51750587, "node_id": "MDQ6VXNlcjUxNzUwNTg3", "avatar_url": "https://avatars.githubusercontent.com/u/51750587?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shivance", "html_url": "https://github.com/shivance", "followers_url": "https://api.github.com/users/shi...
[]
open
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,704
1,706
null
NONE
null
# What does this PR do? This PR adds flax implementation of MPT to transformers ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIB...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28318/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/28318/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28318", "html_url": "https://github.com/huggingface/transformers/pull/28318", "diff_url": "https://github.com/huggingface/transformers/pull/28318.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28318.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28317
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28317/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28317/comments
https://api.github.com/repos/huggingface/transformers/issues/28317/events
https://github.com/huggingface/transformers/issues/28317
2,063,291,731
I_kwDOCUB6oc56-1VT
28,317
Simple Bug in modeling_attn_mask_utils.py
{ "login": "Adam1679", "id": 32404962, "node_id": "MDQ6VXNlcjMyNDA0OTYy", "avatar_url": "https://avatars.githubusercontent.com/u/32404962?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Adam1679", "html_url": "https://github.com/Adam1679", "followers_url": "https://api.github.com/users/Ada...
[]
closed
false
null
[]
[ "Makes sense, would you like to open a PR for the fix? ๐Ÿค— ", "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://g...
1,704
1,707
1,707
NONE
null
### System Info (torch) (base) anxiang.zhang@n214-176-142:~/DeepSeek-Coder$ transformers-cli env WARNING:tensorflow:From /data02/home/anxiang.zhang/miniconda3/envs/torch/lib/python3.10/site-packages/transformers/commands/env.py:100: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28317/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28317/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28316
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28316/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28316/comments
https://api.github.com/repos/huggingface/transformers/issues/28316/events
https://github.com/huggingface/transformers/issues/28316
2,063,015,679
I_kwDOCUB6oc569x7_
28,316
Pythia regression in transformers==4.36.2 vs transformers==4.30.1
{ "login": "vwxyzjn", "id": 5555347, "node_id": "MDQ6VXNlcjU1NTUzNDc=", "avatar_url": "https://avatars.githubusercontent.com/u/5555347?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vwxyzjn", "html_url": "https://github.com/vwxyzjn", "followers_url": "https://api.github.com/users/vwxyzjn/...
[]
closed
false
null
[]
[ "Sorry but the source of the regression might be pretty much anything. If the model supports SDPA, it can come from SDPA, if the tokenizer had a bug before, it might be the tokenizer etc etc\r\nI can't debug this as is, would you mind comparing with closer transformers releases? This might help isolating this but o...
1,704
1,705
1,705
CONTRIBUTOR
null
### System Info Happy New Year all! - `transformers` version: 4.36.2 - Platform: Linux-5.15.0-1049-aws-x86_64-with-glibc2.31 - Python version: 3.10.12 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.3.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28316/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28316/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28315
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28315/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28315/comments
https://api.github.com/repos/huggingface/transformers/issues/28315/events
https://github.com/huggingface/transformers/pull/28315
2,062,918,444
PR_kwDOCUB6oc5jFCq6
28,315
Accelerate support added to Object Detection & Segmentation Models
{ "login": "sam99dave", "id": 37779169, "node_id": "MDQ6VXNlcjM3Nzc5MTY5", "avatar_url": "https://avatars.githubusercontent.com/u/37779169?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sam99dave", "html_url": "https://github.com/sam99dave", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[ "Hey @sam99dave were you waiting for a review? ", "Yeah, I was waiting for one. Not sure if these required changes has already been merged by another PR. There was another PR for this which was being reviewed I think.\n\nPls, let me know on this.", "Seems like #28312 was already approved, but is getting stale. ...
1,704
1,707
null
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/28315/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28315/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28315", "html_url": "https://github.com/huggingface/transformers/pull/28315", "diff_url": "https://github.com/huggingface/transformers/pull/28315.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28315.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28314
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28314/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28314/comments
https://api.github.com/repos/huggingface/transformers/issues/28314/events
https://github.com/huggingface/transformers/issues/28314
2,062,892,647
I_kwDOCUB6oc569T5n
28,314
Whisper OpenBLAS Warnings when running Whisper Inference on aarch64 cpu
{ "login": "DrChrisLevy", "id": 16509365, "node_id": "MDQ6VXNlcjE2NTA5MzY1", "avatar_url": "https://avatars.githubusercontent.com/u/16509365?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DrChrisLevy", "html_url": "https://github.com/DrChrisLevy", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "It seems like OpenBlas is at fault here no? I ran your code and had no warning whatsoever (on a M3). https://github.com/OpenMathLib/OpenBLAS might need to be built with USE_OPENMP=1.\r\n", "Okay let me run it in a python virtual env (not docker) on the same machine and see if the issue goes away. You ran it in t...
1,704
1,707
1,707
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-5.10.76-linuxkit-aarch64-with-glibc2.31 - Python version: 3.9.18 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.1.2 (False) - Tenso...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28314/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28314/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28313
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28313/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28313/comments
https://api.github.com/repos/huggingface/transformers/issues/28313/events
https://github.com/huggingface/transformers/pull/28313
2,062,888,887
PR_kwDOCUB6oc5jE8bf
28,313
README: install transformers from conda-forge channel
{ "login": "kevherro", "id": 10460086, "node_id": "MDQ6VXNlcjEwNDYwMDg2", "avatar_url": "https://avatars.githubusercontent.com/u/10460086?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kevherro", "html_url": "https://github.com/kevherro", "followers_url": "https://api.github.com/users/kev...
[]
closed
false
null
[]
[ "@ArthurZucker I appreciate your review!\r\n\r\n> we should probably link @LysandreJik comment from the issue\r\n\r\n\"In the future we'll likely remove the huggingface channel support for conda unless we see explicit demand here; if that's the case, please put a thumbs up here (we'll monitor), otherwise, the conda...
1,704
1,704
1,704
CONTRIBUTOR
null
# What does this PR do? Switch to the conda-forge channel for transformer installation, as the huggingface channel does not offer the latest version. Fixes #28248 ## 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28313/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28313/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28313", "html_url": "https://github.com/huggingface/transformers/pull/28313", "diff_url": "https://github.com/huggingface/transformers/pull/28313.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28313.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28312
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28312/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28312/comments
https://api.github.com/repos/huggingface/transformers/issues/28312/events
https://github.com/huggingface/transformers/pull/28312
2,062,884,738
PR_kwDOCUB6oc5jE7kW
28,312
Support : Leverage Accelerate for object detection/segmentation models
{ "login": "Tanmaypatil123", "id": 77950208, "node_id": "MDQ6VXNlcjc3OTUwMjA4", "avatar_url": "https://avatars.githubusercontent.com/u/77950208?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Tanmaypatil123", "html_url": "https://github.com/Tanmaypatil123", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Hi, thanks for your PR. It looks like there's an issue with the segmentation models.", "@NielsRogge could you take a look at this PR again . I have made required changes for segmentation models.", "Thanks, LGTM.", "hey @amyeroberts removed conflicts .but whenever I tried to run test cases by `RUN_SLOW=1 pyte...
1,704
1,708
1,708
CONTRIBUTOR
null
# What does this PR do? Adding support for multi-GPU training in 6 object detection models and segmentation models. <!-- 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 ti...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28312/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28312/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28312", "html_url": "https://github.com/huggingface/transformers/pull/28312", "diff_url": "https://github.com/huggingface/transformers/pull/28312.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28312.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28311
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28311/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28311/comments
https://api.github.com/repos/huggingface/transformers/issues/28311/events
https://github.com/huggingface/transformers/pull/28311
2,062,676,245
PR_kwDOCUB6oc5jEPCF
28,311
Bump tj-actions/changed-files from 22.2 to 41 in /.github/workflows
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" }, { "id": 6384...
closed
false
null
[]
[ "fyi @ydshieh " ]
1,704
1,704
1,704
CONTRIBUTOR
null
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 22.2 to 41. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tj-actions/changed-files/releases">tj-actions/changed-files's releases</a>.</em></p> <blockquote> <h2>v41</h2> <h1>Changes in v41.0.1<...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28311/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28311/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28311", "html_url": "https://github.com/huggingface/transformers/pull/28311", "diff_url": "https://github.com/huggingface/transformers/pull/28311.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28311.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28310
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28310/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28310/comments
https://api.github.com/repos/huggingface/transformers/issues/28310/events
https://github.com/huggingface/transformers/issues/28310
2,062,457,292
I_kwDOCUB6oc567pnM
28,310
OSError: Unable to load weights from pytorch checkpoint file
{ "login": "isRambler", "id": 118053582, "node_id": "U_kgDOBwlazg", "avatar_url": "https://avatars.githubusercontent.com/u/118053582?v=4", "gravatar_id": "", "url": "https://api.github.com/users/isRambler", "html_url": "https://github.com/isRambler", "followers_url": "https://api.github.com/users/isRamb...
[]
closed
false
null
[]
[ "me too", "Hey! I think that a conversion is attempted between pt and tf, but transformers does not support a TF implementation of this model. Could you rather open an issue on the `TensorRT-LLM` library with a full reproducer of what you are trying to do and the full stacktrace ", "> Hey! I think that a conver...
1,704
1,705
1,705
NONE
null
OSError: Unable to load weights from pytorch checkpoint file for '/root/autodl-tmp/llama-2-7b/pytorch_model-00001-of-00002.bin' at '/root/autodl-tmp/llama-2-7b/pytorch_model-00001-of-00002.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint Why do I get an error when I use TensorRT-LLMโ€™s build.py to ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28310/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28310/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28309
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28309/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28309/comments
https://api.github.com/repos/huggingface/transformers/issues/28309/events
https://github.com/huggingface/transformers/issues/28309
2,062,445,501
I_kwDOCUB6oc567mu9
28,309
Leverage Accelerate for object detection/segmentation models
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" } ]
closed
false
null
[]
[ "Hi @NielsRogge, I would like to take this up", "Hi @NielsRogge is this open for just 1 person taking it up as @sam99dave already indicated or multiple contribution? If it is the latter, I can take one of this up.", "Hi, it looks like the PRs above addressed all models at once, which is fine for me.", "Closin...
1,704
1,708
1,708
CONTRIBUTOR
null
### Feature request Currently there are 6 object detection models which don't support multi-GPU training out-of-the-box. The distributed code was explicitly left out of the modeling code as they wouldn't be compatible with the Trainer API. Refer to [these lines of code](https://github.com/huggingface/transformers/bl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28309/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28309/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28308
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28308/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28308/comments
https://api.github.com/repos/huggingface/transformers/issues/28308/events
https://github.com/huggingface/transformers/issues/28308
2,062,380,948
I_kwDOCUB6oc567W-U
28,308
[Trainer] rename tokenizer to tokenizer_or_processor
{ "login": "Hambaobao", "id": 48345096, "node_id": "MDQ6VXNlcjQ4MzQ1MDk2", "avatar_url": "https://avatars.githubusercontent.com/u/48345096?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Hambaobao", "html_url": "https://github.com/Hambaobao", "followers_url": "https://api.github.com/users/...
[ { "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
{ "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...
[ "fyi @pacman100 and @muellerzr ๐Ÿค— " ]
1,704
1,704
null
NONE
null
### Feature request I suggest renaming the `tokenizer` parameter in **Trainer** to `tokenizer_or_processor`. ### Motivation In the future, the training of many **multimodal models** will certainly require the use of **Trainer**. However, in multimodal models, the processors used to process data are not just `...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28308/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28308/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28307
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28307/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28307/comments
https://api.github.com/repos/huggingface/transformers/issues/28307/events
https://github.com/huggingface/transformers/issues/28307
2,062,271,457
I_kwDOCUB6oc5668Ph
28,307
Can not find best model after training.
{ "login": "ILG2021", "id": 93691919, "node_id": "U_kgDOBZWgDw", "avatar_url": "https://avatars.githubusercontent.com/u/93691919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ILG2021", "html_url": "https://github.com/ILG2021", "followers_url": "https://api.github.com/users/ILG2021/follow...
[]
open
false
null
[]
[ "Hey, could you share the training command you used? (a reproducer for training) as well as the full traceback? ๐Ÿค— \r\n", "> `Could not locate the best model at whisper-large-v2-fil/checkpoint-2000/pytorch_model.bin, if you are running a distributed training on multiple nodes, you should activate `--save_on_each_...
1,704
1,706
null
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-5.15.0-91-generic-x86_64-with-glibc2.31 - Python version: 3.10.11 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1 (True) - Tensorflow ve...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28307/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28307/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28306
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28306/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28306/comments
https://api.github.com/repos/huggingface/transformers/issues/28306/events
https://github.com/huggingface/transformers/issues/28306
2,062,055,346
I_kwDOCUB6oc566Hey
28,306
LLaMA-MoE
{ "login": "Spico197", "id": 22840952, "node_id": "MDQ6VXNlcjIyODQwOTUy", "avatar_url": "https://avatars.githubusercontent.com/u/22840952?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Spico197", "html_url": "https://github.com/Spico197", "followers_url": "https://api.github.com/users/Spi...
[ { "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
[]
[]
1,704
1,704
null
NONE
null
### Model description LLaMA-MoE is a series of token-choice based Mixture-of-Experts models on LLaMA2. It first partition LLaMA2's FFNs into multiple experts, then apply continual pre-training to recover its language abilities. We believe LLaMA-MoE is a good start for MoE research under limited computing resources....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28306/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28306/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28305
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28305/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28305/comments
https://api.github.com/repos/huggingface/transformers/issues/28305/events
https://github.com/huggingface/transformers/issues/28305
2,061,979,932
I_kwDOCUB6oc5651Ec
28,305
What version of transfomers _make_causal_mask was moved from modeling_clip.py
{ "login": "bhosalems", "id": 10846405, "node_id": "MDQ6VXNlcjEwODQ2NDA1", "avatar_url": "https://avatars.githubusercontent.com/u/10846405?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhosalems", "html_url": "https://github.com/bhosalems", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "@bhosalems you will find them [here](https://github.com/huggingface/transformers/blob/6ea3ee3cd215dfe0b32034299da3f876af0e7c4e/src/transformers/models/clip/modeling_clip.py) so you will probably need this version of the [transformers library](https://github.com/huggingface/transformers/releases/tag/v4.32.0) : v4.3...
1,704
1,707
1,707
NONE
null
### System Info Name: transformers Version: 4.28.0 Summary: State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow Home-page: https://github.com/huggingface/transformers Author: The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformers/g...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28305/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28305/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28304
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28304/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28304/comments
https://api.github.com/repos/huggingface/transformers/issues/28304/events
https://github.com/huggingface/transformers/issues/28304
2,061,854,640
I_kwDOCUB6oc565Wew
28,304
Using LLaMA2 fast tokenizer gives zero loss
{ "login": "cnut1648", "id": 37067883, "node_id": "MDQ6VXNlcjM3MDY3ODgz", "avatar_url": "https://avatars.githubusercontent.com/u/37067883?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cnut1648", "html_url": "https://github.com/cnut1648", "followers_url": "https://api.github.com/users/cnu...
[]
closed
false
null
[]
[ "BTW similar issue seems to happen on mistral as well. Training on the same data, non-fast tokenizer gives ~1 loss while fast tokenizer gives > 10 loss.", "There are know issues with LlamaFast tokenizer, could you try with this: #26678 \r\n\r\n```python\r\nfrom tokenizers import pre_tokenizers, normalizers\r\nfro...
1,704
1,707
1,707
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-6.2.0-37-generic-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1 (True) - Tensorflow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28304/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28304/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28303
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28303/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28303/comments
https://api.github.com/repos/huggingface/transformers/issues/28303/events
https://github.com/huggingface/transformers/pull/28303
2,061,812,235
PR_kwDOCUB6oc5jBXAb
28,303
Enable the use of batch api using multiple speakers with Bark
{ "login": "MidAtBest", "id": 154687332, "node_id": "U_kgDOCThXZA", "avatar_url": "https://avatars.githubusercontent.com/u/154687332?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MidAtBest", "html_url": "https://github.com/MidAtBest", "followers_url": "https://api.github.com/users/MidAtB...
[]
open
false
null
[]
[ "> Hi @MidAtBest, thanks for taking care of this, this is a great PR! The logic is quite difficult so congrats on handling it so nicely !\r\n> \r\n> Two general comments:\r\n> \r\n> 1. you should add test for bark modeling code as well !\r\n> 2. it's best to stay with `voice_preset` instead of `voice_presets`.\r\n>...
1,704
1,707
null
NONE
null
# What does this PR do? This PR aims to enable the use of the batch API when using multiple speaker prompts for Bark. Currently, the batch API is available when using multiple text inputs but is limited to a single speaker. The objective of this PR is to enable this when multiple speaker prompts are being used. T...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28303/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28303/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28303", "html_url": "https://github.com/huggingface/transformers/pull/28303", "diff_url": "https://github.com/huggingface/transformers/pull/28303.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28303.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28302
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28302/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28302/comments
https://api.github.com/repos/huggingface/transformers/issues/28302/events
https://github.com/huggingface/transformers/pull/28302
2,061,630,391
PR_kwDOCUB6oc5jAwso
28,302
Add models from deit
{ "login": "rajveer43", "id": 64583161, "node_id": "MDQ6VXNlcjY0NTgzMTYx", "avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rajveer43", "html_url": "https://github.com/rajveer43", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "@stevhliu", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28302). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,704
1,706
1,706
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/28302/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28302/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28302", "html_url": "https://github.com/huggingface/transformers/pull/28302", "diff_url": "https://github.com/huggingface/transformers/pull/28302.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28302.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28301
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28301/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28301/comments
https://api.github.com/repos/huggingface/transformers/issues/28301/events
https://github.com/huggingface/transformers/issues/28301
2,061,629,952
I_kwDOCUB6oc564foA
28,301
[i18n-en] Translating docs to Japanese
{ "login": "rajveer43", "id": 64583161, "node_id": "MDQ6VXNlcjY0NTgzMTYx", "avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rajveer43", "html_url": "https://github.com/rajveer43", "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
[]
[ "@stevhliu would you add the more models here in the list so other can look at this issue and collaborate?" ]
1,704
1,706
null
CONTRIBUTOR
null
Hi! Let's bring the documentation to all the Japanese-speaking community ๐ŸŒ Who would want to translate? Please follow the ๐Ÿค— [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main/docs/TRANSLATING.md). Here is a list of the files ready for translation. Let us know in this issue if you'd like ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28301/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28301/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28300
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28300/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28300/comments
https://api.github.com/repos/huggingface/transformers/issues/28300/events
https://github.com/huggingface/transformers/issues/28300
2,061,626,878
I_kwDOCUB6oc564e3-
28,300
[Question]Why ther exist a big gap in evaluation step and actual inference test?
{ "login": "daehuikim", "id": 40377750, "node_id": "MDQ6VXNlcjQwMzc3NzUw", "avatar_url": "https://avatars.githubusercontent.com/u/40377750?v=4", "gravatar_id": "", "url": "https://api.github.com/users/daehuikim", "html_url": "https://github.com/daehuikim", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,704
1,706
null
NONE
null
Hello! Sorry for noob question. I am doing lora fine tuning based on llama-2-13B model. I am adjusting my model using metric "BLEU". While training, my BLEU score shows incredibly high which is much higher than i expected. For example, evaluation bleu for my model scores about 98 scores which is unbelievable like in ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28300/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28300/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28299
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28299/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28299/comments
https://api.github.com/repos/huggingface/transformers/issues/28299/events
https://github.com/huggingface/transformers/pull/28299
2,061,608,325
PR_kwDOCUB6oc5jAr-1
28,299
Remove shell=True from subprocess.Popen to Mitigate Security Risk
{ "login": "avimanyu786", "id": 28894462, "node_id": "MDQ6VXNlcjI4ODk0NDYy", "avatar_url": "https://avatars.githubusercontent.com/u/28894462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/avimanyu786", "html_url": "https://github.com/avimanyu786", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "I do agree this is better to remove shell access to this command line. I don't think however this is critical by any means since this is already a CLI utility which we do not leverage directly.", "@michaelbenayoun @amyeroberts \r\n", "@Narsil @michaelbenayoun @amyeroberts Good to know it's not critical. Thanks...
1,704
1,704
1,704
CONTRIBUTOR
null
# What does this PR do? This PR resolves a critical security issue in the transformers package by removing the `shell=True` argument from `subprocess.Popen` calls. This update is in response to a security vulnerability flagged by the Bandit static analysis tool, which could potentially allow for execution of arbitra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28299/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28299/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28299", "html_url": "https://github.com/huggingface/transformers/pull/28299", "diff_url": "https://github.com/huggingface/transformers/pull/28299.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28299.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28298
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28298/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28298/comments
https://api.github.com/repos/huggingface/transformers/issues/28298/events
https://github.com/huggingface/transformers/issues/28298
2,061,560,374
I_kwDOCUB6oc564Oo2
28,298
Conv1d would be initialized to all zeros in a pretrained_model
{ "login": "Hannibal046", "id": 38466901, "node_id": "MDQ6VXNlcjM4NDY2OTAx", "avatar_url": "https://avatars.githubusercontent.com/u/38466901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Hannibal046", "html_url": "https://github.com/Hannibal046", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "It seems that the problem was in `from_pretrained`. When I init the model with config, it works fine.\r\n\r\n![image](https://github.com/huggingface/transformers/assets/38466901/c1324715-9e6f-4b2c-bdab-fc32a50a3e9a)\r\n", "OK, I see. It is a feature for LLM loading. Using the following would solve the problem:\r...
1,704
1,704
1,704
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-5.15.0-1050-azure-x86_64-with-glibc2.17 - Python version: 3.8.18 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu121 (True) - Tensor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28298/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28298/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28297
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28297/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28297/comments
https://api.github.com/repos/huggingface/transformers/issues/28297/events
https://github.com/huggingface/transformers/pull/28297
2,061,352,208
PR_kwDOCUB6oc5i_0ID
28,297
Support saving only PEFT adapter in checkpoints when using PEFT + FSDP
{ "login": "AjayP13", "id": 5404177, "node_id": "MDQ6VXNlcjU0MDQxNzc=", "avatar_url": "https://avatars.githubusercontent.com/u/5404177?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AjayP13", "html_url": "https://github.com/AjayP13", "followers_url": "https://api.github.com/users/AjayP13/...
[]
closed
false
null
[]
[ "cc @younesbelkada ", "@pacman100 Thanks for the insight on this.\r\n\r\nEdit: @pacman100 's right, I just tested this PR again:\r\n\r\n- PEFT + FSDP + Load Best Checkpoint at End: does work\r\n- PEFT + FSDP + Resume From Checkpoint: does not work", "@pacman100 @younesbelkada - The PR is ready for review again ...
1,704
1,706
1,706
CONTRIBUTOR
null
# What does this PR do? Currently, both the full model weights (`pytorch_model_fsdp.bin`) and the PEFT adapter weights (`adapter_model.safetensors`) are saved when saving checkpoints when PEFT + FSDP is used (leading to unnecessary excessive disk usage and slower training due to saving large files). **These chan...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28297/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28297/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28297", "html_url": "https://github.com/huggingface/transformers/pull/28297", "diff_url": "https://github.com/huggingface/transformers/pull/28297.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28297.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28296
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28296/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28296/comments
https://api.github.com/repos/huggingface/transformers/issues/28296/events
https://github.com/huggingface/transformers/issues/28296
2,061,334,547
I_kwDOCUB6oc563XgT
28,296
transformers incompatible with master (head of trunk) tensorflow & keras 3
{ "login": "ekuznetsov139", "id": 12205429, "node_id": "MDQ6VXNlcjEyMjA1NDI5", "avatar_url": "https://avatars.githubusercontent.com/u/12205429?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ekuznetsov139", "html_url": "https://github.com/ekuznetsov139", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Here's what needs to be done:\r\n\r\nhttps://github.com/ROCmSoftwarePlatform/transformers/commit/0b3d80de089bde6ad163042916b35bd26d38b434\r\n\r\nSome of this may break keras2 operation, I began adding version checks but have not had time to do it properly. I had to disable jit_compile, because I was getting XLA-re...
1,704
1,706
1,706
NONE
null
I am trying to get transformers working with head-of-trunk tensorflow, which requires keras 3 (I'm using keras-nightly (3.0.3.dev2023123103)), and I'm running into issues that seem to be caused by changes in internal behavior of keras. Neither 4.36.2 nor head-of-trunk transformers work. My test script is simply: ``...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28296/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28296/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28295
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28295/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28295/comments
https://api.github.com/repos/huggingface/transformers/issues/28295/events
https://github.com/huggingface/transformers/pull/28295
2,061,287,909
PR_kwDOCUB6oc5i_l3C
28,295
[Flash Attention 2] Add flash attention 2 for GPT-J
{ "login": "bytebarde", "id": 154845754, "node_id": "U_kgDOCTrCOg", "avatar_url": "https://avatars.githubusercontent.com/u/154845754?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bytebarde", "html_url": "https://github.com/bytebarde", "followers_url": "https://api.github.com/users/byteba...
[]
open
false
null
[]
[ "Current progress with running `flash_attn_test`. Will dive deeper to fix the error.\r\n\r\n\r\n\r\n![2023-12-31 8 43 06](https://github.com/huggingface/transformers/assets/154845754/8a6feba0-f858-4bd9-938a-50fac499cc36)\r\n\r\n", "Hi @bytebarde, what is the error message? \r\nIf it is something like - \"IndexErr...
1,704
1,707
null
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/28295/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28295/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28295", "html_url": "https://github.com/huggingface/transformers/pull/28295", "diff_url": "https://github.com/huggingface/transformers/pull/28295.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28295.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28294
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28294/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28294/comments
https://api.github.com/repos/huggingface/transformers/issues/28294/events
https://github.com/huggingface/transformers/issues/28294
2,061,278,059
I_kwDOCUB6oc563Jtr
28,294
Unable to train in colad. complaints Using the `Trainer` with `PyTorch` requires `accelerate>=0.20.1` but already have accelerate Version: 0.25.0
{ "login": "surapuramakhil", "id": 9161543, "node_id": "MDQ6VXNlcjkxNjE1NDM=", "avatar_url": "https://avatars.githubusercontent.com/u/9161543?v=4", "gravatar_id": "", "url": "https://api.github.com/users/surapuramakhil", "html_url": "https://github.com/surapuramakhil", "followers_url": "https://api.gith...
[]
closed
false
null
[]
[ "After installing Accelerate please try restarting the runtime, this is a common issue :) ", "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 [co...
1,704
1,707
1,707
NONE
null
### System Info 2024-01-01 01:45:15.116736: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered 2024-01-01 01:45:15.116796: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:6...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28294/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28294/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28293
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28293/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28293/comments
https://api.github.com/repos/huggingface/transformers/issues/28293/events
https://github.com/huggingface/transformers/issues/28293
2,061,180,429
I_kwDOCUB6oc562x4N
28,293
trainer save_model ValueError You are trying to save a non contiguous tensor
{ "login": "siebeniris", "id": 1593540, "node_id": "MDQ6VXNlcjE1OTM1NDA=", "avatar_url": "https://avatars.githubusercontent.com/u/1593540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/siebeniris", "html_url": "https://github.com/siebeniris", "followers_url": "https://api.github.com/users...
[]
open
false
null
[]
[ "hmmm do you know what might be happening here @Narsil ? With mt5", "Might be fixed by #28414 ? ", "Happy to take a look if I can have acces either to the finetune (even dummy I just need to look at those tensors) or a reproducer.\r\n\r\nI have no idea what makes some tensors non contiguous and what kind of no...
1,704
1,706
null
NONE
null
### System Info Transformers version: 4.36.2 pytorch version: 2.1.1 Python version: 3.10.13 ### 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,...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28293/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28293/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28292
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28292/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28292/comments
https://api.github.com/repos/huggingface/transformers/issues/28292/events
https://github.com/huggingface/transformers/issues/28292
2,061,166,706
I_kwDOCUB6oc562uhy
28,292
DPT normalization causes contouring when there are significant disparities in depth values between adjacent areas
{ "login": "CyrusVorwald", "id": 90732384, "node_id": "MDQ6VXNlcjkwNzMyMzg0", "avatar_url": "https://avatars.githubusercontent.com/u/90732384?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CyrusVorwald", "html_url": "https://github.com/CyrusVorwald", "followers_url": "https://api.github.c...
[]
open
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,704
1,708
null
NONE
null
### System Info Python 3.10.12 transformers-4.36.2 ### Who can help? @stevhliu @NielsRogge ### 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, ...) - [x] My own task or dataset...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28292/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28292/timeline
reopened
null
null
https://api.github.com/repos/huggingface/transformers/issues/28291
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28291/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28291/comments
https://api.github.com/repos/huggingface/transformers/issues/28291/events
https://github.com/huggingface/transformers/issues/28291
2,061,087,376
I_kwDOCUB6oc562bKQ
28,291
[facebook/rag-sequence-nq] ValueError: Config name is missing.
{ "login": "zhangnju", "id": 8900927, "node_id": "MDQ6VXNlcjg5MDA5Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/8900927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhangnju", "html_url": "https://github.com/zhangnju", "followers_url": "https://api.github.com/users/zhang...
[]
closed
false
null
[]
[ "Maybe cc @ydshieh as you have played with RAG recently. ", "Hi @zhangnju \r\n\r\nWhat is your `datasets` version?\r\n\r\nOn [this google colab](https://colab.research.google.com/drive/1pCLInwexxrwg2WGIxgjmFMs6YeHZsCOm?usp=sharing), I can't reproduce this issue, but it uses `datasets==2.16.1`.", "This issue has...
1,704
1,707
1,707
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-5.15.0-91-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 1.13.1+cpu (False) - Tensor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28291/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28291/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28290
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28290/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28290/comments
https://api.github.com/repos/huggingface/transformers/issues/28290/events
https://github.com/huggingface/transformers/pull/28290
2,060,910,767
PR_kwDOCUB6oc5i-eYW
28,290
[WIP] Add Mixture of Tokens Transformer
{ "login": "chedatomasz", "id": 47541285, "node_id": "MDQ6VXNlcjQ3NTQxMjg1", "avatar_url": "https://avatars.githubusercontent.com/u/47541285?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chedatomasz", "html_url": "https://github.com/chedatomasz", "followers_url": "https://api.github.com/...
[]
open
false
null
[]
[]
1,703
1,706
null
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/28290/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/28290/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28290", "html_url": "https://github.com/huggingface/transformers/pull/28290", "diff_url": "https://github.com/huggingface/transformers/pull/28290.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28290.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28289
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28289/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28289/comments
https://api.github.com/repos/huggingface/transformers/issues/28289/events
https://github.com/huggingface/transformers/issues/28289
2,060,881,618
I_kwDOCUB6oc561o7S
28,289
Model generate with batch_size for Seq2SeqLM
{ "login": "kedarthakkar", "id": 22385733, "node_id": "MDQ6VXNlcjIyMzg1NzMz", "avatar_url": "https://avatars.githubusercontent.com/u/22385733?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kedarthakkar", "html_url": "https://github.com/kedarthakkar", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Another option could be to instead define a function `model.generate_streaming` which takes in `batch_size` and yields generated sequences in `batch_size` increments. This would then allow the user to determine what they want to do with the yielded sequences (i.e. write them to a file or compute some metrics).", ...
1,703
1,705
1,705
NONE
null
### Feature request When running `model.generate` with a `Seq2SeqLM`, I've run into OOM issues in resource-constrained environments (i.e. Google Colab notebook) when passing in a large batch (i.e. 1000 samples). I propose adding a `batch_size` parameter to `model.generate` so that `input_ids` can be loaded in batches...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28289/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28289/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28288
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28288/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28288/comments
https://api.github.com/repos/huggingface/transformers/issues/28288/events
https://github.com/huggingface/transformers/pull/28288
2,060,851,550
PR_kwDOCUB6oc5i-TmG
28,288
[Whisper] Fix errors with MPS backend introduced by new code on word-level timestamps computation
{ "login": "ercaronte", "id": 25960640, "node_id": "MDQ6VXNlcjI1OTYwNjQw", "avatar_url": "https://avatars.githubusercontent.com/u/25960640?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ercaronte", "html_url": "https://github.com/ercaronte", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Sorry @ylacombe for a last minute (small) code change.\r\n\r\nI was running a load test, where I transcribed a 2 hours audio file and I stumbled into another `torch.std_mean` instruction (at line 2602) that I did not fix in the initial commit.\r\nAfter this second fix I got no more issues and could complete the fu...
1,703
1,704
1,704
CONTRIBUTOR
null
Fixed some issue with MPS backend raised from the recent changes from the great updates from https://github.com/huggingface/transformers/pull/28114 First, the torch.std_mean is not implemented and is not scheduled for implementation, while the single torch.std and torch.mean are. Second, MPS backend does not ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28288/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 3, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28288/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28288", "html_url": "https://github.com/huggingface/transformers/pull/28288", "diff_url": "https://github.com/huggingface/transformers/pull/28288.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28288.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28287
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28287/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28287/comments
https://api.github.com/repos/huggingface/transformers/issues/28287/events
https://github.com/huggingface/transformers/issues/28287
2,060,823,478
I_kwDOCUB6oc561au2
28,287
[MBart50] Inconsistent decoding with additional special tokens between slow and fast tokenizers
{ "login": "fleonce", "id": 8986525, "node_id": "MDQ6VXNlcjg5ODY1MjU=", "avatar_url": "https://avatars.githubusercontent.com/u/8986525?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fleonce", "html_url": "https://github.com/fleonce", "followers_url": "https://api.github.com/users/fleonce/...
[]
closed
false
null
[]
[ "When confirmed this is unexpected behaviour I would be willing to research behaviour of other tokenizers in the same setting and submit a pull request addressing the issue :-)", "Thanks @fleonce for your issue! @ArthurZucker will take a look at your issue as soon as he's back from leave, in about a week. Thanks ...
1,703
1,707
1,707
CONTRIBUTOR
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-6.2.0-25-generic-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): not installed (NA) - Te...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28287/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28287/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28286
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28286/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28286/comments
https://api.github.com/repos/huggingface/transformers/issues/28286/events
https://github.com/huggingface/transformers/issues/28286
2,060,806,201
I_kwDOCUB6oc561Wg5
28,286
`contrastive-image-text/run_clip.py` example problems
{ "login": "AmitMY", "id": 5757359, "node_id": "MDQ6VXNlcjU3NTczNTk=", "avatar_url": "https://avatars.githubusercontent.com/u/5757359?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AmitMY", "html_url": "https://github.com/AmitMY", "followers_url": "https://api.github.com/users/AmitMY/foll...
[]
closed
false
null
[]
[ "Hi @AmitMY, thanks for opening an issue! \r\n\r\nThere's a few different points to address here. \r\n\r\n> When using --train_file dataset.csv, the tokenizer fails if the caption is \"None\", \"null\" or \"NA\"\r\n\r\nIs this the same dataset being prepared in the `README.md` example or a different one? \r\n\r\nAs...
1,703
1,705
1,705
NONE
null
### System Info - `transformers` version: 4.37.0.dev0 - Platform: Linux-5.15.0-88-generic-x86_64-with-glibc2.31 - Python version: 3.11.5 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2+cu121 (True) - T...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28286/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28286/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28285
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28285/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28285/comments
https://api.github.com/repos/huggingface/transformers/issues/28285/events
https://github.com/huggingface/transformers/issues/28285
2,060,691,023
I_kwDOCUB6oc5606ZP
28,285
Add Mixture of Tokens model
{ "login": "chedatomasz", "id": 47541285, "node_id": "MDQ6VXNlcjQ3NTQxMjg1", "avatar_url": "https://avatars.githubusercontent.com/u/47541285?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chedatomasz", "html_url": "https://github.com/chedatomasz", "followers_url": "https://api.github.com/...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
null
[]
[]
1,703
1,703
null
NONE
null
### Model description Mixture of Tokens is a new architecture / technique proposed in [Mixture of Tokens: Efficient LLMs through Cross-Example Aggregation](https://arxiv.org/abs/2310.15961) and accompanying [blog](https://llm-random.github.io/posts/mixture_of_tokens/) by Szymon Antoniak, Sebastian Jaszczur et al. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28285/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28285/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28284
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28284/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28284/comments
https://api.github.com/repos/huggingface/transformers/issues/28284/events
https://github.com/huggingface/transformers/issues/28284
2,060,650,577
I_kwDOCUB6oc560whR
28,284
Multi GPU inference on RTX 3060 fails with RuntimeError: RuntimeError: CUDA error: device-side assert triggered (Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds" failed.)
{ "login": "levidehaan", "id": 304932, "node_id": "MDQ6VXNlcjMwNDkzMg==", "avatar_url": "https://avatars.githubusercontent.com/u/304932?v=4", "gravatar_id": "", "url": "https://api.github.com/users/levidehaan", "html_url": "https://github.com/levidehaan", "followers_url": "https://api.github.com/users/l...
[]
open
false
null
[]
[ "Hi @levidehaan, thanks for raising this issue! \r\n\r\nCould you provide a checkpoint for a public model which replicates this issue? Does this happen for any llama model? \r\nDo you observe this issue when not running through a flask app? i.e. does this work: \r\n\r\n```py\r\nimport torch\r\nfrom transformers imp...
1,703
1,707
null
NONE
null
### System Info **Version: transformers-4.36.2** I have 2 RTX 3060's and i am able to run LLM's on One GPU but it wont work when i try to run them on 2 GPU's with the error: ``` /opt/anaconda3/envs/333MillionEyes/lib/python3.10/site-packages/transformers/generation/utils.py:1518: UserWarning: You have modified...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28284/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28284/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28283
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28283/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28283/comments
https://api.github.com/repos/huggingface/transformers/issues/28283/events
https://github.com/huggingface/transformers/issues/28283
2,060,323,638
I_kwDOCUB6oc56zgs2
28,283
Trainer stuck at step 19(out of 100000) in Jupyter notebook
{ "login": "sr5434", "id": 118690585, "node_id": "U_kgDOBxMTGQ", "avatar_url": "https://avatars.githubusercontent.com/u/118690585?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sr5434", "html_url": "https://github.com/sr5434", "followers_url": "https://api.github.com/users/sr5434/follower...
[]
closed
false
null
[]
[ "It turns out the kernel was busy, but checkpoints were still being saved." ]
1,703
1,706
1,706
NONE
null
### System Info - `transformers` version: 4.36.2 - Platform: Linux-6.2.0-37-generic-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: 0.21.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1 (True) - Tensorflow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28283/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28283/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28282
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28282/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28282/comments
https://api.github.com/repos/huggingface/transformers/issues/28282/events
https://github.com/huggingface/transformers/issues/28282
2,060,276,201
I_kwDOCUB6oc56zVHp
28,282
ImportError: AutoModel requires the PyTorch library but it was not found in your environment
{ "login": "Marwen94", "id": 36446303, "node_id": "MDQ6VXNlcjM2NDQ2MzAz", "avatar_url": "https://avatars.githubusercontent.com/u/36446303?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Marwen94", "html_url": "https://github.com/Marwen94", "followers_url": "https://api.github.com/users/Mar...
[]
closed
false
null
[]
[ "Hi @marwen94, I'm struggling to reproduce this here. I'm not familiar with the Poetry dependency manager, but I tried reproducing those package versions in a Python 3.9 env with `pip` and the model loaded fine - the issue seems to be very specific to the environment you're using.\r\n\r\nCan you figure out a list o...
1,703
1,707
1,707
NONE
null
### System Info I'm trying to load a AutoModel pre-trained model. However, I receiving the following error : ``` ImportError: AutoModel requires the PyTorch library but it was not found in your environment. However, we were able to find a TensorFlow installation. TensorFlow classes begin with "TF", but are ot...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28282/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/28282/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28281
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28281/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28281/comments
https://api.github.com/repos/huggingface/transformers/issues/28281/events
https://github.com/huggingface/transformers/issues/28281
2,060,205,528
I_kwDOCUB6oc56zD3Y
28,281
Issue with installing transformers with poetry on M1 Mac
{ "login": "unography", "id": 5240449, "node_id": "MDQ6VXNlcjUyNDA0NDk=", "avatar_url": "https://avatars.githubusercontent.com/u/5240449?v=4", "gravatar_id": "", "url": "https://api.github.com/users/unography", "html_url": "https://github.com/unography", "followers_url": "https://api.github.com/users/un...
[]
open
false
null
[]
[ "Hi @unography, thanks for raising this issue. \r\n\r\nThis appears to be a `poetry` releated issue - `transformers` can be successfully installed with `pip`. Did you run `pip wheel --use-pep517 \"flash-attn (==2.1.0)\"` as recommended by the error message? \r\n\r\nNote, flash-attn is needed if using flash attentio...
1,703
1,706
null
CONTRIBUTOR
null
### System Info Apple M1 Pro, OS: Sonoma 14.2.1 Python: 3.11 Poetry: 1.6.1 ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My ow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28281/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28281/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28280
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28280/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28280/comments
https://api.github.com/repos/huggingface/transformers/issues/28280/events
https://github.com/huggingface/transformers/issues/28280
2,060,202,511
I_kwDOCUB6oc56zDIP
28,280
Struk during training on multi-GPUs with deepspeed, but work with single GPU
{ "login": "loveunk", "id": 1678567, "node_id": "MDQ6VXNlcjE2Nzg1Njc=", "avatar_url": "https://avatars.githubusercontent.com/u/1678567?v=4", "gravatar_id": "", "url": "https://api.github.com/users/loveunk", "html_url": "https://github.com/loveunk", "followers_url": "https://api.github.com/users/loveunk/...
[]
closed
false
null
[]
[ "tried to run the following code, stuck with backend `nccl`, but works with `gloo`:\r\n\r\n```python\r\nimport torch.distributed as dist\r\nimport argparse\r\nimport torch\r\n\r\ntorch.cuda.set_device(int(os.environ['LOCAL_RANK']))\r\ndevice = torch.device(\"cuda\", int(os.environ['LOCAL_RANK']))\r\n\r\ndist.init_p...
1,703
1,707
1,707
NONE
null
### System Info - `transformers` version: 4.31.0 - Platform: Linux-4.15.0-156-generic-x86_64-with-glibc2.31 - Python version: 3.10.13 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: 0.21.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (True) - Te...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28280/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28280/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28279
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28279/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28279/comments
https://api.github.com/repos/huggingface/transformers/issues/28279/events
https://github.com/huggingface/transformers/pull/28279
2,060,043,780
PR_kwDOCUB6oc5i8EpO
28,279
refactor replace_linear for ease of additions and add unit tests
{ "login": "Titus-von-Koeller", "id": 9048635, "node_id": "MDQ6VXNlcjkwNDg2MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/9048635?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Titus-von-Koeller", "html_url": "https://github.com/Titus-von-Koeller", "followers_url": "https:/...
[]
open
false
{ "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...
[ { "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"...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28279). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,703
1,706
null
CONTRIBUTOR
null
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28279/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28279/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28279", "html_url": "https://github.com/huggingface/transformers/pull/28279", "diff_url": "https://github.com/huggingface/transformers/pull/28279.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28279.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28278
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28278/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28278/comments
https://api.github.com/repos/huggingface/transformers/issues/28278/events
https://github.com/huggingface/transformers/pull/28278
2,059,261,361
PR_kwDOCUB6oc5i7Zjn
28,278
add test marker to run all tests with @require_bitsandbytes
{ "login": "Titus-von-Koeller", "id": 9048635, "node_id": "MDQ6VXNlcjkwNDg2MzU=", "avatar_url": "https://avatars.githubusercontent.com/u/9048635?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Titus-von-Koeller", "html_url": "https://github.com/Titus-von-Koeller", "followers_url": "https:/...
[]
closed
false
null
[]
[ "Submitting this as a separate PR, to keep things clean/atomic.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28278). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Really strange...
1,703
1,708
1,708
CONTRIBUTOR
null
# What does this PR do? add test marker to run all tests with @require_bitsandbytes ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTR...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28278/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/28278/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28278", "html_url": "https://github.com/huggingface/transformers/pull/28278", "diff_url": "https://github.com/huggingface/transformers/pull/28278.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28278.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28277
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28277/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28277/comments
https://api.github.com/repos/huggingface/transformers/issues/28277/events
https://github.com/huggingface/transformers/pull/28277
2,059,243,282
PR_kwDOCUB6oc5i7Vtf
28,277
enable training mask2former and maskformer for transformers trainer
{ "login": "SangbumChoi", "id": 34004152, "node_id": "MDQ6VXNlcjM0MDA0MTUy", "avatar_url": "https://avatars.githubusercontent.com/u/34004152?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SangbumChoi", "html_url": "https://github.com/SangbumChoi", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "FYI, original mask2former/maskformer is also not scalar. However, this actually doesn't matter at the `loss.backward()`" ]
1,703
1,704
1,704
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28277/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28277/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28277", "html_url": "https://github.com/huggingface/transformers/pull/28277", "diff_url": "https://github.com/huggingface/transformers/pull/28277.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28277.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28276
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28276/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28276/comments
https://api.github.com/repos/huggingface/transformers/issues/28276/events
https://github.com/huggingface/transformers/issues/28276
2,059,190,292
I_kwDOCUB6oc56vMAU
28,276
LLaVa inference crashes with error: Error device-side assert triggered at line 738 in file /mmfs1/gscratch/zlab/timdettmers/git/bitsandbytes/csrc/ops.cu
{ "login": "Meatfucker", "id": 74834323, "node_id": "MDQ6VXNlcjc0ODM0MzIz", "avatar_url": "https://avatars.githubusercontent.com/u/74834323?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Meatfucker", "html_url": "https://github.com/Meatfucker", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "I'm having the same issue while doing inference with the same weights (1.5-13b), also on Linux and GPU. Interestingly, I never have the issue when doing inference with the smaller (7b) model.", "This should have been fixed on main by #28032 ", "This issue has been automatically marked as stale because it has n...
1,703
1,707
1,707
NONE
null
### System Info - `transformers` version: 4.36.1 - Platform: Linux-5.15.0-91-generic-x86_64-with-glibc2.35 - Python version: 3.11.5 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.0 - Accelerate version: 0.24.1 - Accelerate config: not found - PyTorch version (GPU?): 2.1.1 (True) - Tensorflow...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28276/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28276/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28275
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28275/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28275/comments
https://api.github.com/repos/huggingface/transformers/issues/28275/events
https://github.com/huggingface/transformers/issues/28275
2,058,999,519
I_kwDOCUB6oc56udbf
28,275
Failed to import transformers.modeling_utils
{ "login": "sankexin", "id": 33318353, "node_id": "MDQ6VXNlcjMzMzE4MzUz", "avatar_url": "https://avatars.githubusercontent.com/u/33318353?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sankexin", "html_url": "https://github.com/sankexin", "followers_url": "https://api.github.com/users/san...
[]
open
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,703
1,706
null
NONE
null
### System Info RuntimeError: Failed to import transformers.modeling_utils because of the following error (look up to see its traceback): Failed to import transformers.generation.utils because of the following error (look up to see its traceback): /usr/local/lib/python3.8/dist-packages/transformer_engine_extensions....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28275/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28275/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28274
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28274/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28274/comments
https://api.github.com/repos/huggingface/transformers/issues/28274/events
https://github.com/huggingface/transformers/pull/28274
2,058,753,668
PR_kwDOCUB6oc5i5ttU
28,274
Support : Adding Support for LlamaForQuestionAnswering class
{ "login": "Tanmaypatil123", "id": 77950208, "node_id": "MDQ6VXNlcjc3OTUwMjA4", "avatar_url": "https://avatars.githubusercontent.com/u/77950208?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Tanmaypatil123", "html_url": "https://github.com/Tanmaypatil123", "followers_url": "https://api.gi...
[]
open
false
null
[]
[ "hey @NielsRogge @ArthurZucker @younesbelkada can anyone from you guys review this PR ,", "Hey @ArthurZucker, about this comment:\r\n\r\n> Hey! Thanks for contributing! I don't mind having this merged, but I think it should be pretty easy for anyone to build on top of transformers and add their custom logic. If t...
1,703
1,706
null
CONTRIBUTOR
null
# Adding Support for `LlamaForQuestionAnswering`. <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28274/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28274/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28274", "html_url": "https://github.com/huggingface/transformers/pull/28274", "diff_url": "https://github.com/huggingface/transformers/pull/28274.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28274.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28273
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28273/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28273/comments
https://api.github.com/repos/huggingface/transformers/issues/28273/events
https://github.com/huggingface/transformers/issues/28273
2,058,527,209
I_kwDOCUB6oc56sqHp
28,273
Can't load baichuan2-7b-chat from Huggingface Hub but can load model from local on mac m2
{ "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
[]
[ "Hi @statelesshz, thanks for reporting this issue! \r\n\r\nIndeed, I get the same error if I try to run your example script with a GPU. I looks like this is coming from the files on the hub themselves - likely in the definition in [quantizer.py](https://huggingface.co/baichuan-inc/Baichuan2-7B-Chat/blob/main/quanti...
1,703
1,707
1,707
CONTRIBUTOR
null
### System Info - `transformers` version: 4.36.2 - Platform: macOS-14.0-arm64-arm-64bit - Python version: 3.8.18 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not found - PyTorch version (GPU?): 2.1.2 (False) - Tensorflow version (GPU?): not...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28273/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28273/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28272
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28272/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28272/comments
https://api.github.com/repos/huggingface/transformers/issues/28272/events
https://github.com/huggingface/transformers/issues/28272
2,058,442,920
I_kwDOCUB6oc56sVio
28,272
Safely extend vocabulary of BPE tokenizers
{ "login": "ekurtulus", "id": 66876436, "node_id": "MDQ6VXNlcjY2ODc2NDM2", "avatar_url": "https://avatars.githubusercontent.com/u/66876436?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ekurtulus", "html_url": "https://github.com/ekurtulus", "followers_url": "https://api.github.com/users/...
[]
open
false
null
[]
[ "Hi @ekurtulus, thanks for raising an issue! \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/). We try to reserve the github issues for feature requests and bug reports." ]
1,703
1,706
null
NONE
null
### Feature request Allow extension of BPE tokenizers by further training on new corpus. ### Motivation This would benefit finetuning English models for other languages ### Your contribution I do not know how to approach this in Transformers.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28272/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28272/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28271
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28271/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28271/comments
https://api.github.com/repos/huggingface/transformers/issues/28271/events
https://github.com/huggingface/transformers/issues/28271
2,058,366,503
I_kwDOCUB6oc56sC4n
28,271
Difference between facebook/dinov2-base and timm/vit_base_patch14_dinov2.lvd142m
{ "login": "lombardata", "id": 39915110, "node_id": "MDQ6VXNlcjM5OTE1MTEw", "avatar_url": "https://avatars.githubusercontent.com/u/39915110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lombardata", "html_url": "https://github.com/lombardata", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "@NielsRogge do you have any suggestion?\r\nThanks in advance !", "Hi @lombardata,\r\n\r\nIt's a valid question - thanks for asking. So Timm is a more research-focused library providing access to state-of-the-art image backbones, including recent ones like DINOv2 and SigLIP. The library provides a fully-fledged [...
1,703
1,706
1,706
NONE
null
### Feature request Hi all, Maybe this question will be very stupid but I do not understand the difference between these two models : facebook/dinov2-base and timm/vit_base_patch14_dinov2.lvd142m (obviously this last model without the linear classifier on top). In my understanding, both are implementations of the D...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28271/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/28271/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28270
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28270/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28270/comments
https://api.github.com/repos/huggingface/transformers/issues/28270/events
https://github.com/huggingface/transformers/issues/28270
2,058,191,178
I_kwDOCUB6oc56rYFK
28,270
"Trying to create tensor with negative dimension -686245457367107674" when resuming from checkpoint with deepspeed
{ "login": "jonathanasdf", "id": 511073, "node_id": "MDQ6VXNlcjUxMTA3Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/511073?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jonathanasdf", "html_url": "https://github.com/jonathanasdf", "followers_url": "https://api.github.com/u...
[ { "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
[]
[ "When I try without LoRA I get a different (maybe more useful?) error message\r\n\r\n```\r\n File \"/opt/venv/lib/python3.11/site-packages/transformers/trainer.py\", line 1827, in _inner_training_loop\r\n for step, inputs in enumerate(epoch_iterator):\r\n File \"/opt/venv/lib/python3.11/site-packages/accelerat...
1,703
1,707
1,707
NONE
null
### System Info pytorch nightly, latest version of everything ### Who can help? @pacman100 ### 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28270/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28270/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28269
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28269/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28269/comments
https://api.github.com/repos/huggingface/transformers/issues/28269/events
https://github.com/huggingface/transformers/pull/28269
2,057,984,445
PR_kwDOCUB6oc5i3HfK
28,269
Sliently ignore the FileNotFoundError exception when mv staging output dir
{ "login": "zeyugao", "id": 6374697, "node_id": "MDQ6VXNlcjYzNzQ2OTc=", "avatar_url": "https://avatars.githubusercontent.com/u/6374697?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zeyugao", "html_url": "https://github.com/zeyugao", "followers_url": "https://api.github.com/users/zeyugao/...
[]
closed
false
null
[]
[ "I think we should opt for a solution that avoids the need for this PR. And one that works for multi-node setups with and without shared file system.", "may I ask whether we can get a solution for this in main branch? this is also an issue to block us from using 4.36+ for this multi node multi gpu training. thank...
1,703
1,705
1,705
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/28269/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28269/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28269", "html_url": "https://github.com/huggingface/transformers/pull/28269", "diff_url": "https://github.com/huggingface/transformers/pull/28269.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28269.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28268
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28268/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28268/comments
https://api.github.com/repos/huggingface/transformers/issues/28268/events
https://github.com/huggingface/transformers/pull/28268
2,057,959,353
PR_kwDOCUB6oc5i3CNC
28,268
[WIP] Add NarrowBERT to HF
{ "login": "lihaoxin2020", "id": 77715908, "node_id": "MDQ6VXNlcjc3NzE1OTA4", "avatar_url": "https://avatars.githubusercontent.com/u/77715908?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lihaoxin2020", "html_url": "https://github.com/lihaoxin2020", "followers_url": "https://api.github.c...
[]
open
false
null
[]
[ "Hey! Thanks for wanting to contribute I would recommend you to put the model on the hub following [this tutorial](https://huggingface.co/docs/transformers/custom_models) to make it easily available ๐Ÿค—", "Hi. I've uploaded pretrained models to the hub. With the last commit i think I've passed all tests i can see....
1,703
1,706
null
NONE
null
# What does this PR do? Add implementation of NarrowBERT. - original repo: https://github.com/lihaoxin2020/narrowbert - paper: https://arxiv.org/abs/2301.04761v2 ## Who can review? - text models: @ArthurZucker and @younesbelkada
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28268/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28268/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28268", "html_url": "https://github.com/huggingface/transformers/pull/28268", "diff_url": "https://github.com/huggingface/transformers/pull/28268.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28268.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28267
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28267/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28267/comments
https://api.github.com/repos/huggingface/transformers/issues/28267/events
https://github.com/huggingface/transformers/pull/28267
2,057,826,363
PR_kwDOCUB6oc5i2m_t
28,267
fix documentation for zero_shot_object_detection
{ "login": "not-lain", "id": 70411813, "node_id": "MDQ6VXNlcjcwNDExODEz", "avatar_url": "https://avatars.githubusercontent.com/u/70411813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/not-lain", "html_url": "https://github.com/not-lain", "followers_url": "https://api.github.com/users/not...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_28267). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
1,703
1,704
1,704
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28267/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28267/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28267", "html_url": "https://github.com/huggingface/transformers/pull/28267", "diff_url": "https://github.com/huggingface/transformers/pull/28267.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28267.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28266
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28266/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28266/comments
https://api.github.com/repos/huggingface/transformers/issues/28266/events
https://github.com/huggingface/transformers/pull/28266
2,057,792,654
PR_kwDOCUB6oc5i2f6I
28,266
Don't allow passing `load_in_8bit` and `load_in_4bit` at the same time
{ "login": "osanseviero", "id": 7246357, "node_id": "MDQ6VXNlcjcyNDYzNTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/osanseviero", "html_url": "https://github.com/osanseviero", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Hey folks, should we merge this PR? :D ", "Definitely, @Titus-von-Koeller if you don't see any issue what do you think of merging this PR?\r\ncc @amyeroberts @ArthurZucker for a core-maintainer review before merging" ]
1,703
1,706
1,706
MEMBER
null
# What does this PR do? This PR disallows having both `load_in_8bit` and `load_in_4bit` set simultaneously. This would help avoid unexpected behaviors or broken configurations. ## Example **Without the PR** ``` from transformers import BitsAndBytesConfig BitsAndBytesConfig(load_in_8bit=True, load_in_4bi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28266/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28266/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28266", "html_url": "https://github.com/huggingface/transformers/pull/28266", "diff_url": "https://github.com/huggingface/transformers/pull/28266.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28266.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28265
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28265/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28265/comments
https://api.github.com/repos/huggingface/transformers/issues/28265/events
https://github.com/huggingface/transformers/issues/28265
2,057,687,233
I_kwDOCUB6oc56pdDB
28,265
Add `LlamaForQuestionAnswering`
{ "login": "Nkluge-correa", "id": 88645425, "node_id": "MDQ6VXNlcjg4NjQ1NDI1", "avatar_url": "https://avatars.githubusercontent.com/u/88645425?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Nkluge-correa", "html_url": "https://github.com/Nkluge-correa", "followers_url": "https://api.githu...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" } ]
open
false
null
[]
[ "Hey @NielsRogge I would like to work on this issue .", "@ArthurZucker @NielsRogge Is this feature still requested?\r\nI can work on it", "Hey @nakranivaibhav , as you can see, @Tanmaypatil123 has already started working on it, let's not duplicate work ! ๐Ÿค— Unless the PR is not updated in a week or so, feel fr...
1,703
1,706
null
NONE
null
### Feature request Add a `LlamaForQuestionAnswering` class to the [`modeling_llama.py`](https://github.com/huggingface/transformers/blob/main/src/transformers/models/llama/modeling_llama.py) so Llama models have `AutoModelForQuestionAnswering` support (by also adding Llama-style models to the `MODEL_FOR_QUESTION_ANSW...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28265/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28265/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28264
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28264/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28264/comments
https://api.github.com/repos/huggingface/transformers/issues/28264/events
https://github.com/huggingface/transformers/issues/28264
2,057,538,696
I_kwDOCUB6oc56o4yI
28,264
Accuracy regression of ViT
{ "login": "blzheng", "id": 69951214, "node_id": "MDQ6VXNlcjY5OTUxMjE0", "avatar_url": "https://avatars.githubusercontent.com/u/69951214?v=4", "gravatar_id": "", "url": "https://api.github.com/users/blzheng", "html_url": "https://github.com/blzheng", "followers_url": "https://api.github.com/users/blzhen...
[]
closed
false
null
[]
[ "Hi @blzheng, thanks for raising this issue! \r\n\r\n#19796 has been merged in for over a year now, and there have been a few subsequent updates to the image processing logic. Could you confirm how you narrowed it down to this commit? \r\n\r\nWhat performance do you get, running on main with different seeds? ", "...
1,703
1,707
1,707
NONE
null
### System Info - `transformers` version: 4.25.0.dev0 - Platform: Linux-5.15.0-53-generic-x86_64-with-glibc2.35 - Python version: 3.9.17 - Huggingface_hub version: 0.19.4 - PyTorch version (GPU?): 2.0.1+cpu (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28264/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28264/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28263
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28263/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28263/comments
https://api.github.com/repos/huggingface/transformers/issues/28263/events
https://github.com/huggingface/transformers/pull/28263
2,057,483,882
PR_kwDOCUB6oc5i1dQr
28,263
Optimize the speed of the truncate_sequences function.
{ "login": "ikkvix", "id": 100856433, "node_id": "U_kgDOBgLycQ", "avatar_url": "https://avatars.githubusercontent.com/u/100856433?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ikkvix", "html_url": "https://github.com/ikkvix", "followers_url": "https://api.github.com/users/ikkvix/follower...
[]
closed
false
null
[]
[ "@ArthurZucker @younesbelkada Could you give me any opinions or suggestions?", "Hi @ikkvix thanks for your great work on this, I will let @ArthurZucker review the PR as he is much more familiar on tokenizers that I am", "> LGTM, what kind of speedups are we looking at? (did you benchmark it?)\r\n\r\nThank you...
1,703
1,704
1,704
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28263/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28263/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28263", "html_url": "https://github.com/huggingface/transformers/pull/28263", "diff_url": "https://github.com/huggingface/transformers/pull/28263.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28263.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28262
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28262/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28262/comments
https://api.github.com/repos/huggingface/transformers/issues/28262/events
https://github.com/huggingface/transformers/pull/28262
2,057,441,777
PR_kwDOCUB6oc5i1UI1
28,262
[docs] Sort es/toctree.yml | Translate performance.md
{ "login": "aaronjimv", "id": 67152883, "node_id": "MDQ6VXNlcjY3MTUyODgz", "avatar_url": "https://avatars.githubusercontent.com/u/67152883?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aaronjimv", "html_url": "https://github.com/aaronjimv", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hello, I am open to any feedback. This PR is a continuation of the work on #28172 which sort `es/_toctree.yml` like `en/_toctree.yml`, with the addition of the Spanish version of `performance.md`.\r\n\r\nMy only doubt in the translation is that the links to the other files mentioned are correct, since these files ...
1,703
1,704
1,704
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28262/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28262/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28262", "html_url": "https://github.com/huggingface/transformers/pull/28262", "diff_url": "https://github.com/huggingface/transformers/pull/28262.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28262.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28261
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28261/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28261/comments
https://api.github.com/repos/huggingface/transformers/issues/28261/events
https://github.com/huggingface/transformers/pull/28261
2,057,323,182
PR_kwDOCUB6oc5i06Zk
28,261
[`MobileSam`] Adds MobileSAM to transformers
{ "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...
[ { "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
[]
[]
1,703
1,706
null
CONTRIBUTOR
null
# What does this PR do? as discussed offline cc @merveenoyan @NielsRogge This PR adds MobileSam to the library. MobileSam uses the same archtiecture as SAM, with the SAM image encoder being swapped to TinyViT. Therefore I decided to create a new modeling file for it, as porting TinyViT required a bit of work Dr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28261/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28261/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28261", "html_url": "https://github.com/huggingface/transformers/pull/28261", "diff_url": "https://github.com/huggingface/transformers/pull/28261.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28261.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/28260
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28260/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28260/comments
https://api.github.com/repos/huggingface/transformers/issues/28260/events
https://github.com/huggingface/transformers/issues/28260
2,057,306,510
I_kwDOCUB6oc56oAGO
28,260
How to set pad_token of Llava for batched generation and training?
{ "login": "TideDra", "id": 92413813, "node_id": "U_kgDOBYIfdQ", "avatar_url": "https://avatars.githubusercontent.com/u/92413813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TideDra", "html_url": "https://github.com/TideDra", "followers_url": "https://api.github.com/users/TideDra/follow...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,703
1,707
1,707
NONE
null
Hello, @younesbelkada I'm trying to use Llava for batched generation, using the default pad_token. here is the script: ```python import json from PIL import Image from transformers import AutoProcessor, LlavaForConditionalGeneration,AutoTokenizer from torch.utils.data import Dataset,DataLoader import torch impor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28260/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28260/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28259
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28259/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28259/comments
https://api.github.com/repos/huggingface/transformers/issues/28259/events
https://github.com/huggingface/transformers/issues/28259
2,057,305,050
I_kwDOCUB6oc56n_va
28,259
How to add new merge rules in AutoTokenizer
{ "login": "Sandspeare", "id": 126481267, "node_id": "U_kgDOB4nzcw", "avatar_url": "https://avatars.githubusercontent.com/u/126481267?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sandspeare", "html_url": "https://github.com/Sandspeare", "followers_url": "https://api.github.com/users/San...
[ { "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
[]
[]
1,703
1,703
null
NONE
null
### Model description I'm training new tokenizer from llama2, however, it seems that BPE tokenizer will clear the origin "vocab" and "merge" dict, and the training result is highly bias in my own datasets (about 6M C function) with some ugly tokens. I wonder that is it possible to train a tokenizer from llama2 with...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28259/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28259/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/28258
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28258/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28258/comments
https://api.github.com/repos/huggingface/transformers/issues/28258/events
https://github.com/huggingface/transformers/issues/28258
2,057,262,802
I_kwDOCUB6oc56n1bS
28,258
MobileVitV2 doesn't have optimizer and loss argument in `model.compile()`?
{ "login": "adhiiisetiawan", "id": 51025603, "node_id": "MDQ6VXNlcjUxMDI1NjAz", "avatar_url": "https://avatars.githubusercontent.com/u/51025603?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adhiiisetiawan", "html_url": "https://github.com/adhiiisetiawan", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "cc @Rocketknight1 ", "Hi @adhiiisetiawan, the issue here is that when you changed the code, you switched from TF classes to PyTorch classes. Your code uses `MobileViTV2Model`, but this is a PyTorch class. Therefore, the reason that the `compile()` method is behaving incorrectly for you is that you're actually lo...
1,703
1,704
1,704
NONE
null
### System Info - `transformers` version: 4.35.2 - Platform: Linux-6.1.58+-x86_64-with-glibc2.35 - Python version: 3.10.12 - Huggingface_hub version: 0.19.4 - Safetensors version: 0.4.1 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.1.0+cu121 (True) - Tensorflo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28258/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28258/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/28257
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/28257/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/28257/comments
https://api.github.com/repos/huggingface/transformers/issues/28257/events
https://github.com/huggingface/transformers/pull/28257
2,057,113,024
PR_kwDOCUB6oc5i0MS4
28,257
[fix] Optimize deletion speed while truncate_sequences (#3563)
{ "login": "liyuqing1", "id": 49502156, "node_id": "MDQ6VXNlcjQ5NTAyMTU2", "avatar_url": "https://avatars.githubusercontent.com/u/49502156?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liyuqing1", "html_url": "https://github.com/liyuqing1", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Sorry, this method may be related to the environment and len(ids), so the rewriting may not always be effective. We are conducting further research to better address the issue.", "No worries feel free to ping me if you have good findings! " ]
1,703
1,704
1,703
NONE
null
# What does this PR do? The process remains unchanged, but the writing method is changed to improve the speed of truncate_sequences(). "del ids[-1]" is an in-place operation, while the original "ids = ids[:-1]" make an additional copy of ids[0:-1]. Therefore, the original writting method is slower, especially when s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/28257/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/28257/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/28257", "html_url": "https://github.com/huggingface/transformers/pull/28257", "diff_url": "https://github.com/huggingface/transformers/pull/28257.diff", "patch_url": "https://github.com/huggingface/transformers/pull/28257.patch", "merged_at...