From 69eb95f20c397936c6d80ba825bfea16dc9d3d18 Mon Sep 17 00:00:00 2001 From: Bingxu Chen Date: Mon, 20 Apr 2026 14:43:56 +0800 Subject: [PATCH] [AMD] Pin peft<0.19 in pyproject_other.toml to fix ROCm CI ImportError (#23161) Co-authored-by: HAI Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- python/pyproject_other.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/pyproject_other.toml b/python/pyproject_other.toml index 37de1f458..faa42ef84 100755 --- a/python/pyproject_other.toml +++ b/python/pyproject_other.toml @@ -99,7 +99,7 @@ srt_hip = [ diffusion_hip = [ "sglang[diffusion_common]", - "peft>=0.18.0", + "peft>=0.18.0,<0.19.0", # Pin to <0.19.0 due to torchao incompatibility "st_attn==0.0.7", "vsa==0.0.4", "runai_model_streamer>=0.15.5", @@ -161,7 +161,7 @@ test = [ "jsonlines", "matplotlib", "pandas", - "peft>=0.18.0", + "peft>=0.18.0,<0.19.0", # Pin to <0.19.0 due to torchao incompatibility "pytest", "sentence_transformers", "tabulate",