mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-04-25 16:59:22 +00:00
Small fixed for DFE, polar guidance, and other things
This commit is contained in:
@@ -974,12 +974,17 @@ class StableDiffusion:
|
||||
"prediction_type": self.prediction_type,
|
||||
})
|
||||
else:
|
||||
arch = 'sd'
|
||||
if self.model_config.is_pixart:
|
||||
arch = 'pixart'
|
||||
if self.model_config.is_flux:
|
||||
arch = 'flux'
|
||||
noise_scheduler = get_sampler(
|
||||
sampler,
|
||||
{
|
||||
"prediction_type": self.prediction_type,
|
||||
},
|
||||
'sd' if not self.is_pixart else 'pixart'
|
||||
arch
|
||||
)
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user