Skip to content

Commit 875c773

Browse files
authored
Update base.py (#39)
added ROCM
1 parent b9802de commit 875c773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rtmlib/tools/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ def check_mps_support():
2424
'onnxruntime': {
2525
'cpu': 'CPUExecutionProvider',
2626
'cuda': 'CUDAExecutionProvider',
27+
'rocm': 'ROCMExecutionProvider',
2728
'mps': 'CoreMLExecutionProvider' if check_mps_support() else 'CPUExecutionProvider'
2829
},
2930
}
3031

31-
3232
class BaseTool(metaclass=ABCMeta):
3333

3434
def __init__(self,

0 commit comments

Comments
 (0)