matthoffner commited on
Commit
e4ab77b
·
1 Parent(s): d2e7923

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -28,9 +28,9 @@ RUN git clone https://github.com/ggerganov/ggml && cd ggml && mkdir build && cd
28
  RUN git clone https://huggingface.co/bigcode/gpt_bigcode-santacoder
29
  RUN python ggml/examples/starcoder/convert-hf-to-ggml.py ./gpt_bigcode-santacoder/
30
  RUN cd ggml/build && make -j4 starcoder starcoder-quantize
31
-
32
  RUN ggml/build/bin/starcoder-quantize models/./gpt_bigcode-santacoder/-ggml.bin ggml-model-q4_0.bin 2
33
- RUN emcc -Iggml/include -Iggml/include/ggml -Iggml/examples ggml/src/ggml.c main.cpp -o web/santacoder.js -s EXPORTED_FUNCTIONS='["_wasm_eval","_wasm_random_digit","_malloc","_free"]' -s EXPORTED_RUNTIME_METHODS='["ccall"]' -s ALLOW_MEMORY_GROWTH=1 --preload-file ggml-model-q4_0.bin
 
34
 
35
  COPY . .
36
 
 
28
  RUN git clone https://huggingface.co/bigcode/gpt_bigcode-santacoder
29
  RUN python ggml/examples/starcoder/convert-hf-to-ggml.py ./gpt_bigcode-santacoder/
30
  RUN cd ggml/build && make -j4 starcoder starcoder-quantize
 
31
  RUN ggml/build/bin/starcoder-quantize models/./gpt_bigcode-santacoder/-ggml.bin ggml-model-q4_0.bin 2
32
+ RUN ls ggml/build
33
+ RUN emcc -Iggml/include -Iggml/include/ggml -Iggml/examples ggml/src/ggml.c ggml/build/main.cpp -o web/santacoder.js -s EXPORTED_FUNCTIONS='["_wasm_eval","_wasm_random_digit","_malloc","_free"]' -s EXPORTED_RUNTIME_METHODS='["ccall"]' -s ALLOW_MEMORY_GROWTH=1 --preload-file ggml-model-q4_0.bin
34
 
35
  COPY . .
36