Skip to content

Commit

Permalink
Merge pull request cubiq#223 from Visionatrix/fix/requirements
Browse files Browse the repository at this point in the history
install correct onnxruntime on mac
  • Loading branch information
cubiq authored Sep 28, 2024
2 parents 579bdf6 + 9e35576 commit 84ec3a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion InstantID.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class InstantIDFaceAnalysis:
def INPUT_TYPES(s):
return {
"required": {
"provider": (["CPU", "CUDA", "ROCM"], ),
"provider": (["CPU", "CUDA", "ROCM", "CoreML"], ),
},
}

Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
insightface
onnxruntime
onnxruntime-gpu
onnxruntime-gpu; sys_platform != 'darwin' and platform_machine == 'x86_64'
onnxruntime-silicon; sys_platform == 'darwin'

0 comments on commit 84ec3a0

Please sign in to comment.