ToTheBeginning/PuLID

MacOS Installation Issue

Opened this issue · 1 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.