From 514bb3a20e4f5a3b8f712881c882143bc29f6f2c Mon Sep 17 00:00:00 2001 From: Roland Tannous <115670425+rolandtannous@users.noreply.github.com> Date: Tue, 14 Apr 2026 20:16:30 +0400 Subject: [PATCH] studio: pin peft to 0.18.1 to fix export subprocess issues (#5015) * studio: pin peft to 0.18.1 to fix export subprocess issues peft 0.19.0 causes export subprocess shutdown failures in Studio. Reverting to 0.18.1 resolves the issue. * studio: move peft pin to extras-no-deps to prevent torch upgrade Installing peft via overrides.txt would resolve its deps and pull in torch>=0.11.0, breaking other pinned packages. Moving the pin to extras-no-deps.txt ensures --no-deps is used during install. --- studio/backend/requirements/extras-no-deps.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/studio/backend/requirements/extras-no-deps.txt b/studio/backend/requirements/extras-no-deps.txt index 59a8e45434..a16571567d 100644 --- a/studio/backend/requirements/extras-no-deps.txt +++ b/studio/backend/requirements/extras-no-deps.txt @@ -5,6 +5,10 @@ julius torchcodec snac +# peft 0.19.0 causes export subprocess shutdown issues in Studio; +# installing with --no-deps to avoid pulling in torch>=0.11.0 +peft==0.18.1 + # TRL and related packages trl==0.23.1 git+https://github.com/meta-pytorch/OpenEnv.git