You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to convert to coreMLModels I am getting this error AttributeError: 'Namespace' object has no attribute 'merge_chunks_in_pipeline_model'
#48
Open
Zulqurnain24 opened this issue
Oct 26, 2023
· 0 comments
INFO:python_coreml_stable_diffusion.chunk_mlprogram:Program loaded in 3.4 seconds
INFO:python_coreml_stable_diffusion.chunk_mlprogram:Converting the two programs
Running MIL frontend_milinternal pipeline: 0 passes [00:00, ? passes/s]
Running MIL default pipeline: 100%|██████████████████████████████████████████████████| 66/66 [00:05<00:00, 13.00 passes/s]
Running MIL backend_mlprogram pipeline: 100%|████████████████████████████████████████| 12/12 [00:00<00:00, 68.10 passes/s]
INFO:python_coreml_stable_diffusion.chunk_mlprogram:Conversion of first chunk done.
Running MIL frontend_milinternal pipeline: 0 passes [00:00, ? passes/s]
Running MIL default pipeline: 100%|██████████████████████████████████████████████████| 66/66 [00:05<00:00, 12.42 passes/s]
Running MIL backend_mlprogram pipeline: 100%|████████████████████████████████████████| 12/12 [00:00<00:00, 59.64 passes/s]
INFO:python_coreml_stable_diffusion.chunk_mlprogram:Conversion of second chunk done.
Traceback (most recent call last):
File "/Users/mohammadzulqurnain/opt/anaconda3/envs/coremlsd2_38/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/mohammadzulqurnain/opt/anaconda3/envs/coremlsd2_38/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/mohammadzulqurnain/Documents/Projects/ImgGenSD2-main/SD21ModelConvChunked/ml-stable-diffusion/python_coreml_stable_diffusion/torch2coreml.py", line 1677, in
main(args)
File "/Users/mohammadzulqurnain/Documents/Projects/ImgGenSD2-main/SD21ModelConvChunked/ml-stable-diffusion/python_coreml_stable_diffusion/torch2coreml.py", line 1511, in main
convert_unet(pipe, args)
File "/Users/mohammadzulqurnain/Documents/Projects/ImgGenSD2-main/SD21ModelConvChunked/ml-stable-diffusion/python_coreml_stable_diffusion/torch2coreml.py", line 1077, in convert_unet
chunk_mlprogram.main(args)
File "/Users/mohammadzulqurnain/Documents/Projects/ImgGenSD2-main/SD21ModelConvChunked/ml-stable-diffusion/python_coreml_stable_diffusion/chunk_mlprogram.py", line 317, in main
if args.merge_chunks_in_pipeline_model:
AttributeError: 'Namespace' object has no attribute 'merge_chunks_in_pipeline_model'``
The text was updated successfully, but these errors were encountered:
INFO:python_coreml_stable_diffusion.chunk_mlprogram:Program loaded in 3.4 seconds
INFO:python_coreml_stable_diffusion.chunk_mlprogram:Converting the two programs
Running MIL frontend_milinternal pipeline: 0 passes [00:00, ? passes/s]
Running MIL default pipeline: 100%|██████████████████████████████████████████████████| 66/66 [00:05<00:00, 13.00 passes/s]
Running MIL backend_mlprogram pipeline: 100%|████████████████████████████████████████| 12/12 [00:00<00:00, 68.10 passes/s]
INFO:python_coreml_stable_diffusion.chunk_mlprogram:Conversion of first chunk done.
Running MIL frontend_milinternal pipeline: 0 passes [00:00, ? passes/s]
Running MIL default pipeline: 100%|██████████████████████████████████████████████████| 66/66 [00:05<00:00, 12.42 passes/s]
Running MIL backend_mlprogram pipeline: 100%|████████████████████████████████████████| 12/12 [00:00<00:00, 59.64 passes/s]
INFO:python_coreml_stable_diffusion.chunk_mlprogram:Conversion of second chunk done.
Traceback (most recent call last):
File "/Users/mohammadzulqurnain/opt/anaconda3/envs/coremlsd2_38/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/mohammadzulqurnain/opt/anaconda3/envs/coremlsd2_38/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/mohammadzulqurnain/Documents/Projects/ImgGenSD2-main/SD21ModelConvChunked/ml-stable-diffusion/python_coreml_stable_diffusion/torch2coreml.py", line 1677, in
main(args)
File "/Users/mohammadzulqurnain/Documents/Projects/ImgGenSD2-main/SD21ModelConvChunked/ml-stable-diffusion/python_coreml_stable_diffusion/torch2coreml.py", line 1511, in main
convert_unet(pipe, args)
File "/Users/mohammadzulqurnain/Documents/Projects/ImgGenSD2-main/SD21ModelConvChunked/ml-stable-diffusion/python_coreml_stable_diffusion/torch2coreml.py", line 1077, in convert_unet
chunk_mlprogram.main(args)
File "/Users/mohammadzulqurnain/Documents/Projects/ImgGenSD2-main/SD21ModelConvChunked/ml-stable-diffusion/python_coreml_stable_diffusion/chunk_mlprogram.py", line 317, in main
if args.merge_chunks_in_pipeline_model:
AttributeError: 'Namespace' object has no attribute 'merge_chunks_in_pipeline_model'``
The text was updated successfully, but these errors were encountered: