mirror of
https://github.com/unslothai/unsloth
synced 2026-04-21 13:37:39 +00:00
Update llama.py
This commit is contained in:
parent
074aa737ce
commit
54b26c0466
1 changed files with 2 additions and 0 deletions
|
|
@ -1216,6 +1216,8 @@ class FastLlamaModel:
|
|||
)
|
||||
pass
|
||||
|
||||
if loftq_config is None: loftq_config = {}
|
||||
|
||||
import inspect
|
||||
signature = str(inspect.signature(LoraConfig))
|
||||
SUPPORTS_LOFTQ = "loftq_config" in signature
|
||||
|
|
|
|||
Loading…
Reference in a new issue