BSD Ports

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

SystemPortVersion
FreeBSDmisc/pytorch2.13.0
MidnightBSDai/pytorch2.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-2.13.0---
FreeBSD:14:quarterly-2.13.0n/a--
FreeBSD:15:latest-2.13.0n/a--
FreeBSD:15:quarterly-2.13.0n/an/an/a
FreeBSD:16:latest-2.13.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Library 9

The full lists below include those, and their dependencies in turn.

Build dependencies 50
Run dependencies 38

No port depends on this one.

Configuration

Options name: misc_pytorch

OptionDefaultDescription
PYTHONonPython 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
FileSizeSHA256
pytorch/pytorch-v2.13.0.tar.gz4.85291648e+0866614a19060f69cfd63cd0295f65a1241bd15df2fa65c60ae51066c11c2ce812
Master sites 1
  • https://github.com/pytorch/pytorch/releases/download/v2.13.0/

Commit history 4

DateCommitCreditsLog message
4f8570b0d6 Piotr Kubaj misc/pytorch: fix packaging on !amd64
a651cdf53e Yuri Victorovich misc/{,py-}pytorch: update 2.12.1 → 2.13.0
a5f48c964d Yuri Victorovich misc/pytorch: Unbreak by adding libfmt.so:devel/libfmt to LIB_DEPENDS
Reported by: fallout
4cf2d9c5e1 Yuri Victorovich misc/{,py-}pytorch: update 2.12.0 → 2.12.1