ai/py-pytorch 2.7.0_1 MidnightBSD
PyTorch: Tensors and dynamic neural networks in Python
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
dee1e47e52- License
- bsd3
- Categories
- ai
Description
PyTorch is a Python package that provides two high-level features: * Tensor computation (like NumPy) with strong GPU acceleration * Deep neural networks built on a tape-based autograd system
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}pytorch
From mports:
cd /usr/mports/ai/py-pytorch && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytorch>0:ai/py-pytorch
Dependencies
As this port's Makefile names them.
Build 6
cmake: devel/cmake-coregmake: devel/gmakepybind11>0: devel/pybind11${LOCALBASE}/include/fxdiv.h: devel/fxdiv${PYTHON_PKGNAMEPREFIX}typing-extensions>0: devel/py-typing-extensions${PYTHON_PKGNAMEPREFIX}pyyaml>=0: devel/py-pyyaml
Library 8
libabsl_base.so: devel/abseillibblis.so: math/blislibmpi_cxx.so: net/openmpi4libonnx.so: ai/onnxlibopenblas.so: math/openblaslibpthreadpool.so: devel/pthreadpoollibprotobuf.so: devel/protobuflibsleef.so: math/sleef
Runtime 11
${PYTHON_PKGNAMEPREFIX}filelock>0: sysutils/py-filelock${PYTHON_PKGNAMEPREFIX}fsspec>0: filesystems/py-fsspec${PYTHON_PKGNAMEPREFIX}Jinja2>0: devel/py-Jinja2${PYTHON_PKGNAMEPREFIX}networkx>0: math/py-networkx${PYTHON_PKGNAMEPREFIX}sympy>=1.13.1: math/py-sympy${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.10.0: devel/py-typing-extensions${PYTHON_PKGNAMEPREFIX}pyyaml>0: devel/py-pyyaml${PYTHON_PKGNAMEPREFIX}astunparse>0: devel/py-astunparse${PYTHON_PKGNAMEPREFIX}dill>0: devel/py-dill${PYTHON_PKGNAMEPREFIX}networkx>0: math/py-networkx${PYTHON_PKGNAMEPREFIX}protobuf>0: devel/py-protobuf
Build dependencies 14
Run dependencies 18
Configuration
No options to configure.
- USES
- compiler:c++17-lang localbase:ldflags python llvm:max=15
- Service scripts
- none
Files
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| pytorch/pytorch-v2.7.0.tar.gz | 2.85987092e+08 | ecca266fa2de4235a9fd5a18a33299a9de55ab3babb87f8c297c1c9ab8d436bd |
| pytorch/pytorch-cpuinfo-1e83a2f_GH0.tar.gz | 3.541839e+06 | b8945cf45d4f13054d7f52e8bd9314690ea840d4d0ff21febd95ff04de3c613e |
Master sites 1
- https://github.com/pytorch/pytorch/releases/download/v2.7.0/