Running tutorial_train.py on M1 pro giving issue
I see the following warning and failed assertion before the program is killed:
UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '
failed assertion [MPSTemporaryNDArray initWithDevice:descriptor:] Error: NDArray dimension length > INT_MAX
How can I resolve this issue? Please let me know if I need to share any more details
Same here, happens for example when using reference_only
Same problem here. Reference only within ControlNet. Crashes Python every time and gives above error.
Same, happens on all "reference" preprocessors on Mac.
If you use this as an extension of stable-diffusion-webui, deleting venv helped in my case.
If you use this as an extension of
stable-diffusion-webui, deletingvenvhelped in my case.
May i know how to deleting venv ? thanks
Just open your stable-diffusion-webui folder there should be a venv folder in there that you can delete.
After that you can just run webui.sh which will install the needed environment again from scratch.