Skip to content

Commit

Permalink
Update to lc0 v0.28.0-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
Simske committed Jun 16, 2021
1 parent ee2ecf5 commit c9a3be9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docker/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

default:
version_tag: "0.27"
lc0_version: "0.27.0"
version_tag: "0.28-rc"
lc0_version: "0.28.0-rc1"
tag_suffix: ""
imagename: docker.io/simske/lc0
stockfish: False
Expand Down
6 changes: 3 additions & 3 deletions docker/dockerfiles/Dockerfile.default
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apt-get update && \
pip3 install meson

# download and compile lc0
RUN git clone -b v0.27.0 --recurse-submodules https:/LeelaChessZero/lc0.git /root/lc0
RUN git clone -b v0.28.0-rc1 --recurse-submodules https:/LeelaChessZero/lc0.git /root/lc0
RUN sed -i "s/march=native/march=ivybridge/g" /root/lc0/meson.build
RUN /root/lc0/build.sh

Expand All @@ -31,8 +31,8 @@ COPY --from=builder /root/lc0/build/release/lc0 .
ENV PATH /lc0:$PATH

# Download default network
RUN wget -4 -O /lc0/weights/591226.pb.gz "https://training.lczero.org/get_network?sha=47e3f899519dc1bc95496a457b77730fce7b0b89b6187af5c01ecbbd02e88398"

RUN echo "NETWORK_NAME=703810.pb.gz\nNETWORK_URL=https://training.lczero.org/get_network?sha=b30e742bcfd905815e0e7dbd4e1bafb41ade748f85d006b8e28758f1a3107ae3" > /lc0/default_network.env && \
/lc0/download_network https://training.lczero.org/get_network?sha=b30e742bcfd905815e0e7dbd4e1bafb41ade748f85d006b8e28758f1a3107ae3 703810.pb.gz

CMD ["/lc0/run_lc0"]

6 changes: 3 additions & 3 deletions docker/dockerfiles/Dockerfile.stockfish
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apt-get update && \
pip3 install meson

# download and compile lc0
RUN git clone -b v0.27.0 --recurse-submodules https:/LeelaChessZero/lc0.git /root/lc0
RUN git clone -b v0.28.0-rc1 --recurse-submodules https:/LeelaChessZero/lc0.git /root/lc0
RUN sed -i "s/march=native/march=ivybridge/g" /root/lc0/meson.build
RUN /root/lc0/build.sh

Expand All @@ -36,8 +36,8 @@ COPY --from=builder /root/lc0/build/release/lc0 .
ENV PATH /lc0:$PATH

# Download default network
RUN wget -4 -O /lc0/weights/591226.pb.gz "https://training.lczero.org/get_network?sha=47e3f899519dc1bc95496a457b77730fce7b0b89b6187af5c01ecbbd02e88398"

RUN echo "NETWORK_NAME=703810.pb.gz\nNETWORK_URL=https://training.lczero.org/get_network?sha=b30e742bcfd905815e0e7dbd4e1bafb41ade748f85d006b8e28758f1a3107ae3" > /lc0/default_network.env && \
/lc0/download_network https://training.lczero.org/get_network?sha=b30e742bcfd905815e0e7dbd4e1bafb41ade748f85d006b8e28758f1a3107ae3 703810.pb.gz
# Copy stockfish executable
RUN mkdir /stockfish
COPY --from=builder /root/stockfish /stockfish/stockfish
Expand Down

0 comments on commit c9a3be9

Please sign in to comment.