ToTheBeginning / PuLID

Official code for PuLID: Pure and Lightning ID Customization via Contrastive Alignment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MacOS Installation Issue

rbychn opened this issue · comments

requirements.txt

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

app.py

AssertionError: Torch not compiled with CUDA enabled

requirements.txt

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

app.py

AssertionError: Torch not compiled with CUDA enabled

self.device = 'cuda'

You just need to change cuda to mps and install onnxruntime-silicon instead of onnxruntime-gpu

You also need to update the libraries as well.