Spaces:
Paused
Paused
update
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -16,12 +16,12 @@ WORKDIR $HOME/app
|
|
16 |
|
17 |
COPY --chown=user app.py .
|
18 |
|
19 |
-
RUN CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python[server]
|
20 |
|
21 |
RUN HF_HUB_ENABLE_HF_TRANSFER=1 \
|
22 |
-
huggingface-cli download gingdev/ictu-
|
23 |
|
24 |
EXPOSE 8000
|
25 |
|
26 |
ENTRYPOINT [ "python" ]
|
27 |
-
CMD [ "app.py", "--model", "
|
|
|
16 |
|
17 |
COPY --chown=user app.py .
|
18 |
|
19 |
+
RUN CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python[server] huggingface_hub[cli,hf_transfer]
|
20 |
|
21 |
RUN HF_HUB_ENABLE_HF_TRANSFER=1 \
|
22 |
+
huggingface-cli download gingdev/llama7b-ictu-v2 llama7b_q4_k_m.gguf --local-dir . --local-dir-use-symlinks=True
|
23 |
|
24 |
EXPOSE 8000
|
25 |
|
26 |
ENTRYPOINT [ "python" ]
|
27 |
+
CMD [ "app.py", "--model", "llama7b_q4_k_m.gguf", "--chat_format", "chatml" ]
|