1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

misc/py-torchdata: New port: PyTorch: Composable data loading modules for PyTorch

This commit is contained in:
Yuri Victorovich
2025-09-18 21:14:50 -07:00
parent f9109d4074
commit 22ddd10303
4 changed files with 36 additions and 0 deletions
+1
View File
@@ -564,6 +564,7 @@
SUBDIR += py-toil
SUBDIR += py-torch-geometric
SUBDIR += py-torchao
SUBDIR += py-torchdata
SUBDIR += py-torchmetrics
SUBDIR += py-torchvision
SUBDIR += py-tqdm
+29
View File
@@ -0,0 +1,29 @@
PORTNAME= torchdata
DISTVERSIONPREFIX= v
DISTVERSION= 0.11.0
CATEGORIES= misc # machine-learning
#MASTER_SITES= PYPI # no tarball
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= PyTorch: Composable data loading modules for PyTorch
WWW= https://github.com/pytorch/data
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}urllib3>=1.25:net/py-urllib3@${PY_FLAVOR}
USES= cmake:indirect python
USE_PYTHON= distutils autoplist pytest
USE_GITHUB= yes
GH_ACCOUNT= pytorch
GH_PROJECT= data
NO_ARCH= yes
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1758254771
SHA256 (pytorch-data-v0.11.0_GH0.tar.gz) = 945c53a8587567624aaad2d66204fbae9acb9535696554c53ffeb83320c308b9
SIZE (pytorch-data-v0.11.0_GH0.tar.gz) = 1014016
+3
View File
@@ -0,0 +1,3 @@
The TorchData project is an iterative enhancement to the PyTorch
torch.utils.data.DataLoader and torch.utils.data.Dataset/IterableDataset
to make them scalable, performant dataloading solutions.