mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
blackify
This commit is contained in:
parent
ab5d938a1d
commit
446fb4a438
@ -419,7 +419,7 @@ class ModelInstall(object):
|
|||||||
"""
|
"""
|
||||||
_, name = repo_id.split("/")
|
_, name = repo_id.split("/")
|
||||||
precision = torch_dtype(choose_torch_device())
|
precision = torch_dtype(choose_torch_device())
|
||||||
variants = ["fp16",None] if precision == torch.float16 else [None,"fp16"]
|
variants = ["fp16", None] if precision == torch.float16 else [None, "fp16"]
|
||||||
|
|
||||||
model = None
|
model = None
|
||||||
for variant in variants:
|
for variant in variants:
|
||||||
|
Loading…
Reference in New Issue
Block a user