Spaces:
Runtime error
Runtime error
ngc92
commited on
Commit
·
ec40e7d
1
Parent(s):
0e4a9e1
fix?
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
|
@@ -6,14 +6,9 @@ WORKDIR /code
|
|
| 6 |
|
| 7 |
# WORKDIR /code/llama-annotate
|
| 8 |
|
| 9 |
-
RUN apt-get update && apt-get install -y cmake ccache wget python3-pip
|
| 10 |
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
-
RUN wget --no-verbose https://huggingface.co/TheBloke/Llama-2-7B-GGUF/resolve/main/llama-2-7b.Q2_K.gguf
|
| 13 |
-
#RUN wget --no-verbose https://huggingface.co/TheBloke/Llama-2-7B-GGUF/resolve/main/llama-2-7b.Q4_K_M.gguf
|
| 14 |
-
#RUN wget --no-verbose https://huggingface.co/TheBloke/Llama-2-13B-GGUF/resolve/main/llama-2-13b.Q6_K.gguf
|
| 15 |
-
|
| 16 |
-
|
| 17 |
|
| 18 |
COPY llama-annotate/ .
|
| 19 |
|
|
@@ -28,6 +23,11 @@ RUN cmake --build build
|
|
| 28 |
|
| 29 |
RUN pip3 install --no-cache-dir gradio numpy
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
EXPOSE 7860
|
| 32 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
| 33 |
|
|
|
|
| 6 |
|
| 7 |
# WORKDIR /code/llama-annotate
|
| 8 |
|
| 9 |
+
RUN apt-get update && apt-get install -y cmake ccache wget python3-pip git
|
| 10 |
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
COPY llama-annotate/ .
|
| 14 |
|
|
|
|
| 23 |
|
| 24 |
RUN pip3 install --no-cache-dir gradio numpy
|
| 25 |
|
| 26 |
+
|
| 27 |
+
RUN wget --no-verbose https://huggingface.co/TheBloke/Llama-2-7B-GGUF/resolve/main/llama-2-7b.Q2_K.gguf
|
| 28 |
+
#RUN wget --no-verbose https://huggingface.co/TheBloke/Llama-2-7B-GGUF/resolve/main/llama-2-7b.Q4_K_M.gguf
|
| 29 |
+
#RUN wget --no-verbose https://huggingface.co/TheBloke/Llama-2-13B-GGUF/resolve/main/llama-2-13b.Q6_K.gguf
|
| 30 |
+
|
| 31 |
EXPOSE 7860
|
| 32 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
| 33 |
|