mirror of
https://github.com/wassname/peft.git
synced 2026-09-09 11:28:32 +08:00
Update lora.py
This commit is contained in:
@@ -33,7 +33,7 @@ def is_bnb_available():
|
||||
|
||||
|
||||
def is_gptq_available():
|
||||
return importlib.util.find_spec("quant_cuda") is not None
|
||||
return importlib.util.find_spec("gptq_llama.quant_cuda") is not None
|
||||
|
||||
|
||||
if is_bnb_available():
|
||||
|
||||
Reference in New Issue
Block a user