forked from open-webui/open-webui
Adding the missing env variable
ENV RAG_EMBEDDING_MODEL_DEVICE_TYPE="cuda"
This commit is contained in:
parent
9a8a48b879
commit
9bea40bd40
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ RUN npm run build
|
||||||
######## CUDA WebUI backend ########
|
######## CUDA WebUI backend ########
|
||||||
FROM --platform=linux/amd64 nvidia/cuda:"$CUDA_VERSION"-devel-ubuntu22.04 AS cuda-build-amd64
|
FROM --platform=linux/amd64 nvidia/cuda:"$CUDA_VERSION"-devel-ubuntu22.04 AS cuda-build-amd64
|
||||||
#FROM --platform=linux/amd64 cgr.dev/chainguard/pytorch-cuda12:latest AS cuda-build-amd64 # fails with python requirements conflicts
|
#FROM --platform=linux/amd64 cgr.dev/chainguard/pytorch-cuda12:latest AS cuda-build-amd64 # fails with python requirements conflicts
|
||||||
|
ENV RAG_EMBEDDING_MODEL_DEVICE_TYPE="cuda"
|
||||||
|
|
||||||
# Set environment variables for NVIDIA Container Toolkit
|
# Set environment variables for NVIDIA Container Toolkit
|
||||||
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64 \
|
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64 \
|
||||||
|
|
Loading…
Reference in a new issue