Spaces:
Build error
Build error
move v in version to part of the arg
Browse files- Dockerfile-ggml-cpp-wheel +2 -2
- Dockerfile-llama-cpp-wheel +2 -2
Dockerfile-ggml-cpp-wheel
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
FROM nvidia/cuda:11.3.1-cudnn8-devel-ubuntu18.04
|
2 |
|
3 |
-
ARG CTRANSFORMERS_VERSION="
|
4 |
ARG CMAKE_VERSION=3.26
|
5 |
ARG CMAKE_VERSION_PATCH=3.26.3
|
6 |
ARG CMAKE_OS=linux
|
@@ -33,7 +33,7 @@ ENV HOME /home/appuser
|
|
33 |
ENV PYENV_ROOT $HOME/.pyenv
|
34 |
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
|
35 |
|
36 |
-
RUN git clone --depth 1 --branch
|
37 |
RUN curl https://pyenv.run | bash
|
38 |
|
39 |
RUN pyenv install 3.8.9 && \
|
|
|
1 |
FROM nvidia/cuda:11.3.1-cudnn8-devel-ubuntu18.04
|
2 |
|
3 |
+
ARG CTRANSFORMERS_VERSION="v0.2.5"
|
4 |
ARG CMAKE_VERSION=3.26
|
5 |
ARG CMAKE_VERSION_PATCH=3.26.3
|
6 |
ARG CMAKE_OS=linux
|
|
|
33 |
ENV PYENV_ROOT $HOME/.pyenv
|
34 |
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
|
35 |
|
36 |
+
RUN git clone --depth 1 --branch $CTRANSFORMERS_VERSION https://github.com/marella/ctransformers.git /build/ctransformers
|
37 |
RUN curl https://pyenv.run | bash
|
38 |
|
39 |
RUN pyenv install 3.8.9 && \
|
Dockerfile-llama-cpp-wheel
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
FROM nvidia/cuda:11.3.1-cudnn8-devel-ubuntu18.04
|
2 |
|
3 |
-
ARG LLAMA_CPP_VERSION="
|
4 |
ARG CMAKE_VERSION=3.26
|
5 |
ARG CMAKE_VERSION_PATCH=3.26.3
|
6 |
ARG CMAKE_OS=linux
|
@@ -33,7 +33,7 @@ ENV HOME /home/appuser
|
|
33 |
ENV PYENV_ROOT $HOME/.pyenv
|
34 |
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
|
35 |
|
36 |
-
RUN git clone --depth 1 --branch
|
37 |
RUN git clone https://github.com/ggerganov/llama.cpp.git /build/vendor/llama.cpp
|
38 |
RUN curl https://pyenv.run | bash
|
39 |
|
|
|
1 |
FROM nvidia/cuda:11.3.1-cudnn8-devel-ubuntu18.04
|
2 |
|
3 |
+
ARG LLAMA_CPP_VERSION="v0.1.53"
|
4 |
ARG CMAKE_VERSION=3.26
|
5 |
ARG CMAKE_VERSION_PATCH=3.26.3
|
6 |
ARG CMAKE_OS=linux
|
|
|
33 |
ENV PYENV_ROOT $HOME/.pyenv
|
34 |
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
|
35 |
|
36 |
+
RUN git clone --depth 1 --branch $LLAMA_CPP_VERSION https://github.com/abetlen/llama-cpp-python.git /build
|
37 |
RUN git clone https://github.com/ggerganov/llama.cpp.git /build/vendor/llama.cpp
|
38 |
RUN curl https://pyenv.run | bash
|
39 |
|