From 0c21c43ae9cc64d80317ec7c957e436e677cf03c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 Apr 2026 00:54:49 +0000 Subject: [PATCH] build: update trl requirement from <=0.21.0 to <=1.3.0 Updates the requirements on [trl](https://github.com/huggingface/trl) to permit the latest version. - [Release notes](https://github.com/huggingface/trl/releases) - [Changelog](https://github.com/huggingface/trl/blob/main/RELEASE.md) - [Commits](https://github.com/huggingface/trl/compare/v0.2.0...v1.3.0) --- updated-dependencies: - dependency-name: trl dependency-version: 1.3.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d70093bf..4c7683b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -154,7 +154,7 @@ dependencies = [ # peft 0.19+ enforces torchao>=0.16 in PEFT (is_torchao_available); keep <0.19 while core torchao stays <0.16. # https://github.com/huggingface/peft/blob/6d5a6f4f2f902dbf13d21d2661d57c3c05df1dae/src/peft/import_utils.py#L131 "peft>=0.18.0,<0.19.0", - "trl<=0.21.0", + "trl<=1.3.0", "termcolor==2.3.0", ]