Date: Sat, 16 Jul 2022 16:39:54 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: 66c0f4fc296e - 2022Q3 - games/leela-zero: Add download-weights target; Add info to pkg-message Message-ID: <202207161639.26GGdsgq088076@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch 2022Q3 has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=66c0f4fc296ed36fa4aa96328e62752623a1a1ef commit 66c0f4fc296ed36fa4aa96328e62752623a1a1ef Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-07-13 01:17:19 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-07-16 16:39:51 +0000 games/leela-zero: Add download-weights target; Add info to pkg-message (cherry picked from commit 53a8ee1f4fe8ec16f8a445c7686ec2060827ee27) --- 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 } ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207161639.26GGdsgq088076>