url stringlengths 56 57 | repository_url stringclasses 1
value | labels_url stringlengths 70 71 | comments_url stringlengths 65 66 | events_url stringlengths 63 64 | html_url stringlengths 46 47 | id int64 1.88B 2.91B | node_id stringlengths 18 18 | number int64 906 2.42k | title stringlengths 3 380 | user dict | labels listlengths 0 3 | state stringclasses 2
values | locked bool 1
class | assignee dict | assignees listlengths 0 1 | milestone null | comments int64 0 42 | created_at timestamp[s] | updated_at timestamp[s] | closed_at timestamp[s] | author_association stringclasses 4
values | sub_issues_summary dict | active_lock_reason null | draft bool 0
classes | pull_request dict | body stringlengths 4 45.9k โ | closed_by dict | reactions dict | timeline_url stringlengths 65 66 | performed_via_github_app null | state_reason stringclasses 3
values | is_pull_request bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/huggingface/peft/issues/2259 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2259/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2259/comments | https://api.github.com/repos/huggingface/peft/issues/2259/events | https://github.com/huggingface/peft/issues/2259 | 2,719,155,124 | I_kwDOIf9iDM6iEwO0 | 2,259 | Deepseek_lora custom keys in input_data fails | {
"login": "Zhaoyi-Yan",
"id": 29570378,
"node_id": "MDQ6VXNlcjI5NTcwMzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/29570378?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zhaoyi-Yan",
"html_url": "https://github.com/Zhaoyi-Yan",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | 4 | 2024-12-05T02:20:27 | 2025-01-12T15:03:31 | 2025-01-12T15:03:31 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
For some models, eg, deepseek, we need to manually make the specified target_modules like : https://github.com/huggingface/peft/issues/2128 . It reminds us a link: https://github.com/huggingface/peft/blob/e6f927bfecba238f81e940b7f560284e5829dc2e/src/peft/utils/constants.py#L87 . For Qwen2, which e... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2259/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2259/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2256 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2256/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2256/comments | https://api.github.com/repos/huggingface/peft/issues/2256/events | https://github.com/huggingface/peft/issues/2256 | 2,716,902,490 | I_kwDOIf9iDM6h8KRa | 2,256 | Problem with loading PEFT model from checkpoint | {
"login": "sno-ko",
"id": 65155191,
"node_id": "MDQ6VXNlcjY1MTU1MTkx",
"avatar_url": "https://avatars.githubusercontent.com/u/65155191?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sno-ko",
"html_url": "https://github.com/sno-ko",
"followers_url": "https://api.github.com/users/sno-ko/fo... | [] | closed | false | null | [] | null | 7 | 2024-12-04T08:21:39 | 2024-12-11T11:48:06 | 2024-12-11T11:48:05 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
- Python v3.10.15
- torch==2.3.0+cu121
- peft==0.13.2
- transformers==4.46.3
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [X] My own task ... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2256/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2256/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2255 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2255/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2255/comments | https://api.github.com/repos/huggingface/peft/issues/2255/events | https://github.com/huggingface/peft/issues/2255 | 2,715,625,311 | I_kwDOIf9iDM6h3Sdf | 2,255 | Is this the right way to check whether a model has been trained as expected? | {
"login": "qgallouedec",
"id": 45557362,
"node_id": "MDQ6VXNlcjQ1NTU3MzYy",
"avatar_url": "https://avatars.githubusercontent.com/u/45557362?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qgallouedec",
"html_url": "https://github.com/qgallouedec",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | 5 | 2024-12-03T17:36:00 | 2024-12-04T12:01:37 | 2024-12-04T12:01:37 | MEMBER | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I'd like to check whether my PEFT model has been trained as intended, i.e. whether the PEFT weights have changed, but not the base weights. The following code works, but I'm sure a PEFT specialist will suggest a better way.
```python
import tempfile
import torch
from datasets import load_dataset
from peft impo... | {
"login": "qgallouedec",
"id": 45557362,
"node_id": "MDQ6VXNlcjQ1NTU3MzYy",
"avatar_url": "https://avatars.githubusercontent.com/u/45557362?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qgallouedec",
"html_url": "https://github.com/qgallouedec",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2255/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2255/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2252 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2252/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2252/comments | https://api.github.com/repos/huggingface/peft/issues/2252/events | https://github.com/huggingface/peft/issues/2252 | 2,715,127,322 | I_kwDOIf9iDM6h1Y4a | 2,252 | Adapter name conflict with tuner prefix leads to unclear warning during model loading | {
"login": "pzdkn",
"id": 9010575,
"node_id": "MDQ6VXNlcjkwMTA1NzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/9010575?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pzdkn",
"html_url": "https://github.com/pzdkn",
"followers_url": "https://api.github.com/users/pzdkn/follower... | [] | closed | false | null | [] | null | 4 | 2024-12-03T14:05:58 | 2025-01-06T10:52:45 | 2025-01-06T10:52:45 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
- peft=0.13.3.dev0
- transformers=4.46.3
- Python=3.12.6
### Who can help?
@BenjaminBossan
@stevhliu
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [X] My own task or dat... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2252/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2252/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2251 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2251/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2251/comments | https://api.github.com/repos/huggingface/peft/issues/2251/events | https://github.com/huggingface/peft/issues/2251 | 2,715,078,337 | I_kwDOIf9iDM6h1M7B | 2,251 | a guide to add a new fine-tuning method in the doc | {
"login": "YF-T",
"id": 45910008,
"node_id": "MDQ6VXNlcjQ1OTEwMDA4",
"avatar_url": "https://avatars.githubusercontent.com/u/45910008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YF-T",
"html_url": "https://github.com/YF-T",
"followers_url": "https://api.github.com/users/YF-T/followers"... | [] | closed | false | null | [] | null | 2 | 2024-12-03T13:46:02 | 2024-12-04T02:12:35 | 2024-12-04T02:12:35 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
Hello, I am a researcher in the finetune area. Can you publish a guide to add a new fine-tuning method in the doc? I think researchers like me are glad to experiment their methods based on this repo.
### Motivation
Researchers like me are glad to experiment their methods based on this repo, but d... | {
"login": "YF-T",
"id": 45910008,
"node_id": "MDQ6VXNlcjQ1OTEwMDA4",
"avatar_url": "https://avatars.githubusercontent.com/u/45910008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YF-T",
"html_url": "https://github.com/YF-T",
"followers_url": "https://api.github.com/users/YF-T/followers"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2251/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2251/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2250 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2250/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2250/comments | https://api.github.com/repos/huggingface/peft/issues/2250/events | https://github.com/huggingface/peft/issues/2250 | 2,714,898,392 | I_kwDOIf9iDM6h0g_Y | 2,250 | frozen modules also be lora | {
"login": "onehaitao",
"id": 29417674,
"node_id": "MDQ6VXNlcjI5NDE3Njc0",
"avatar_url": "https://avatars.githubusercontent.com/u/29417674?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/onehaitao",
"html_url": "https://github.com/onehaitao",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | 16 | 2024-12-03T12:26:54 | 2025-01-11T15:03:43 | 2025-01-11T15:03:43 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
* peft==0.7.1๏ผtransformers==4.45.0
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [ ] My own task or dataset (give details below)
### Reproduction
model = ge... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2250/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2250/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2249 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2249/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2249/comments | https://api.github.com/repos/huggingface/peft/issues/2249/events | https://github.com/huggingface/peft/issues/2249 | 2,714,820,501 | I_kwDOIf9iDM6h0N-V | 2,249 | active_adapter = model.active_adapters[0] TypeError: 'method' object is not subscriptable | {
"login": "MAXNORM8650",
"id": 97806194,
"node_id": "U_kgDOBdRncg",
"avatar_url": "https://avatars.githubusercontent.com/u/97806194?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MAXNORM8650",
"html_url": "https://github.com/MAXNORM8650",
"followers_url": "https://api.github.com/users/MA... | [] | closed | false | null | [] | null | 2 | 2024-12-03T11:57:10 | 2024-12-05T07:46:00 | 2024-12-05T07:46:00 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
trainer = Trainer(
model=model,
train_dataset=train_data,
eval_dataset=val_data,
args=transformers.TrainingArguments(
per_device_train_batch_size=micro_batch_size,
gradient_accumulation_steps=gradient_accumulation_steps,
warmup... | {
"login": "MAXNORM8650",
"id": 97806194,
"node_id": "U_kgDOBdRncg",
"avatar_url": "https://avatars.githubusercontent.com/u/97806194?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MAXNORM8650",
"html_url": "https://github.com/MAXNORM8650",
"followers_url": "https://api.github.com/users/MA... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2249/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2249/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2246 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2246/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2246/comments | https://api.github.com/repos/huggingface/peft/issues/2246/events | https://github.com/huggingface/peft/issues/2246 | 2,713,556,303 | I_kwDOIf9iDM6hvZVP | 2,246 | PeftModelForSequenceClassification.add_adapter() got an unexpected keyword argument 'low_cpu_mem_usage' | {
"login": "TristanDonze",
"id": 72163995,
"node_id": "MDQ6VXNlcjcyMTYzOTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/72163995?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TristanDonze",
"html_url": "https://github.com/TristanDonze",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | 2 | 2024-12-02T22:45:18 | 2024-12-03T10:29:27 | 2024-12-03T10:29:27 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hello!
### System Info
peft==0.13.2
transformers==4.46.3
python 3.12.5
VsCode Notebook
Macbook Air M1 beta 15.2
### 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... | {
"login": "TristanDonze",
"id": 72163995,
"node_id": "MDQ6VXNlcjcyMTYzOTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/72163995?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TristanDonze",
"html_url": "https://github.com/TristanDonze",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2246/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2246/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2244 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2244/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2244/comments | https://api.github.com/repos/huggingface/peft/issues/2244/events | https://github.com/huggingface/peft/issues/2244 | 2,711,523,447 | I_kwDOIf9iDM6hnpB3 | 2,244 | Lm_head layer Problem in gemma2 : 2b-it | {
"login": "OmarHelwe10",
"id": 126818420,
"node_id": "U_kgDOB48YdA",
"avatar_url": "https://avatars.githubusercontent.com/u/126818420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OmarHelwe10",
"html_url": "https://github.com/OmarHelwe10",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | 5 | 2024-12-02T11:06:07 | 2024-12-04T11:30:28 | 2024-12-04T11:29:57 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
all libraries are latest versions
python 3.11
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [X] My own task or dataset (give details below)
... | {
"login": "OmarHelwe10",
"id": 126818420,
"node_id": "U_kgDOB48YdA",
"avatar_url": "https://avatars.githubusercontent.com/u/126818420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OmarHelwe10",
"html_url": "https://github.com/OmarHelwe10",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2244/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2244/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2243 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2243/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2243/comments | https://api.github.com/repos/huggingface/peft/issues/2243/events | https://github.com/huggingface/peft/issues/2243 | 2,709,415,690 | I_kwDOIf9iDM6hfmcK | 2,243 | TypeError: LlamaModel.forward() got an unexpected keyword argument 'labels' when using LoRA on Llama 3.2 | {
"login": "hoang1645",
"id": 60732952,
"node_id": "MDQ6VXNlcjYwNzMyOTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/60732952?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hoang1645",
"html_url": "https://github.com/hoang1645",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | 6 | 2024-12-01T15:51:19 | 2024-12-05T17:05:48 | 2024-12-05T10:36:43 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
Python version: 3.12.3
Platform: Ubuntu 24.04 (WSL2)
`peft==0.13.2, accelerate==1.0.1, transformers==4.46.3`
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- ... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2243/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2243/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2241 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2241/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2241/comments | https://api.github.com/repos/huggingface/peft/issues/2241/events | https://github.com/huggingface/peft/issues/2241 | 2,703,027,765 | I_kwDOIf9iDM6hHO41 | 2,241 | Request for adding the lora implementation for Conv1d rather than transormers.utils.Conv1d | {
"login": "HelloWorldLTY",
"id": 43333475,
"node_id": "MDQ6VXNlcjQzMzMzNDc1",
"avatar_url": "https://avatars.githubusercontent.com/u/43333475?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HelloWorldLTY",
"html_url": "https://github.com/HelloWorldLTY",
"followers_url": "https://api.githu... | [
{
"id": 7219265350,
"node_id": "LA_kwDOIf9iDM8AAAABrk0_Rg",
"url": "https://api.github.com/repos/huggingface/peft/labels/contributions-welcome",
"name": "contributions-welcome",
"color": "F2AD28",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 20 | 2024-11-28T19:02:45 | 2025-01-27T10:48:21 | 2025-01-27T10:48:21 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
Hi, I found that Lora does not support the model with torch.nn.Conv1d as convolution layers, which limits the use-case for models pre-trained with this class (for example, Enformer). I wonder if it is possible to add an implementation based on this class.
### Motivation
To finetune enformer.
###... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2241/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2241/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2239 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2239/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2239/comments | https://api.github.com/repos/huggingface/peft/issues/2239/events | https://github.com/huggingface/peft/issues/2239 | 2,698,688,095 | I_kwDOIf9iDM6g2rZf | 2,239 | LoraConfig not JSON serializable for logging to wandb | {
"login": "v-bosch",
"id": 51364448,
"node_id": "MDQ6VXNlcjUxMzY0NDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/51364448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/v-bosch",
"html_url": "https://github.com/v-bosch",
"followers_url": "https://api.github.com/users/v-bosc... | [] | closed | false | null | [] | null | 3 | 2024-11-27T14:14:25 | 2024-11-28T13:59:07 | 2024-11-28T13:59:06 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
Hi all,
I am running a custom transformer (llava-style) based on Llama2 using PEFT, QLORA and FSDP.
It is runnable, but I get a strange error coming from weights & biases, where it seems to be trying to log the LoraConfig, which as a ListConfig is not json serializable.
If someone has any info, ... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2239/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2239/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2228 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2228/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2228/comments | https://api.github.com/repos/huggingface/peft/issues/2228/events | https://github.com/huggingface/peft/issues/2228 | 2,677,846,144 | I_kwDOIf9iDM6fnLCA | 2,228 | tp_layer.py lora_a,b init_method is different from the method in lora paper | {
"login": "aeeeeeep",
"id": 77915316,
"node_id": "MDQ6VXNlcjc3OTE1MzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/77915316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aeeeeeep",
"html_url": "https://github.com/aeeeeeep",
"followers_url": "https://api.github.com/users/aee... | [] | closed | false | null | [] | null | 2 | 2024-11-21T03:24:32 | 2024-11-21T10:48:48 | 2024-11-21T10:48:48 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
peft: latest
### Who can help?
@zhangsheng37
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder
- [ ] My own task or dataset (give details below)
### Reproduction
https://github.com/huggingface/p... | {
"login": "aeeeeeep",
"id": 77915316,
"node_id": "MDQ6VXNlcjc3OTE1MzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/77915316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aeeeeeep",
"html_url": "https://github.com/aeeeeeep",
"followers_url": "https://api.github.com/users/aee... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2228/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2228/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2221 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2221/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2221/comments | https://api.github.com/repos/huggingface/peft/issues/2221/events | https://github.com/huggingface/peft/issues/2221 | 2,671,655,376 | I_kwDOIf9iDM6fPjnQ | 2,221 | Can not free GPU memory after Trainer.train() a Peft lora model | {
"login": "Deno-V",
"id": 56070660,
"node_id": "MDQ6VXNlcjU2MDcwNjYw",
"avatar_url": "https://avatars.githubusercontent.com/u/56070660?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Deno-V",
"html_url": "https://github.com/Deno-V",
"followers_url": "https://api.github.com/users/Deno-V/fo... | [] | closed | false | null | [] | null | 3 | 2024-11-19T10:38:36 | 2024-11-19T14:07:04 | 2024-11-19T14:07:03 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
peft 0.13.2
accelerate 1.1.0
torch 2.4.0
trl 0.12.0
python 3.10.15
linux server
### Who can help?
@BenjaminBossan @sayakpaul
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2221/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2221/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2219 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2219/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2219/comments | https://api.github.com/repos/huggingface/peft/issues/2219/events | https://github.com/huggingface/peft/issues/2219 | 2,668,845,460 | I_kwDOIf9iDM6fE1mU | 2,219 | Bug: BOFT forward/merging with CUDA | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | [
{
"id": 4838806417,
"node_id": "LA_kwDOIf9iDM8AAAABIGpTkQ",
"url": "https://api.github.com/repos/huggingface/peft/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 18 | 2024-11-18T14:55:15 | 2024-12-09T10:56:41 | 2024-12-09T10:56:41 | MEMBER | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
At least for me, there is a bug that when fbd cuda is used for BOFT, the BOFT results are all 0.
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [ ] My own task... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2219/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2219/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2216 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2216/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2216/comments | https://api.github.com/repos/huggingface/peft/issues/2216/events | https://github.com/huggingface/peft/issues/2216 | 2,658,580,114 | I_kwDOIf9iDM6edraS | 2,216 | How to specify the coefficients of loading lora during inference? | {
"login": "laolongboy",
"id": 25175047,
"node_id": "MDQ6VXNlcjI1MTc1MDQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/25175047?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/laolongboy",
"html_url": "https://github.com/laolongboy",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | 1 | 2024-11-14T11:47:00 | 2024-11-18T11:30:03 | 2024-11-18T11:30:03 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | null | {
"login": "laolongboy",
"id": 25175047,
"node_id": "MDQ6VXNlcjI1MTc1MDQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/25175047?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/laolongboy",
"html_url": "https://github.com/laolongboy",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2216/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2216/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2213 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2213/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2213/comments | https://api.github.com/repos/huggingface/peft/issues/2213/events | https://github.com/huggingface/peft/issues/2213 | 2,658,136,777 | I_kwDOIf9iDM6eb_LJ | 2,213 | ่ฎญ็ปๆถไฝฟ็จ็QLoRA 4rank๏ผ่ฟ่กcudaๆจกๅๅๅนถๅฏผๅบๆถๅบ็ฐ๏ผKeyError: 'base_model.model.model.model.layers.14.mlp.down_proj' | {
"login": "xiaoheiyue",
"id": 37931208,
"node_id": "MDQ6VXNlcjM3OTMxMjA4",
"avatar_url": "https://avatars.githubusercontent.com/u/37931208?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiaoheiyue",
"html_url": "https://github.com/xiaoheiyue",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | 19 | 2024-11-14T09:15:22 | 2024-11-25T03:47:19 | 2024-11-25T03:47:19 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
File "/home/mukuro/projects/LLaMA-Factory/src/llamafactory/model/adapter.py", line 299, in init_adapter
model = _setup_lora_tuning(
^^^^^^^^^^^^^^^^^^^
File "/home/mukuro/projects/LLaMA-Factory/src/llamafactory/model/adapter.py", line 181, in _setup_lora_tuning
model: "LoraMod... | {
"login": "xiaoheiyue",
"id": 37931208,
"node_id": "MDQ6VXNlcjM3OTMxMjA4",
"avatar_url": "https://avatars.githubusercontent.com/u/37931208?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiaoheiyue",
"html_url": "https://github.com/xiaoheiyue",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2213/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2213/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2212 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2212/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2212/comments | https://api.github.com/repos/huggingface/peft/issues/2212/events | https://github.com/huggingface/peft/issues/2212 | 2,652,637,583 | I_kwDOIf9iDM6eHAmP | 2,212 | Documentation for LoRAConfig. | {
"login": "brynhayder",
"id": 4146799,
"node_id": "MDQ6VXNlcjQxNDY3OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4146799?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brynhayder",
"html_url": "https://github.com/brynhayder",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | 3 | 2024-11-12T16:06:40 | 2025-01-27T10:08:57 | 2025-01-27T10:08:57 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | https://github.com/huggingface/peft/blob/162d7e57ee0088f42eb0f26150bd9170d30f3637/src/peft/tuners/lora/config.py#L112-L113
Documentation for `False` is not clear. Presumably 'completely random' means the arrays will be uninitialized and hence contain whatever the contents of the relevant memory locations are? | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2212/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2212/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2211 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2211/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2211/comments | https://api.github.com/repos/huggingface/peft/issues/2211/events | https://github.com/huggingface/peft/issues/2211 | 2,649,689,514 | I_kwDOIf9iDM6d7w2q | 2,211 | the lack of adapter_model.bin and adapter_config.json after fine-tuning | {
"login": "TracyGuo2001",
"id": 53608784,
"node_id": "MDQ6VXNlcjUzNjA4Nzg0",
"avatar_url": "https://avatars.githubusercontent.com/u/53608784?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TracyGuo2001",
"html_url": "https://github.com/TracyGuo2001",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | 14 | 2024-11-11T15:34:58 | 2024-11-14T02:21:14 | 2024-11-13T14:44:00 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
peft 0.13.3.dev0
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [X] My own task or dataset (give details below)
### Reproduction
after u... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2211/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2211/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2209 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2209/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2209/comments | https://api.github.com/repos/huggingface/peft/issues/2209/events | https://github.com/huggingface/peft/issues/2209 | 2,647,758,546 | I_kwDOIf9iDM6d0ZbS | 2,209 | Unable to merge lora into base model properly? | {
"login": "hgftrdw45ud67is8o89",
"id": 155507621,
"node_id": "U_kgDOCUTbpQ",
"avatar_url": "https://avatars.githubusercontent.com/u/155507621?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hgftrdw45ud67is8o89",
"html_url": "https://github.com/hgftrdw45ud67is8o89",
"followers_url": "https... | [] | closed | false | null | [] | null | 2 | 2024-11-10T23:08:11 | 2024-11-12T00:40:45 | 2024-11-12T00:40:45 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
py3.11
### Who can help?
@BenjaminBossan @sayakpaul
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [X] My own task or dataset (give details below)
### Reproduction
```py... | {
"login": "hgftrdw45ud67is8o89",
"id": 155507621,
"node_id": "U_kgDOCUTbpQ",
"avatar_url": "https://avatars.githubusercontent.com/u/155507621?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hgftrdw45ud67is8o89",
"html_url": "https://github.com/hgftrdw45ud67is8o89",
"followers_url": "https... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2209/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2209/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2208 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2208/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2208/comments | https://api.github.com/repos/huggingface/peft/issues/2208/events | https://github.com/huggingface/peft/issues/2208 | 2,646,094,190 | I_kwDOIf9iDM6duDFu | 2,208 | TypeError: LoraConfig.__init__() got an unexpected keyword argument 'exclude_modules' | {
"login": "imrankh46",
"id": 103720343,
"node_id": "U_kgDOBi6llw",
"avatar_url": "https://avatars.githubusercontent.com/u/103720343?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/imrankh46",
"html_url": "https://github.com/imrankh46",
"followers_url": "https://api.github.com/users/imrank... | [] | closed | false | null | [] | null | 28 | 2024-11-09T13:57:02 | 2025-02-20T07:06:49 | 2025-01-03T15:03:44 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
Name: peft
Version: 0.13.2
### Who can help?
when i try to load the adapter for inference its showing the following error.
`TypeError: LoraConfig.__init__() got an unexpected keyword argument 'exclude_modules'`
### Information
- [X] The official example scripts
- [X] My own modified scripts
##... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2208/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2208/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2206 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2206/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2206/comments | https://api.github.com/repos/huggingface/peft/issues/2206/events | https://github.com/huggingface/peft/issues/2206 | 2,644,697,308 | I_kwDOIf9iDM6douDc | 2,206 | modules_to_save Incorrect Overlap in Multiple LoRA Adapters | {
"login": "saeid93",
"id": 6298780,
"node_id": "MDQ6VXNlcjYyOTg3ODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6298780?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saeid93",
"html_url": "https://github.com/saeid93",
"followers_url": "https://api.github.com/users/saeid93/... | [] | closed | false | null | [] | null | 7 | 2024-11-08T17:32:07 | 2025-01-03T15:03:46 | 2025-01-03T15:03:45 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
Python 3.11.9
transformers==4.40.2
peft==0.11.2
### Who can help?
@BenjaminBossan
A bug occurs in the PEFT library when using multiple LoRA adapters, each with a unique `modules_to_save` configuration. The issue arises when the `modules_to_save` from the first LoRA adapter (e.g., `adapter_1`) is ... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2206/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2206/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2205 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2205/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2205/comments | https://api.github.com/repos/huggingface/peft/issues/2205/events | https://github.com/huggingface/peft/issues/2205 | 2,644,636,923 | I_kwDOIf9iDM6dofT7 | 2,205 | KeyError: Parameter containing | {
"login": "Amerehei",
"id": 106547536,
"node_id": "U_kgDOBlnJUA",
"avatar_url": "https://avatars.githubusercontent.com/u/106547536?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Amerehei",
"html_url": "https://github.com/Amerehei",
"followers_url": "https://api.github.com/users/Amerehei/... | [] | closed | false | null | [] | null | 23 | 2024-11-08T17:11:46 | 2024-12-18T17:14:56 | 2024-12-13T18:20:52 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I want to run [sft](https://github.com/huggingface/peft/tree/main/examples/sft) example and I get some erros, Can you help me to find the problem?
I run [run_peft_fsdp.sh](https://github.com/huggingface/peft/blob/main/examples/sft/run_peft_fsdp.sh) with `--model_name_or_path "meta-llama/Llama-2-7b-hf"` (I used small... | {
"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... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2205/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2205/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2204 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2204/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2204/comments | https://api.github.com/repos/huggingface/peft/issues/2204/events | https://github.com/huggingface/peft/issues/2204 | 2,643,243,484 | I_kwDOIf9iDM6djLHc | 2,204 | KeyError: 'messages' | {
"login": "rickeyhhh",
"id": 101970336,
"node_id": "U_kgDOBhPxoA",
"avatar_url": "https://avatars.githubusercontent.com/u/101970336?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rickeyhhh",
"html_url": "https://github.com/rickeyhhh",
"followers_url": "https://api.github.com/users/rickey... | [] | closed | false | null | [] | null | 9 | 2024-11-08T08:13:39 | 2024-11-18T11:01:39 | 2024-11-18T11:01:39 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
**When I use Lora finetune Llama2-7b-chat-hf, a bug appears.**
[rank1]: Traceback (most recent call last):
[rank1]: File "/mnt/data/maruiqi/finetune/train.py", line 155, in <module>
[rank1]: main(model_args, data_args, training_args)
[rank1]: File "/mnt/data/maruiqi/finetune/train.py", line... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2204/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2204/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2203 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2203/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2203/comments | https://api.github.com/repos/huggingface/peft/issues/2203/events | https://github.com/huggingface/peft/issues/2203 | 2,643,006,160 | I_kwDOIf9iDM6diRLQ | 2,203 | Add Assertions for `task_type` in `LoraConfig` | {
"login": "d-kleine",
"id": 53251018,
"node_id": "MDQ6VXNlcjUzMjUxMDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/53251018?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/d-kleine",
"html_url": "https://github.com/d-kleine",
"followers_url": "https://api.github.com/users/d-k... | [] | closed | false | null | [] | null | 1 | 2024-11-08T06:27:36 | 2024-11-21T23:58:15 | 2024-11-21T15:29:25 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
The current implementation of `LoraConfig` in the PEFT library does not validate whether the provided `task_type` is valid. This can lead to silent failures when users accidentally provide a misspelled or unsupported task type. To improve usability and error handling, I propose adding assertions ... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2203/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2203/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2200 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2200/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2200/comments | https://api.github.com/repos/huggingface/peft/issues/2200/events | https://github.com/huggingface/peft/issues/2200 | 2,636,426,170 | I_kwDOIf9iDM6dJKu6 | 2,200 | RuntimeError: element 0 of tensors.. OpenCLIP model | {
"login": "EngEmmanuel",
"id": 46001874,
"node_id": "MDQ6VXNlcjQ2MDAxODc0",
"avatar_url": "https://avatars.githubusercontent.com/u/46001874?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/EngEmmanuel",
"html_url": "https://github.com/EngEmmanuel",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | 7 | 2024-11-05T20:41:10 | 2025-01-05T15:03:32 | 2025-01-05T15:03:32 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
peft = 0.13.2
python = 3.12.7
transformers = 4.45.2
### Who can help?
@sayakpaul
I am using ```inject_adapter_model(...)``` to finetune a model from OpenCLIP using LoRA layers. I am able to finetune the model by modifying ```Linear()``` layers and other supported types as expected. However, the... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2200/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2200/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2196 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2196/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2196/comments | https://api.github.com/repos/huggingface/peft/issues/2196/events | https://github.com/huggingface/peft/issues/2196 | 2,630,295,467 | I_kwDOIf9iDM6cxx-r | 2,196 | Memory Inefficiency for LoRA & DoRA during fine-tuning. | {
"login": "gslama12",
"id": 148696483,
"node_id": "U_kgDOCNztow",
"avatar_url": "https://avatars.githubusercontent.com/u/148696483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gslama12",
"html_url": "https://github.com/gslama12",
"followers_url": "https://api.github.com/users/gslama12/... | [] | closed | false | null | [] | null | 3 | 2024-11-02T07:47:03 | 2024-11-04T11:38:31 | 2024-11-03T10:03:42 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I applied LoRA and DoRA to a ResNet-50 and noticed, that the memory needed for storing activations during fine-tuning almost doubles compared to full fine-tuning. As this is the main contributor to the memory consumption, this is concerning and it seems unnecessary. What could be done here?
Here are some profiling r... | {
"login": "gslama12",
"id": 148696483,
"node_id": "U_kgDOCNztow",
"avatar_url": "https://avatars.githubusercontent.com/u/148696483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gslama12",
"html_url": "https://github.com/gslama12",
"followers_url": "https://api.github.com/users/gslama12/... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2196/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2196/timeline | null | not_planned | false |
https://api.github.com/repos/huggingface/peft/issues/2194 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2194/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2194/comments | https://api.github.com/repos/huggingface/peft/issues/2194/events | https://github.com/huggingface/peft/issues/2194 | 2,629,012,110 | I_kwDOIf9iDM6cs4qO | 2,194 | [BUG] Issue with using `rank_pattern` and `alpha_pattern` together in `LoraConfig` | {
"login": "sirluk",
"id": 58826757,
"node_id": "MDQ6VXNlcjU4ODI2NzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/58826757?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sirluk",
"html_url": "https://github.com/sirluk",
"followers_url": "https://api.github.com/users/sirluk/fo... | [] | closed | false | null | [] | null | 2 | 2024-11-01T13:14:26 | 2024-11-19T14:35:38 | 2024-11-19T14:35:38 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
peft==0.13.2
### Who can help?
@BenjaminBossan
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder
- [ ] My own task or dataset (give details below)
### Reproduction
Threre is an issue in the `_cr... | {
"login": "sirluk",
"id": 58826757,
"node_id": "MDQ6VXNlcjU4ODI2NzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/58826757?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sirluk",
"html_url": "https://github.com/sirluk",
"followers_url": "https://api.github.com/users/sirluk/fo... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2194/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2194/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2193 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2193/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2193/comments | https://api.github.com/repos/huggingface/peft/issues/2193/events | https://github.com/huggingface/peft/issues/2193 | 2,628,633,787 | I_kwDOIf9iDM6crcS7 | 2,193 | Strange GPU MEM Occupation on GPU0 when using torchrun | {
"login": "ma787639046",
"id": 63697972,
"node_id": "MDQ6VXNlcjYzNjk3OTcy",
"avatar_url": "https://avatars.githubusercontent.com/u/63697972?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ma787639046",
"html_url": "https://github.com/ma787639046",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | 9 | 2024-11-01T08:53:31 | 2024-11-01T16:53:45 | 2024-11-01T16:53:44 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
python==3.11.8
peft==0.13.2
accelerate==0.34.2
transformers==4.44.2
### Who can help?
@BenjaminBossan @sayakpaul
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [X] My own task or dataset ... | {
"login": "ma787639046",
"id": 63697972,
"node_id": "MDQ6VXNlcjYzNjk3OTcy",
"avatar_url": "https://avatars.githubusercontent.com/u/63697972?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ma787639046",
"html_url": "https://github.com/ma787639046",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2193/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2193/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2192 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2192/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2192/comments | https://api.github.com/repos/huggingface/peft/issues/2192/events | https://github.com/huggingface/peft/issues/2192 | 2,626,813,269 | I_kwDOIf9iDM6ckf1V | 2,192 | โpeft_prefix_tuning_seq2seq.ipynbโRuntimeError Due to Tensor Dimension Mismatch | {
"login": "1hb6s7t",
"id": 120760709,
"node_id": "U_kgDOBzKphQ",
"avatar_url": "https://avatars.githubusercontent.com/u/120760709?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/1hb6s7t",
"html_url": "https://github.com/1hb6s7t",
"followers_url": "https://api.github.com/users/1hb6s7t/foll... | [] | closed | false | null | [] | null | 2 | 2024-10-31T13:05:53 | 2024-11-01T00:55:42 | 2024-11-01T00:55:42 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
System Info
transformers version: 4.46.0
Platform: windows11
Python version: 3.9.
PyTorch version (GPU?): 2.4.0+cu124
Encountered a RuntimeError while trying to perform forward propagation with a BloomForCausalLM model from the transformers library. The error occurs when attempting to concatenat... | {
"login": "1hb6s7t",
"id": 120760709,
"node_id": "U_kgDOBzKphQ",
"avatar_url": "https://avatars.githubusercontent.com/u/120760709?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/1hb6s7t",
"html_url": "https://github.com/1hb6s7t",
"followers_url": "https://api.github.com/users/1hb6s7t/foll... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2192/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2192/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2188 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2188/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2188/comments | https://api.github.com/repos/huggingface/peft/issues/2188/events | https://github.com/huggingface/peft/issues/2188 | 2,623,940,413 | I_kwDOIf9iDM6cZic9 | 2,188 | How to change 'modules_to_save' setting when reloading a lora finetuned model | {
"login": "dengchengxifrank",
"id": 97390836,
"node_id": "U_kgDOBc4Q9A",
"avatar_url": "https://avatars.githubusercontent.com/u/97390836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dengchengxifrank",
"html_url": "https://github.com/dengchengxifrank",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | null | 2 | 2024-10-30T12:26:37 | 2024-12-08T15:03:37 | 2024-12-08T15:03:37 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
- `transformers` version: 4.36.2
- Platform: Linux-3.10.0-1160.49.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.19
- Huggingface_hub version: 0.24.6
- Safetensors version: 0.4.5
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2188/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2188/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2185 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2185/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2185/comments | https://api.github.com/repos/huggingface/peft/issues/2185/events | https://github.com/huggingface/peft/issues/2185 | 2,619,989,519 | I_kwDOIf9iDM6cKd4P | 2,185 | Xlora cannot reload model from last checkpoint by using trainer.train(resume_from_checkpoint="checkpp") | {
"login": "SongHanKen",
"id": 141119645,
"node_id": "U_kgDOCGlQnQ",
"avatar_url": "https://avatars.githubusercontent.com/u/141119645?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SongHanKen",
"html_url": "https://github.com/SongHanKen",
"followers_url": "https://api.github.com/users/Son... | [] | closed | false | null | [] | null | 5 | 2024-10-29T02:54:22 | 2025-02-07T15:04:01 | 2025-02-07T15:04:01 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
Peft v0.13.2
Transformers v4.44.0
Accelerate v0.33.0
### Who can help?
Since this relates to an interaction with PEFT and Xlora maybe @BenjaminBossan @EricLBuehler
### Information
- [X] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported ... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2185/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2185/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2184 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2184/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2184/comments | https://api.github.com/repos/huggingface/peft/issues/2184/events | https://github.com/huggingface/peft/issues/2184 | 2,618,938,318 | I_kwDOIf9iDM6cGdPO | 2,184 | PiSSA Updates Base Model Weights Silently | {
"login": "njbrake",
"id": 33383515,
"node_id": "MDQ6VXNlcjMzMzgzNTE1",
"avatar_url": "https://avatars.githubusercontent.com/u/33383515?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/njbrake",
"html_url": "https://github.com/njbrake",
"followers_url": "https://api.github.com/users/njbrak... | [
{
"id": 4838806417,
"node_id": "LA_kwDOIf9iDM8AAAABIGpTkQ",
"url": "https://api.github.com/repos/huggingface/peft/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 2 | 2024-10-28T15:59:02 | 2024-10-30T09:16:39 | 2024-10-30T09:16:39 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
Peft v0.13.0
Transformers v4.46.0
### Who can help?
Since this relates to an interaction with PEFT maybe @BenjaminBossan @sayakpaul?
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLU... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2184/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/peft/issues/2184/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2182 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2182/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2182/comments | https://api.github.com/repos/huggingface/peft/issues/2182/events | https://github.com/huggingface/peft/issues/2182 | 2,616,357,267 | I_kwDOIf9iDM6b8nGT | 2,182 | Evaluation of peft models using lm-eval-harness | {
"login": "JINO-ROHIT",
"id": 63234112,
"node_id": "MDQ6VXNlcjYzMjM0MTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/63234112?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JINO-ROHIT",
"html_url": "https://github.com/JINO-ROHIT",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | 6 | 2024-10-27T06:14:48 | 2024-11-26T15:09:20 | 2024-11-26T15:09:20 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
I would like to make an example notebook for evaluating the peft model for reproducable tasks and metrics using the lm-eval harness if possible .
Library here - https://github.com/EleutherAI/lm-evaluation-harness
### Motivation
Evaluating LLMs often involves benchmark datasets, but minor imple... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2182/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2182/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2181 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2181/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2181/comments | https://api.github.com/repos/huggingface/peft/issues/2181/events | https://github.com/huggingface/peft/issues/2181 | 2,615,881,680 | I_kwDOIf9iDM6b6y_Q | 2,181 | How can I do to export mode format as gguf | {
"login": "xu756",
"id": 84982391,
"node_id": "MDQ6VXNlcjg0OTgyMzkx",
"avatar_url": "https://avatars.githubusercontent.com/u/84982391?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xu756",
"html_url": "https://github.com/xu756",
"followers_url": "https://api.github.com/users/xu756/follow... | [] | closed | false | null | [] | null | 0 | 2024-10-26T13:51:45 | 2024-10-26T13:59:18 | 2024-10-26T13:59:18 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
This is a good project,I just got it today and encountered some problems.
my any code
``` python
from peft import AutoPeftModelForCausalLM
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Qwen2-0.5B")
model = AutoModelForCausalL... | {
"login": "xu756",
"id": 84982391,
"node_id": "MDQ6VXNlcjg0OTgyMzkx",
"avatar_url": "https://avatars.githubusercontent.com/u/84982391?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xu756",
"html_url": "https://github.com/xu756",
"followers_url": "https://api.github.com/users/xu756/follow... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2181/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2181/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2179 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2179/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2179/comments | https://api.github.com/repos/huggingface/peft/issues/2179/events | https://github.com/huggingface/peft/issues/2179 | 2,614,986,990 | I_kwDOIf9iDM6b3Yju | 2,179 | Integration of merge-kit into PEFT | {
"login": "ParagEkbote",
"id": 69567729,
"node_id": "MDQ6VXNlcjY5NTY3NzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/69567729?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ParagEkbote",
"html_url": "https://github.com/ParagEkbote",
"followers_url": "https://api.github.com/... | [] | open | false | {
"login": "ParagEkbote",
"id": 69567729,
"node_id": "MDQ6VXNlcjY5NTY3NzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/69567729?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ParagEkbote",
"html_url": "https://github.com/ParagEkbote",
"followers_url": "https://api.github.com/... | [
{
"login": "ParagEkbote",
"id": 69567729,
"node_id": "MDQ6VXNlcjY5NTY3NzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/69567729?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ParagEkbote",
"html_url": "https://github.com/ParagEkbote",
"followers_url": "htt... | null | 21 | 2024-10-25T19:53:14 | 2025-03-03T16:58:20 | null | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
Integrate merge-kit functionalities within the PEFT library to enable users to leverage the techniques provided in the library.
This could include additional merging techniques beyond TIES and DARE which are currently natively supported by PEFT.
References:
1)https://github.com/arcee-ai/merg... | null | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2179/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2179/timeline | null | null | false |
https://api.github.com/repos/huggingface/peft/issues/2171 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2171/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2171/comments | https://api.github.com/repos/huggingface/peft/issues/2171/events | https://github.com/huggingface/peft/issues/2171 | 2,605,577,443 | I_kwDOIf9iDM6bTfTj | 2,171 | LoRA + DeBERTa: loading model gives erratic, non-deterministic results | {
"login": "jchook",
"id": 193530,
"node_id": "MDQ6VXNlcjE5MzUzMA==",
"avatar_url": "https://avatars.githubusercontent.com/u/193530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jchook",
"html_url": "https://github.com/jchook",
"followers_url": "https://api.github.com/users/jchook/follow... | [] | closed | false | null | [] | null | 12 | 2024-10-22T14:08:52 | 2024-10-25T09:10:39 | 2024-10-25T09:10:39 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
A100 Colab
### Issue
Here is a Colab repro to demonstrate my issue: https://colab.research.google.com/drive/1Z5FL1QDePY0j-8XL0o1V9o27_MbU-02E?usp=sharing
It's very possible that I am doing something fundamentally wrong or using the `peft` framework incorrectly. However, I tried to copy most of... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2171/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2171/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2170 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2170/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2170/comments | https://api.github.com/repos/huggingface/peft/issues/2170/events | https://github.com/huggingface/peft/issues/2170 | 2,605,449,815 | I_kwDOIf9iDM6bTAJX | 2,170 | Invalid `none` check for loftq_config attribute in `LoraConfig` | {
"login": "sirluk",
"id": 58826757,
"node_id": "MDQ6VXNlcjU4ODI2NzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/58826757?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sirluk",
"html_url": "https://github.com/sirluk",
"followers_url": "https://api.github.com/users/sirluk/fo... | [
{
"id": 7219265350,
"node_id": "LA_kwDOIf9iDM8AAAABrk0_Rg",
"url": "https://api.github.com/repos/huggingface/peft/labels/contributions-welcome",
"name": "contributions-welcome",
"color": "F2AD28",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 5 | 2024-10-22T13:22:46 | 2024-11-19T14:35:22 | 2024-11-19T14:35:21 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
- `transformers` version: 4.45.2
- Platform: Linux-5.14.0-427.37.1.el9_4.x86_64-x86_64-with-glibc2.34
- Python version: 3.12.7
- Huggingface_hub version: 0.26.0
- Safetensors version: 0.4.5
- Accelerate version: 1.0.1
- Accelerate config: not found
- PyTorch version (GPU?): 2.5.0+cu124 (True)... | {
"login": "sirluk",
"id": 58826757,
"node_id": "MDQ6VXNlcjU4ODI2NzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/58826757?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sirluk",
"html_url": "https://github.com/sirluk",
"followers_url": "https://api.github.com/users/sirluk/fo... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2170/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2170/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2166 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2166/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2166/comments | https://api.github.com/repos/huggingface/peft/issues/2166/events | https://github.com/huggingface/peft/issues/2166 | 2,599,306,916 | I_kwDOIf9iDM6a7kak | 2,166 | fsdp_auto_wrap_policy is not working when FSDP_TRANSFORMER_CLS_TO_WRAP and the model's _no_split_modules are None. | {
"login": "eljandoubi",
"id": 78537694,
"node_id": "MDQ6VXNlcjc4NTM3Njk0",
"avatar_url": "https://avatars.githubusercontent.com/u/78537694?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eljandoubi",
"html_url": "https://github.com/eljandoubi",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | 0 | 2024-10-19T15:38:49 | 2024-10-22T09:57:08 | 2024-10-22T09:57:08 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info

### Who can help?
@BenjaminBossan @sayakpaul
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [ ] My ... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2166/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2166/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2165 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2165/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2165/comments | https://api.github.com/repos/huggingface/peft/issues/2165/events | https://github.com/huggingface/peft/issues/2165 | 2,599,257,995 | I_kwDOIf9iDM6a7YeL | 2,165 | update `layers_pattern` logic to to accept layer index | {
"login": "fcakyon",
"id": 34196005,
"node_id": "MDQ6VXNlcjM0MTk2MDA1",
"avatar_url": "https://avatars.githubusercontent.com/u/34196005?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fcakyon",
"html_url": "https://github.com/fcakyon",
"followers_url": "https://api.github.com/users/fcakyo... | [] | closed | false | null | [] | null | 7 | 2024-10-19T14:46:46 | 2024-11-16T21:14:13 | 2024-10-21T11:31:33 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
Please update the logic of the layers_pattern so that it allows for specifying the layer index in the pattern. This is necessary when you want to apply LORA to different blocks using separate lists of layer indices. For example, I would like to apply LORA to the last two layers in the encoder blo... | {
"login": "fcakyon",
"id": 34196005,
"node_id": "MDQ6VXNlcjM0MTk2MDA1",
"avatar_url": "https://avatars.githubusercontent.com/u/34196005?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fcakyon",
"html_url": "https://github.com/fcakyon",
"followers_url": "https://api.github.com/users/fcakyo... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2165/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2165/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2161 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2161/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2161/comments | https://api.github.com/repos/huggingface/peft/issues/2161/events | https://github.com/huggingface/peft/issues/2161 | 2,596,694,651 | I_kwDOIf9iDM6axmp7 | 2,161 | Prompt Tuning Crash with Llama-3.2 in torch.embedding | {
"login": "hrsmanian",
"id": 9534168,
"node_id": "MDQ6VXNlcjk1MzQxNjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/9534168?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hrsmanian",
"html_url": "https://github.com/hrsmanian",
"followers_url": "https://api.github.com/users/hr... | [] | closed | false | null | [] | null | 5 | 2024-10-18T07:34:29 | 2024-11-25T15:04:04 | 2024-11-25T15:04:04 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
peft==0.13.2
accelerate==1.0.1
torch==2.4.0
peft_config
```python
peft_config = PromptTuningConfig(
task_type=TaskType.CAUSAL_LM,
prompt_tuning_init=PromptTuningInit.TEXT,
num_virtual_tokens=len(tokenizer(prompt_tuning_init_text)["input_ids"]),
prompt_tuning_init_text=pro... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2161/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2161/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2155 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2155/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2155/comments | https://api.github.com/repos/huggingface/peft/issues/2155/events | https://github.com/huggingface/peft/issues/2155 | 2,594,332,588 | I_kwDOIf9iDM6aol-s | 2,155 | LoraConfig conflict when using `layers_to_transform` in `LlamaModel` | {
"login": "Evan02580",
"id": 109496565,
"node_id": "U_kgDOBobI9Q",
"avatar_url": "https://avatars.githubusercontent.com/u/109496565?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Evan02580",
"html_url": "https://github.com/Evan02580",
"followers_url": "https://api.github.com/users/Evan02... | [] | closed | false | null | [] | null | 4 | 2024-10-17T10:42:05 | 2024-11-25T15:04:06 | 2024-11-25T15:04:06 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
peft: 0.13.2
transformers: 4.43.1
### Who can help?
@BenjaminBossan @sayakpaul
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [X] My own task or dataset (give details below)
### Reproducti... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2155/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2155/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2154 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2154/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2154/comments | https://api.github.com/repos/huggingface/peft/issues/2154/events | https://github.com/huggingface/peft/issues/2154 | 2,592,196,471 | I_kwDOIf9iDM6agcd3 | 2,154 | Tensor Expansion Size Mismatch During Forward Pass | {
"login": "VecherVhatuX",
"id": 164204489,
"node_id": "U_kgDOCcmPyQ",
"avatar_url": "https://avatars.githubusercontent.com/u/164204489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VecherVhatuX",
"html_url": "https://github.com/VecherVhatuX",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | 2 | 2024-10-16T15:13:04 | 2024-10-29T10:44:47 | 2024-10-29T10:44:47 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
- `sentence-transformers`: latest version
- `torch`: 2.0+
- `peft`: latest version
- Ubuntu 22.04
### Who can help?
@sayakpaul @Be
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [X] My own... | {
"login": "tomaarsen",
"id": 37621491,
"node_id": "MDQ6VXNlcjM3NjIxNDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/37621491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomaarsen",
"html_url": "https://github.com/tomaarsen",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2154/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/peft/issues/2154/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2152 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2152/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2152/comments | https://api.github.com/repos/huggingface/peft/issues/2152/events | https://github.com/huggingface/peft/issues/2152 | 2,591,476,705 | I_kwDOIf9iDM6adsvh | 2,152 | about run_unsloth_peft.sh | {
"login": "opentld",
"id": 21096515,
"node_id": "MDQ6VXNlcjIxMDk2NTE1",
"avatar_url": "https://avatars.githubusercontent.com/u/21096515?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/opentld",
"html_url": "https://github.com/opentld",
"followers_url": "https://api.github.com/users/opentl... | [] | closed | false | null | [] | null | 5 | 2024-10-16T10:50:46 | 2024-11-24T15:03:28 | 2024-11-24T15:03:27 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | [sft.zip](https://github.com/user-attachments/files/17394377/sft.zip)
[ruozhiba_cvt.zip](https://github.com/user-attachments/files/17394510/ruozhiba_cvt.zip)
I try to fine-tune the ruozhiba dataset using unsloth. I download the pre-trained models and dataset to local machine.
I modified some .py files , and all th... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2152/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2152/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2147 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2147/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2147/comments | https://api.github.com/repos/huggingface/peft/issues/2147/events | https://github.com/huggingface/peft/issues/2147 | 2,583,828,772 | I_kwDOIf9iDM6aAhkk | 2,147 | LoKrModel doesn't support LLM Model | {
"login": "WhuanY",
"id": 152165588,
"node_id": "U_kgDOCRHc1A",
"avatar_url": "https://avatars.githubusercontent.com/u/152165588?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WhuanY",
"html_url": "https://github.com/WhuanY",
"followers_url": "https://api.github.com/users/WhuanY/follower... | [] | closed | false | null | [] | null | 3 | 2024-10-13T09:41:30 | 2024-10-16T09:30:48 | 2024-10-16T09:30:48 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
## virtual env info
```bash
$conda list
_libgcc_mutex 0.1 main
_openmp_mutex 5.1 1_gnu
absl-py 2.1.0 pypi_0 pypi
accelerate 0.33.0 pypi_0 pypi
a... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2147/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2147/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2141 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2141/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2141/comments | https://api.github.com/repos/huggingface/peft/issues/2141/events | https://github.com/huggingface/peft/issues/2141 | 2,577,905,693 | I_kwDOIf9iDM6Zp7gd | 2,141 | When I use peft to finetune llama2, the gpu memory keeps growing | {
"login": "xuanzhangyang",
"id": 8326294,
"node_id": "MDQ6VXNlcjgzMjYyOTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8326294?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xuanzhangyang",
"html_url": "https://github.com/xuanzhangyang",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | null | 7 | 2024-10-10T07:27:54 | 2024-11-18T15:04:05 | 2024-11-18T15:04:05 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
torch 2.4.1
transformers 4.46.0.dev0
trl 0.11.2
peft 0.13.1
GPU V100
CUDA 12.4
nvidia driver 550.54.15
### Who can help?
_No response_
### Information
- [ ] The offi... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2141/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2141/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2138 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2138/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2138/comments | https://api.github.com/repos/huggingface/peft/issues/2138/events | https://github.com/huggingface/peft/issues/2138 | 2,574,769,034 | I_kwDOIf9iDM6Zd9uK | 2,138 | Is it possible to support the new Bone method? | {
"login": "JL-er",
"id": 139205286,
"node_id": "U_kgDOCEwapg",
"avatar_url": "https://avatars.githubusercontent.com/u/139205286?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JL-er",
"html_url": "https://github.com/JL-er",
"followers_url": "https://api.github.com/users/JL-er/followers",
... | [] | closed | false | null | [] | null | 5 | 2024-10-09T05:02:33 | 2024-10-17T05:40:34 | 2024-10-17T05:40:34 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
In the paper "https://arxiv.org/pdf/2409.15371", we introduce a brand new PEFT (Parameter-Efficient Fine-Tuning) method: BONE (BLOCK AFFINE). This is a completely new structure that differs from the LoRA series. In terms of performance, it has already surpassed PISSA.
Therefore, I hope that Bo... | {
"login": "JL-er",
"id": 139205286,
"node_id": "U_kgDOCEwapg",
"avatar_url": "https://avatars.githubusercontent.com/u/139205286?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JL-er",
"html_url": "https://github.com/JL-er",
"followers_url": "https://api.github.com/users/JL-er/followers",
... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2138/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2138/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2136 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2136/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2136/comments | https://api.github.com/repos/huggingface/peft/issues/2136/events | https://github.com/huggingface/peft/issues/2136 | 2,571,155,760 | I_kwDOIf9iDM6ZQLkw | 2,136 | support for heterogeneous types for `modules_to_save` | {
"login": "saeid93",
"id": 6298780,
"node_id": "MDQ6VXNlcjYyOTg3ODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6298780?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saeid93",
"html_url": "https://github.com/saeid93",
"followers_url": "https://api.github.com/users/saeid93/... | [] | closed | false | null | [] | null | 5 | 2024-10-07T18:27:53 | 2024-11-15T15:03:56 | 2024-11-15T15:03:56 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
From my understanding of the current implementation, the modules_to_save wrappers are currently limited to copying only one specific layer of the model (reference: https://github.com/huggingface/peft/blob/859fd880e66fd152401b48c1f8c8bacbcc576f70/src/peft/utils/other.py#L192). Adding this feature wo... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2136/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2136/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2134 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2134/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2134/comments | https://api.github.com/repos/huggingface/peft/issues/2134/events | https://github.com/huggingface/peft/issues/2134 | 2,568,898,171 | I_kwDOIf9iDM6ZHkZ7 | 2,134 | PEFT doesn't inject virtual tokens into generate forward pass | {
"login": "Kamichanw",
"id": 13182866,
"node_id": "MDQ6VXNlcjEzMTgyODY2",
"avatar_url": "https://avatars.githubusercontent.com/u/13182866?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kamichanw",
"html_url": "https://github.com/Kamichanw",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | 7 | 2024-10-06T20:58:59 | 2024-11-07T09:21:12 | 2024-11-07T09:21:12 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
- `transformers` version: 4.46.0.dev0
- Platform: Linux-5.4.0-148-generic-x86_64-with-glibc2.31
- Python version: 3.9.19
- Huggingface_hub version: 0.24.0
- Safetensors version: 0.4.3
- Accelerate version: 0.33.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.4.1+cu121 (True)
- T... | {
"login": "Kamichanw",
"id": 13182866,
"node_id": "MDQ6VXNlcjEzMTgyODY2",
"avatar_url": "https://avatars.githubusercontent.com/u/13182866?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kamichanw",
"html_url": "https://github.com/Kamichanw",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2134/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2134/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2132 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2132/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2132/comments | https://api.github.com/repos/huggingface/peft/issues/2132/events | https://github.com/huggingface/peft/issues/2132 | 2,568,221,239 | I_kwDOIf9iDM6ZE_I3 | 2,132 | Key mismatch when trying to load a LORA adapter into an XLORA model | {
"login": "p4arth",
"id": 75850838,
"node_id": "MDQ6VXNlcjc1ODUwODM4",
"avatar_url": "https://avatars.githubusercontent.com/u/75850838?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/p4arth",
"html_url": "https://github.com/p4arth",
"followers_url": "https://api.github.com/users/p4arth/fo... | [] | closed | false | null | [] | null | 9 | 2024-10-05T17:03:30 | 2025-02-07T15:04:04 | 2025-02-07T15:04:04 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
peft==0.13.0
### Who can help?
@EricLBuehler
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [X] My own task or dataset (give details below)
### Reproduction
Code to train a the sample LORA... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2132/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2132/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2131 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2131/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2131/comments | https://api.github.com/repos/huggingface/peft/issues/2131/events | https://github.com/huggingface/peft/issues/2131 | 2,568,218,932 | I_kwDOIf9iDM6ZE-k0 | 2,131 | p-tuning or prefix tuning or prompt tuning code given does not work during inference | {
"login": "chandar-l",
"id": 8954835,
"node_id": "MDQ6VXNlcjg5NTQ4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8954835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chandar-l",
"html_url": "https://github.com/chandar-l",
"followers_url": "https://api.github.com/users/ch... | [] | closed | false | null | [] | null | 5 | 2024-10-05T16:58:06 | 2024-10-08T08:48:02 | 2024-10-08T08:48:02 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
In https://github.com/huggingface/peft/blob/main/docs/source/task_guides/prompt_based_methods.md, the p-tuning method (also referred to in the hugging faces documentation page: https://huggingface.co/docs/peft/task_guides/prompt_based_methods) or the prefix tuning method or the prompt tuning method fai... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2131/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2131/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2129 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2129/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2129/comments | https://api.github.com/repos/huggingface/peft/issues/2129/events | https://github.com/huggingface/peft/issues/2129 | 2,567,515,121 | I_kwDOIf9iDM6ZCSvx | 2,129 | RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! | {
"login": "brunopistone",
"id": 10196125,
"node_id": "MDQ6VXNlcjEwMTk2MTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/10196125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brunopistone",
"html_url": "https://github.com/brunopistone",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | 8 | 2024-10-04T23:04:08 | 2024-10-10T21:31:46 | 2024-10-10T21:31:46 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
System Info
transformers version: 4.45.1
peft version: 0.13.0
Platform: Linux-5.10.225-213.878.amzn2.x86_64-x86_64-with-glibc2.35
Python version: 3.10.14
Huggingface_hub version: 0.24.5
Safetensors version: 0.4.4
Accelerate version: 0.34.2
Accelerate config: not... | {
"login": "brunopistone",
"id": 10196125,
"node_id": "MDQ6VXNlcjEwMTk2MTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/10196125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brunopistone",
"html_url": "https://github.com/brunopistone",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2129/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2129/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2128 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2128/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2128/comments | https://api.github.com/repos/huggingface/peft/issues/2128/events | https://github.com/huggingface/peft/issues/2128 | 2,566,649,754 | I_kwDOIf9iDM6Y-_ea | 2,128 | ValueError: Please specify `target_modules` in `peft_config`, issue exist with gemma | {
"login": "yananchen1989",
"id": 26405281,
"node_id": "MDQ6VXNlcjI2NDA1Mjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/26405281?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yananchen1989",
"html_url": "https://github.com/yananchen1989",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | 4 | 2024-10-04T15:32:35 | 2024-10-07T11:15:22 | 2024-10-06T02:15:36 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
peft version: 0.12.0
trl version: 0.9.6
I am following official script from huggingface trl: https://github.com/huggingface/trl/blob/main/examples/scripts/sft.py
with the given demo execution.
it works fine with most models such as llama-3.1, llama-3.2 etc, but not for `gemma` (such as `unslo... | {
"login": "yananchen1989",
"id": 26405281,
"node_id": "MDQ6VXNlcjI2NDA1Mjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/26405281?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yananchen1989",
"html_url": "https://github.com/yananchen1989",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2128/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2125 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2125/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2125/comments | https://api.github.com/repos/huggingface/peft/issues/2125/events | https://github.com/huggingface/peft/issues/2125 | 2,564,976,195 | I_kwDOIf9iDM6Y4m5D | 2,125 | SFTTrainer: element 0 of tensors does not require grad and does not have a grad_fn | {
"login": "brunopistone",
"id": 10196125,
"node_id": "MDQ6VXNlcjEwMTk2MTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/10196125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brunopistone",
"html_url": "https://github.com/brunopistone",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | null | 2 | 2024-10-03T20:47:21 | 2024-10-10T09:04:04 | 2024-10-10T09:04:03 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
- `transformers` version: 4.45.1
- Platform: Linux-5.10.225-213.878.amzn2.x86_64-x86_64-with-glibc2.35
- Python version: 3.10.14
- Huggingface_hub version: 0.24.5
- Safetensors version: 0.4.4
- Accelerate version: 0.34.2
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0 (True)
... | {
"login": "brunopistone",
"id": 10196125,
"node_id": "MDQ6VXNlcjEwMTk2MTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/10196125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brunopistone",
"html_url": "https://github.com/brunopistone",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2125/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2125/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2123 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2123/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2123/comments | https://api.github.com/repos/huggingface/peft/issues/2123/events | https://github.com/huggingface/peft/issues/2123 | 2,562,501,661 | I_kwDOIf9iDM6YvKwd | 2,123 | `PeftModelForCausalLM.generate` ignores prompt tuning parameters unless `use_cache=False` | {
"login": "mattlgarber",
"id": 151776466,
"node_id": "U_kgDOCQvs0g",
"avatar_url": "https://avatars.githubusercontent.com/u/151776466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mattlgarber",
"html_url": "https://github.com/mattlgarber",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | 2 | 2024-10-02T19:40:32 | 2024-11-11T15:03:46 | 2024-11-11T15:03:46 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
Python 3.9.18
```
peft==0.13.0
transformers==4.45.1
```
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder
- [ ] My own task or dataset (give det... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2123/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2123/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2121 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2121/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2121/comments | https://api.github.com/repos/huggingface/peft/issues/2121/events | https://github.com/huggingface/peft/issues/2121 | 2,559,218,658 | I_kwDOIf9iDM6YipPi | 2,121 | Peft should update the way of passing past_key_values of prefix-tuning, prompt tuning etc | {
"login": "Kamichanw",
"id": 13182866,
"node_id": "MDQ6VXNlcjEzMTgyODY2",
"avatar_url": "https://avatars.githubusercontent.com/u/13182866?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kamichanw",
"html_url": "https://github.com/Kamichanw",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | 1 | 2024-10-01T13:19:57 | 2024-10-01T13:36:18 | 2024-10-01T13:36:18 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
- `transformers` version: 4.46.0.dev0
- Platform: Linux-4.15.0-76-generic-x86_64-with-glibc2.27
- Python version: 3.12.4
- Huggingface_hub version: 0.23.4
- Safetensors version: 0.4.3
- Accelerate version: 0.34.2
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distribute... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2121/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2119 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2119/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2119/comments | https://api.github.com/repos/huggingface/peft/issues/2119/events | https://github.com/huggingface/peft/issues/2119 | 2,558,249,099 | I_kwDOIf9iDM6Ye8iL | 2,119 | Request to Include Named Entity Recognition and Relation Extraction Model Finetuning Examples and Guidance Request | {
"login": "HarikrishnanK9",
"id": 128063333,
"node_id": "U_kgDOB6IXZQ",
"avatar_url": "https://avatars.githubusercontent.com/u/128063333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HarikrishnanK9",
"html_url": "https://github.com/HarikrishnanK9",
"followers_url": "https://api.github.c... | [
{
"id": 4838806434,
"node_id": "LA_kwDOIf9iDM8AAAABIGpTog",
"url": "https://api.github.com/repos/huggingface/peft/labels/good%20first%20issue",
"name": "good first issue",
"color": "7057ff",
"default": true,
"description": "Good for newcomers"
},
{
"id": 7219265350,
"node_id"... | closed | false | null | [] | null | 6 | 2024-10-01T05:50:24 | 2024-10-22T04:32:18 | 2024-10-22T04:32:18 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
As an NLP enthusiast working on Named Entity Recognition (NER) and Relation Extraction (RE) tasks, I would like to request the inclusion of NER and RE-related examples, best practices, and **guidance for fine-tuning** models specifically for these tasks on your GitHub page.
The documentation on... | {
"login": "HarikrishnanK9",
"id": 128063333,
"node_id": "U_kgDOB6IXZQ",
"avatar_url": "https://avatars.githubusercontent.com/u/128063333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HarikrishnanK9",
"html_url": "https://github.com/HarikrishnanK9",
"followers_url": "https://api.github.c... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2119/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2116 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2116/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2116/comments | https://api.github.com/repos/huggingface/peft/issues/2116/events | https://github.com/huggingface/peft/issues/2116 | 2,556,474,790 | I_kwDOIf9iDM6YYLWm | 2,116 | Update `huggingface_hub` requirement version | {
"login": "fmartiescofet",
"id": 10533368,
"node_id": "MDQ6VXNlcjEwNTMzMzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/10533368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fmartiescofet",
"html_url": "https://github.com/fmartiescofet",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | 1 | 2024-09-30T12:15:31 | 2024-09-30T15:57:00 | 2024-09-30T15:57:00 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
peft 0.13.0
huggingface_hub 0.19.4 (due to other dependencies)
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [ ] My own task or dataset (give details below)
... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2116/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2116/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2115 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2115/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2115/comments | https://api.github.com/repos/huggingface/peft/issues/2115/events | https://github.com/huggingface/peft/issues/2115 | 2,556,403,277 | I_kwDOIf9iDM6YX55N | 2,115 | Ineffective Fine-Tuning Bug: Using `get_peft_model()` Before Loading LoRA Produces Outputs Identical to the Base Model | {
"login": "Hoper-J",
"id": 79922894,
"node_id": "MDQ6VXNlcjc5OTIyODk0",
"avatar_url": "https://avatars.githubusercontent.com/u/79922894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hoper-J",
"html_url": "https://github.com/Hoper-J",
"followers_url": "https://api.github.com/users/Hoper-... | [] | closed | false | null | [] | null | 4 | 2024-09-30T11:44:02 | 2024-10-30T15:46:30 | 2024-10-30T15:46:29 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
transformers==4.41.2
peft==0.11.1
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [ ] My own task or dataset (give details below)
### Reproduction
**Soluti... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2115/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2115/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2112 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2112/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2112/comments | https://api.github.com/repos/huggingface/peft/issues/2112/events | https://github.com/huggingface/peft/issues/2112 | 2,555,390,604 | I_kwDOIf9iDM6YUCqM | 2,112 | PEFT Config checking update request | {
"login": "lemingshen",
"id": 52651662,
"node_id": "MDQ6VXNlcjUyNjUxNjYy",
"avatar_url": "https://avatars.githubusercontent.com/u/52651662?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lemingshen",
"html_url": "https://github.com/lemingshen",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | 4 | 2024-09-30T02:31:44 | 2024-10-01T01:01:26 | 2024-10-01T01:01:26 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
Position: In peft/tuners/lora/model.py --> LoRaModel._check_new_adapter_config()
The source code suggests a TODO:

Please complete this checking function ASAP.
### Motivation
When I tried to load multipl... | {
"login": "lemingshen",
"id": 52651662,
"node_id": "MDQ6VXNlcjUyNjUxNjYy",
"avatar_url": "https://avatars.githubusercontent.com/u/52651662?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lemingshen",
"html_url": "https://github.com/lemingshen",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2112/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2112/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2111 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2111/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2111/comments | https://api.github.com/repos/huggingface/peft/issues/2111/events | https://github.com/huggingface/peft/issues/2111 | 2,554,938,124 | I_kwDOIf9iDM6YSUMM | 2,111 | could not finetune gemma 2 9b with lora and fsdp | {
"login": "imadoualid",
"id": 64442426,
"node_id": "MDQ6VXNlcjY0NDQyNDI2",
"avatar_url": "https://avatars.githubusercontent.com/u/64442426?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/imadoualid",
"html_url": "https://github.com/imadoualid",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | 14 | 2024-09-29T13:29:56 | 2024-11-07T15:03:54 | 2024-11-07T15:03:54 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
i'am using sagemaker to run finetune on an ml.g5.48xlarge with the requirement file :
```
transformers==4.44.2
datasets==3.0.0
accelerate==0.34.2
bitsandbytes==0.44.0
huggingface_hub==0.25.1
trl==0.11.0
peft==0.12.0
torch==2.1.1
```
### Who can help?
_No response_
### Informatio... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2111/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2111/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2107 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2107/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2107/comments | https://api.github.com/repos/huggingface/peft/issues/2107/events | https://github.com/huggingface/peft/issues/2107 | 2,553,045,047 | I_kwDOIf9iDM6YLGA3 | 2,107 | Optimize DoRA computation when there is no dropout | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | [
{
"id": 7219265350,
"node_id": "LA_kwDOIf9iDM8AAAABrk0_Rg",
"url": "https://api.github.com/repos/huggingface/peft/labels/contributions-welcome",
"name": "contributions-welcome",
"color": "F2AD28",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 2 | 2024-09-27T14:10:16 | 2024-10-16T17:18:18 | 2024-10-16T17:18:18 | MEMBER | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
DoRA could be made faster and to use less memory if the base result were reused for DoRA. However, this is only equivalent if there is no dropout (because the base result will have dropout applied). Therefore, an optimization could be done when dropout=0 (i.e. when `nn.Identity` is used) or during ... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2107/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2105 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2105/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2105/comments | https://api.github.com/repos/huggingface/peft/issues/2105/events | https://github.com/huggingface/peft/issues/2105 | 2,551,229,924 | I_kwDOIf9iDM6YEK3k | 2,105 | merge_and_unload docs do not clarify behaviour for quantized base models | {
"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 | [] | null | 8 | 2024-09-26T18:05:23 | 2024-12-04T15:04:12 | 2024-12-04T15:04:12 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
NA
### Who can help?
@BenjaminBossan could you add a note to the docs to explain the default behaviour, and also any work arounds (e.g. loading a base model and dequantizing and loading the adapter and then merging) for best performance? Thanks
https://huggingface.co/docs/peft/main/en/package_refe... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2105/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2105/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2103 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2103/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2103/comments | https://api.github.com/repos/huggingface/peft/issues/2103/events | https://github.com/huggingface/peft/issues/2103 | 2,550,632,813 | I_kwDOIf9iDM6YB5Ft | 2,103 | Lora PISSA init: not support gpt2 | {
"login": "suyang160",
"id": 18000775,
"node_id": "MDQ6VXNlcjE4MDAwNzc1",
"avatar_url": "https://avatars.githubusercontent.com/u/18000775?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suyang160",
"html_url": "https://github.com/suyang160",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | 4 | 2024-09-26T13:42:10 | 2024-10-28T10:38:15 | 2024-10-28T10:38:15 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
peft 0.13.0
transformers 4.44.2
torch 2.4.0
Python 3.12.4
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [X] My own task or dataset (give details below)
... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2103/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2103/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2100 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2100/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2100/comments | https://api.github.com/repos/huggingface/peft/issues/2100/events | https://github.com/huggingface/peft/issues/2100 | 2,549,443,382 | I_kwDOIf9iDM6X9Ws2 | 2,100 | Questions about original_module and modules_to_save.default | {
"login": "dengchengxifrank",
"id": 97390836,
"node_id": "U_kgDOBc4Q9A",
"avatar_url": "https://avatars.githubusercontent.com/u/97390836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dengchengxifrank",
"html_url": "https://github.com/dengchengxifrank",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | null | 2 | 2024-09-26T03:48:26 | 2024-11-04T15:04:00 | 2024-11-04T15:04:00 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
- `transformers` version: 4.36.2
- Platform: Linux-3.10.0-1160.59.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.19
- Huggingface_hub version: 0.24.6
- Safetensors version: 0.4.5
- Accelerate version: 0.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2100/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2100/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2099 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2099/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2099/comments | https://api.github.com/repos/huggingface/peft/issues/2099/events | https://github.com/huggingface/peft/issues/2099 | 2,549,370,431 | I_kwDOIf9iDM6X9E4_ | 2,099 | Using module_to_save to save parameters inited by nn.parameters dose't work! | {
"login": "minmie",
"id": 40080081,
"node_id": "MDQ6VXNlcjQwMDgwMDgx",
"avatar_url": "https://avatars.githubusercontent.com/u/40080081?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/minmie",
"html_url": "https://github.com/minmie",
"followers_url": "https://api.github.com/users/minmie/fo... | [] | closed | false | null | [] | null | 8 | 2024-09-26T02:48:38 | 2024-10-02T10:43:44 | 2024-10-02T10:43:06 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
- `transformers` version: 4.44.0
- Platform: Windows-10-10.0.19041-SP0
- Python version: 3.10.14
- Huggingface_hub version: 0.24.6
- Safetensors version: 0.4.4
- Accelerate version: 0.33.0 ... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2099/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2099/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2097 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2097/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2097/comments | https://api.github.com/repos/huggingface/peft/issues/2097/events | https://github.com/huggingface/peft/issues/2097 | 2,548,733,858 | I_kwDOIf9iDM6X6pei | 2,097 | loftq_utils.py depdends on huggingface_hub.errors, which doesn't appear in some versions of huggingface_hub | {
"login": "mashoutsider",
"id": 138149977,
"node_id": "U_kgDOCDwAWQ",
"avatar_url": "https://avatars.githubusercontent.com/u/138149977?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mashoutsider",
"html_url": "https://github.com/mashoutsider",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | 4 | 2024-09-25T18:44:40 | 2024-10-28T10:49:04 | 2024-10-28T10:49:03 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
loftq_utils.py refers to huggingface_hub.errors
Should the requirements.txt include huggingface_hub?
I have huggingface_hub version 0.19.4 and it does not have huggingface_hub.errors.
Is there a workaround or another version of huggingface_hub?
### Who can help?
_No response_
### Informat... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2097/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2097/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2092 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2092/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2092/comments | https://api.github.com/repos/huggingface/peft/issues/2092/events | https://github.com/huggingface/peft/issues/2092 | 2,546,036,590 | I_kwDOIf9iDM6XwW9u | 2,092 | Why original layer weight is saved for LoRA adapter? | {
"login": "leosongwei",
"id": 1791336,
"node_id": "MDQ6VXNlcjE3OTEzMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1791336?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leosongwei",
"html_url": "https://github.com/leosongwei",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | null | 1 | 2024-09-24T18:06:45 | 2024-09-25T03:20:06 | 2024-09-25T03:20:06 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
peft==0.12.0
transformers==4.44.2
Python 3.11.2
OS: Debian GNU/Linux 12 (bookworm)
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [ ] My own task or dataset... | {
"login": "leosongwei",
"id": 1791336,
"node_id": "MDQ6VXNlcjE3OTEzMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1791336?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leosongwei",
"html_url": "https://github.com/leosongwei",
"followers_url": "https://api.github.com/users... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2092/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2092/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2091 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2091/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2091/comments | https://api.github.com/repos/huggingface/peft/issues/2091/events | https://github.com/huggingface/peft/issues/2091 | 2,544,079,181 | I_kwDOIf9iDM6Xo5FN | 2,091 | Abnormal performance of training LLaMA3.1-70 via LoRA | {
"login": "junzhang-zj",
"id": 52874161,
"node_id": "MDQ6VXNlcjUyODc0MTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/52874161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/junzhang-zj",
"html_url": "https://github.com/junzhang-zj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | 4 | 2024-09-24T01:41:21 | 2024-10-08T01:59:13 | 2024-10-08T01:57:36 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | When I try to fine-tune both LLaMA-2-70B and LLaMA-3.1-70B with LoRA using the same code, the 3.1 seems to have an unusual loss landscape, is there anything I should be aware of?
```Python
torch.nn.Linear.reset_parameters = lambda x: None
model = AutoModelForCausalLM.from_pretrained(args.base_model,
... | {
"login": "junzhang-zj",
"id": 52874161,
"node_id": "MDQ6VXNlcjUyODc0MTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/52874161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/junzhang-zj",
"html_url": "https://github.com/junzhang-zj",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2091/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2091/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2085 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2085/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2085/comments | https://api.github.com/repos/huggingface/peft/issues/2085/events | https://github.com/huggingface/peft/issues/2085 | 2,541,199,944 | I_kwDOIf9iDM6Xd6JI | 2,085 | Prompt-Tuning for text-to-image diffusion models | {
"login": "AHHHZ975",
"id": 47984138,
"node_id": "MDQ6VXNlcjQ3OTg0MTM4",
"avatar_url": "https://avatars.githubusercontent.com/u/47984138?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AHHHZ975",
"html_url": "https://github.com/AHHHZ975",
"followers_url": "https://api.github.com/users/AHH... | [] | closed | false | null | [] | null | 10 | 2024-09-22T18:31:08 | 2024-11-01T15:03:41 | 2024-11-01T15:03:41 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi, I have been looking for a simple example/script that shows how I can use the prompt-tuning technique in the PEFT library to fine-tune the text encoder of a stable diffusion model. But I could not find any. Could you please introduce me if there is already one? If there is no implementation, I would appreciate any h... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2085/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2085/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2080 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2080/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2080/comments | https://api.github.com/repos/huggingface/peft/issues/2080/events | https://github.com/huggingface/peft/issues/2080 | 2,536,700,694 | I_kwDOIf9iDM6XMvsW | 2,080 | make RMSNorm or other small parameters trainable with lora | {
"login": "IvanSedykh",
"id": 46825716,
"node_id": "MDQ6VXNlcjQ2ODI1NzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/46825716?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IvanSedykh",
"html_url": "https://github.com/IvanSedykh",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | 2 | 2024-09-19T15:30:35 | 2024-09-20T07:12:34 | 2024-09-20T07:12:34 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
Add a convinient way to unfreeze and later save specific weigths, which are not `nn.Linear`.
I wonder, if it would be relevant to implement this functionality in this library. Or it is out of it's scope.
### Motivation
While transformers are mostly consist of linear layers, they still has some... | {
"login": "IvanSedykh",
"id": 46825716,
"node_id": "MDQ6VXNlcjQ2ODI1NzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/46825716?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IvanSedykh",
"html_url": "https://github.com/IvanSedykh",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2080/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2080/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2079 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2079/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2079/comments | https://api.github.com/repos/huggingface/peft/issues/2079/events | https://github.com/huggingface/peft/issues/2079 | 2,536,561,369 | I_kwDOIf9iDM6XMNrZ | 2,079 | Support Conv3d layer | {
"login": "jsilter",
"id": 603941,
"node_id": "MDQ6VXNlcjYwMzk0MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/603941?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jsilter",
"html_url": "https://github.com/jsilter",
"followers_url": "https://api.github.com/users/jsilter/fo... | [] | closed | false | null | [] | null | 4 | 2024-09-19T14:41:01 | 2024-10-21T08:56:43 | 2024-10-21T08:56:43 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
Currently, many adapters support Conv1d and Conv2d layers, but not Conv3d. I would like to be able to use these methods on Conv3d layers.
### Motivation
I would like to use PEFT on models which process 3D images (eg video or volumetric images). As it stands, PEFT cannot be applied.
### Your cont... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2079/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2079/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2075 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2075/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2075/comments | https://api.github.com/repos/huggingface/peft/issues/2075/events | https://github.com/huggingface/peft/issues/2075 | 2,533,192,085 | I_kwDOIf9iDM6W_XGV | 2,075 | lora_r is double when converting olora to lora. | {
"login": "JaheimLee",
"id": 18062264,
"node_id": "MDQ6VXNlcjE4MDYyMjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/18062264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JaheimLee",
"html_url": "https://github.com/JaheimLee",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | 4 | 2024-09-18T09:25:14 | 2024-09-20T10:11:26 | 2024-09-20T10:11:25 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
- `transformers` version: 4.44.2
- Platform: Linux-5.13.0-30-generic-x86_64-with-glibc2.31
- Python version: 3.12.4
- Huggingface_hub version: 0.24.5
- Safetensors version: 0.4.3
- Accelerate version: 0.34.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.4.0+cu121 (True)
- Tens... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2075/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2075/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2072 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2072/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2072/comments | https://api.github.com/repos/huggingface/peft/issues/2072/events | https://github.com/huggingface/peft/issues/2072 | 2,531,399,478 | I_kwDOIf9iDM6W4hc2 | 2,072 | ImportError: cannot import name 'VBLoRAConfig' from 'peft' | {
"login": "KQDtianxiaK",
"id": 92998962,
"node_id": "U_kgDOBYsNMg",
"avatar_url": "https://avatars.githubusercontent.com/u/92998962?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KQDtianxiaK",
"html_url": "https://github.com/KQDtianxiaK",
"followers_url": "https://api.github.com/users/KQ... | [] | closed | false | null | [] | null | 4 | 2024-09-17T14:59:48 | 2024-09-17T15:55:53 | 2024-09-17T15:54:50 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
RTX 4090D(24GB)
peft == 0.12.0
transformers == 4.44.0
Has this method been removed?
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [X] My own task or datas... | {
"login": "KQDtianxiaK",
"id": 92998962,
"node_id": "U_kgDOBYsNMg",
"avatar_url": "https://avatars.githubusercontent.com/u/92998962?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KQDtianxiaK",
"html_url": "https://github.com/KQDtianxiaK",
"followers_url": "https://api.github.com/users/KQ... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2072/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2071 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2071/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2071/comments | https://api.github.com/repos/huggingface/peft/issues/2071/events | https://github.com/huggingface/peft/issues/2071 | 2,529,712,928 | I_kwDOIf9iDM6WyFsg | 2,071 | RuntimeError: Error(s) in loading state_dict for PeftModelForCausalLM: size mismatch when I load using adapter path but not checkpoint | {
"login": "manitadayon",
"id": 19966010,
"node_id": "MDQ6VXNlcjE5OTY2MDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/19966010?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manitadayon",
"html_url": "https://github.com/manitadayon",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | 11 | 2024-09-17T00:19:08 | 2024-10-15T09:38:32 | 2024-09-20T05:33:21 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
MultiGPU setting with 2 A100 GPU.
GPU memory is 80GB each.
Training is done using accelerate and Deep Speed.
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- ... | {
"login": "manitadayon",
"id": 19966010,
"node_id": "MDQ6VXNlcjE5OTY2MDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/19966010?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manitadayon",
"html_url": "https://github.com/manitadayon",
"followers_url": "https://api.github.com/... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2071/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2071/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2070 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2070/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2070/comments | https://api.github.com/repos/huggingface/peft/issues/2070/events | https://github.com/huggingface/peft/issues/2070 | 2,528,328,567 | I_kwDOIf9iDM6Wszt3 | 2,070 | [Feature] Add Quantization Support for VeRA Method | {
"login": "ZiadHelal",
"id": 48360648,
"node_id": "MDQ6VXNlcjQ4MzYwNjQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/48360648?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZiadHelal",
"html_url": "https://github.com/ZiadHelal",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | 1 | 2024-09-16T12:27:33 | 2024-10-07T13:04:10 | 2024-10-07T13:04:09 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
This pull request aims to introduce support for quantization in the VeRA PEFT method. This enhancement is in response to the issue #1921, which highlighted the need for compatibility between VeRA and quantized models.
### Motivation
The motivation behind this feature request is to extend the func... | {
"login": "ZiadHelal",
"id": 48360648,
"node_id": "MDQ6VXNlcjQ4MzYwNjQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/48360648?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZiadHelal",
"html_url": "https://github.com/ZiadHelal",
"followers_url": "https://api.github.com/users/... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2070/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2070/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2069 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2069/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2069/comments | https://api.github.com/repos/huggingface/peft/issues/2069/events | https://github.com/huggingface/peft/issues/2069 | 2,526,548,121 | I_kwDOIf9iDM6WmBCZ | 2,069 | Unaligned blit request with RoBERTa | {
"login": "vrmer",
"id": 37778035,
"node_id": "MDQ6VXNlcjM3Nzc4MDM1",
"avatar_url": "https://avatars.githubusercontent.com/u/37778035?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vrmer",
"html_url": "https://github.com/vrmer",
"followers_url": "https://api.github.com/users/vrmer/follow... | [] | closed | false | null | [] | null | 2 | 2024-09-14T18:10:13 | 2024-10-24T15:03:51 | 2024-10-24T15:03:51 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
System: MacBook M1 Pro (MPS)
`accelerate==0.33.0`
`peft==0.12.0`
`torch==2.4.1`
`transformers==4.44.0`
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2069/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/peft/issues/2069/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2067 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2067/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2067/comments | https://api.github.com/repos/huggingface/peft/issues/2067/events | https://github.com/huggingface/peft/issues/2067 | 2,524,070,608 | I_kwDOIf9iDM6WckLQ | 2,067 | Does peft supports the custom setting of trainable parameters(for example, some params in word_embeddings) | {
"login": "dongdongzhaoUP",
"id": 45898026,
"node_id": "MDQ6VXNlcjQ1ODk4MDI2",
"avatar_url": "https://avatars.githubusercontent.com/u/45898026?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dongdongzhaoUP",
"html_url": "https://github.com/dongdongzhaoUP",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | null | 3 | 2024-09-13T07:22:34 | 2024-10-21T15:03:58 | 2024-10-21T15:03:58 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
Does peft supports the custom setting of trainable parameters(for example, some params in word_embeddings)
### Motivation
To use the method [EP](https://arxiv.org/abs/2103.15543)
### Your contribution
maybe | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2067/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2067/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2066 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2066/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2066/comments | https://api.github.com/repos/huggingface/peft/issues/2066/events | https://github.com/huggingface/peft/issues/2066 | 2,523,815,599 | I_kwDOIf9iDM6Wbl6v | 2,066 | About merge lora weight and lora dropout | {
"login": "hhnqqq",
"id": 59022162,
"node_id": "MDQ6VXNlcjU5MDIyMTYy",
"avatar_url": "https://avatars.githubusercontent.com/u/59022162?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hhnqqq",
"html_url": "https://github.com/hhnqqq",
"followers_url": "https://api.github.com/users/hhnqqq/fo... | [] | closed | false | null | [] | null | 2 | 2024-09-13T03:47:48 | 2024-09-13T09:30:03 | 2024-09-13T09:30:03 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ## Description:
The Dropout layer behaves differently during training and evaluation, leading to inconsistent behavior in the lora_A module. Specifically, during training, dropout(x) will drop some outputs of XA, whereas during evaluation, dropout is disabled and a scaling factor of 1-p is multiplied with XA. To ensu... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2066/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2066/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2065 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2065/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2065/comments | https://api.github.com/repos/huggingface/peft/issues/2065/events | https://github.com/huggingface/peft/issues/2065 | 2,523,808,306 | I_kwDOIf9iDM6WbkIy | 2,065 | Merge LoRA into 405B | {
"login": "junzhang-zj",
"id": 52874161,
"node_id": "MDQ6VXNlcjUyODc0MTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/52874161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/junzhang-zj",
"html_url": "https://github.com/junzhang-zj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | 7 | 2024-09-13T03:38:17 | 2024-10-30T15:03:47 | 2024-10-30T15:03:47 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Env: 8 A100-80G GPUs, Transformer: 4.43.3, torch: 2.4.0+cu121
Goal: Get a merged INT8 405B
Path 1:
1) Load IN8 405B & BF16 LoRA --> Merge --> Save
Path 2:
1) Load BF16 405B & BF16 LoRA --> Merge --> Save
2) Load INT8 merged 405B --> Save
When I tried to merge LoRA into LLaMA-3.1 405B with load_in_8bit=T... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2065/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2065/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2063 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2063/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2063/comments | https://api.github.com/repos/huggingface/peft/issues/2063/events | https://github.com/huggingface/peft/issues/2063 | 2,521,528,408 | I_kwDOIf9iDM6WS3hY | 2,063 | question about training time | {
"login": "harborsarah",
"id": 65909204,
"node_id": "MDQ6VXNlcjY1OTA5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/65909204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harborsarah",
"html_url": "https://github.com/harborsarah",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | null | 5 | 2024-09-12T07:02:48 | 2024-10-25T15:03:38 | 2024-10-25T15:03:38 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
Dear authors,
I have a question regarding the training time utilizing the peft package. I tried using LoRA with a swin transformer to reduce the parameter size.
```
model = SwinModel.from_pretrained('./swin-large-patch4-window7-224-in22k').cuda()
config = LoraConfig(
r=16,
lora_alpha=... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2063/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2063/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2060 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2060/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2060/comments | https://api.github.com/repos/huggingface/peft/issues/2060/events | https://github.com/huggingface/peft/issues/2060 | 2,518,749,095 | I_kwDOIf9iDM6WIQ-n | 2,060 | When using accelerate+deepspeed to accelerate the code does not work | {
"login": "githubwqj",
"id": 27986465,
"node_id": "MDQ6VXNlcjI3OTg2NDY1",
"avatar_url": "https://avatars.githubusercontent.com/u/27986465?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/githubwqj",
"html_url": "https://github.com/githubwqj",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | 7 | 2024-09-11T07:06:33 | 2024-10-20T15:03:29 | 2024-10-20T15:03:29 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
The classes used are examples/sft/train.py and examples/sft/run_peft_qlora_deepspeed_stage3.sh
When we use fixed parameters ,
Let's comment out the following two lines in def `__main__`
```python
parser = HfArgumentParser((ModelArguments, DataTrainingArguments, TrainingArguments))
mo... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2060/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2060/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2057 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2057/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2057/comments | https://api.github.com/repos/huggingface/peft/issues/2057/events | https://github.com/huggingface/peft/issues/2057 | 2,515,765,209 | I_kwDOIf9iDM6V84fZ | 2,057 | Is it possible to load a model from my local path, like YoloV7.pt in my local? | {
"login": "MillionaireChen",
"id": 35960345,
"node_id": "MDQ6VXNlcjM1OTYwMzQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/35960345?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MillionaireChen",
"html_url": "https://github.com/MillionaireChen",
"followers_url": "https://api... | [] | closed | false | null | [] | null | 2 | 2024-09-10T08:27:54 | 2024-09-10T10:52:08 | 2024-09-10T10:52:07 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
After exploring the EXAMPLES directories, I found there is no object detection demo.
I try to change the model id from the hugging face. https://huggingface.co/Yolov7/yolov7
But there is no config files in hugging face website of YOLOV7. But this
### Motivation
Although PEFT is mainly used... | {
"login": "MillionaireChen",
"id": 35960345,
"node_id": "MDQ6VXNlcjM1OTYwMzQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/35960345?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MillionaireChen",
"html_url": "https://github.com/MillionaireChen",
"followers_url": "https://api... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2057/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2057/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2055 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2055/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2055/comments | https://api.github.com/repos/huggingface/peft/issues/2055/events | https://github.com/huggingface/peft/issues/2055 | 2,512,143,117 | I_kwDOIf9iDM6VvEMN | 2,055 | Loading lora weights for FLUX pipeline is extremely slow | {
"login": "nachoal",
"id": 3743461,
"node_id": "MDQ6VXNlcjM3NDM0NjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3743461?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nachoal",
"html_url": "https://github.com/nachoal",
"followers_url": "https://api.github.com/users/nachoal/... | [] | closed | false | null | [] | null | 12 | 2024-09-08T01:12:05 | 2024-11-04T15:04:03 | 2024-11-04T15:04:03 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
Installed packages:
```
accelerate==0.34.0
asttokens==2.4.1
certifi==2024.8.30
charset-normalizer==3.3.2
comm==0.2.2
compel==2.0.3
debugpy==1.8.5
decorator==5.1.1
diffusers==0.30.2
exceptiongroup==1.2.2
executing==2.1.0
filelock==3.15.4
fsspec==2024.6.1
huggingface-hub==0.24.6
idna==... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2055/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/peft/issues/2055/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2054 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2054/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2054/comments | https://api.github.com/repos/huggingface/peft/issues/2054/events | https://github.com/huggingface/peft/issues/2054 | 2,512,107,068 | I_kwDOIf9iDM6Vu7Y8 | 2,054 | Problem with model.merge_and_unload - the saved model is almost empty - 40kb | {
"login": "Oxi84",
"id": 25420033,
"node_id": "MDQ6VXNlcjI1NDIwMDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/25420033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Oxi84",
"html_url": "https://github.com/Oxi84",
"followers_url": "https://api.github.com/users/Oxi84/follow... | [] | closed | false | null | [] | null | 4 | 2024-09-07T22:57:29 | 2024-10-16T15:03:56 | 2024-10-16T15:03:55 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
Ubuntu 22.04 all latest versions
### Who can help?
@BenjaminBossan @sayakpaul
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [x] An officially supported task in the `examples` folder
- [ ] My own task or dataset (give details below)
... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2054/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2054/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2052 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2052/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2052/comments | https://api.github.com/repos/huggingface/peft/issues/2052/events | https://github.com/huggingface/peft/issues/2052 | 2,510,566,846 | I_kwDOIf9iDM6VpDW- | 2,052 | LoRA support for image classification and segmentation | {
"login": "namrahrehman",
"id": 93483806,
"node_id": "U_kgDOBZJzHg",
"avatar_url": "https://avatars.githubusercontent.com/u/93483806?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/namrahrehman",
"html_url": "https://github.com/namrahrehman",
"followers_url": "https://api.github.com/users... | [
{
"id": 4838806421,
"node_id": "LA_kwDOIf9iDM8AAAABIGpTlQ",
"url": "https://api.github.com/repos/huggingface/peft/labels/documentation",
"name": "documentation",
"color": "0075ca",
"default": true,
"description": "Improvements or additions to documentation"
}
] | closed | false | null | [] | null | 5 | 2024-09-06T14:25:51 | 2024-10-15T15:04:00 | 2024-10-15T15:04:00 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I had a question regarding LoRA support for image classification and segmentation. I understand that LoRA support is available for both as specified in the following tutorials:
https://github.com/huggingface/peft/blob/main/examples/semantic_segmentation/semantic_segmentation_peft_lora.ipynb
https://huggingface.co/doc... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2052/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2052/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2049 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2049/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2049/comments | https://api.github.com/repos/huggingface/peft/issues/2049/events | https://github.com/huggingface/peft/issues/2049 | 2,502,980,171 | I_kwDOIf9iDM6VMHJL | 2,049 | Applying Dora to o_proj of Meta-Llama-3.1-8B results in NaN | {
"login": "zwhe99",
"id": 33388552,
"node_id": "MDQ6VXNlcjMzMzg4NTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/33388552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zwhe99",
"html_url": "https://github.com/zwhe99",
"followers_url": "https://api.github.com/users/zwhe99/fo... | [] | closed | false | null | [] | null | 9 | 2024-09-03T14:06:29 | 2024-09-04T09:07:31 | 2024-09-04T06:25:52 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
transformers==4.43.3
peft==0.11.2
accelerate==0.33.0
### Who can help?
@BenjaminBossan @ariG23498
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [X] My own task or datase... | {
"login": "zwhe99",
"id": 33388552,
"node_id": "MDQ6VXNlcjMzMzg4NTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/33388552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zwhe99",
"html_url": "https://github.com/zwhe99",
"followers_url": "https://api.github.com/users/zwhe99/fo... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2049/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2049/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2046 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2046/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2046/comments | https://api.github.com/repos/huggingface/peft/issues/2046/events | https://github.com/huggingface/peft/issues/2046 | 2,498,883,653 | I_kwDOIf9iDM6U8fBF | 2,046 | Saving and then loading prompt tuned model doesn't work | {
"login": "edgekid",
"id": 40468578,
"node_id": "MDQ6VXNlcjQwNDY4NTc4",
"avatar_url": "https://avatars.githubusercontent.com/u/40468578?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/edgekid",
"html_url": "https://github.com/edgekid",
"followers_url": "https://api.github.com/users/edgeki... | [] | closed | false | null | [] | null | 0 | 2024-08-31T14:46:02 | 2024-09-01T11:22:58 | 2024-09-01T11:22:58 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
I am prompt tuning with Llama-2-7b-chat-hf(https://huggingface.co/meta-llama/Llama-2-7b-chat-hf) as base model. At the start of the training, the epoch average loss is about 2.5. At end of the training at epoch 10, the average loss becomes about 0.8. I am saving it locally. However, when I load it th... | {
"login": "edgekid",
"id": 40468578,
"node_id": "MDQ6VXNlcjQwNDY4NTc4",
"avatar_url": "https://avatars.githubusercontent.com/u/40468578?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/edgekid",
"html_url": "https://github.com/edgekid",
"followers_url": "https://api.github.com/users/edgeki... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2046/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2046/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2044 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2044/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2044/comments | https://api.github.com/repos/huggingface/peft/issues/2044/events | https://github.com/huggingface/peft/issues/2044 | 2,494,533,279 | I_kwDOIf9iDM6Ur46f | 2,044 | exclude_modules to keep specific layers or other quirky components out of a target_modules selection | {
"login": "bghira",
"id": 59658056,
"node_id": "MDQ6VXNlcjU5NjU4MDU2",
"avatar_url": "https://avatars.githubusercontent.com/u/59658056?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bghira",
"html_url": "https://github.com/bghira",
"followers_url": "https://api.github.com/users/bghira/fo... | [
{
"id": 4838806431,
"node_id": "LA_kwDOIf9iDM8AAAABIGpTnw",
"url": "https://api.github.com/repos/huggingface/peft/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
},
{
"id": 7219265350,
"node_id": "LA_kwDO... | closed | false | null | [] | null | 8 | 2024-08-29T13:56:30 | 2024-10-21T08:57:36 | 2024-10-21T08:57:36 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
The LoraConfig class should accept an optional `exclude_modules` list of regular expressions in an analogue to `target_modules` that then should be referenced when matching against entries from `target_modules`.
### Motivation
Targeting `proj_out` and `proj_mlp` on some models greatly improves th... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2044/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2043 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2043/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2043/comments | https://api.github.com/repos/huggingface/peft/issues/2043/events | https://github.com/huggingface/peft/issues/2043 | 2,494,424,234 | I_kwDOIf9iDM6UreSq | 2,043 | Missing modules in prompt-based PEFT when re-loading model | {
"login": "martin-wey",
"id": 33117631,
"node_id": "MDQ6VXNlcjMzMTE3NjMx",
"avatar_url": "https://avatars.githubusercontent.com/u/33117631?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/martin-wey",
"html_url": "https://github.com/martin-wey",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | null | 22 | 2024-08-29T13:18:58 | 2024-09-23T14:41:14 | 2024-09-23T14:41:14 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
python 3.10.10, transformers 4.44.2, peft 0.12.0
### Who can help?
@BenjaminBossan @sayak
### Information
- [X] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [X] My own task or dataset (give details below)
### R... | {
"login": "martin-wey",
"id": 33117631,
"node_id": "MDQ6VXNlcjMzMTE3NjMx",
"avatar_url": "https://avatars.githubusercontent.com/u/33117631?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/martin-wey",
"html_url": "https://github.com/martin-wey",
"followers_url": "https://api.github.com/use... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2043/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2043/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2041 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2041/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2041/comments | https://api.github.com/repos/huggingface/peft/issues/2041/events | https://github.com/huggingface/peft/issues/2041 | 2,489,584,346 | I_kwDOIf9iDM6UZAra | 2,041 | Low performance on mps backed | {
"login": "yaroslavyaroslav",
"id": 16612247,
"node_id": "MDQ6VXNlcjE2NjEyMjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/16612247?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaroslavyaroslav",
"html_url": "https://github.com/yaroslavyaroslav",
"followers_url": "https://... | [] | closed | false | null | [] | null | 8 | 2024-08-27T14:39:37 | 2024-11-02T15:04:23 | 2024-11-02T15:04:23 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
```
accelerate 0.33.0
peft 0.12.0
Python 3.12.5
macOS: 15.0
MacBook pro M1 Pro 16 gb
```
### Who can help?
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` fo... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2041/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2041/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2035 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2035/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2035/comments | https://api.github.com/repos/huggingface/peft/issues/2035/events | https://github.com/huggingface/peft/issues/2035 | 2,485,292,839 | I_kwDOIf9iDM6UIo8n | 2,035 | Cannot use prefix tuning on quantized Codellama | {
"login": "MabelQi",
"id": 48721819,
"node_id": "MDQ6VXNlcjQ4NzIxODE5",
"avatar_url": "https://avatars.githubusercontent.com/u/48721819?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MabelQi",
"html_url": "https://github.com/MabelQi",
"followers_url": "https://api.github.com/users/MabelQ... | [
{
"id": 4838806417,
"node_id": "LA_kwDOIf9iDM8AAAABIGpTkQ",
"url": "https://api.github.com/repos/huggingface/peft/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4838806438,
"node_id": "LA_kwDOIf9iDM8AAAABIGp... | closed | false | null | [] | null | 5 | 2024-08-25T14:23:49 | 2024-10-02T15:03:59 | 2024-10-02T15:03:59 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
I'm trying to PEFT with quantized LLMs. When I used prompt tuning, LoRA, and IA3, it works. However, when I use prefix tuning on 8-bit codellama-7b-hf, it reports the following error:

### Who can help?
@B... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2035/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2035/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2032 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2032/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2032/comments | https://api.github.com/repos/huggingface/peft/issues/2032/events | https://github.com/huggingface/peft/issues/2032 | 2,480,405,872 | I_kwDOIf9iDM6T1_1w | 2,032 | Unobvious behavior of model after applying merge_and_unload | {
"login": "MezentsevIlya",
"id": 26442228,
"node_id": "MDQ6VXNlcjI2NDQyMjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/26442228?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MezentsevIlya",
"html_url": "https://github.com/MezentsevIlya",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | 3 | 2024-08-22T10:19:35 | 2024-08-22T11:38:21 | 2024-08-22T11:38:20 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
peft == 0.12.0
transformers==4.44.0
accelerate==0.33.0
Python 3.9.0
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [ ] My own task or dataset (give details ... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2032/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2032/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2027 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2027/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2027/comments | https://api.github.com/repos/huggingface/peft/issues/2027/events | https://github.com/huggingface/peft/issues/2027 | 2,477,448,474 | I_kwDOIf9iDM6Tqt0a | 2,027 | Unable to load peft checkpoint | {
"login": "BigDataMLexplorer",
"id": 122678434,
"node_id": "U_kgDOB0_sog",
"avatar_url": "https://avatars.githubusercontent.com/u/122678434?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BigDataMLexplorer",
"html_url": "https://github.com/BigDataMLexplorer",
"followers_url": "https://api... | [] | closed | false | null | [] | null | 7 | 2024-08-21T08:44:05 | 2024-08-22T15:10:40 | 2024-08-22T15:10:40 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
**- transformers version: 4.44.0**
**- peft 0.12.0**
- Platform: Linux-4.18.0-477.27.1.el8_8.x86_64-x86_64-with-glibc2.28
**- Python version: 3.9.4**
- Huggingface_hub version: 0.23.2
- Safetensors version: 0.4.3
**- Accelerate version: 0.33.0**
- Accelerate config: not found
**- PyTorch... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2027/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2027/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2020 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2020/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2020/comments | https://api.github.com/repos/huggingface/peft/issues/2020/events | https://github.com/huggingface/peft/issues/2020 | 2,475,000,447 | I_kwDOIf9iDM6ThYJ_ | 2,020 | replace_lora_weights_loftq() throw HFValidationError when base model is loaded using a local path | {
"login": "Anstinus",
"id": 1845288,
"node_id": "MDQ6VXNlcjE4NDUyODg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1845288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Anstinus",
"html_url": "https://github.com/Anstinus",
"followers_url": "https://api.github.com/users/Ansti... | [] | closed | false | null | [] | null | 2 | 2024-08-20T08:11:49 | 2024-08-20T12:19:08 | 2024-08-20T12:19:07 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
transformers 4.44.0
peft 0.12.0
### Who can help?
@BenjaminBossan @sayakpaul
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder
- [ ] My own task or dataset (give details belo... | {
"login": "Anstinus",
"id": 1845288,
"node_id": "MDQ6VXNlcjE4NDUyODg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1845288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Anstinus",
"html_url": "https://github.com/Anstinus",
"followers_url": "https://api.github.com/users/Ansti... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2020/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2020/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2018 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2018/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2018/comments | https://api.github.com/repos/huggingface/peft/issues/2018/events | https://github.com/huggingface/peft/issues/2018 | 2,473,326,414 | I_kwDOIf9iDM6Ta_dO | 2,018 | With tied embeddings adapter merged to tied layers | {
"login": "ltoniazzi",
"id": 61414566,
"node_id": "MDQ6VXNlcjYxNDE0NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/61414566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ltoniazzi",
"html_url": "https://github.com/ltoniazzi",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | null | 7 | 2024-08-19T13:09:21 | 2024-12-02T10:42:44 | 2024-09-19T09:26:45 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
`peft=0.12.0`
`transformers =4.44.0`
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder
- [x] My own task or dataset (give details below)
### Rep... | {
"login": "BenjaminBossan",
"id": 6229650,
"node_id": "MDQ6VXNlcjYyMjk2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6229650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenjaminBossan",
"html_url": "https://github.com/BenjaminBossan",
"followers_url": "https://api.gith... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2018/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/peft/issues/2018/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2016 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2016/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2016/comments | https://api.github.com/repos/huggingface/peft/issues/2016/events | https://github.com/huggingface/peft/issues/2016 | 2,472,210,217 | I_kwDOIf9iDM6TWu8p | 2,016 | Cannot apply both PEFT QLoRA and DeepSpeed ZeRO3 | {
"login": "echo-yi",
"id": 95452590,
"node_id": "U_kgDOBbB9rg",
"avatar_url": "https://avatars.githubusercontent.com/u/95452590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/echo-yi",
"html_url": "https://github.com/echo-yi",
"followers_url": "https://api.github.com/users/echo-yi/follow... | [] | closed | false | null | [] | null | 9 | 2024-08-19T00:08:21 | 2024-10-08T15:03:49 | 2024-10-08T15:03:48 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
```Shell
- `Accelerate` version: 0.33.0
- Platform: Linux-5.15.133+-x86_64-with-glibc2.35
- `accelerate` bash location: /opt/conda/bin/accelerate
- Python version: 3.10.14
- Numpy version: 1.25.2
- PyTorch version (GPU?): 2.2.0+cu121 (True)
- PyTorch XPU available: False
- PyTorch NPU availab... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2016/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2016/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2015 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2015/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2015/comments | https://api.github.com/repos/huggingface/peft/issues/2015/events | https://github.com/huggingface/peft/issues/2015 | 2,471,901,385 | I_kwDOIf9iDM6TVjjJ | 2,015 | XLoRA: training issues, Gradients will be None | {
"login": "benjamin-marie",
"id": 85218125,
"node_id": "MDQ6VXNlcjg1MjE4MTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/85218125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/benjamin-marie",
"html_url": "https://github.com/benjamin-marie",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | null | 10 | 2024-08-18T10:30:50 | 2024-11-17T15:03:26 | 2024-11-17T15:03:26 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I installed PEFT from source.
And use the latest versions of Transformers and TRL.
I passed the XLoRA model to TRL but the training doesn't seem to work (training loss doesn't decrease and validation loss remains constant). I get this warning:
UserWarning: None of the inputs have requires_grad=True. Gradients will b... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2015/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2015/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2014 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2014/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2014/comments | https://api.github.com/repos/huggingface/peft/issues/2014/events | https://github.com/huggingface/peft/issues/2014 | 2,471,731,730 | I_kwDOIf9iDM6TU6IS | 2,014 | QLora with DeepSpeed support | {
"login": "ysj1173886760",
"id": 42030331,
"node_id": "MDQ6VXNlcjQyMDMwMzMx",
"avatar_url": "https://avatars.githubusercontent.com/u/42030331?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ysj1173886760",
"html_url": "https://github.com/ysj1173886760",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | null | 5 | 2024-08-18T01:06:30 | 2024-08-19T10:44:10 | 2024-08-18T05:36:38 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### System Info
peft: 0.12.1.dev0
accelerate: 0.33.0.dev0
transformers: 4.45.0.dev0
platform: ubuntu22.04 LTS
python 3.10.12
hardward: NVIDIA RTX2080TI * 4
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported... | {
"login": "ysj1173886760",
"id": 42030331,
"node_id": "MDQ6VXNlcjQyMDMwMzMx",
"avatar_url": "https://avatars.githubusercontent.com/u/42030331?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ysj1173886760",
"html_url": "https://github.com/ysj1173886760",
"followers_url": "https://api.githu... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2014/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2014/timeline | null | completed | false |
https://api.github.com/repos/huggingface/peft/issues/2012 | https://api.github.com/repos/huggingface/peft | https://api.github.com/repos/huggingface/peft/issues/2012/labels{/name} | https://api.github.com/repos/huggingface/peft/issues/2012/comments | https://api.github.com/repos/huggingface/peft/issues/2012/events | https://github.com/huggingface/peft/issues/2012 | 2,471,299,311 | I_kwDOIf9iDM6TTQjv | 2,012 | Incorporating contrastive prefixes with PrefixTuning | {
"login": "AvantiB",
"id": 39782134,
"node_id": "MDQ6VXNlcjM5NzgyMTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/39782134?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AvantiB",
"html_url": "https://github.com/AvantiB",
"followers_url": "https://api.github.com/users/Avanti... | [] | closed | false | null | [] | null | 2 | 2024-08-17T03:00:13 | 2024-09-24T15:03:48 | 2024-09-24T15:03:48 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Feature request
I was wondering if you could shed some light on how to incorporate contrastive prefixes with the PrefixTuning wrapper (https://huggingface.co/docs/peft/en/package_reference/prefix_tuning) as detailed in this paper (https://aclanthology.org/2022.findings-acl.229/).
### Motivation
Contrastive Prefi... | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url"... | {
"url": "https://api.github.com/repos/huggingface/peft/issues/2012/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/peft/issues/2012/timeline | null | completed | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.