Skip to content

Commit

Permalink
fix: onnx package conflict during setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiniuYu committed Feb 21, 2023
1 parent dabbe8b commit 00116ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,10 @@
],
extras_require={
'onnx': [
'onnxruntime',
'onnx',
'onnxmltools',
]
+ (['onnxruntime-gpu>=1.8.0'] if sys.platform != 'darwin' else []),
+ (['onnxruntime-gpu>=1.8.0'] if sys.platform != 'darwin' else ['onnxruntime']),
'tensorrt': ['nvidia-tensorrt'],
'transformers': ['transformers>=4.16.2'],
'search': ['annlite>=0.3.10'],
Expand Down

0 comments on commit 00116ce

Please sign in to comment.