notbugAs 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 photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
py-lion-pytorch PyTorch: Lion optimizer
0.2.3 miscnew! 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-09-19 07:45:05
Last Update: 2025-09-19 07:36:14
Commit Hash: 6583c3b
License: MIT
WWW:
https://github.com/lucidrains/lion-pytorch
Description:
Lion, EvoLved Sign Momentum, is a new optimizer discovered by Google Brain that is purportedly better than Adam(w), in Pytorch. This is nearly a straight copy from here, with few minor modifications.
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}lion-pytorch>0:misc/py-lion-pytorch@${PY_FLAVOR}
To install the port:
cd /usr/ports/misc/py-lion-pytorch/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/py-lion-pytorch
  • pkg install py311-lion-pytorch
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-lion-pytorch listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-lion-pytorch
Package flavors (<flavor>: <package>)
  • py311: py311-lion-pytorch
distinfo:
TIMESTAMP = 1758249332 SHA256 (lion_pytorch-0.2.3.tar.gz) = 42ba117ce857e9dd6c67c727e22e575671fd72e441900af137b05e7ee5c8fd88 SIZE (lion_pytorch-0.2.3.tar.gz) = 6990

Packages (timestamps in pop-ups are UTC):
py311-lion-pytorch
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-0.2.3------
FreeBSD:13:quarterly--------
FreeBSD:14:latest-0.2.3------
FreeBSD:14:quarterly--------
FreeBSD:15:latest-0.2.3n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-pytorch>=1.6 : misc/py-pytorch@py311
  2. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
misc_py-lion-pytorch
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/l/lion_pytorch/
  2. https://pypi.org/packages/source/l/lion_pytorch/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.2.3
19 Sep 2025 07:36:14
commit hash: 6583c3bc3d6778fcfe5569918e75bc107db0caa0commit hash: 6583c3bc3d6778fcfe5569918e75bc107db0caa0commit hash: 6583c3bc3d6778fcfe5569918e75bc107db0caa0commit hash: 6583c3bc3d6778fcfe5569918e75bc107db0caa0 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-lion-pytorch: New port: PyTorch: Lion optimizer

Number of commits found: 1