Skip to content

Commit

Permalink
fix: onnx version
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiniuYu committed Feb 22, 2023
1 parent ca1274a commit bcd824c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@
'onnx',
'onnxmltools',
]
+ (['onnxruntime-gpu'] if sys.platform != 'darwin' else ['onnxruntime']),
+ (
['onnxruntime-gpu<=1.13.1']
if sys.platform != 'darwin'
else ['onnxruntime<=1.13.1']
),
'tensorrt': [
'nvidia-tensorrt==8.4.1.5',
],
Expand Down

0 comments on commit bcd824c

Please sign in to comment.