mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-04-22 15:29:08 +00:00
Added methods to the dataloader to automatically generate controls for line, mask, inpainting, depth, and pose.
This commit is contained in:
@@ -3009,6 +3009,8 @@ class StableDiffusion:
|
||||
active_modules = ['vae']
|
||||
if device_state_preset in ['cache_clip']:
|
||||
active_modules = ['clip']
|
||||
if device_state_preset in ['unload']:
|
||||
active_modules = []
|
||||
if device_state_preset in ['generate']:
|
||||
active_modules = ['vae', 'unet', 'text_encoder', 'adapter', 'refiner_unet']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user