mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-23 14:32:25 +00:00
207ce81e4a
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
12 lines
323 B
Docker
12 lines
323 B
Docker
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" ] |