We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 421e4c0 commit b409cbeCopy full SHA for b409cbe
setup.py
@@ -157,7 +157,7 @@ def run(self):
157
if len(args) > 3:
158
subprocess.run(args, check=True, stdout=subprocess.PIPE)
159
160
- dest = 'onnxruntime/capi/libonnxruntime_providers_' + 'rocm.so' if is_rocm else 'cuda.so'
+ dest = 'onnxruntime/capi/libonnxruntime_providers_' + ('rocm.so' if is_rocm else 'cuda.so')
161
if path.isfile(dest):
162
result = subprocess.run(['patchelf', '--print-needed', dest],
163
check=True, stdout=subprocess.PIPE, universal_newlines=True)
0 commit comments