git: 53a8ee1f4fe8 - main - games/leela-zero: Add download-weights target; Add info to pkg-message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Jul 2022 01:18:05 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=53a8ee1f4fe8ec16f8a445c7686ec2060827ee27 commit 53a8ee1f4fe8ec16f8a445c7686ec2060827ee27 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-07-13 01:17:19 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-07-13 01:18:01 +0000 games/leela-zero: Add download-weights target; Add info to pkg-message --- games/leela-zero/Makefile | 3 +++ games/leela-zero/pkg-message | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/games/leela-zero/Makefile b/games/leela-zero/Makefile index fc9d71ee5c4b..28289476e1d2 100644 --- a/games/leela-zero/Makefile +++ b/games/leela-zero/Makefile @@ -30,4 +30,7 @@ PLIST_FILES= bin/autogtp \ do-test: @cd ${WRKSRC} && ${MKDIR} .build && ${CP} ../.build/tests .build && cd .build && ./tests +download-weights: + @${FETCH_CMD} https://zero.sjeng.org/best-network -o ~/.local/share/leela-zero/ + .include <bsd.port.mk> diff --git a/games/leela-zero/pkg-message b/games/leela-zero/pkg-message index d6782996df39..32b2de227f3c 100644 --- a/games/leela-zero/pkg-message +++ b/games/leela-zero/pkg-message @@ -14,6 +14,10 @@ for example: * pocl: for a simple CPU provider * beignet: for the Intel GPU provider * etc. + +You also need to download neural network weights using this command: +$ fetch https://zero.sjeng.org/best-network -o /home/yuri/.local/share/leela-zero/ + EOM } ]