from local
This commit is contained in:
parent
305a7ddc6b
commit
86cc17624c
Binary file not shown.
Binary file not shown.
@ -1538,8 +1538,7 @@ def run_adapter(rank, world_size, args, wb=None):
|
|||||||
adapter_names = []
|
adapter_names = []
|
||||||
adapter_param = []
|
adapter_param = []
|
||||||
for n, p in model.named_parameters():
|
for n, p in model.named_parameters():
|
||||||
print(n)
|
if 'adapters' in n or 'joiner' in n or 'simple' in n:
|
||||||
if 'adapters' in n:
|
|
||||||
adapter_names.append(n)
|
adapter_names.append(n)
|
||||||
adapter_param.append(p)
|
adapter_param.append(p)
|
||||||
#else:
|
#else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user