Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
0f90332e
Commit
0f90332e
authored
Apr 04, 2024
by
Self Denial
Browse files
Set cudnn LD_LIBRARY_PATH to fix whisper inference
parent
a602089b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
backend/start.sh
backend/start.sh
+1
-1
No files found.
backend/start.sh
View file @
0f90332e
...
...
@@ -26,7 +26,7 @@ fi
if
[
"
$USE_CUDA_DOCKER
"
=
"true"
]
;
then
echo
"CUDA is enabled, appending LD_LIBRARY_PATH to include torch/cudnn & cublas libraries."
export
LD_LIBRARY_PATH
=
"
$LD_LIBRARY_PATH
:/usr/local/lib/python3.11/site-packages/torch/lib:/usr/local/lib/python3.11/site-packages/nvidia/cu
blas
/lib"
export
LD_LIBRARY_PATH
=
"
$LD_LIBRARY_PATH
:/usr/local/lib/python3.11/site-packages/torch/lib:/usr/local/lib/python3.11/site-packages/nvidia/cu
dnn
/lib"
fi
WEBUI_SECRET_KEY
=
"
$WEBUI_SECRET_KEY
"
exec
uvicorn main:app
--host
0.0.0.0
--port
"
$PORT
"
--forwarded-allow-ips
'*'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment