Closed
Description
Mirroring an issue I created in the coremltools
repo: apple/coremltools#1718
Running pip install -e .
as per the setup instructions before running python_coreml_stable_diffusion.torch2coreml
is broken as of yesterday (when numpy
v1.24.0 was released) because v1.24.0 removes np.bool
which coremltools
uses.
A workaround for now is to:
pip install -e .
pip uninstall -y numpy
pip install numpy==1.23.5
Which means that running python_coreml_stable_diffusion.torch2coreml
is then successful.
Metadata
Metadata
Assignees
Labels
No labels