Update _utils.py
This commit is contained in:
parent
2748eecc9d
commit
e8855dfd4f
1 changed files with 2 additions and 2 deletions
|
|
@ -691,8 +691,8 @@ def patch_compiling_bitsandbytes():
|
|||
import peft.tuners.lora.bnb
|
||||
peft.tuners.lora.bnb.Linear4bit.forward = \
|
||||
torch._disable_dynamo(peft.tuners.lora.bnb.Linear4bit.forward)
|
||||
peft.tuners.lora.bnb.Linear8bit.forward = \
|
||||
torch._disable_dynamo(peft.tuners.lora.bnb.Linear8bit.forward)
|
||||
peft.tuners.lora.bnb.Linear8bitLt.forward = \
|
||||
torch._disable_dynamo(peft.tuners.lora.bnb.Linear8bitLt.forward)
|
||||
return
|
||||
pass
|
||||
# =============================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue