-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potentially a bug #1198
Comments
Thanks for bringing this up. The |
ngocbh
pushed a commit
to ngocbh/peft
that referenced
this issue
Dec 1, 2023
Hi @BenjaminBossan, I created a PR to fix this issue. |
ngocbh
pushed a commit
to ngocbh/peft
that referenced
this issue
Dec 9, 2023
BenjaminBossan
pushed a commit
that referenced
this issue
Dec 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/huggingface/peft/blob/2b901ee57230559aaf39867c7698f6aca3617162/src/peft/tuners/tuners_utils.py#L260C32-L260C32
inject_adapters have its own
model
argument but, in line 260 and 263, it accesses model parameters usingself.model
. I guess it's not a safe choice.The text was updated successfully, but these errors were encountered: