From e0db5a99a3986c0f9be8d68dbe412720e1bd311a Mon Sep 17 00:00:00 2001 From: RunguoLi Date: Tue, 22 Sep 2026 12:06:48 -0500 Subject: [PATCH] fix(qwen): use cached checkpoint offline in E2E test The Community GPU lane stages checkpoints on the trusted host and runs the family E2E with HF_HUB_OFFLINE=1. `_checkpoint()` calls `snapshot_download` without `local_files_only`, so for a manifest pinned to a commit whose cache has no tree index, huggingface_hub 1.32 still lists the repository tree and raises OfflineModeIsEnabled before anything is built. The lane fails qwen3-0.6b-bf16-native-kv-two-chunk-parity this way. Resolve the staged snapshot from the local cache, as #1407 did for qwen3_8. The other checkpoint lookups in this test already pass `local_files_only=True`. Signed-off-by: RunguoLi --- families/qwen/tests/test_e2e.py | 1 + 1 file changed, 1 insertion(+) diff --git a/families/qwen/tests/test_e2e.py b/families/qwen/tests/test_e2e.py index 2c62d307ff..88051dc3a2 100644 --- a/families/qwen/tests/test_e2e.py +++ b/families/qwen/tests/test_e2e.py @@ -110,6 +110,7 @@ def _checkpoint(manifest: dict) -> Path: snapshot_download( repo_id=manifest["hf_id"], revision=manifest.get("hf_revision"), + local_files_only=True, ) ) assert (path / "config.json").is_file(), path