mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-04-16 07:28:57 +02: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:
|
if not thread_data.precision:
|
||||||
thread_data.precision = 'full' if thread_data.force_full_precision else 'autocast'
|
thread_data.precision = 'full' if thread_data.force_full_precision else 'autocast'
|
||||||
|
|
||||||
if not thread_data.unet_bs:
|
if not thread_data.unet_bs:
|
||||||
thread_data.unet_bs = 1
|
thread_data.unet_bs = 1
|
||||||
|
|
||||||
|
|
||||||
if thread_data.device == 'cpu':
|
if thread_data.device == 'cpu':
|
||||||
thread_data.precision = 'full'
|
thread_data.precision = 'full'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user