Update utils.py
This commit is contained in:
parent
06188007ee
commit
88544eeb67
1 changed files with 0 additions and 1 deletions
|
|
@ -97,7 +97,6 @@ def get_lora_parameters(proj):
|
|||
pass
|
||||
|
||||
|
||||
@functools.cache
|
||||
def get_lora_parameters_bias(proj):
|
||||
# For DPO or disabled adapters
|
||||
base_layer = getattr(proj, "base_layer", proj) # (proj.base_layer if hasattr(proj, "base_layer") else proj)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue