fix(api): make sure new SD converter does not produce extra files
This commit is contained in:
parent
29ccd16437
commit
15b9b51ed5
|
@ -895,6 +895,8 @@ def convert_diffusion_diffusers_optimum(
|
||||||
v2=v2,
|
v2=v2,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
collate_cnet(cnet_path)
|
||||||
|
|
||||||
if conversion.half:
|
if conversion.half:
|
||||||
infer_shapes_path(cnet_path)
|
infer_shapes_path(cnet_path)
|
||||||
cnet = load_model(cnet_path)
|
cnet = load_model(cnet_path)
|
||||||
|
|
Loading…
Reference in New Issue