mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-01-23 22:58:51 +01:00
Formatting changes.
This commit is contained in:
parent
026dd38480
commit
8adf965d0b
@ -171,10 +171,10 @@ def load_model_ckpt():
|
||||
|
||||
if not thread_data.precision:
|
||||
thread_data.precision = 'full' if thread_data.force_full_precision else 'autocast'
|
||||
|
||||
if not thread_data.unet_bs:
|
||||
thread_data.unet_bs = 1
|
||||
|
||||
|
||||
if thread_data.device == 'cpu':
|
||||
thread_data.precision = 'full'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user