LocalAI/examples/rwkv/Dockerfile.build
Tyler Gillson 73a3f6b720
install cmake; add gitignore
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
2023-05-18 15:40:27 -07:00

12 lines
No EOL
323 B
Text

FROM python
RUN apt-get update && apt-get -y install cmake
# convert the model (one-off)
RUN pip3 install torch numpy
WORKDIR /build
COPY ./scripts/ .
RUN git clone --recurse-submodules https://github.com/saharNooby/rwkv.cpp && cd rwkv.cpp && cmake . && cmake --build . --config Release
ENTRYPOINT [ "/build/build.sh" ]