mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
add onnx to installer
This commit is contained in:
@@ -390,6 +390,8 @@ def check_python():
|
||||
|
||||
# check onnx version
|
||||
def check_onnx():
|
||||
if not installed('onnx', quiet=True):
|
||||
install('onnx', 'onnx', ignore=True)
|
||||
if not installed('onnxruntime', quiet=True) and not installed('onnxruntime-gpu', quiet=True): # allow either
|
||||
install('onnxruntime', 'onnxruntime', ignore=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user