Spaces:
Paused
Paused
Commit
·
5d8b6f6
1
Parent(s):
7d51224
Update Dockerfile
Browse files- Dockerfile +0 -10
Dockerfile
CHANGED
|
@@ -12,16 +12,6 @@ COPY requirements.txt ./
|
|
| 12 |
RUN pip install --upgrade pip && \
|
| 13 |
pip install -r requirements.txt
|
| 14 |
|
| 15 |
-
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
|
| 16 |
-
RUN apt-get install git-lfs
|
| 17 |
-
|
| 18 |
-
RUN git clone https://github.com/ggerganov/ggml && cd ggml && mkdir build && cd build && cmake ..
|
| 19 |
-
RUN git clone https://huggingface.co/bigcode/gpt_bigcode-santacoder
|
| 20 |
-
RUN python ggml/examples/starcoder/convert-hf-to-ggml.py ./gpt_bigcode-santacoder/
|
| 21 |
-
RUN cd ggml/build && make -j4 starcoder starcoder-quantize
|
| 22 |
-
|
| 23 |
-
RUN ggml/build/bin/starcoder-quantize models/./gpt_bigcode-santacoder/-ggml.bin ggml-model-q4_1.bin 3
|
| 24 |
-
|
| 25 |
COPY . .
|
| 26 |
|
| 27 |
RUN ls -al
|
|
|
|
| 12 |
RUN pip install --upgrade pip && \
|
| 13 |
pip install -r requirements.txt
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
COPY . .
|
| 16 |
|
| 17 |
RUN ls -al
|