Add CUDA acceleration (requires onnxruntime-gpu)
This commit is contained in:
parent
cc4d39ffe3
commit
e56b4579a6
14 changed files with 432 additions and 141 deletions
|
|
@ -31,6 +31,11 @@ while [[ -n "$1" ]]; do
|
|||
port="$2"
|
||||
args+=('--port' "${port}")
|
||||
shift 1
|
||||
elif [[ "$1" == '--cuda' ]]; then
|
||||
# Use CUDA GPU acceleration
|
||||
args+=('--cuda')
|
||||
docker='nvidia-docker'
|
||||
tag='gpu'
|
||||
else
|
||||
args+=("$1")
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue