modelscope / DiffSynth-Studio

Enjoy the magic of Diffusion models!
Apache License 2.0
6.35k stars 569 forks source link

Cupy-cuda12x #159

Open happy99king opened 4 weeks ago

happy99king commented 4 weeks ago

I hope this message finds you well.

I am trying to set up the DiffSynth-Studio project on my macOS system, but I’ve encountered some issues during the installation process. Specifically, I’m getting an error related to the cupy-cuda12x package when running pip install -e .. Here are the details of the issue:

ERROR: Could not find a version that satisfies the requirement cupy-cuda12x (from diffsynth) (from versions: none) ERROR: No matching distribution found for cupy-cuda12x

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))': /simple/cupy-cuda12x/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))': /simple/cupy-cuda12x/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))': /simple/cupy-cuda12x/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))': /simple/cupy-cuda12x/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))': /simple/cupy-cuda12x/

Artiprocher commented 4 weeks ago

MacOS doesn't support CUDA, thus cupy cannot be installed. You can remove the cupy in the requirements.txt. This package is only needed in FastBlend.