From 22cefe04b4007607ff235ea8520cd404ad44df3e Mon Sep 17 00:00:00 2001 From: SYLAR <125541396+lishunyang12@users.noreply.github.com> Date: Fri, 4 Sep 2026 22:15:55 +0800 Subject: [PATCH] [Bugfix] Update Hub kernel dependency floor (#7020) Signed-off-by: hsliuustc0106 Co-authored-by: hsliuustc0106 --- .../diffusion/attention_backends/huggingface_hub.md | 2 +- requirements/common.txt | 5 +++-- tests/diffusion/models/ltx2/test_ltx25_pipeline.py | 2 +- vllm_omni/diffusion/models/ltx2/ltx2_components.py | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/user_guide/diffusion/attention_backends/huggingface_hub.md b/docs/user_guide/diffusion/attention_backends/huggingface_hub.md index 846e69fbc..574ff625a 100644 --- a/docs/user_guide/diffusion/attention_backends/huggingface_hub.md +++ b/docs/user_guide/diffusion/attention_backends/huggingface_hub.md @@ -12,7 +12,7 @@ implementations to reduce numerical drift and sampling divergence. ## Installation ```bash -pip install kernels==0.14.1 +pip install kernels==0.15.2 ``` If `kernels` is unavailable, an explicit `FLASH_ATTN_HUB` or diff --git a/requirements/common.txt b/requirements/common.txt index 99d7412d2..bb79e0a6a 100644 --- a/requirements/common.txt +++ b/requirements/common.txt @@ -13,8 +13,9 @@ transformers >= 5.10.1, < 5.15 av>=14.0.0 omegaconf>=2.3.0 diffusers==0.40.0 -# Hub kernels, including LTX-2.5 NATTEN -kernels==0.14.1 +# Hub kernels, including LTX-2.5 NATTEN. Keep this pin in sync with the +# supported transformers range above. +kernels==0.15.2 safetensors>=0.8.0 accelerate==1.12.0 soundfile>=0.13.1 diff --git a/tests/diffusion/models/ltx2/test_ltx25_pipeline.py b/tests/diffusion/models/ltx2/test_ltx25_pipeline.py index 4b1fef7d5..950906190 100644 --- a/tests/diffusion/models/ltx2/test_ltx25_pipeline.py +++ b/tests/diffusion/models/ltx2/test_ltx25_pipeline.py @@ -386,7 +386,7 @@ def test_ltx25_natten_failure_has_actionable_omni_remedy(monkeypatch): MissingNattenProcessor, ) - with pytest.raises(RuntimeError, match=r"kernels==0\.14\.1.*supported GPU.*allow Hub access"): + with pytest.raises(RuntimeError, match=r"kernels==0\.15\.2.*supported GPU.*allow Hub access"): ltx2_components._create_ltx25_natten_processor() diff --git a/vllm_omni/diffusion/models/ltx2/ltx2_components.py b/vllm_omni/diffusion/models/ltx2/ltx2_components.py index 03e03c8f7..c00fdd835 100644 --- a/vllm_omni/diffusion/models/ltx2/ltx2_components.py +++ b/vllm_omni/diffusion/models/ltx2/ltx2_components.py @@ -298,7 +298,7 @@ def _create_ltx25_natten_processor() -> LTX2VideoVaeNeighborhoodNattenProcessor: except (ImportError, OSError, RuntimeError, ValueError) as exc: raise RuntimeError( "LTX-2.5 DiffVAE requires the shi-labs/natten Hub kernel. " - "Install kernels==0.14.1, use a supported GPU, leave " + "Install kernels==0.15.2, use a supported GPU, leave " "DIFFUSERS_DISABLE_REMOTE_CODE unset, and allow Hub access during kernel initialization." ) from exc