This port has been deleted. This page will exist till another port with the name "py38-pytorch" comes
into existence.
py38-pytorch (python/py-pytorch) Updated: 4 months, 2 weeks ago Add to my watchlist
Tensors and dynamic neural networks in Python with strong GPU accelerationPyTorch 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. You can reuse your favorite Python packages such as NumPy, SciPy and Cython to extend PyTorch when needed.
Version: 2.3.0 License: BSDMaintainers | No Maintainer |
Categories | python |
Homepage | https://pytorch.org/ |
Platforms | {darwin >= 19} |
Variants |
|
Subport(s) (6)
"py38-pytorch" depends on
lib (22)
run (1)
build (13)
fetch (1)
test (1)
Ports that depend on "py38-pytorch"
lib (3)run (6)
Port notes
The port py38-pytorch is built with Apple Metal Performance Shaders (MPS) support for GPU hardware acceleration. To enable Apple GPU devices, use device "mps". Matrix multiplication example:
import torch
mpsDevice = torch.device("mps" if torch.backends.mps.is_available() else "cpu")
x = torch.randn((10_000, 1_000), device=mpsDevice)
cov = (x.T @ x)/x.shape[0]
Port Health:
Loading Port Health
Installations (30 days)
0
Requested Installations (30 days)
0
Livecheck error
Error: Port py38-pytorch not found
last updated: 6 hours ago