notbug ipv6 ready As an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
Port details
py-spandrel Library for loading and running pre-trained PyTorch models
0.4.2_1 misc on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.4.2Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-03-18 03:03:38
Last Update: 2026-04-03 20:52:43
Commit Hash: d04d23a
Also Listed In: python
License: MIT
WWW:
https://github.com/chaiNNer-org/spandrel
Description:
Spandrel is a library for loading and running pre-trained PyTorch models. It automatically detects the model architecture and hyperparameters from model files, and provides a unified interface for running models. This is particularly useful for super resolution models (ESRGAN, SwinIR, HAT, etc.) and other image processing models.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}spandrel>0:misc/py-spandrel@${PY_FLAVOR}
To install the port:
cd /usr/ports/misc/py-spandrel/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/py-spandrel
  • pkg install py311-spandrel
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-spandrel listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-spandrel
Package flavors (<flavor>: <package>)
  • py311: py311-spandrel
distinfo:
TIMESTAMP = 1773766004 SHA256 (spandrel-0.4.2.tar.gz) = fefa4ea966c6a5b7721dcf24f3e2062a5a96a395c8bedcb570fb55971fdcbccb SIZE (spandrel-0.4.2.tar.gz) = 247544

Packages (timestamps in pop-ups are UTC):
py311-spandrel
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-0.4.2---n/an/an/a
FreeBSD:13:quarterly-0.4.2---n/an/an/a
FreeBSD:14:latest-0.4.2_1------
FreeBSD:14:quarterly-0.4.2------
FreeBSD:15:latest-0.4.2_1n/a-n/an/a--
FreeBSD:15:quarterly-0.4.2n/a-n/an/a--
FreeBSD:16:latest-0.4.2_1n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. py311-wheel>=0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-einops>0 : misc/py-einops@py311
  2. py311-numpy1>=1.16 : math/py-numpy1@py311
  3. py311-pytorch>0 : misc/py-pytorch@py311
  4. py311-safetensors>0 : misc/py-safetensors@py311
  5. py311-torchvision>0 : misc/py-torchvision@py311
  6. py311-typing-extensions>0 : devel/py-typing-extensions@py311
  7. python3.11 : lang/python311
This port is required by:
for Run
  1. misc/comfyui

Configuration Options:
No options to configure
Options name:
misc_py-spandrel
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/s/spandrel/
  2. https://pypi.org/packages/source/s/spandrel/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.4.2_1
03 Apr 2026 20:52:43
commit hash: d04d23ae37d04c8ddf74c04ee868900b9189295acommit hash: d04d23ae37d04c8ddf74c04ee868900b9189295acommit hash: d04d23ae37d04c8ddf74c04ee868900b9189295acommit hash: d04d23ae37d04c8ddf74c04ee868900b9189295a files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python.mk: retire ${PYNUMPY}

With both math/py-numpy (2) and math/py-numpy1, the variable stopped
making sense. Also remove the upper version bound.
0.4.2_1
03 Apr 2026 18:52:22
commit hash: d4bd5ba72edc9f537254aeb1ff893399e3eb2278commit hash: d4bd5ba72edc9f537254aeb1ff893399e3eb2278commit hash: d4bd5ba72edc9f537254aeb1ff893399e3eb2278commit hash: d4bd5ba72edc9f537254aeb1ff893399e3eb2278 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
math/py-numpy: switch all consumers to math/py-numpy1

...and bump PORTREVISIONs of consumers with hard RUN_DEPENDS

PR: 281470
0.4.2
18 Mar 2026 03:00:37
commit hash: a16fdc4f3769ed0b61681c1a89291a5f4163f222commit hash: a16fdc4f3769ed0b61681c1a89291a5f4163f222commit hash: a16fdc4f3769ed0b61681c1a89291a5f4163f222commit hash: a16fdc4f3769ed0b61681c1a89291a5f4163f222 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-spandrel: New port: Library for loading and running pre-trained PyTorch
models

Number of commits found: 3