Spaces:
Runtime error
Runtime error
Commit ·
8a15493
1
Parent(s): 7713b60
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -24,7 +24,7 @@ RUN pip install ctransformers --no-binary ctransformers
|
|
| 24 |
#RUN wget -O falcon40b-instruct.ggmlv3.q2_K.bin https://huggingface.co/TheBloke/falcon-40b-instruct-GGML/raw/main/falcon40b-instruct.ggmlv3.q2_K.bin
|
| 25 |
|
| 26 |
# Change the ownership of the downloaded file to myuser
|
| 27 |
-
|
| 28 |
|
| 29 |
# Install git and clone the ggllm.cpp repository and build
|
| 30 |
#RUN apt-get install -y git && \
|
|
@@ -33,6 +33,7 @@ RUN chown myuser:myuser falcon7b-instruct.ggmlv3.q4_0.bin
|
|
| 33 |
# rm -rf build && mkdir build && cd build && cmake -DGGML_CUBLAS=1 .. && cmake --build . --config Release
|
| 34 |
|
| 35 |
RUN useradd -m -u 1000 user
|
|
|
|
| 36 |
USER user
|
| 37 |
ENV HOME=/home/user \
|
| 38 |
PATH=/home/user/.local/bin:$PATH
|
|
|
|
| 24 |
#RUN wget -O falcon40b-instruct.ggmlv3.q2_K.bin https://huggingface.co/TheBloke/falcon-40b-instruct-GGML/raw/main/falcon40b-instruct.ggmlv3.q2_K.bin
|
| 25 |
|
| 26 |
# Change the ownership of the downloaded file to myuser
|
| 27 |
+
|
| 28 |
|
| 29 |
# Install git and clone the ggllm.cpp repository and build
|
| 30 |
#RUN apt-get install -y git && \
|
|
|
|
| 33 |
# rm -rf build && mkdir build && cd build && cmake -DGGML_CUBLAS=1 .. && cmake --build . --config Release
|
| 34 |
|
| 35 |
RUN useradd -m -u 1000 user
|
| 36 |
+
# RUN chown user:user falcon7b-instruct.ggmlv3.q4_0.bin
|
| 37 |
USER user
|
| 38 |
ENV HOME=/home/user \
|
| 39 |
PATH=/home/user/.local/bin:$PATH
|