Skip to content

Commit

Permalink
feat: add ROCm provider to list (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 19, 2023
1 parent 137a5a8 commit 3bcd7a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions api/onnx_web/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@
platform_providers = {
'amd': 'DmlExecutionProvider',
'cpu': 'CPUExecutionProvider',
'cuda': 'CUDAExecutionProvider',
'directml': 'DmlExecutionProvider',
'nvidia': 'CUDAExecutionProvider',
'rocm': 'ROCmExecutionProvider',
}
pipeline_schedulers = {
'ddim': DDIMScheduler,
Expand Down
4 changes: 3 additions & 1 deletion gui/src/strings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ export const MODEL_LABELS = {
export const PLATFORM_LABELS: Record<string, string> = {
amd: 'AMD GPU',
cpu: 'CPU',
nvidia: 'Nvidia GPU',
directml: 'DirectML',
nvidia: 'CUDA',
rocm: 'ROCm',
};

export const SCHEDULER_LABELS: Record<string, string> = {
Expand Down

0 comments on commit 3bcd7a8

Please sign in to comment.