Files
aituner/patches/vllm-0.24.0-opprof/0005-Keep-compile-factor-regression-import-light.patch
Gahow Wang d5b276180d Add OpProf campaign: protocols, results, patches, run evidence (P0-P6)
Workload-conditioned operator profiling on patched vLLM 0.24.0 +
Qwen3-30B-A3B/H20. H1b PASS (irregular patterns carry +23-45pp R64
raggedness, 8-45% token-efficiency loss vs rectangular controls);
mechanism decomposition kills the padding narrative and finds the
arrival-uniformization artifact (-12.9%); cross-version churn surface
shows TP2/MNS64 -29.4% across vLLM 0.20->0.24 while the argmax held.
Raw Layer-1 JSONL streams (507 MB) stay on disk, git-ignored; footer
sidecars and metrics are tracked.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 11:06:10 +08:00

25 lines
950 B
Diff

From bbfa7176a6a3686a88ee66696f1ad8d754559d96 Mon Sep 17 00:00:00 2001
From: Gahow Wang <gahow.wang@gmail.com>
Date: Sat, 11 Jul 2026 22:38:08 +0800
Subject: [PATCH 5/5] Keep compile-factor regression import-light
---
tests/v1/core/test_opprof.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/v1/core/test_opprof.py b/tests/v1/core/test_opprof.py
index a820e7e..0b8a8a1 100644
--- a/tests/v1/core/test_opprof.py
+++ b/tests/v1/core/test_opprof.py
@@ -37,6 +37,7 @@ def test_output_dir_is_not_a_compile_factor(monkeypatch: pytest.MonkeyPatch):
config_utils = ModuleType("vllm.config.utils")
config_utils.__dict__["normalize_value"] = lambda value: value
monkeypatch.setitem(sys.modules, "vllm.config.utils", config_utils)
+ monkeypatch.setitem(sys.modules, "torch", ModuleType("torch"))
monkeypatch.setenv("VLLM_OPPROF_DIR", "/tmp/opprof")
assert "VLLM_OPPROF_DIR" not in envs.compile_factors()
--
2.43.0