mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Move onnx to optional dependencies
This commit is contained in:
parent
33245b37ad
commit
57271ad125
@ -62,8 +62,6 @@ dependencies = [
|
||||
"npyscreen",
|
||||
"numpy<1.24",
|
||||
"omegaconf",
|
||||
"onnx",
|
||||
"onnxruntime-gpu",
|
||||
"opencv-python",
|
||||
"picklescan",
|
||||
"pillow",
|
||||
@ -105,6 +103,18 @@ dependencies = [
|
||||
"xformers~=0.0.19; sys_platform!='darwin'",
|
||||
"triton; sys_platform=='linux'",
|
||||
]
|
||||
"onnx" = [
|
||||
"onnx",
|
||||
"onnxruntime",
|
||||
]
|
||||
"onnx-cuda" = [
|
||||
"onnx",
|
||||
"onnxruntime-gpu",
|
||||
]
|
||||
"onnx-directml" = [
|
||||
"onnx",
|
||||
"onnxruntime-directml",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user