Skip to content

Commit

Permalink
feat(api): experimentally add CUDA provider and Nvidia platform
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 7, 2023
1 parent bb77d45 commit 8359bd5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ONNX Web

This is a web UI for running ONNX models with GPU acceleration locally or on a remote machine.
This is a web UI for running ONNX models with GPU acceleration or in software, running locally or on a remote machine.

The API runs on both Linux and Windows and provides access to the major functionality of `diffusers`, metadata
about the available models and accelerators, and the output of previous runs.
The API runs on both Linux and Windows and provides access to the major functionality of `diffusers`, along with
metadata about the available models and accelerators, and the output of previous runs. Hardware acceleration is
supported for AMD and experimental for Nvidia, with a CPU fallback capable of running on laptop-class machines.

The GUI runs in all major browsers, including on mobile devices, and allows you to select the model and accelerator
being used, along with the prompt and other image parameters. The last few output images are shown, making it easy to
Expand Down
1 change: 1 addition & 0 deletions api/onnx_web/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
platform_providers = {
'amd': 'DmlExecutionProvider',
'cpu': 'CPUExecutionProvider',
'nvidia': 'CUDAExecutionProvider',
}
pipeline_schedulers = {
'ddim': DDIMScheduler,
Expand Down

0 comments on commit 8359bd5

Please sign in to comment.