mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-25 12:39:25 +01:00
fix bugs
This commit is contained in:
@@ -116,7 +116,6 @@ class EfficientStableDiffusion(TorchModel):
|
||||
r=rank,
|
||||
target_modules=['to_q', 'to_k', 'to_v', 'to_out.0'],
|
||||
merge_weights=False,
|
||||
only_lora_trainable=False,
|
||||
use_merged_linear=False)
|
||||
self.unet = Swift.prepare_model(self.unet, lora_config)
|
||||
elif tuner_name == 'swift-adapter':
|
||||
|
||||
Reference in New Issue
Block a user