Skip to content

Commit

Permalink
Update base.py (#39)
Browse files Browse the repository at this point in the history
added ROCM
  • Loading branch information
jschoch authored Nov 18, 2024
1 parent b9802de commit 875c773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtmlib/tools/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ def check_mps_support():
'onnxruntime': {
'cpu': 'CPUExecutionProvider',
'cuda': 'CUDAExecutionProvider',
'rocm': 'ROCMExecutionProvider',
'mps': 'CoreMLExecutionProvider' if check_mps_support() else 'CPUExecutionProvider'
},
}


class BaseTool(metaclass=ABCMeta):

def __init__(self,
Expand Down

0 comments on commit 875c773

Please sign in to comment.