Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files17 unmodified lines181920212122232425242627282917 unmodified linesENV LLAMA_CUBLAS=1
# Install depencenciesRUN python3 -m pip install --upgrade pip pytest cmake scikit-build setuptools fastapi uvicorn sse-starlette pydantic-settings gradio huggingface_hub hf_transferRUN python3 -m pip install --upgrade pip pytest cmake \ scikit-build setuptools fastapi uvicorn sse-starlette \ pydantic-settings starlette-context gradio huggingface_hub hf_transfer
# Install llama-cpp-python (build with cuda)RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-pythonRUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python
RUN useradd -m -u 1000 user# Switch to the "user" userDockerfile+4-2