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/25925 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25925/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25925/comments | https://api.github.com/repos/huggingface/transformers/issues/25925/events | https://github.com/huggingface/transformers/issues/25925 | 1,878,837,209 | I_kwDOCUB6oc5v_MfZ | 25,925 | Edit train_dataloader in callbacks | {
"login": "arshadshk",
"id": 39850778,
"node_id": "MDQ6VXNlcjM5ODUwNzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/39850778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arshadshk",
"html_url": "https://github.com/arshadshk",
"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... | [
"What expectation of modifying the dataloader are you expecting? `Trainer` uses it's own `get_train_dataloader`, `get_eval_dataloader`, and `get_test_dataloader` functions and has for a while, so what specific modifications to the dataloader you are looking for would be good to know, else this may require some subs... | 1,693 | 1,704 | null | NONE | null | In certain scenarios, it becomes necessary to modify the train_dataloader after each epoch. This can be managed through callbacks since the train dataloader is passed to the callback function. However, it's worth noting that the dataloader for training is not a variable within the base Trainer class. Instead, an [indep... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25925/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25925/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25924 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25924/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25924/comments | https://api.github.com/repos/huggingface/transformers/issues/25924/events | https://github.com/huggingface/transformers/issues/25924 | 1,878,834,777 | I_kwDOCUB6oc5v_L5Z | 25,924 | Editing the Data Loader in Callbacks | {
"login": "arshadshk",
"id": 39850778,
"node_id": "MDQ6VXNlcjM5ODUwNzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/39850778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arshadshk",
"html_url": "https://github.com/arshadshk",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Closing this issue as it is a duplicate of #25925"
] | 1,693 | 1,693 | 1,693 | NONE | null | ### Feature request
Please share a reference to the data loader utilized for training in the callback, rather than a duplicate, to allow for modifications to the data loader within callbacks. Currently, there is no other method available to make changes to the data loader after each epoch or after a certain number of ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25924/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25924/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25923 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25923/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25923/comments | https://api.github.com/repos/huggingface/transformers/issues/25923/events | https://github.com/huggingface/transformers/issues/25923 | 1,878,642,306 | I_kwDOCUB6oc5v-c6C | 25,923 | Why do I get completely subpar results on stsb datasets using the sample programs in “Text classification examples” | {
"login": "LLIKKE",
"id": 94539160,
"node_id": "U_kgDOBaKNmA",
"avatar_url": "https://avatars.githubusercontent.com/u/94539160?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LLIKKE",
"html_url": "https://github.com/LLIKKE",
"followers_url": "https://api.github.com/users/LLIKKE/followers"... | [] | closed | false | null | [] | [
"Hi @LLIKKE, 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.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think thi... | 1,693 | 1,697 | 1,697 | NONE | null | ### System Info
transformers v4.44,0
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25923/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25923/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25922 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25922/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25922/comments | https://api.github.com/repos/huggingface/transformers/issues/25922/events | https://github.com/huggingface/transformers/pull/25922 | 1,878,334,361 | PR_kwDOCUB6oc5ZYyeE | 25,922 | Update README.md | {
"login": "NinoRisteski",
"id": 95188570,
"node_id": "U_kgDOBax2Wg",
"avatar_url": "https://avatars.githubusercontent.com/u/95188570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NinoRisteski",
"html_url": "https://github.com/NinoRisteski",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25922). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | fixed a typo | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25922/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25922/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25922",
"html_url": "https://github.com/huggingface/transformers/pull/25922",
"diff_url": "https://github.com/huggingface/transformers/pull/25922.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25922.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25921 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25921/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25921/comments | https://api.github.com/repos/huggingface/transformers/issues/25921/events | https://github.com/huggingface/transformers/issues/25921 | 1,878,328,661 | I_kwDOCUB6oc5v9QVV | 25,921 | Batch Decoding of LMs will cause different outputs with different batch size | {
"login": "wenhuchen",
"id": 1457702,
"node_id": "MDQ6VXNlcjE0NTc3MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1457702?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wenhuchen",
"html_url": "https://github.com/wenhuchen",
"followers_url": "https://api.github.com/users/we... | [
{
"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 | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"I can confirm that it's not due to left padding, since even with same-length inputs in the batch, the same issue persists:\r\n\r\n```\r\nfrom transformers import LlamaForCausalLM, LlamaTokenizer\r\nfrom transformers import GenerationConfig\r\nimport torch\r\n\r\nif __name__ == '__main__':\r\n name = 'yahma/llam... | 1,693 | 1,693 | null | NONE | null | ### System Info
Transformers=4.31
Torch=2.01
Cuda=11.8
Python=3.10
A100 GPU 80GB
### Who can help?
@ArthurZucker , @younesbelkada , @gante
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25921/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25921/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25920 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25920/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25920/comments | https://api.github.com/repos/huggingface/transformers/issues/25920/events | https://github.com/huggingface/transformers/pull/25920 | 1,878,207,162 | PR_kwDOCUB6oc5ZYYWi | 25,920 | Update training_args.py to remove the runtime error | {
"login": "sahel-sh",
"id": 5972298,
"node_id": "MDQ6VXNlcjU5NzIyOTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5972298?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sahel-sh",
"html_url": "https://github.com/sahel-sh",
"followers_url": "https://api.github.com/users/sahel... | [] | closed | false | null | [] | [
"Steps to reproduce it:\r\nUse a fsdp config file with json keys starting with \"fsdp_\", for example the config file below:\r\n{\r\n \"fsdp_auto_wrap_policy\": \"FULL_SHARD\",\r\n \"fsdp_transformer_layer_cls_to_wrap\": \"LlamaDecoderLayer\"\r\n}\r\nThe runtime error happens since the code is updating a dict... | 1,693 | 1,694 | 1,693 | CONTRIBUTOR | null | This cl iterates through a list of keys rather than dict items while updating the dict elements. Fixes the following error: File "..../transformers/training_args.py", line 1544, in post_init for k, v in self.fsdp_config.items():
RuntimeError: dictionary keys changed during iteration
# What does this PR do?
<!--
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25920/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25920/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25920",
"html_url": "https://github.com/huggingface/transformers/pull/25920",
"diff_url": "https://github.com/huggingface/transformers/pull/25920.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25920.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25919 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25919/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25919/comments | https://api.github.com/repos/huggingface/transformers/issues/25919/events | https://github.com/huggingface/transformers/pull/25919 | 1,877,967,453 | PR_kwDOCUB6oc5ZXknV | 25,919 | Import deepspeed utilities from integrations | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | MEMBER | null | This removes a warning | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25919/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25919/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25919",
"html_url": "https://github.com/huggingface/transformers/pull/25919",
"diff_url": "https://github.com/huggingface/transformers/pull/25919.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25919.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25918 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25918/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25918/comments | https://api.github.com/repos/huggingface/transformers/issues/25918/events | https://github.com/huggingface/transformers/issues/25918 | 1,877,874,397 | I_kwDOCUB6oc5v7hbd | 25,918 | Problem with RWKV training when autocast and GradScaler both enabled | {
"login": "nanjiangwill",
"id": 59716405,
"node_id": "MDQ6VXNlcjU5NzE2NDA1",
"avatar_url": "https://avatars.githubusercontent.com/u/59716405?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nanjiangwill",
"html_url": "https://github.com/nanjiangwill",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Also, when I use Adam/AdamW/RMSProp, loss also goes to NaN\r\nI find out during first training step, it is fine, but second forward pass will have some layers with gradient like `1e-15` which is a underflow \r\n\r\nwhen GradScaler is disabled, the above works",
"Hey @nanjiangwill, I am not really sure we can say... | 1,693 | 1,701 | 1,701 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.0-79-generic-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25918/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25918/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25917 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25917/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25917/comments | https://api.github.com/repos/huggingface/transformers/issues/25917/events | https://github.com/huggingface/transformers/issues/25917 | 1,877,826,882 | I_kwDOCUB6oc5v7V1C | 25,917 | generation_config ignored in evaluate of Seq2SeqTrainer | {
"login": "zouharvi",
"id": 7661193,
"node_id": "MDQ6VXNlcjc2NjExOTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7661193?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zouharvi",
"html_url": "https://github.com/zouharvi",
"followers_url": "https://api.github.com/users/zouha... | [] | closed | false | null | [] | [
"cc @gante who assisted the PR for this support",
"A temporary solution in this case is to mark the generation config as not from the model because that's what's making it revert [here in generate](https://github.com/huggingface/transformers/blob/a4dd53d88e4852f023332d284ff07a01afcd5681/src/transformers/generatio... | 1,693 | 1,694 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.33.0.dev0
- Platform: Linux-5.10.184-174.730.x86_64-x86_64-with-glibc2.26
- Python version: 3.10.9
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (Tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25917/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25917/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25916 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25916/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25916/comments | https://api.github.com/repos/huggingface/transformers/issues/25916/events | https://github.com/huggingface/transformers/issues/25916 | 1,877,719,883 | I_kwDOCUB6oc5v67tL | 25,916 | openai/whisper-large-v2 generates different text result when passing return_timestamps=True | {
"login": "chamini2",
"id": 2745502,
"node_id": "MDQ6VXNlcjI3NDU1MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2745502?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chamini2",
"html_url": "https://github.com/chamini2",
"followers_url": "https://api.github.com/users/chami... | [] | closed | false | null | [] | [
"Adding a base64 representation of my audio since it is not accepted as attachment in GitHub.\r\n\r\n```py\r\nimport base64\r\nfrom tempfile import NamedTemporaryFile\r\n\r\ndef test(url: str):\r\n from transformers import pipeline\r\n\r\n # Split out the base64 encoded data\r\n _, data_url = url.split(\",... | 1,693 | 1,705 | 1,705 | NONE | null | ### System Info
- python 3.11
- linux
Initial report in this whisper discussion: https://github.com/openai/whisper/discussions/1623#discussioncomment-6879291
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An offi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25916/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25916/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25915 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25915/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25915/comments | https://api.github.com/repos/huggingface/transformers/issues/25915/events | https://github.com/huggingface/transformers/pull/25915 | 1,877,678,602 | PR_kwDOCUB6oc5ZWlaH | 25,915 | [VITS] Only trigger tokenizer warning for uroman | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Warning should only be triggered **if** the tokenizer requires uromanization **and** the text contains non-roman characters
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25915/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25915/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25915",
"html_url": "https://github.com/huggingface/transformers/pull/25915",
"diff_url": "https://github.com/huggingface/transformers/pull/25915.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25915.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25914 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25914/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25914/comments | https://api.github.com/repos/huggingface/transformers/issues/25914/events | https://github.com/huggingface/transformers/issues/25914 | 1,877,642,191 | I_kwDOCUB6oc5v6ovP | 25,914 | Tree add-model-idefics deleted and Google Colab stoped working | {
"login": "dvelho",
"id": 97854578,
"node_id": "U_kgDOBdUkcg",
"avatar_url": "https://avatars.githubusercontent.com/u/97854578?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dvelho",
"html_url": "https://github.com/dvelho",
"followers_url": "https://api.github.com/users/dvelho/followers"... | [] | closed | false | null | [] | [
"Hi @dvelho \r\nThanks for your issue,\r\nplease install transformers from source\r\n```bash\r\npip install git+https://github.com/huggingface/transformers.git\r\n```\r\nAnd the issue should be resolved",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this ... | 1,693 | 1,697 | 1,697 | NONE | null | ### System Info
Google Colab: https://github.com/huggingface/notebooks/blob/main/examples/idefics/finetune_image_captioning_peft.ipynb
### Who can help?
_No response_
### Information
- [x] The official example scripts
- [ ] My own modified scripts
### Tasks
- [x] An officially supported task in the `examples` fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25914/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25914/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25913 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25913/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25913/comments | https://api.github.com/repos/huggingface/transformers/issues/25913/events | https://github.com/huggingface/transformers/pull/25913 | 1,877,624,714 | PR_kwDOCUB6oc5ZWZzT | 25,913 | Skip offload tests for `ViTDet` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Added `# TODO: Fix me (once this model gets more usage)`."
] | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
Let's skip them for now. We can re-enable and fix them once this new model get more usage. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25913/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25913/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25913",
"html_url": "https://github.com/huggingface/transformers/pull/25913",
"diff_url": "https://github.com/huggingface/transformers/pull/25913.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25913.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25912 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25912/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25912/comments | https://api.github.com/repos/huggingface/transformers/issues/25912/events | https://github.com/huggingface/transformers/pull/25912 | 1,877,442,456 | PR_kwDOCUB6oc5ZVx84 | 25,912 | Better error message for pipeline loading | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Feel a bit bloated but it it helps ;)"
] | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
Fix #25892
The new error looks like:
<img width="1186" alt="Screenshot 2023-09-01 153455" src="https://github.com/huggingface/transformers/assets/2521628/33a8695e-020f-43c9-9763-45d083b85930">
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25912/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25912/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25912",
"html_url": "https://github.com/huggingface/transformers/pull/25912",
"diff_url": "https://github.com/huggingface/transformers/pull/25912.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25912.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25911 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25911/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25911/comments | https://api.github.com/repos/huggingface/transformers/issues/25911/events | https://github.com/huggingface/transformers/issues/25911 | 1,877,299,999 | I_kwDOCUB6oc5v5VMf | 25,911 | use clone() method before save tensor when converting Hf model to Megatron model | {
"login": "flower-with-safe",
"id": 18008108,
"node_id": "MDQ6VXNlcjE4MDA4MTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/18008108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flower-with-safe",
"html_url": "https://github.com/flower-with-safe",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Sounds good, could you share an actual example with a model from `transformers`?\r\n\r\nwould you like to open a draft PR to show the potential changes? If this saves spaces in general and not only for megatron it's also a good addition "
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | ### System Info
when converting a huggingface model to megatron model, we need to split the model into TP * PP parts.
when TP is 1 and PP is X, each part of splited model occupies 1 / X storage space of the original model.
However, when TP is x and pp is 1, each part of the splited model occupies exactly the sampl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25911/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25911/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25910 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25910/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25910/comments | https://api.github.com/repos/huggingface/transformers/issues/25910/events | https://github.com/huggingface/transformers/issues/25910 | 1,877,294,476 | I_kwDOCUB6oc5v5T2M | 25,910 | Load `instructblip-flan-t5-xl` changes the results of `instructblip-vicuna-7b` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [] | 1,693 | 1,698 | 1,698 | COLLABORATOR | null | When loading `instructblip-flan-t5-xl` using `InstructBlipForConditionalGeneration`, it will change the (logits) output of `instructblip-vicuna-7b`. See the reproduction section.
If I tried to load `facebook/opt-350m` (using `OPTForCausalLM`), it won't cause this situation (i.e. `instructblip-vicuna-7b` have the sam... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25910/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/25910/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25909 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25909/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25909/comments | https://api.github.com/repos/huggingface/transformers/issues/25909/events | https://github.com/huggingface/transformers/issues/25909 | 1,877,238,701 | I_kwDOCUB6oc5v5GOt | 25,909 | Getting "Connection errored" bug when using Hugging Face Transformers | {
"login": "eben-vranken",
"id": 92394428,
"node_id": "U_kgDOBYHTvA",
"avatar_url": "https://avatars.githubusercontent.com/u/92394428?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eben-vranken",
"html_url": "https://github.com/eben-vranken",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"#https://github.com/huggingface/huggingface_hub/issues/1632",
"Hey! Thanks for opening a PR. \r\nI can't really debug this for you as is, since you did not provide a full traceback of the error, and you need to also share the output of `transformers-cli envs` this way I can know which packages you have installed... | 1,693 | 1,695 | 1,695 | NONE | null | **Description:**
I am getting the "`Connection errored`" bug when I try to use Hugging Face Transformers to load a model from the Hugging Face Hub. I have tried updating Hugging Face Transformers to the latest version, but the problem persists.
**Expected behavior:**
The model should be loaded successfully.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25909/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25909/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25908 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25908/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25908/comments | https://api.github.com/repos/huggingface/transformers/issues/25908/events | https://github.com/huggingface/transformers/issues/25908 | 1,877,222,954 | I_kwDOCUB6oc5v5CYq | 25,908 | SpeechT5 TTS wrong attention mask handling when padding the input text | {
"login": "Spycsh",
"id": 39623753,
"node_id": "MDQ6VXNlcjM5NjIzNzUz",
"avatar_url": "https://avatars.githubusercontent.com/u/39623753?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Spycsh",
"html_url": "https://github.com/Spycsh",
"followers_url": "https://api.github.com/users/Spycsh/fo... | [] | closed | false | null | [] | [
"Feel free to open a PR, I think that a minimal change like this could be good! cc @sanchit-gandhi ",
"Would it be cleaner if we just passed `return_attention_mask=True` to the feature extractor:\r\n\r\n```python\r\ninputs = feature_extractor(raw_speech, sampling_rate=sampling_rate, return_attention_mask=True, re... | 1,693 | 1,701 | 1,699 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.32.0.dev0
- Platform: Windows
- Python version: 3.10.6
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cpu (False)
- Tensorflow version (GPU?): not installed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25908/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25908/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25907 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25907/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25907/comments | https://api.github.com/repos/huggingface/transformers/issues/25907/events | https://github.com/huggingface/transformers/pull/25907 | 1,877,190,311 | PR_kwDOCUB6oc5ZU61z | 25,907 | [MMS] Update docs with HF TTS implementation | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Following #24085, Transformers now contains an implementation of MMS-TTS. This PR updates the MMS docs to include a code-snippet using this implementation.
cc @osanseviero since this was something you flagged before, and also @Vaibhavs10 for viz
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25907/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25907/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25907",
"html_url": "https://github.com/huggingface/transformers/pull/25907",
"diff_url": "https://github.com/huggingface/transformers/pull/25907.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25907.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25906 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25906/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25906/comments | https://api.github.com/repos/huggingface/transformers/issues/25906/events | https://github.com/huggingface/transformers/pull/25906 | 1,877,161,845 | PR_kwDOCUB6oc5ZU0pS | 25,906 | [VITS] Add to TTA pipeline | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Small changes to the TTA pipeline to allow for the VITS model
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25906/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25906/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25906",
"html_url": "https://github.com/huggingface/transformers/pull/25906",
"diff_url": "https://github.com/huggingface/transformers/pull/25906.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25906.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25905 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25905/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25905/comments | https://api.github.com/repos/huggingface/transformers/issues/25905/events | https://github.com/huggingface/transformers/pull/25905 | 1,877,052,789 | PR_kwDOCUB6oc5ZUc74 | 25,905 | Remove broken docs for MusicGen | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | MEMBER | null | Fixes: #25338 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25905/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25905/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25905",
"html_url": "https://github.com/huggingface/transformers/pull/25905",
"diff_url": "https://github.com/huggingface/transformers/pull/25905.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25905.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25904 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25904/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25904/comments | https://api.github.com/repos/huggingface/transformers/issues/25904/events | https://github.com/huggingface/transformers/issues/25904 | 1,877,036,963 | I_kwDOCUB6oc5v4U-j | 25,904 | Support for the custom kernel for Mask2Former and OneFormer | {
"login": "function2-llx",
"id": 38486514,
"node_id": "MDQ6VXNlcjM4NDg2NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/38486514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/function2-llx",
"html_url": "https://github.com/function2-llx",
"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 | [] | [] | 1,693 | 1,693 | null | CONTRIBUTOR | null | > And @shivalikasingh95 sure but let's add support for the custom kernel in a separate PR for Mask2Former and OneFormer. We can set it to False by default, and add a boolean attribute for those models.
_Originally posted by @NielsRogge in https://github.com/huggingface/transformers/pull/20993#discussion_r1062224249_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25904/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25904/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25903 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25903/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25903/comments | https://api.github.com/repos/huggingface/transformers/issues/25903/events | https://github.com/huggingface/transformers/pull/25903 | 1,877,021,300 | PR_kwDOCUB6oc5ZUWJK | 25,903 | Revert frozen training arguments | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ArthurZucker there aren't per-se any known bugs, but I can include a comment on why we're keeping it *unfrozen*"
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
This PR reverts a recent change that made the `TrainingArguments` immutable objects. While this may have been our *intended* design decision, as users were already integrated with modifying the training_args directly, we've decided to revert this change.
Users code (if already modified to ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25903/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25903/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25903",
"html_url": "https://github.com/huggingface/transformers/pull/25903",
"diff_url": "https://github.com/huggingface/transformers/pull/25903.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25903.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25902 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25902/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25902/comments | https://api.github.com/repos/huggingface/transformers/issues/25902/events | https://github.com/huggingface/transformers/pull/25902 | 1,876,819,644 | PR_kwDOCUB6oc5ZTq2c | 25,902 | [WIP] Add mixformer_sequential | {
"login": "sgunasekar",
"id": 8418631,
"node_id": "MDQ6VXNlcjg0MTg2MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/8418631?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgunasekar",
"html_url": "https://github.com/sgunasekar",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Hey! Thanks for opening a PR! Could you share links to the original code / original paper / released weights (or if there was already an issue in `transformers` that was requesting this? \r\nIs it https://arxiv.org/abs/2305.15896 ? \r\n\r\nAlso would highly recommend to try to first [share the model on the hub](ht... | 1,693 | 1,697 | 1,697 | NONE | null | # What does this PR do?
Adds mixformer_sequential model
Fixes # (issue)
## Before submitting
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),
Pull Request section?
- [ ] Was this discussed/approved... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25902/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25902/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25902",
"html_url": "https://github.com/huggingface/transformers/pull/25902",
"diff_url": "https://github.com/huggingface/transformers/pull/25902.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25902.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25901 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25901/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25901/comments | https://api.github.com/repos/huggingface/transformers/issues/25901/events | https://github.com/huggingface/transformers/issues/25901 | 1,876,766,509 | I_kwDOCUB6oc5v3S8t | 25,901 | Can't load a 4bit GPTQ Model from the hub | {
"login": "colinpannikkat",
"id": 19521833,
"node_id": "MDQ6VXNlcjE5NTIxODMz",
"avatar_url": "https://avatars.githubusercontent.com/u/19521833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/colinpannikkat",
"html_url": "https://github.com/colinpannikkat",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"cc @younesbelkada as well 😉 ",
"To load quantized GPTQ model with transformers, you just need to call `model = AutoModelForCausalLM.from_pretrained(\"TheBloke/vicuna-7B-v1.5-GPTQ\", device_map=\"auto\")`. The `load_in_4bit` arg is for bitsandbytes quantization method. We will deprecate it in later version as it... | 1,693 | 1,693 | 1,693 | NONE | null | ### System Info
- `transformers` version: 4.32.1
- Platform: Linux-3.10.0-1160.83.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.10.6
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (Tru... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25901/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25901/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25900 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25900/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25900/comments | https://api.github.com/repos/huggingface/transformers/issues/25900/events | https://github.com/huggingface/transformers/pull/25900 | 1,876,672,654 | PR_kwDOCUB6oc5ZTK4e | 25,900 | Update training_args.py to fix runtime error | {
"login": "sahel-sh",
"id": 5972298,
"node_id": "MDQ6VXNlcjU5NzIyOTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5972298?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sahel-sh",
"html_url": "https://github.com/sahel-sh",
"followers_url": "https://api.github.com/users/sahel... | [] | closed | false | null | [] | [
"Hey! Thanks for opening a PR 🤗 could you also share a reproducer? Would help determine whether this is an intended use case or not! \r\n",
"From [FastChat](https://github.com/lm-sys/FastChat/blob/main/scripts/test_readme_train.sh) repo:\r\n```\r\ntorchrun --nproc_per_node=4 --master_port=20001 fastchat/train/tr... | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | Fix File "..../transformers/training_args.py", line 1544, in __post_init__
for k, v in self.fsdp_config.items():
RuntimeError: dictionary keys changed during iteration
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is goi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25900/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25900/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25900",
"html_url": "https://github.com/huggingface/transformers/pull/25900",
"diff_url": "https://github.com/huggingface/transformers/pull/25900.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25900.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25899 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25899/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25899/comments | https://api.github.com/repos/huggingface/transformers/issues/25899/events | https://github.com/huggingface/transformers/pull/25899 | 1,876,330,684 | PR_kwDOCUB6oc5ZSBfs | 25,899 | modify context length for GPTQ + version bump | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"It works with the new model path :) "
] | 1,693 | 1,694 | 1,694 | MEMBER | null | # What does this PR do ?
This PR adds the possibility to change the max input length when using exllama backend + act_order. We also bump the required version of gptq to `0.4.2`.
The gptq tests passed and I skipped a test because we need to wait for a release on optimum side. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25899/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25899/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25899",
"html_url": "https://github.com/huggingface/transformers/pull/25899",
"diff_url": "https://github.com/huggingface/transformers/pull/25899.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25899.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25898 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25898/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25898/comments | https://api.github.com/repos/huggingface/transformers/issues/25898/events | https://github.com/huggingface/transformers/issues/25898 | 1,876,326,236 | I_kwDOCUB6oc5v1ndc | 25,898 | Wandb hyperparameter search: Please make sure to properly initialize your accelerator via `accelerator = Accelerator()` | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | closed | false | {
"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... | [
"@BramVanroy BTW, saw this nit if you weren't aware at the bottom of that doc:\r\n\r\n> Currently, Hyperparameter search for DDP is enabled for optuna and sigopt. Only the rank-zero process will generate the search trial and pass the argument to other ranks.",
"(Though I'm exploring/trying this today, bare minimu... | 1,693 | 1,694 | 1,694 | COLLABORATOR | null | ### System Info
- `transformers` version: 4.32.1
- Platform: Linux-5.14.0-284.25.1.el9_2.x86_64-x86_64-with-glibc2.34
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (Tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25898/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25898/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25897 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25897/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25897/comments | https://api.github.com/repos/huggingface/transformers/issues/25897/events | https://github.com/huggingface/transformers/issues/25897 | 1,876,245,802 | I_kwDOCUB6oc5v1T0q | 25,897 | TrainingArguments frozen: leads to issues in Trainer | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | closed | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"cc @muellerzr ",
"Tangentially related: The frozen TrainingArguments also affects third parties facing crashes as they enforce some `TrainingArguments` arguments like `remove_unused_columns`:\r\nhttps://github.com/tomaarsen/SpanMarkerNER/pull/27\r\nhttps://github.com/huggingface/trl/pull/676\r\n\r\n- Tom Aarsen"... | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | ### System Info
- `transformers` version: 4.32.1
- Platform: Linux-5.14.0-284.25.1.el9_2.x86_64-x86_64-with-glibc2.34
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (Tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25897/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/25897/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25896 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25896/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25896/comments | https://api.github.com/repos/huggingface/transformers/issues/25896/events | https://github.com/huggingface/transformers/pull/25896 | 1,876,091,432 | PR_kwDOCUB6oc5ZRM7E | 25,896 | Update model_memory_anatomy.md | {
"login": "NinoRisteski",
"id": 95188570,
"node_id": "U_kgDOBax2Wg",
"avatar_url": "https://avatars.githubusercontent.com/u/95188570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NinoRisteski",
"html_url": "https://github.com/NinoRisteski",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25896). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | typo fixes
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25896/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25896/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25896",
"html_url": "https://github.com/huggingface/transformers/pull/25896",
"diff_url": "https://github.com/huggingface/transformers/pull/25896.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25896.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25895 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25895/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25895/comments | https://api.github.com/repos/huggingface/transformers/issues/25895/events | https://github.com/huggingface/transformers/pull/25895 | 1,875,871,630 | PR_kwDOCUB6oc5ZQcEg | 25,895 | Show failed tests on CircleCI layout in a better way | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"No problem to close if you maintainers don't feel it makes navigation (even slightly) better/faster.",
"I'm actually in favor if we also remove tee 😉 ",
"@amyeroberts BTW, the `tests_output.txt` will be removed to make @Arthur... | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
I am not sure if this will helps the navigation (much), but at least for the team members to try.
A new step is added to show the (only faiiled) test results, and it looks like
<img width="650" alt="Screenshot 2023-08-31 184247" src="https://github.com/huggingface/transformers/assets/2521... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25895/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25895/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25895",
"html_url": "https://github.com/huggingface/transformers/pull/25895",
"diff_url": "https://github.com/huggingface/transformers/pull/25895.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25895.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25894 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25894/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25894/comments | https://api.github.com/repos/huggingface/transformers/issues/25894/events | https://github.com/huggingface/transformers/pull/25894 | 1,875,717,268 | PR_kwDOCUB6oc5ZP6KK | 25,894 | remove torch_dtype override | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | MEMBER | null | # What does this PR do ?
Fixes #25888 . This PR removes the override of `torch_dtype` with gptq quantization. This allows more flexibility for the user with their model don't work in fp16. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25894/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25894/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25894",
"html_url": "https://github.com/huggingface/transformers/pull/25894",
"diff_url": "https://github.com/huggingface/transformers/pull/25894.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25894.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25893 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25893/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25893/comments | https://api.github.com/repos/huggingface/transformers/issues/25893/events | https://github.com/huggingface/transformers/pull/25893 | 1,875,599,374 | PR_kwDOCUB6oc5ZPgem | 25,893 | Update `setup.py` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I think the failing tests are fixed on `main` right?"
] | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
The breakup in #24080 wasn't completely successfully 😭 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25893/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 1,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25893/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25893",
"html_url": "https://github.com/huggingface/transformers/pull/25893",
"diff_url": "https://github.com/huggingface/transformers/pull/25893.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25893.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25892 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25892/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25892/comments | https://api.github.com/repos/huggingface/transformers/issues/25892/events | https://github.com/huggingface/transformers/issues/25892 | 1,875,589,820 | I_kwDOCUB6oc5vyzq8 | 25,892 | Zero classification pipeline issue when using device map | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"Hi @BramVanroy We can definitely provide a more detailed (original) traceback. However, the pipeline tries to load with different possible model class (here `4`) and it's not clear what's the best way to display. Put the traceback given by these 4 tries would be quite long I am afraid.",
"In terms of error trace... | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | ### System Info
Google Colab
- `transformers` version: 4.32.1
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25892/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/25892/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25891 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25891/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25891/comments | https://api.github.com/repos/huggingface/transformers/issues/25891/events | https://github.com/huggingface/transformers/issues/25891 | 1,875,541,977 | I_kwDOCUB6oc5vyn_Z | 25,891 | `addmm_impl_cpu_` not implemented for 'Half' | {
"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... | [] | closed | false | null | [] | [
"Hey! Make sure to put the model on `cuda`, the errors is here because you are trying to use `float16` on CPU which is not supported 😉 ",
"@ArthurZucker I have a Mac (😞 )\r\nDoes HF not support fp16 for MPS in mac?",
"It's not HF, it's `pytorch`. You can put the model on `mps` using `to('mps')` should work "... | 1,693 | 1,697 | 1,697 | NONE | null | ### System Info
- `transformers` version: 4.32.1
- Platform: macOS-13.5-arm64-arm-64bit
- Python version: 3.11.3
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.3
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (False)
- Tensorflow version (GPU?): 2.13.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25891/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25891/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25890 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25890/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25890/comments | https://api.github.com/repos/huggingface/transformers/issues/25890/events | https://github.com/huggingface/transformers/pull/25890 | 1,875,526,570 | PR_kwDOCUB6oc5ZPQfq | 25,890 | [`CodeLlama`] Fix CI | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
Nit for `can_save_slow_tokenizer` for Llama cc @amyeroberts. Merging with main made CodeLlama fail as the property was not defined as such. See #256626 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25890/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25890/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25890",
"html_url": "https://github.com/huggingface/transformers/pull/25890",
"diff_url": "https://github.com/huggingface/transformers/pull/25890.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25890.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25889 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25889/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25889/comments | https://api.github.com/repos/huggingface/transformers/issues/25889/events | https://github.com/huggingface/transformers/issues/25889 | 1,875,519,154 | I_kwDOCUB6oc5vyiay | 25,889 | add model `mae_st` masked spatiotemporal | {
"login": "innat",
"id": 17668390,
"node_id": "MDQ6VXNlcjE3NjY4Mzkw",
"avatar_url": "https://avatars.githubusercontent.com/u/17668390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/innat",
"html_url": "https://github.com/innat",
"followers_url": "https://api.github.com/users/innat/follow... | [
{
"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 | [] | [
"Hi @innat, thanks for opening this new model request! \r\n\r\nWe have recently been trying to push for `model on the hub` and have as much support as we can there. It will also be easier to integrate it! Here is a [tutorial](https://huggingface.co/docs/transformers/custom_models) if that sound good to you or anyon... | 1,693 | 1,694 | null | NONE | null | ### Model description
[Paper 2022](https://arxiv.org/abs/2205.09113) abstract
Cited by 171
> This paper studies a conceptually simple extension of Masked Autoencoders (MAE) to spatiotemporal representation learning from videos. We randomly mask out spacetime patches in videos and learn an autoencoder to recon... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25889/reactions",
"total_count": 3,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25889/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25888 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25888/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25888/comments | https://api.github.com/repos/huggingface/transformers/issues/25888/events | https://github.com/huggingface/transformers/issues/25888 | 1,875,517,921 | I_kwDOCUB6oc5vyiHh | 25,888 | GPTQ Quantization via `from_pretrained`: why enforcing `fp16`? | {
"login": "HanGuo97",
"id": 18187806,
"node_id": "MDQ6VXNlcjE4MTg3ODA2",
"avatar_url": "https://avatars.githubusercontent.com/u/18187806?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HanGuo97",
"html_url": "https://github.com/HanGuo97",
"followers_url": "https://api.github.com/users/Han... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Hi ! \r\nThat might be a copypasta from previous bnb integration but not sure, we should probably override it to `torch.float16` only if `torch_dtype=None`, @SunMarc what do you think? Maybe there is something I have overlooked about GPTQ ",
"Why override it if `torch_dtype=None`? I think... | 1,693 | 1,693 | 1,693 | NONE | null | ### Feature request
Hi, I noticed in the following line that model has to be in `fp16` format before GPTQ quantization. I'm curious whether this condition can be dropped?
https://github.com/huggingface/transformers/blob/ccb92be23def445f2afdea94c31286f84b89eb5b/src/transformers/modeling_utils.py#L2504
### Motivatio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25888/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25888/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25887 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25887/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25887/comments | https://api.github.com/repos/huggingface/transformers/issues/25887/events | https://github.com/huggingface/transformers/pull/25887 | 1,875,421,012 | PR_kwDOCUB6oc5ZO5cB | 25,887 | [`InstructBlip`] FINAL Fix instructblip test | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"So #25105 fixed (among other things) that `lm_head was in 8bit`, right?",
"Confirmed it passes when running the single test, but failed when running the 2 integration tests together.\r\n\r\n@amyeroberts I think we can merge, and I ... | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Fixes the current failing instructblip slow test
This commit: https://github.com/huggingface/transformers/commit/2230d149f0dc4de05ea7a9a1c5295b6d80e495cd was responsible of the test failure however the commit above sillently fixed an issue.
The PR #25105 introduced the correct way of qu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25887/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25887/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25887",
"html_url": "https://github.com/huggingface/transformers/pull/25887",
"diff_url": "https://github.com/huggingface/transformers/pull/25887.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25887.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25886 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25886/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25886/comments | https://api.github.com/repos/huggingface/transformers/issues/25886/events | https://github.com/huggingface/transformers/issues/25886 | 1,875,408,080 | I_kwDOCUB6oc5vyHTQ | 25,886 | `add_bos_token` cannot properly control OPT tokenizer | {
"login": "soheeyang",
"id": 28291528,
"node_id": "MDQ6VXNlcjI4MjkxNTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/28291528?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soheeyang",
"html_url": "https://github.com/soheeyang",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey! Thanks for reporting, this is expected. The Fast tokenizers should have these parameters set by defaults. `Llama` is the only model for which we implemented the property `add_bos_token` that updates the tokenizer's `post_processor`. \r\n\r\nThe philosophy behind `tokenizers` is that once a tokenizer is saved,... | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.32.1
- Platform: Linux-5.15.0-1027-gcp-x86_64-with-glibc2.31
- Python version: 3.9.17
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25886/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25886/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25885 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25885/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25885/comments | https://api.github.com/repos/huggingface/transformers/issues/25885/events | https://github.com/huggingface/transformers/issues/25885 | 1,875,217,888 | I_kwDOCUB6oc5vxY3g | 25,885 | Performance discrepancy between main branch and transformers 4.31.0 for WizardLM/WizardCoder-Python-34B-V1.0 | {
"login": "loubnabnl",
"id": 44069155,
"node_id": "MDQ6VXNlcjQ0MDY5MTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/44069155?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/loubnabnl",
"html_url": "https://github.com/loubnabnl",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Thanks for reporting! Looking at the model it is a Llama architecture, not sure what exactly changed in the llama modeling code between the previous release. cc @ArthurZucker who has a better idea than me regarding Llama modeling code\r\nMaybe 015f8e110d270a0ad42de4ae5b98198d69eb1964 is the culprit but really not ... | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.33.0.dev0
- Platform: Linux-5.15.0-1023-aws-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- Accelerate version: 0.22.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distributed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25885/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25885/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25884 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25884/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25884/comments | https://api.github.com/repos/huggingface/transformers/issues/25884/events | https://github.com/huggingface/transformers/pull/25884 | 1,874,946,937 | PR_kwDOCUB6oc5ZNSh5 | 25,884 | Save image_processor while saving pipeline (ImageSegmentationPipeline) | {
"login": "raghavanone",
"id": 115454562,
"node_id": "U_kgDOBuGyYg",
"avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raghavanone",
"html_url": "https://github.com/raghavanone",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25884). All of your documentation changes will be reflected on that endpoint.",
"> Nice. Can you add a little bit more details on the PR description? 😉\r\n\r\nDone",
"FYI @amyeroberts !"
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Fixes #25804
When saving the pipeline, we had missed saving image_processor which was causing error when loading pipeline from disk. This PR fixes this bug.
@ArthurZucker | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25884/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25884/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25884",
"html_url": "https://github.com/huggingface/transformers/pull/25884",
"diff_url": "https://github.com/huggingface/transformers/pull/25884.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25884.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25883 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25883/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25883/comments | https://api.github.com/repos/huggingface/transformers/issues/25883/events | https://github.com/huggingface/transformers/pull/25883 | 1,874,796,611 | PR_kwDOCUB6oc5ZMyWY | 25,883 | Add type hints for tf models final batch | {
"login": "nablabits",
"id": 33068707,
"node_id": "MDQ6VXNlcjMzMDY4NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/33068707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nablabits",
"html_url": "https://github.com/nablabits",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"There are some tests failing likely because they are running on python 3.8.12 and the `|` notation for type hints was introduced in python 3.10:\r\n\r\n\r\n\r\nIt seems that it's only the [RegNet model](https:... | 1,693 | 1,694 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Addresses, hopefully :crossed_fingers: , the last the type hints for tf models in https://github.com/huggingface/transformers/issues/16059:
1. `RegNet`
1. `TFRegNetForImageClassification`
2. `TFRegNetModel`
2. `TFSamModel`
3. `TFSegformerDecodeHead`
4. `TransfoXL`
1. `TFTransfoXLL... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25883/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/25883/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25883",
"html_url": "https://github.com/huggingface/transformers/pull/25883",
"diff_url": "https://github.com/huggingface/transformers/pull/25883.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25883.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25882 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25882/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25882/comments | https://api.github.com/repos/huggingface/transformers/issues/25882/events | https://github.com/huggingface/transformers/issues/25882 | 1,874,355,165 | I_kwDOCUB6oc5vuGPd | 25,882 | T5PreTrainedModel fails to export to ONNX | {
"login": "borisfom",
"id": 14189615,
"node_id": "MDQ6VXNlcjE0MTg5NjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/14189615?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisfom",
"html_url": "https://github.com/borisfom",
"followers_url": "https://api.github.com/users/bor... | [] | closed | false | null | [] | [
"This patch fixes this case. I do not submit it as a PR though, as it's a WAR only and float type pollution should be fixed at the source.\r\n\r\n[tr.patch](https://github.com/huggingface/transformers/files/12480124/tr.patch)\r\n",
"Hi @borisfom \r\n\r\nThe support of ONNX is now moved to [Optimum](https://github... | 1,693 | 1,697 | 1,697 | NONE | null | ### System Info
Version: 4.32.1
Python: 3.10
### Who can help?
@sanchit-gandhi
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give details below)
##... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25882/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25882/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25881 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25881/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25881/comments | https://api.github.com/repos/huggingface/transformers/issues/25881/events | https://github.com/huggingface/transformers/issues/25881 | 1,874,295,088 | I_kwDOCUB6oc5vt3kw | 25,881 | Inconsistency between `CodeLlamaTokenizer` and `CodeLlamaTokenizerFast` | {
"login": "rfriel",
"id": 20493507,
"node_id": "MDQ6VXNlcjIwNDkzNTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/20493507?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rfriel",
"html_url": "https://github.com/rfriel",
"followers_url": "https://api.github.com/users/rfriel/fo... | [] | closed | false | null | [] | [
"Yep, this is a known bug and the correct output is the `slow` output 😉 \r\nThe related fix was presented in #25224 and currently not propagated to the `fast` tokenizers. It's on my TODO list! \r\nYou can deactivate it by setting `legacy = True`",
"The fix is in #26678! ",
"@ArthurZucker When can we expect the... | 1,693 | 1,705 | 1,705 | NONE | null | ### System Info
- `transformers` version: 4.33.0.dev0
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25881/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/25881/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25880 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25880/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25880/comments | https://api.github.com/repos/huggingface/transformers/issues/25880/events | https://github.com/huggingface/transformers/pull/25880 | 1,874,262,771 | PR_kwDOCUB6oc5ZK-N_ | 25,880 | [ViTDet] Fix doc tests | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hmm, CI not triggered. I can push to trigger it if you are OK. Otherwise you might need to refresh your CircleCI token?",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the doc tests of VitDet. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25880/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25880/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25880",
"html_url": "https://github.com/huggingface/transformers/pull/25880",
"diff_url": "https://github.com/huggingface/transformers/pull/25880.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25880.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25879 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25879/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25879/comments | https://api.github.com/repos/huggingface/transformers/issues/25879/events | https://github.com/huggingface/transformers/pull/25879 | 1,874,117,624 | PR_kwDOCUB6oc5ZKe3C | 25,879 | support bf16 | {
"login": "etemadiamd",
"id": 90654451,
"node_id": "MDQ6VXNlcjkwNjU0NDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/90654451?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/etemadiamd",
"html_url": "https://github.com/etemadiamd",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@mfuntowicz @amyeroberts Started a new PR for bf16 support here!\r\nCC: @AdrianAbeyta @amathews-amd",
"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 foll... | 1,693 | 1,698 | 1,698 | 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/25879/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25879/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25879",
"html_url": "https://github.com/huggingface/transformers/pull/25879",
"diff_url": "https://github.com/huggingface/transformers/pull/25879.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25879.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25878 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25878/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25878/comments | https://api.github.com/repos/huggingface/transformers/issues/25878/events | https://github.com/huggingface/transformers/pull/25878 | 1,874,113,833 | PR_kwDOCUB6oc5ZKeDA | 25,878 | Falcon: Add RoPE scaling | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"`t` and `einsum` PR comments 👉 as discussed offline, this will be fixed in a follow-up PR\r\n\r\nI've also tested this PR against _the thing I wanted to test_, it is working correctly with and without RoPE scaling!\r\n\r\nMerging :... | 1,693 | 1,693 | 1,693 | MEMBER | null | # What does this PR do?
In the same spirit as #24653, adds RoPE scaling to Falcon. It also borrows a few changes from #25740, to allow for `codellama`-style scaling.
In addition to the changes above, it also adds the `max_position_embeddings` to the config attributes, needed for one of the scaling strategies.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25878/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/25878/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25878",
"html_url": "https://github.com/huggingface/transformers/pull/25878",
"diff_url": "https://github.com/huggingface/transformers/pull/25878.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25878.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25877 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25877/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25877/comments | https://api.github.com/repos/huggingface/transformers/issues/25877/events | https://github.com/huggingface/transformers/pull/25877 | 1,874,036,261 | PR_kwDOCUB6oc5ZKNY4 | 25,877 | 🌐 [i18n-KO] Translated `contributing.md` to Korean | {
"login": "mjk0618",
"id": 39152134,
"node_id": "MDQ6VXNlcjM5MTUyMTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/39152134?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mjk0618",
"html_url": "https://github.com/mjk0618",
"followers_url": "https://api.github.com/users/mjk061... | [] | closed | false | null | [] | [
"> Thanks for the translation! 🤗\r\n> \r\n> Can you copy the contents of `CONTRIBUTING_ko.md` into `contributing.md`? We should just have one file for this.\r\n\r\nThank you for reviewing the translation!\r\n\r\nIn that case, should I delete the `CONTRIBUTING_ko.md` file in the root directory and just leave the `c... | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.md` to Korean" 으로 부탁드립니다! -->
# What does this PR do?
Translated the `contributing.md` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
## Before reviewing
- [x] Che... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25877/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25877/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25877",
"html_url": "https://github.com/huggingface/transformers/pull/25877",
"diff_url": "https://github.com/huggingface/transformers/pull/25877.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25877.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25876 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25876/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25876/comments | https://api.github.com/repos/huggingface/transformers/issues/25876/events | https://github.com/huggingface/transformers/pull/25876 | 1,873,972,075 | PR_kwDOCUB6oc5ZJ_vj | 25,876 | Reduce CI output | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"@ArthurZucker Let me merge this (despite not urgent), and let me know if you have some opinion of the new output shown on CircleCI.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25876). All of your documentation changes will be reflected on that endpoint.",
"<img ... | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
The use of `-s` will show a lot of outputs: the `torch_job` has more than 1.6M lines in the outputs, which makes the loading very long and hard to see the final failed test names at the end.
Let's not use this flag. If this affects other core maintainer's workflow, let's see what to do alt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25876/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25876/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25876",
"html_url": "https://github.com/huggingface/transformers/pull/25876",
"diff_url": "https://github.com/huggingface/transformers/pull/25876.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25876.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25875 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25875/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25875/comments | https://api.github.com/repos/huggingface/transformers/issues/25875/events | https://github.com/huggingface/transformers/pull/25875 | 1,873,938,670 | PR_kwDOCUB6oc5ZJ4f9 | 25,875 | pin pandas==2.0.3 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
For metadata CI. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25875/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25875/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25875",
"html_url": "https://github.com/huggingface/transformers/pull/25875",
"diff_url": "https://github.com/huggingface/transformers/pull/25875.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25875.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25874 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25874/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25874/comments | https://api.github.com/repos/huggingface/transformers/issues/25874/events | https://github.com/huggingface/transformers/pull/25874 | 1,873,864,525 | PR_kwDOCUB6oc5ZJoVN | 25,874 | Docs: fix example failing doctest in `generation_strategies.md ` | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"There was actually a bug in this decoding strategy that was fixes in v4.32, which may explain the output difference :)",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | MEMBER | null | # What does this PR do?
The output was outdated, for some reason :) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25874/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25874/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25874",
"html_url": "https://github.com/huggingface/transformers/pull/25874",
"diff_url": "https://github.com/huggingface/transformers/pull/25874.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25874.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25873 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25873/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25873/comments | https://api.github.com/repos/huggingface/transformers/issues/25873/events | https://github.com/huggingface/transformers/issues/25873 | 1,873,806,356 | I_kwDOCUB6oc5vsAQU | 25,873 | `LlamaTokenizerFast` very slow with long sequence | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | [] | closed | false | null | [] | [
"cc @ArthurZucker .\r\n\r\nBTW, you don't need to specify `use_fast=True`, `True` is the default value.",
"Also, could you try to load a pretrained tokenizer from a real checkpoint? Just wondering if this makes a difference.",
"I tried with `huggyllama/llama-7b` and `meta-llama/Llama-2-7b-hf` and we have the sa... | 1,693 | 1,695 | 1,693 | MEMBER | null | ### System Info
- `transformers` version: 4.33.0.dev0
- Platform: Linux-5.15.0-71-generic-x86_64-with-glibc2.35
- Python version: 3.10.11
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: 0.23.0.dev0
- PyTorch version (GPU?): 2.1.0.dev20230810+cu121 (True)
- Tensorflow ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25873/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25873/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25872 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25872/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25872/comments | https://api.github.com/repos/huggingface/transformers/issues/25872/events | https://github.com/huggingface/transformers/pull/25872 | 1,873,792,957 | PR_kwDOCUB6oc5ZJYrU | 25,872 | Try to fix training Loss inconsistent after resume from old checkpoint | {
"login": "dumpmemory",
"id": 64742282,
"node_id": "MDQ6VXNlcjY0NzQyMjgy",
"avatar_url": "https://avatars.githubusercontent.com/u/64742282?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dumpmemory",
"html_url": "https://github.com/dumpmemory",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25872). All of your documentation changes will be reflected on that endpoint.",
"cc @muellerzr ",
"Hi @dumpmemory thanks! Can you do `pip install -e -U .[quality]` and run `make style; make quality` again? This should fix... | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25872/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25872/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25872",
"html_url": "https://github.com/huggingface/transformers/pull/25872",
"diff_url": "https://github.com/huggingface/transformers/pull/25872.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25872.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25871 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25871/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25871/comments | https://api.github.com/repos/huggingface/transformers/issues/25871/events | https://github.com/huggingface/transformers/pull/25871 | 1,873,789,384 | PR_kwDOCUB6oc5ZJX4i | 25,871 | Smarter check for `is_tensor` | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"(are you able to click merge button - just wondering)",
"Yes I still have write access ;-)\r\nLet me know if you want the same logic in the two other functions.",
"Yes, let's do it - if you are open to the a bit extra work ❤️ ",
... | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
This PR makes the check in `is_tensor` a bit smarter by trying first the framework we guess from the repr of the object passed, then Numpy, then the others. It shouldn't break anything as we just swith the order of the tests, but still test the same things.
Just need to make sure all impor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25871/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25871/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25871",
"html_url": "https://github.com/huggingface/transformers/pull/25871",
"diff_url": "https://github.com/huggingface/transformers/pull/25871.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25871.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25870 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25870/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25870/comments | https://api.github.com/repos/huggingface/transformers/issues/25870/events | https://github.com/huggingface/transformers/pull/25870 | 1,873,782,290 | PR_kwDOCUB6oc5ZJWTc | 25,870 | Device agnostic testing | {
"login": "vvvm23",
"id": 44398246,
"node_id": "MDQ6VXNlcjQ0Mzk4MjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/44398246?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vvvm23",
"html_url": "https://github.com/vvvm23",
"followers_url": "https://api.github.com/users/vvvm23/fo... | [] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"Thanks, I will take a look @vvvm23 ",
"@vvvm23 Could you pull the latest main to your local clone and rebase your PR branch on top of your local `main`? Thanks!",
"I rebased a few days ago, but realised I forgot to ping! Sorry @ydshieh!",
"No problem, I will take a look this week 🙏 ",
"Hey @ydshieh, just... | 1,693 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Adds extra capabilities to `testing_utils.py` to support testing on devices besides from `cuda` and `cpu` without having to upstream device-specific changes.
This involves introducing some device agnostic functions that dispatch to specific backend functions. Users can specify new backends... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25870/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25870/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25870",
"html_url": "https://github.com/huggingface/transformers/pull/25870",
"diff_url": "https://github.com/huggingface/transformers/pull/25870.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25870.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25869 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25869/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25869/comments | https://api.github.com/repos/huggingface/transformers/issues/25869/events | https://github.com/huggingface/transformers/pull/25869 | 1,873,733,004 | PR_kwDOCUB6oc5ZJLa9 | 25,869 | Fix imports | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"@younesbelkada No, it's not about doctest - it's the usual `code` tests",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
So far test fetcher fails to fetching and all tests are collected. This PR fix a few import issues introduced in #25599, so we won't have all tests being collected and run. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25869/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25869/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25869",
"html_url": "https://github.com/huggingface/transformers/pull/25869",
"diff_url": "https://github.com/huggingface/transformers/pull/25869.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25869.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25868 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25868/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25868/comments | https://api.github.com/repos/huggingface/transformers/issues/25868/events | https://github.com/huggingface/transformers/issues/25868 | 1,873,730,945 | I_kwDOCUB6oc5vrt2B | 25,868 | Reproducibility of VideoMAE on Kinetics-400 | {
"login": "innat",
"id": 17668390,
"node_id": "MDQ6VXNlcjE3NjY4Mzkw",
"avatar_url": "https://avatars.githubusercontent.com/u/17668390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/innat",
"html_url": "https://github.com/innat",
"followers_url": "https://api.github.com/users/innat/follow... | [] | closed | false | null | [] | [
"Hi @innat \r\n\r\nThe check is done in the following file, especially at\r\n\r\nhttps://github.com/huggingface/transformers/blob/1c6f072db0c17c7d82bb0d3b7529d57ebc9a0f2f/src/transformers/models/videomae/convert_videomae_to_pytorch.py#L210\r\n\r\nOur focus is to make sure the inference gives the (almost) identical ... | 1,693 | 1,693 | 1,693 | NONE | null | ### System Info
```bash
transformers: 4.30.2
torch: 2.0.0
```
### Who can help?
@NielsRogge
Contributor of video-mae model to transformer lib.
https://github.com/huggingface/transformers/pull/17821
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officia... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25868/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25868/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25867 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25867/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25867/comments | https://api.github.com/repos/huggingface/transformers/issues/25867/events | https://github.com/huggingface/transformers/pull/25867 | 1,873,645,379 | PR_kwDOCUB6oc5ZI4Qo | 25,867 | Remote tools are turned off | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | MEMBER | null | Turn off remote tools as they have very little usage for now. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25867/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25867/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25867",
"html_url": "https://github.com/huggingface/transformers/pull/25867",
"diff_url": "https://github.com/huggingface/transformers/pull/25867.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25867.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25866 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25866/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25866/comments | https://api.github.com/repos/huggingface/transformers/issues/25866/events | https://github.com/huggingface/transformers/issues/25866 | 1,873,631,291 | I_kwDOCUB6oc5vrVg7 | 25,866 | Longformer: attention mask: documentation inconsistent with implementation (?) | {
"login": "mar4th3",
"id": 117443661,
"node_id": "U_kgDOBwAMTQ",
"avatar_url": "https://avatars.githubusercontent.com/u/117443661?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mar4th3",
"html_url": "https://github.com/mar4th3",
"followers_url": "https://api.github.com/users/mar4th3/foll... | [] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"Hi @mar4th3\r\n\r\nThe `attention_mask` passed to `LongformerModel` has different meaning than the one passed to `LongformerSelfAttention`.\r\n\r\nFor `LongformerModel`, it is the one: `1 is for not-masked (attended) tokens while 0 is for masked (not attended, e.g. padding) tokens.` Later is is changed to the `0, ... | 1,693 | 1,693 | 1,693 | NONE | null | ### System Info
- `transformers` version: 4.32.0
- Platform: Linux-5.3.18-150300.59.106-preempt-x86_64-with-glibc2.31
- Python version: 3.9.7
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0.dev2023082... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25866/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25866/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25865 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25865/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25865/comments | https://api.github.com/repos/huggingface/transformers/issues/25865/events | https://github.com/huggingface/transformers/issues/25865 | 1,873,540,732 | I_kwDOCUB6oc5vq_Z8 | 25,865 | Deepspeed lr_schedule is None | {
"login": "iMountTai",
"id": 35353688,
"node_id": "MDQ6VXNlcjM1MzUzNjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/35353688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iMountTai",
"html_url": "https://github.com/iMountTai",
"followers_url": "https://api.github.com/users/... | [
{
"id": 5616426447,
"node_id": "LA_kwDOCUB6oc8AAAABTsPdzw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/solved",
"name": "solved",
"color": "B1D6DC",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hi @iMountTai, thanks for raising this issue. \r\n\r\nSo that we can help, could you follow the issue template and provide: \r\n* The running environment: run `transformers-cli env` in the terminal and copy-paste the output\r\n* A minimal code snippet that reproduces the issue\r\n\r\ncc @pacman100 ",
"
- [X] My own task or dataset (give details below)
### Reproduction
When I use De... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25865/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25865/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25864 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25864/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25864/comments | https://api.github.com/repos/huggingface/transformers/issues/25864/events | https://github.com/huggingface/transformers/issues/25864 | 1,873,504,232 | I_kwDOCUB6oc5vq2fo | 25,864 | CUDA OOM with RoPE scaling on an A100 (GPTQ and bnb) | {
"login": "RonanKMcGovern",
"id": 78278410,
"node_id": "MDQ6VXNlcjc4Mjc4NDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/78278410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RonanKMcGovern",
"html_url": "https://github.com/RonanKMcGovern",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Hey @RonanKMcGovern 👋 \r\n\r\nYeah, sadly the memory requirements grow very quickly with the context length. `use_cache=True` should be used in general: the computational speedup is large, and the memory footprint penalty is small.\r\n\r\nWhile this isn't a bug per se, I do have a suggestio... | 1,693 | 1,693 | 1,693 | NONE | null | ### System Info
I'm running in Colab with an A100 (40 GB) and the latest version of transformers (pip install -q -U).
### Who can help?
@gante @kaiokendev
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25864/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25864/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25863 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25863/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25863/comments | https://api.github.com/repos/huggingface/transformers/issues/25863/events | https://github.com/huggingface/transformers/pull/25863 | 1,873,499,198 | PR_kwDOCUB6oc5ZIYNi | 25,863 | deepspeed resume from ckpt fixes and adding support for deepspeed optimizer and HF scheduler | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> DS Optimizer + HF Scheduler\r\nUse the configuration in DS Optimizer + HF Scheduler ,\r\nerror : ValueError: You cannot create a `DummyScheduler` without specifying a scheduler in the config file.\r\nIt may have something to do wit... | 1,693 | 1,704 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
1. Add support for deep speed optimizer and HF scheduler. Should be merged after https://github.com/huggingface/accelerate/pull/1909
2. Fixing the lr scheduler not being saved by passing them to the DeepSpeed engine for all schedulers that are instances of `LRScheduler`. Should be merged after... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25863/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/25863/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25863",
"html_url": "https://github.com/huggingface/transformers/pull/25863",
"diff_url": "https://github.com/huggingface/transformers/pull/25863.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25863.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25862 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25862/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25862/comments | https://api.github.com/repos/huggingface/transformers/issues/25862/events | https://github.com/huggingface/transformers/issues/25862 | 1,873,439,430 | I_kwDOCUB6oc5vqmrG | 25,862 | Train_DataLoader's sampler changed from RandomSampler -> SequentialSampler | {
"login": "dumpmemory",
"id": 64742282,
"node_id": "MDQ6VXNlcjY0NzQyMjgy",
"avatar_url": "https://avatars.githubusercontent.com/u/64742282?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dumpmemory",
"html_url": "https://github.com/dumpmemory",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @muellerzr @pacman100 ",
"it might be relate to https://github.com/huggingface/accelerate/blob/69e4c3c54da3201eda288b500d138761e7a5221c/src/accelerate/data_loader.py#L709 \r\n\r\nI am checking train_dataloader.batch_sampler.batch_sampler",
"train_dataloader.batch_sampler.batch_sampler.sampler is torch.utils... | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.32.1
- Platform: Linux-5.4.119-19.0009.28-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0a0+b5021ba (True)
- Ten... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25862/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25862/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25861 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25861/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25861/comments | https://api.github.com/repos/huggingface/transformers/issues/25861/events | https://github.com/huggingface/transformers/issues/25861 | 1,873,383,177 | I_kwDOCUB6oc5vqY8J | 25,861 | Bark TTS - batch inference silence/noise | {
"login": "pawlowskipawel",
"id": 62158634,
"node_id": "MDQ6VXNlcjYyMTU4NjM0",
"avatar_url": "https://avatars.githubusercontent.com/u/62158634?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pawlowskipawel",
"html_url": "https://github.com/pawlowskipawel",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"@pawlowskipawel Please provide a concise code snippet together your system env. information when opening an issue. Thank you!",
"Related to #26673 !"
] | 1,693 | 1,699 | 1,699 | NONE | null | Hi,
when I perform batch inference with Bark model, all the output `.wav` files have the same duration, even though some transcriptions are much shorter than others, and the difference is filled with silence/noise. Is there a way to get information about when the model stops synthesizing the transcription, so that I ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25861/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25861/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25860 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25860/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25860/comments | https://api.github.com/repos/huggingface/transformers/issues/25860/events | https://github.com/huggingface/transformers/pull/25860 | 1,873,294,785 | PR_kwDOCUB6oc5ZHrhh | 25,860 | Add flax installation in daily doctest workflow | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"As Flax and Jax break our environments frequently because of (large) breaking changes in their releases and it's a pain to managed, could we pin the install to the highest version currently allowed in setup.py?",
"Hi @amyeroberts ,... | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
#25763 enables the doctesting against a few more files, including some flax related files. As the docker image doesn't have flax/jax installed, the pytest failed to collect the test to run, see [this doctest run](https://github.com/huggingface/transformers/actions/runs/6019814019/job/16330174... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25860/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25860/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25860",
"html_url": "https://github.com/huggingface/transformers/pull/25860",
"diff_url": "https://github.com/huggingface/transformers/pull/25860.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25860.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25859 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25859/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25859/comments | https://api.github.com/repos/huggingface/transformers/issues/25859/events | https://github.com/huggingface/transformers/pull/25859 | 1,873,256,165 | PR_kwDOCUB6oc5ZHjJ3 | 25,859 | Add LLaMA resources | {
"login": "eenzeenee",
"id": 71638597,
"node_id": "MDQ6VXNlcjcxNjM4NTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/71638597?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eenzeenee",
"html_url": "https://github.com/eenzeenee",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"LGTM! Please change this PR to `Open`.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25859). All of your documentation changes will be reflected on that endpoint.",
"Awesome job, @eenzeenee! 👏 \n\nFor your final OSSCA report, consider these points:\n- 💡 Share yo... | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Adds resources of LLaMA according to [this issue](https://github.com/huggingface/transformers/issues/20055.)
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25859/reactions",
"total_count": 5,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 4,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25859/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25859",
"html_url": "https://github.com/huggingface/transformers/pull/25859",
"diff_url": "https://github.com/huggingface/transformers/pull/25859.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25859.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25858 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25858/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25858/comments | https://api.github.com/repos/huggingface/transformers/issues/25858/events | https://github.com/huggingface/transformers/pull/25858 | 1,873,250,929 | PR_kwDOCUB6oc5ZHh_C | 25,858 | Add `tgs` speed metrics | {
"login": "CokeDong",
"id": 20747551,
"node_id": "MDQ6VXNlcjIwNzQ3NTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/20747551?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CokeDong",
"html_url": "https://github.com/CokeDong",
"followers_url": "https://api.github.com/users/Cok... | [] | closed | false | null | [] | [
"cc @muellerzr @pacman100 ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25858). All of your documentation changes will be reflected on that endpoint.",
"@muellerzr @pacman100 PTAL, thx",
"https://app.circleci.com/jobs/github/huggingface/transformers/913233 `test... | 1,693 | 1,700 | 1,694 | CONTRIBUTOR | null | add tgs metrics for `trainer`. the motivation is that: current `speed_metrics` only consider `train_samples_per_second`. but the length of each example is not the same(especailly `cutting_off ` increase). this pr introduce `tgs` metrics, which take `tokens` into considerations. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25858/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25858/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25858",
"html_url": "https://github.com/huggingface/transformers/pull/25858",
"diff_url": "https://github.com/huggingface/transformers/pull/25858.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25858.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25857 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25857/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25857/comments | https://api.github.com/repos/huggingface/transformers/issues/25857/events | https://github.com/huggingface/transformers/issues/25857 | 1,873,095,958 | I_kwDOCUB6oc5vpS0W | 25,857 | POET | {
"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": 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 | [] | [
"Hi @rajveer43, thanks for opening this issue! \r\n\r\ntransformers is a library of models, rather than optimizers. This might be better placed in the optimum library - WDYT @younesbelkada? ",
"Hi @rajveer43 ! \r\nThanks for the request, indeed, as pointed out by amy, this sounds more in the scope of optimum libr... | 1,693 | 1,693 | null | CONTRIBUTOR | null | ## Train BERT and other large models on smartphones
### Model description
`POET` enables the training of state-of-the-art memory-hungry ML models on smartphones and other edge devices. POET (Private Optimal Energy Training) exploits the twin techniques of integrated tensor rematerialization, and paging-in/out of ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25857/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25857/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25856 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25856/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25856/comments | https://api.github.com/repos/huggingface/transformers/issues/25856/events | https://github.com/huggingface/transformers/pull/25856 | 1,873,025,189 | PR_kwDOCUB6oc5ZGwve | 25,856 | TVP model | {
"login": "jiqing-feng",
"id": 107918818,
"node_id": "U_kgDOBm614g",
"avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiqing-feng",
"html_url": "https://github.com/jiqing-feng",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @rafaelpadilla for first review :) ",
"Hi @rafaelpadilla . Thanks for your review!\r\n\r\nI have made the Intel/demo dataset public, now you can try again. I also fixed the two grammar error.\r\n\r\nHowever, I think it would be better to keep [test_image_processing_tvp.py](https://github.com/huggingface/trans... | 1,693 | 1,700 | 1,700 | CONTRIBUTOR | null | The TVP model was proposed in [Text-Visual Prompting for Efficient 2D Temporal Video Grounding](https://arxiv.org/abs/2303.04995) by Yimeng Zhang, Xin Chen, Jinghan Jia, Sijia Liu, Ke Ding. The goal of this model is to incorporate trainable prompts into both visual inputs and textual features for temporal video groundi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25856/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25856/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25856",
"html_url": "https://github.com/huggingface/transformers/pull/25856",
"diff_url": "https://github.com/huggingface/transformers/pull/25856.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25856.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25855 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25855/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25855/comments | https://api.github.com/repos/huggingface/transformers/issues/25855/events | https://github.com/huggingface/transformers/issues/25855 | 1,873,024,354 | I_kwDOCUB6oc5vpBVi | 25,855 | NLLB-200-1.3B multi-GPU finetuning generates RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:1 | {
"login": "molokanov50",
"id": 85157008,
"node_id": "MDQ6VXNlcjg1MTU3MDA4",
"avatar_url": "https://avatars.githubusercontent.com/u/85157008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/molokanov50",
"html_url": "https://github.com/molokanov50",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @molokanov50,\r\n\r\nCould you try to add `\"M2M100EncoderLayer\"`\r\nto \r\nhttps://github.com/huggingface/transformers/blob/07998ef39926b76d3f6667025535d0859eed61c3/src/transformers/models/m2m_100/modeling_m2m_100.py#L542\r\n\r\nand see if this works? If not, could you post the new traceback log after this ch... | 1,693 | 1,694 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.32.1
- Platform: Linux-5.15.0-78-generic-x86_64-with-glibc2.31
- Python version: 3.9.7
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 1.10.1+cu113 (True)
The ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25855/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25855/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25854 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25854/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25854/comments | https://api.github.com/repos/huggingface/transformers/issues/25854/events | https://github.com/huggingface/transformers/issues/25854 | 1,872,990,132 | I_kwDOCUB6oc5vo4-0 | 25,854 | `hidden_dropout` is not used in SEW-D | {
"login": "gau-nernst",
"id": 26946864,
"node_id": "MDQ6VXNlcjI2OTQ2ODY0",
"avatar_url": "https://avatars.githubusercontent.com/u/26946864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gau-nernst",
"html_url": "https://github.com/gau-nernst",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"Some related question: the check `utils/check_config_attributes.py` doesn't detect this attribute `hidden_dropout` is not used. I need to check why this happens. Assign myself for this part",
"On a slightly related issue, `ConvLayer` copied from DeBERTa is never used, because SEW-D does not use it.\r\n\r\nhttps:... | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | ### System Info
NA
### 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, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
Doing a quick ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25854/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25854/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25853 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25853/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25853/comments | https://api.github.com/repos/huggingface/transformers/issues/25853/events | https://github.com/huggingface/transformers/pull/25853 | 1,872,953,659 | PR_kwDOCUB6oc5ZGg-s | 25,853 | Add type hints for tf models batch 1 | {
"login": "nablabits",
"id": 33068707,
"node_id": "MDQ6VXNlcjMzMDY4NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/33068707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nablabits",
"html_url": "https://github.com/nablabits",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"It seems that some tests failed because there was a connection error to `huggingface.co`:\r\n\r\n\r\n\r\nAnd\r\n\r\n. All of your documentation changes will be reflected on that endpoint.",
"Could you resolve the code quality issues, once that is done we are good to merge",
"> Could you resolve the code quality issues, once that ... | 1,693 | 1,694 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
This PR is to fix FSDP model training when resume from checkpoint. All changes are made in [Trainer](https://github.com/huggingface/transformers/blob/main/src/transformers/trainer.py).
1. In [save_fsdp_optimizer](https://github.com/huggingface/accelerate/blob/a16b843a1b8626d571e62f7301e3a4... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25852/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25852/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25852",
"html_url": "https://github.com/huggingface/transformers/pull/25852",
"diff_url": "https://github.com/huggingface/transformers/pull/25852.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25852.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25851 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25851/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25851/comments | https://api.github.com/repos/huggingface/transformers/issues/25851/events | https://github.com/huggingface/transformers/pull/25851 | 1,872,915,838 | PR_kwDOCUB6oc5ZGY4M | 25,851 | Update README.md | {
"login": "NinoRisteski",
"id": 95188570,
"node_id": "U_kgDOBax2Wg",
"avatar_url": "https://avatars.githubusercontent.com/u/95188570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NinoRisteski",
"html_url": "https://github.com/NinoRisteski",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25851). All of your documentation changes will be reflected on that endpoint.",
"Hi @NinoRisteski Sorry we forgot to merge this PR, and it ends up being done in another PR #26213.\r\n\r\nWe really appreciate your contributi... | 1,693 | 1,695 | 1,695 | CONTRIBUTOR | null | broken link on documentation tests, now fixed.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25851/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25851/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25851",
"html_url": "https://github.com/huggingface/transformers/pull/25851",
"diff_url": "https://github.com/huggingface/transformers/pull/25851.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25851.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25850 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25850/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25850/comments | https://api.github.com/repos/huggingface/transformers/issues/25850/events | https://github.com/huggingface/transformers/pull/25850 | 1,872,863,953 | PR_kwDOCUB6oc5ZGNlU | 25,850 | add pipeline support for Ascend NPU | {
"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 | [] | [
"rebase commits from the main branch.",
"@muellerzr and @Narsil Good day. Please take a look at this PR, it mainly registers the NPU backend in the pipeline, and then we can pass `device=npu` to the `pipeline` method without other additional modifications.",
"Hey! Sorry I don´t think this is the way we want to ... | 1,693 | 1,698 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Currently, Transformers's Trainer library has supported Ascend NPU([see](https://github.com/huggingface/transformers/pull/24879)).
This PR makes the pipeline library available on Ascend NPU. For example, we can run a text-classification pipeline on Ascend NPU with the following command(refer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25850/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25850/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25850",
"html_url": "https://github.com/huggingface/transformers/pull/25850",
"diff_url": "https://github.com/huggingface/transformers/pull/25850.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25850.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25849 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25849/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25849/comments | https://api.github.com/repos/huggingface/transformers/issues/25849/events | https://github.com/huggingface/transformers/issues/25849 | 1,872,814,022 | I_kwDOCUB6oc5voN_G | 25,849 | FSDP optimizer not loaded correctly | {
"login": "howard-yen",
"id": 47925471,
"node_id": "MDQ6VXNlcjQ3OTI1NDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/47925471?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/howard-yen",
"html_url": "https://github.com/howard-yen",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,693 | 1,693 | 1,693 | NONE | null | ### System Info
- `transformers` version: 4.33.0.dev0
- Platform: Linux-4.18.0-477.15.1.el8_8.x86_64-x86_64-with-glibc2.28
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (True)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25849/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25849/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25848 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25848/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25848/comments | https://api.github.com/repos/huggingface/transformers/issues/25848/events | https://github.com/huggingface/transformers/issues/25848 | 1,872,794,529 | I_kwDOCUB6oc5voJOh | 25,848 | Error:AutoTokenizer.from_pretrained,UnboundLocalError: local variable 'sentencepiece_model_pb2' referenced before assignment | {
"login": "duweidongzju",
"id": 55626607,
"node_id": "MDQ6VXNlcjU1NjI2NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/55626607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/duweidongzju",
"html_url": "https://github.com/duweidongzju",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"I have solved this problem via `pip install google` and `pip install protobuf`",
"@ArthurZucker It looks `get_spm_processor` is recent, and especially the import of `protobuf` inside it. If this import and usage of `protobuf` is necessary, could you add `require_backend` so the users could get a more precise err... | 1,693 | 1,693 | 1,693 | NONE | null | ### System Info
- `transformers` version: 4.32.1
- Platform: Linux-3.10.0-1160.80.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.17
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25848/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25848/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25847 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25847/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25847/comments | https://api.github.com/repos/huggingface/transformers/issues/25847/events | https://github.com/huggingface/transformers/issues/25847 | 1,872,614,550 | I_kwDOCUB6oc5vndSW | 25,847 | AttributeError: module 'torch' has no attribute 'frombuffer' when finetuning multilang bert | {
"login": "amine-boukriba",
"id": 43059827,
"node_id": "MDQ6VXNlcjQzMDU5ODI3",
"avatar_url": "https://avatars.githubusercontent.com/u/43059827?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amine-boukriba",
"html_url": "https://github.com/amine-boukriba",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"I have the same problem, anyone know how to fix it?",
"@amine-boukriba @Vio1etovo So that we can best help you, could you share the full traceback of the error? \r\n\r\nDoes the error occur when running: \r\n```\r\nmodel = AutoModelForSequenceClassification.from_pretrained(\r\n \"bert-base-multilingual-cased\... | 1,693 | 1,697 | 1,697 | NONE | null | ### System Info
- `transformers` version: 4.25.1
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.9.13
- Huggingface_hub version: 0.15.1
- PyTorch version (GPU?): 1.7.1+cu110 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25847/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25847/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25846 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25846/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25846/comments | https://api.github.com/repos/huggingface/transformers/issues/25846/events | https://github.com/huggingface/transformers/pull/25846 | 1,872,605,197 | PR_kwDOCUB6oc5ZFXOY | 25,846 | [`PEFT`] Fix PEFT + gradient checkpointing | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks!\r\ncc @amyeroberts for a core maintainer review! 🙏 "
] | 1,693 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Fixes: https://github.com/huggingface/transformers/issues/25841
When using Trainer + PEFT + gradient checkpoitning, it is important to add a forward hook on the input embedding to force the input `requires_grad` to be set to `True`.
We do it in PEFT here: https://github.com/huggingfac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25846/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25846/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25846",
"html_url": "https://github.com/huggingface/transformers/pull/25846",
"diff_url": "https://github.com/huggingface/transformers/pull/25846.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25846.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25845 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25845/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25845/comments | https://api.github.com/repos/huggingface/transformers/issues/25845/events | https://github.com/huggingface/transformers/issues/25845 | 1,872,581,868 | I_kwDOCUB6oc5vnVTs | 25,845 | Support for BeamSearchEncoderDecoderOutput in AutomaticSpeechRecognitionPipeline | {
"login": "pli66",
"id": 26721632,
"node_id": "MDQ6VXNlcjI2NzIxNjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/26721632?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pli66",
"html_url": "https://github.com/pli66",
"followers_url": "https://api.github.com/users/pli66/follow... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi ",
"Hey @pli66 - thanks for opening this issue. From reading through, I think this is a more general `pipeline` discussion, where the question is:\r\n\r\n_Can we return the outputs of `.generate` using the `pipeline` method?_\r\n\r\nHere, I think we can refactor the ASR pipeline a bit to achie... | 1,693 | 1,698 | 1,698 | NONE | null | ### Feature request
The ASR pipeline does not support the return_dict_in_generate function, which returns a [BeamSearchEncoderDecoderOutput ](https://huggingface.co/docs/transformers/internal/generation_utils#transformers.generation.BeamSearchEncoderDecoderOutput). Using return_dict_in_generate is possible without the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25845/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25845/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25844 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25844/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25844/comments | https://api.github.com/repos/huggingface/transformers/issues/25844/events | https://github.com/huggingface/transformers/issues/25844 | 1,872,396,019 | I_kwDOCUB6oc5vmn7z | 25,844 | SageMaker notebook: Too many requests for URL | {
"login": "austinmw",
"id": 12224358,
"node_id": "MDQ6VXNlcjEyMjI0MzU4",
"avatar_url": "https://avatars.githubusercontent.com/u/12224358?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/austinmw",
"html_url": "https://github.com/austinmw",
"followers_url": "https://api.github.com/users/aus... | [] | closed | false | null | [] | [
"Hi @austinmw, thanks for raising this issue! \r\n\r\nIs there a specific notebook you could link to where you're experiencing this problem? \r\n\r\ncc @philschmid ",
"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 co... | 1,693 | 1,697 | 1,697 | NONE | null | ### System Info
I'm having an issue downloading models in SageMaker Notebooks. It seems to be persisting for 2 days now.
```
File "/home/ec2-user/anaconda3/envs/gatwick/lib/python3.10/site-packages/groundingdino/util/get_tokenlizer.py", line 19, in get_tokenlizer
tokenizer = AutoTokenizer.from_pretrained(... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25844/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25844/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25843 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25843/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25843/comments | https://api.github.com/repos/huggingface/transformers/issues/25843/events | https://github.com/huggingface/transformers/pull/25843 | 1,872,349,036 | PR_kwDOCUB6oc5ZEerU | 25,843 | Add ViTMatte | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@amyeroberts thanks for your review, I've addressed all comments. However regarding renaming the outputs from `alphas` to `logits` => are we sure we want to do this, given that image matting models output the alpha values, not really... | 1,693 | 1,695 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
This PR supersedes #25051 and #25524.
To do:
- [x] simplify image processor
- [x] fix image processor tests => @amyeroberts should I overwrite the following tests, since the image processor also requires trimaps to be passed?
```
FAILED tests/models/vitmatte/test_image_processing_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25843/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25843/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25843",
"html_url": "https://github.com/huggingface/transformers/pull/25843",
"diff_url": "https://github.com/huggingface/transformers/pull/25843.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25843.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25842 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25842/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25842/comments | https://api.github.com/repos/huggingface/transformers/issues/25842/events | https://github.com/huggingface/transformers/pull/25842 | 1,872,273,111 | PR_kwDOCUB6oc5ZETfa | 25,842 | fix max_memory for bnb | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks a lot @SunMarc!"
] | 1,693 | 1,693 | 1,693 | MEMBER | null | # What does this PR do ?
Fixes #24965 . For bnb models, we leave some space (10%) for the buffers that are created during the quantization. This fixes cases where we uses `device_map = "sequential"` with bnb. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25842/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/25842/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25842",
"html_url": "https://github.com/huggingface/transformers/pull/25842",
"diff_url": "https://github.com/huggingface/transformers/pull/25842.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25842.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25841 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25841/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25841/comments | https://api.github.com/repos/huggingface/transformers/issues/25841/events | https://github.com/huggingface/transformers/issues/25841 | 1,872,225,227 | I_kwDOCUB6oc5vl-PL | 25,841 | Peft intergration incompatible with Trainer/gradient checkpointing | {
"login": "xinghaow99",
"id": 50691954,
"node_id": "MDQ6VXNlcjUwNjkxOTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/50691954?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xinghaow99",
"html_url": "https://github.com/xinghaow99",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @xinghaow99 thanks for the issue and reproducer, I managed to reproduce the issue, https://github.com/huggingface/transformers/pull/25846 should fix it , the issue is that you need to make sure the input `requires_grad` are force-set to `True`, we do it in PEFT: https://github.com/huggingface/peft/blob/85013987... | 1,693 | 1,694 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.33.0.dev0
- Platform: Linux-5.4.0-153-generic-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distributed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25841/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25841/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25840 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25840/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25840/comments | https://api.github.com/repos/huggingface/transformers/issues/25840/events | https://github.com/huggingface/transformers/issues/25840 | 1,872,154,080 | I_kwDOCUB6oc5vls3g | 25,840 | Incorrect decode from GPTNeox tokenizer. | {
"login": "tbenthompson",
"id": 4241811,
"node_id": "MDQ6VXNlcjQyNDE4MTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4241811?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tbenthompson",
"html_url": "https://github.com/tbenthompson",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"You should try with `tokenizer.decode(ids, clean_up_tokenization_spaces = False)`:\r\n```python \r\n>>> import transformers\r\n\r\n>>> tokenizer = transformers.AutoTokenizer.from_pretrained(\"EleutherAI/pythia-12b-deduped\")\r\n>>> text = \" there is this someone 'you' who has the ability of... | 1,693 | 1,697 | 1,697 | NONE | null | ### System Info
- `transformers` version: 4.32.1
- Platform: Linux-5.15.0-52-generic-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1
- Accelerate version: 0.20.3
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Ten... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25840/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25840/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25839 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25839/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25839/comments | https://api.github.com/repos/huggingface/transformers/issues/25839/events | https://github.com/huggingface/transformers/issues/25839 | 1,872,110,603 | I_kwDOCUB6oc5vliQL | 25,839 | Add D_Nikud model | {
"login": "NadavShaked",
"id": 19892483,
"node_id": "MDQ6VXNlcjE5ODkyNDgz",
"avatar_url": "https://avatars.githubusercontent.com/u/19892483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NadavShaked",
"html_url": "https://github.com/NadavShaked",
"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 | [] | [
"Hi @NadavShaked, thanks for opening this new model request! \r\n\r\nThe easiest and recommended way to make a model available in `transformers` is to add the modeling code directly on the hub: https://huggingface.co/docs/transformers/custom_models. This means, once working, the model can be found and used immediat... | 1,693 | 1,706 | null | NONE | null | ### Model description
Model description
The repository is dedicated to the implementation of our innovative D-Nikud model, which use the TavBERT architecture and Bi-LSTM to predict and apply diacritics (nikud) to Hebrew text. Diacritics play a crucial role in accurately conveying pronunciation and interpretation, m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25839/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25839/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25838 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25838/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25838/comments | https://api.github.com/repos/huggingface/transformers/issues/25838/events | https://github.com/huggingface/transformers/pull/25838 | 1,872,102,954 | PR_kwDOCUB6oc5ZDvb3 | 25,838 | Generate: models with custom `generate()` return `True` in `can_generate()` | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | MEMBER | null | # What does this PR do?
See discussion in #25532
This PR updates `GenerationMixin.can_generate()` to also return `True` when a model has a custom `generate()` -- which means that the model is allowed to call `generate()`. While at it, removes a few overloads, as they are redundant with the change in the PR ✂️
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25838/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25838/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25838",
"html_url": "https://github.com/huggingface/transformers/pull/25838",
"diff_url": "https://github.com/huggingface/transformers/pull/25838.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25838.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25837 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25837/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25837/comments | https://api.github.com/repos/huggingface/transformers/issues/25837/events | https://github.com/huggingface/transformers/issues/25837 | 1,872,082,898 | I_kwDOCUB6oc5vlbfS | 25,837 | Pix2Struct Image processor fails when `do_normalize = False` when image is not of `np.float32` type. | {
"login": "gbarello-uipath",
"id": 48561156,
"node_id": "MDQ6VXNlcjQ4NTYxMTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/48561156?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbarello-uipath",
"html_url": "https://github.com/gbarello-uipath",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"I think a reasonable solution is to move/add a check like that which happens [here](https://github.com/huggingface/transformers/blob/07998ef39926b76d3f6667025535d0859eed61c3/src/transformers/models/pix2struct/image_processing_pix2struct.py#L345) into the main body of the `process` code and just convert all image t... | 1,693 | 1,697 | 1,697 | CONTRIBUTOR | null | ### System Info
Transformers version 4.30.2
### Who can help?
@younesbelkada
### 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25837/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25837/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25836 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25836/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25836/comments | https://api.github.com/repos/huggingface/transformers/issues/25836/events | https://github.com/huggingface/transformers/issues/25836 | 1,872,056,166 | I_kwDOCUB6oc5vlU9m | 25,836 | Perplexity docs have broken gifs | {
"login": "hamelsmu",
"id": 1483922,
"node_id": "MDQ6VXNlcjE0ODM5MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1483922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hamelsmu",
"html_url": "https://github.com/hamelsmu",
"followers_url": "https://api.github.com/users/hamel... | [] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"Thank you so much for reporting, we will take a look 🤗 ",
"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://gi... | 1,693 | 1,698 | 1,698 | CONTRIBUTOR | null | See https://huggingface.co/docs/transformers/perplexity
Looks like raw html is showing up

Also looks like that asset is not at that location.
cc: @muellerzr | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25836/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25836/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25835 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25835/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25835/comments | https://api.github.com/repos/huggingface/transformers/issues/25835/events | https://github.com/huggingface/transformers/pull/25835 | 1,872,014,352 | PR_kwDOCUB6oc5ZDcI1 | 25,835 | [AutoTokenizer] Add data2vec to mapping | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
Currently, loading the `pipeline` class with data2vec returns an empty tokenizer:
```python
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="facebook/data2vec-audio-base-960h")
print(pipe.tokenizer is None)
```
**Print Output:**
```
True
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25835/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25835/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25835",
"html_url": "https://github.com/huggingface/transformers/pull/25835",
"diff_url": "https://github.com/huggingface/transformers/pull/25835.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25835.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25834 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25834/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25834/comments | https://api.github.com/repos/huggingface/transformers/issues/25834/events | https://github.com/huggingface/transformers/pull/25834 | 1,871,921,940 | PR_kwDOCUB6oc5ZDIw- | 25,834 | Update README.md | {
"login": "NinoRisteski",
"id": 95188570,
"node_id": "U_kgDOBax2Wg",
"avatar_url": "https://avatars.githubusercontent.com/u/95188570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NinoRisteski",
"html_url": "https://github.com/NinoRisteski",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25834). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | _toctree.yml file. broken link, now fixed.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25834/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25834/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25834",
"html_url": "https://github.com/huggingface/transformers/pull/25834",
"diff_url": "https://github.com/huggingface/transformers/pull/25834.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25834.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25833 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25833/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25833/comments | https://api.github.com/repos/huggingface/transformers/issues/25833/events | https://github.com/huggingface/transformers/pull/25833 | 1,871,904,782 | PR_kwDOCUB6oc5ZDFKw | 25,833 | 🤦update warning to If you want to use the new behaviour, set `legacy=… | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
Fixes #25828, the documentation was suggesting to use legacy=True instead of legacy=False to use the new behavior | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25833/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25833/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25833",
"html_url": "https://github.com/huggingface/transformers/pull/25833",
"diff_url": "https://github.com/huggingface/transformers/pull/25833.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25833.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25832 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25832/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25832/comments | https://api.github.com/repos/huggingface/transformers/issues/25832/events | https://github.com/huggingface/transformers/pull/25832 | 1,871,885,292 | PR_kwDOCUB6oc5ZDA8X | 25,832 | Update README.md | {
"login": "NinoRisteski",
"id": 95188570,
"node_id": "U_kgDOBax2Wg",
"avatar_url": "https://avatars.githubusercontent.com/u/95188570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NinoRisteski",
"html_url": "https://github.com/NinoRisteski",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25832). All of your documentation changes will be reflected on that endpoint.",
"This PR (and the commit merged to `main`) triggered the whole CI, which is strange as this only changed a `.md` file. I am going to check, but... | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | deleted unnecessary comma in the Adding a new model section.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25832/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25832/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25832",
"html_url": "https://github.com/huggingface/transformers/pull/25832",
"diff_url": "https://github.com/huggingface/transformers/pull/25832.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25832.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25831 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25831/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25831/comments | https://api.github.com/repos/huggingface/transformers/issues/25831/events | https://github.com/huggingface/transformers/issues/25831 | 1,871,835,813 | I_kwDOCUB6oc5vkfKl | 25,831 | reduce peak memory usage during training via pytorch caching allocator "preallocation" strategy | {
"login": "tmm1",
"id": 2567,
"node_id": "MDQ6VXNlcjI1Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2567?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tmm1",
"html_url": "https://github.com/tmm1",
"followers_url": "https://api.github.com/users/tmm1/followers",
"followi... | [] | closed | false | null | [] | [
"It looks like we don't really to change anything in trainer, but just make a forward/backward pass with a first (max sized) input batch, then zero out the gradients. Everything could be done outside the trainer by the user.\r\n\r\n ",
"> Everything could be done outside the trainer by the user.\r\n\r\nThis may b... | 1,693 | 1,697 | 1,697 | CONTRIBUTOR | null | ### Feature request
In the PyTorch tuning guide, there's a section on preallocation as a technique to reduce memory usage when dealing with variable length inputs.
https://pytorch.org/tutorials/recipes/recipes/tuning_guide.html#preallocate-memory-in-case-of-variable-input-length
<img width="544" alt="image" src=... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25831/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25831/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25830 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25830/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25830/comments | https://api.github.com/repos/huggingface/transformers/issues/25830/events | https://github.com/huggingface/transformers/pull/25830 | 1,871,826,664 | PR_kwDOCUB6oc5ZC0kr | 25,830 | [`GPTNeoX`] Faster rotary embedding for GPTNeoX (based on llama changes) | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @StellaAthena FYI, this PR should greatly speed up the ROPE embeddings of the GPTNeoX model, similarly to how it was done for the LLaMa model.\r\n\r\nLet us know if you want to review/have any comments!",
"cc @Narsil as this tou... | 1,693 | 1,698 | 1,696 | COLLABORATOR | null | # What does this PR do?
Fixes #25813 which indicates that ROPE is slow. It's a follow up of #22785, were ROPE was improved for Llama model.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25830/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25830/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25830",
"html_url": "https://github.com/huggingface/transformers/pull/25830",
"diff_url": "https://github.com/huggingface/transformers/pull/25830.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25830.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25829 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25829/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25829/comments | https://api.github.com/repos/huggingface/transformers/issues/25829/events | https://github.com/huggingface/transformers/pull/25829 | 1,871,818,804 | PR_kwDOCUB6oc5ZCy4I | 25,829 | minor typo fix in PeftAdapterMixin docs | {
"login": "tmm1",
"id": 2567,
"node_id": "MDQ6VXNlcjI1Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2567?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tmm1",
"html_url": "https://github.com/tmm1",
"followers_url": "https://api.github.com/users/tmm1/followers",
"followi... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25829). All of your documentation changes will be reflected on that endpoint."
] | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this with a d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25829/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25829/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25829",
"html_url": "https://github.com/huggingface/transformers/pull/25829",
"diff_url": "https://github.com/huggingface/transformers/pull/25829.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25829.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25828 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25828/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25828/comments | https://api.github.com/repos/huggingface/transformers/issues/25828/events | https://github.com/huggingface/transformers/issues/25828 | 1,871,814,419 | I_kwDOCUB6oc5vkZ8T | 25,828 | Documentation issue, tokenization_llama.py, legacy = True | {
"login": "dpaleka",
"id": 22846867,
"node_id": "MDQ6VXNlcjIyODQ2ODY3",
"avatar_url": "https://avatars.githubusercontent.com/u/22846867?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dpaleka",
"html_url": "https://github.com/dpaleka",
"followers_url": "https://api.github.com/users/dpalek... | [] | closed | false | null | [] | [
"No, not everyone needs / should be using the new behaviour. `legacy = True` means `True, I want to use legacy`. \r\nHowever there is indeed a type, `legacy = False` should be set for the new behaviour ! "
] | 1,693 | 1,693 | 1,693 | NONE | null | ### System Info
v4.32.1
### Who can help?
@ArthurZucker
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
The error ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25828/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25828/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/25827 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25827/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25827/comments | https://api.github.com/repos/huggingface/transformers/issues/25827/events | https://github.com/huggingface/transformers/pull/25827 | 1,871,760,207 | PR_kwDOCUB6oc5ZCmB3 | 25,827 | update remaining `Pop2Piano` checkpoints | {
"login": "susnato",
"id": 56069179,
"node_id": "MDQ6VXNlcjU2MDY5MTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/56069179?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/susnato",
"html_url": "https://github.com/susnato",
"followers_url": "https://api.github.com/users/susnat... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_25827). All of your documentation changes will be reflected on that endpoint.",
"@susnato Am I OK to merge this - or are there other changes you'd like to push beforehand? ",
"We can merge this. \r\n\r\nBTW later this wee... | 1,693 | 1,693 | 1,693 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25827/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25827/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25827",
"html_url": "https://github.com/huggingface/transformers/pull/25827",
"diff_url": "https://github.com/huggingface/transformers/pull/25827.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25827.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25826 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25826/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25826/comments | https://api.github.com/repos/huggingface/transformers/issues/25826/events | https://github.com/huggingface/transformers/pull/25826 | 1,871,711,786 | PR_kwDOCUB6oc5ZCbcE | 25,826 | Update-llama-code | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,693 | 1,693 | 1,693 | COLLABORATOR | null | # What does this PR do?
Update based on reviews from Llama team and nits here and there! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25826/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25826/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/25826",
"html_url": "https://github.com/huggingface/transformers/pull/25826",
"diff_url": "https://github.com/huggingface/transformers/pull/25826.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/25826.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.