misc/pytorch 2.13.0 FreeBSD
Tensors and dynamic neural networks in Python (C++ library)
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
4f8570b0d6- License
- BSD3CLAUSE
- Categories
- misc
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
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | misc/pytorch | 2.13.0 |
| MidnightBSD | ai/pytorch | 2.13.0_1 |
Install
Binary package:
pkg install pytorch
From the ports tree:
cd /usr/ports/misc/pytorch/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= pytorch>0:misc/pytorch
LIB_DEPENDS= libc10.so:misc/pytorch
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 2.13.0 | - | - | - |
| FreeBSD:14:quarterly | - | 2.13.0 | n/a | - | - |
| FreeBSD:15:latest | - | 2.13.0 | n/a | - | - |
| FreeBSD:15:quarterly | - | 2.13.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 2.13.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${LOCALBASE}/include/fxdiv.h: devel/fxdiv${PYTHON_PKGNAMEPREFIX}packaging>=0: devel/py-packaging
Library 9
libabsl_base.so: devel/abseillibblis.so: math/blislibfmt.so: devel/libfmtlibopenblas.so: math/openblaslibmpi_cxx.so: net/openmpi4libonnx.so: misc/onnxlibpthreadpool.so: devel/pthreadpoollibprotobuf.so: devel/protobuflibsleef.so: math/sleef
The full lists below include those, and their dependencies in turn.
Build dependencies 50
- archivers/liblz4
- archivers/zstd
- devel/abseil
- devel/binutils
- devel/cmake-core
- devel/fxdiv
- devel/gettext-runtime
- devel/gmake
- devel/hwloc2
- devel/jsoncpp
- devel/level-zero
- devel/libevent
- devel/libffi
- devel/libfmt
- devel/libltdl
- devel/libpciaccess
- devel/libunistring
- devel/libuv
- devel/protobuf
- devel/pthreadpool
- devel/py-packaging
- devel/py-pyyaml
- devel/py-setuptools
- devel/py-typing-extensions
- devel/pybind11
- devel/readline
- dns/libidn2
- lang/gcc14
- lang/python312
- lang/python315
- math/blis
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- math/sleef
- misc/hwdata
- misc/onnx
- net/openmpi4
- ports-mgmt/pkg
- print/indexinfo
- security/libgcrypt
- security/libgpg-error
- security/munge
- security/rhash
- textproc/expat2
- textproc/libxml2
- textproc/libyaml
Run dependencies 38
- archivers/liblz4
- archivers/zstd
- devel/abseil
- devel/binutils
- devel/gettext-runtime
- devel/hwloc2
- devel/jsoncpp
- devel/level-zero
- devel/libevent
- devel/libffi
- devel/libfmt
- devel/libltdl
- devel/libpciaccess
- devel/protobuf
- devel/pthreadpool
- devel/py-pyyaml
- devel/py-typing-extensions
- devel/readline
- lang/gcc14
- lang/python312
- math/blis
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- math/sleef
- misc/hwdata
- misc/onnx
- net/openmpi4
- print/indexinfo
- security/libgcrypt
- security/libgpg-error
- security/munge
- textproc/expat2
- textproc/libxml2
- textproc/libyaml
No port depends on this one.
Configuration
Options name: misc_pytorch
| Option | Default | Description |
|---|---|---|
| PYTHON | on | Python bindings or support |
- USES
- compiler:c++17-lang cmake:noninja gmake localbase:ldflags python
- Service scripts
- none
Files
pkg-plist 9344
- _C.so
- _C/_VariableFunctions.pyi
- _C/__init__.pyi
- _C/_acc/__init__.pyi
- _C/_aoti.pyi
- _C/_autograd.pyi
- _C/_cpu.pyi
- _C/_cudnn.pyi
- _C/_cusparselt.pyi
- _C/_distributed.pyi
- _C/_distributed_autograd.pyi
- _C/_distributed_c10d.pyi
- _C/_distributed_rpc.pyi
- _C/_distributed_rpc_testing.pyi
- _C/_dynamo/__init__.pyi
- _C/_dynamo/compiled_autograd.pyi
- _C/_dynamo/eval_frame.pyi
- _C/_dynamo/guards.pyi
- _C/_export/__init__.pyi
- _C/_export/pt2_archive_constants.pyi
- _C/_functionalization.pyi
- _C/_functions.pyi
- _C/_functorch.pyi
- _C/_instruction_counter.pyi
- _C/_itt.pyi
- _C/_jit_tree_views.pyi
- _C/_lazy.pyi
- _C/_lazy_ts_backend.pyi
- _C/_monitor.pyi
- _C/_nn.pyi
- _C/_nvtx.pyi
- _C/_onnx.pyi
- _C/_profiler.pyi
- _C/_verbose.pyi
- _C_flatbuffer/__init__.pyi
- _VF.pyi
- _dynamo/graph_break_registry.json
- _export/serde/export_schema.thrift
- _export/serde/schema.yaml
- _inductor/codegen/aoti_runtime/interface.cpp
- _inductor/kernel/flex/templates/common.py.jinja
- _inductor/kernel/flex/templates/flash_attention.py.jinja
- _inductor/kernel/flex/templates/flash_attention_backward.py.jinja
- _inductor/kernel/flex/templates/flex_attention.py.jinja
- _inductor/kernel/flex/templates/flex_backwards.py.jinja
- _inductor/kernel/flex/templates/flex_decode.py.jinja
- _inductor/kernel/flex/templates/utilities.py.jinja
- _inductor/kernel/templates/cutedsl_mm_grouped.py.jinja
- _inductor/kernel/templates/nv_universal_gemm.py.jinja
- _inductor/kernel/templates/triton_blackwell_ws_persistent_device_tma_mm.py.jinja
- _inductor/kernel/templates/triton_bmm.py.jinja
- _inductor/kernel/templates/triton_conv2d_bwd_input.py.jinja
- _inductor/kernel/templates/triton_conv2d_bwd_weight.py.jinja
- _inductor/kernel/templates/triton_depthwise_conv.py.jinja
- _inductor/kernel/templates/triton_epilogue_scaled_mm.py.jinja
- _inductor/kernel/templates/triton_main_loop_scaled_mm.py.jinja
- _inductor/kernel/templates/triton_mm.py.jinja
- _inductor/kernel/templates/triton_mm_grouped.py.jinja
- _inductor/kernel/templates/triton_mm_rocm.py.jinja
- _inductor/kernel/templates/triton_persistent_mm.py.jinja
- _inductor/kernel/templates/triton_persistent_tma_mm.py.jinja
- _inductor/script.ld
- csrc/inductor/aoti_runtime/model.h
- distributed/optim/zero_redundancy_optimizer.pyi
- jit/_script.pyi
- nn/functional.pyi
- nn/parameter.pyi
- optim/_multi_tensor/__init__.pyi
- py.typed
- return_types.pyi
- testing/_internal/generated/annotated_fn_args.py
- utils/_config_typing.pyi
- utils/benchmark/utils/timeit_template.cpp
- utils/benchmark/utils/valgrind_wrapper/compat_bindings.cpp
- utils/benchmark/utils/valgrind_wrapper/timer_callgrind_template.cpp
- utils/data/datapipes/datapipe.pyi
- utils/model_dump/code.js
- utils/model_dump/htm.mjs
- utils/model_dump/preact.mjs
- utils/model_dump/skeleton.html
- version.py
- bin/torch_shm_manager
- include/ATen/ATen.h
- include/ATen/AccumulateType.h
- include/ATen/ArrayRef.h
- include/ATen/Backend.h
- include/ATen/Backtrace.h
- include/ATen/BlasBackend.h
- include/ATen/CPUApplyUtils.h
- include/ATen/CPUFunctions.h
- include/ATen/CPUFunctions_inl.h
- include/ATen/CPUGeneratorImpl.h
- include/ATen/CUDAFunctions.h
- include/ATen/CUDAFunctions_inl.h
- include/ATen/CachedTensorUtils.h
- include/ATen/CollapseDims.h
- include/ATen/CompositeExplicitAutogradFunctions.h
- include/ATen/CompositeExplicitAutogradFunctions_inl.h
- include/ATen/CompositeExplicitAutogradNonFunctionalFunctions.h
- include/ATen/CompositeExplicitAutogradNonFunctionalFunctions_inl.h
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pytorch/pytorch-v2.13.0.tar.gz | 4.85291648e+08 | 66614a19060f69cfd63cd0295f65a1241bd15df2fa65c60ae51066c11c2ce812 |
Master sites 1
- https://github.com/pytorch/pytorch/releases/download/v2.13.0/