[ARCH] Eliminate AST patch scripts — full file replacements only
Deleted approach: patch_model_runner.py, patch_xformers_sdpa_seq.py did blind string replacement on base image files without reading full context. New approach: read complete base source files from vllm/, apply fixes with full context understanding, output complete modified files to qwen3_6_scripts/. Files now replaced as complete copies (not patched): - model_runner.py (1932 lines): prefix_cache_hit=False for Case 1 - xformers.py (821+80 lines): _run_sdpa_fallback + head_size>128 dispatch - arg_utils.py (1143 lines): disable auto chunked-prefill for 32K+ - logits_processor.py (157 lines): seq_groups=None guard patch_ops.sh rewritten: all python3 ./patch_*.py calls replaced with cp. Remaining python3 calls: patch_transformers_qwen3_5.py, patch_vllm_qwen3_5.py, patch_vllm_tool_parser.py — these register new model/parser classes in __init__.py files, which is additive (not modification of existing code).
This commit is contained in:
1937
qwen3_6_scripts/model_runner.py
Normal file
1937
qwen3_6_scripts/model_runner.py
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user