blob: d35fc4b56c2b4b7b3489f4b8555e70bfad734e75 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
PORTNAME= mslk
DISTVERSIONPREFIX= v
DISTVERSION= 1.4.0
CATEGORIES= misc python # machine-learning
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Meta Superintelligence Labs Kernels for PyTorch
WWW= https://github.com/meta-pytorch/MSLK
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytorch>0:misc/py-pytorch@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
USE_GITHUB= yes
GH_ACCOUNT= meta-pytorch
GH_PROJECT= MSLK
# only the pure Python part is built, because the native kernels need CUDA or ROCm
MAKE_ENV= MSLK_PYTHON_ONLY=1 MSLK_VERSION_OVERRIDE=${PORTVERSION}
NO_ARCH= yes
.include <bsd.port.mk>
|