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
|
pass
|
||||||
|
|
||||||
|
if loftq_config is None: loftq_config = {}
|
||||||
|
|
||||||
import inspect
|
import inspect
|
||||||
signature = str(inspect.signature(LoraConfig))
|
signature = str(inspect.signature(LoraConfig))
|
||||||
SUPPORTS_LOFTQ = "loftq_config" in signature
|
SUPPORTS_LOFTQ = "loftq_config" in signature
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue