ml-stable-diffusion
ml-stable-diffusion copied to clipboard
Using --compute-unit CPU_AND_GPU results in a black image
python -m python_coreml_stable_diffusion.pipeline --prompt "highly detailed photo of assistant professor getting lost in a data labyrinth with venomous snakes" -i output-mlpackages -o images --compute-unit ALL --seed 93
produces the attached image.
python -m python_coreml_stable_diffusion.pipeline --prompt "highly detailed photo of assistant professor getting lost in a data labyrinth with venomous snakes" -i output-mlpackages -o images --compute-unit CPU_AND_GPU --seed 93
produces a black image (also attached).
Both runs on M1 Max MacBook with Ventura, and default installation of ml-stable-diffusion.
Model Name: MacBook Pro
Model Identifier: MacBookPro18,2
Model Number: Z14X0002GD/A
Chip: Apple M1 Max
Total Number of Cores: 10 (8 performance and 2 efficiency)
Memory: 32 GB
System Firmware Version: 8419.41.10
OS Loader Version: 8419.41.10
Chipset Model: Apple M1 Max
Type: GPU
Bus: Built-In
Total Number of Cores: 32
Vendor: Apple (0x106b)
Metal Support: Metal 3

