Add a way to do full rank lora modules of non lora layers such as embeddings, norm, etc
This commit is contained in:
1 parent
4eb0707639
commit
6ecff36f26
3 files changed
+139
-1
No files matched your search
@@ -220,6 +220,10 @@ class NetworkConfig:
|
||||
|
||||
# start from a pretrained lora
|
||||
self.pretrained_lora_path = kwargs.get('pretrained_lora_path', None)
|
||||
|
||||
# will create diffirential full weight modules for layers not conv/linear
|
||||
# only useful in very special cases.
|
||||
self.all_layers = kwargs.get('all_layers', False)
|
||||
|
||||
|
||||
AdapterTypes = Literal['t2i', 'ip', 'ip+', 'clip', 'ilora', 'photo_maker', 'control_net', 'control_lora', 'i2v']
|
||||
|
||||
Reference in new issue
Block a user