Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Torch2coreml multiprocessing #312

Open
rbourgeat opened this issue Jan 30, 2024 · 0 comments
Open

Torch2coreml multiprocessing #312

rbourgeat opened this issue Jan 30, 2024 · 0 comments

Comments

@rbourgeat
Copy link

rbourgeat commented Jan 30, 2024

Hello ! First of all thank you for this great repository !

I just tried for the first time the torch2coreml module and i don't know why only one CPU and 0% GPU is used when i convert the sdxl-turbo model...
If it's normal then why not do multiprocessing ?

Command used:

python -m python_coreml_stable_diffusion.torch2coreml --convert-unet --convert-text-encoder --convert-vae-decoder --convert-safety-checker --model-version stabilityai/sdxl-turbo -o sdxl-turbo

Macbook info:

Apple M1 Max
32Go RAM

Logs: https://gist.github.com/rbourgeat/9b7523d412a6eaf0cafbd91827a61454

@rbourgeat rbourgeat changed the title Torch2coreml multithreading Torch2coreml multiprocessing Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant