gpo.zugaina.org

Search Portage & Overlays:

sci-ml/trl

Train transformer language models with reinforcement learning (SFT, DPO, GRPO)

Screenshots

  • trl-1.9.2
    ~amd64
    python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14

    View      Download      Browse     License: Apache-2.0   
    Overlay: stuff
  • trl-1.9.1
    ~amd64
    python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14

    View      Download      Browse     License: Apache-2.0   
    Overlay: stuff
  • trl-1.8.0
    ~amd64
    python_single_target_python3_12 python_single_target_python3_13

    View      Download      Browse     License: Apache-2.0   
    Overlay: stuff
  • trl-1.7.1
    ~amd64
    python_single_target_python3_12 python_single_target_python3_13

    View      Download      Browse     License: Apache-2.0   
    Overlay: stuff

ChangeLog

commit 333b2713b682570d83325e60b6f28b4ed3982448
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Jul 29 10:19:45 2026 +0200

sci-ml/trl: drop 1.9.0

commit a9e0341cd78b528f3ff5ac4ca4f6f9ede8d66efc
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Jul 29 10:19:32 2026 +0200

sci-ml/trl: add 1.9.2

commit b2727cf6928bf9da36404069b6a410df38992609
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon Jul 27 16:59:28 2026 +0200

sci-ml/trl: add 1.9.1

All five runtime requirements and their floors are unchanged from 1.9.0,
so the ebuild carries over as-is.

commit d26e488d095396a8343a1053601f18f59982a8df
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Mon Jul 27 10:04:12 2026 +0200

*/*: drop dead Python targets from PYTHON_COMPAT

139 ebuilds across 65 packages still listed python3_10, python3_11 or
python3_13t. None of the three is a supported implementation any more:
gentoo's python-utils-r1 sets _PYTHON_ALL_IMPLS to python3_ plus
python3_t, and everything older falls into the branch commented
"implementations deprecated prior to EAPI 9 are fatal".

Inert today, which is why nothing caught it. Targets outside
_PYTHON_ALL_IMPLS are silently dropped rather than rejected, so they
never became USE flags and never produced a dependency atom -- an ebuild
declaring python3_ was only ever offering 12, 13 and 14.

Two reasons to clean them up anyway. The eclass branch they land in
dies for any EAPI other than 7 or 8, so all 139 are waiting to break on
the first EAPI 9 bump. And pkgcheck's OldPythonCompat is a git-scoped
check that only inspects ebuilds touched in a commit range, so it never
reports these on a full-tree scan and would instead fire on whichever
unrelated commit next touches one of them.

No revbump, because nothing observable changes. Verified on a sample
spanning every transformation shape that the python USE flags portage
offers are byte-identical before and after, and that a pkgcheck run
over all 65 packages returns a set-identical list of findings.

The eight python2_7 ebuilds are deliberately untouched: that target is
also absent from _PYTHON_ALL_IMPLS, but they reach it through the
_PYTHON_ALLOW_PY27 hatch in the overlay's forked python-utils-r1_py2.

commit 78aea580e6b72f94f61975b715d5da92a0d2f48b
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sun Jul 26 22:43:50 2026 +0200

sci-ml/trl: track the supported interpreters on 1.9.0

Upstream 1.9.0 classifies python3_14 and ships a pure-python wheel, and the
single-impl dep chain (transformers, accelerate, datasets, pytorch) all reach
python3_14.

python3_11 goes at the same time, for the same reason as bitsandbytes: it is
no longer a ::gentoo target and the dep chain does not offer it.

commit 1627b1f2313419deb70f87e1bcdf7096530d91c5
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Jul 22 16:00:56 2026 +0200

sci-ml/trl: add 1.9.0

commit ab657640dba0fadf6c1866d0b50afa5fd48340ba
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Fri Jul 10 13:55:02 2026 +0200

sci-ml/trl: add 1.8.0

commit 2216e94dd66856c8f19038918196535d276fa390
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Jul 4 13:24:24 2026 +0200

sci-ml/trl: new package, add 1.7.1

Reinforcement-learning fine-tuning for transformer LMs (SFT/DPO/GRPO), part of
the LlamaFactory dependency cluster. Pure-Python (setuptools); build+install and
import verified.