3 Commits
Author SHA1 Message Date
wangdongyun cae3d108f3 chore: keep only launch-time logic, drop image-library patches
Remove the two patches that modified files inside the image and were not
related to the sliding-window / tokenizer fixes:

- patch_ops.py + patched_ops/ (injected gelu_tanh_and_mul into ixformer)
- detect_head_size.py (rewrote vllm paged_attn.py at startup)

Neither had a hit in the recent failure corpus, and both touched the
image's libraries. The build now only installs the launcher scripts; the
container still decides tokenizer source and serve flags at startup.
2026-11-10 22:20:23 +00:00
wangdongyun ac8773a77a chore: drop the weight-load progress patch
The patch only added timing/log lines around weight loading; it did not
change any behaviour. Remove it so the image carries fewer build-time
code edits, and keep the ixformer ops patch (still verified at build).
2026-11-10 22:15:23 +00:00
wangdongyun cb9b04c95f feat: vLLM 0.6.3 engine with sliding-window guard + tokenizer fix
- sliding-window guard: add --disable-sliding-window only when the model
  really has sliding_window and the xformers backend lacks
  make_local_attention; cap --max-model-len to the window size; skip
  models whose rope_scaling is not supported by this vLLM (yarn, ...)
- tokenizer fix: rewrite tokenizer_class / extra_special_tokens /
  from_slow, keep auto_map + copied repo code; every candidate is
  verified with AutoTokenizer.from_pretrained, all-fail falls back to
  starting vLLM unchanged
- head_size patch + ixformer ops patch + weight-load progress log kept
- selftests for tokenizer, sliding window and final argv
2026-11-10 22:08:34 +00:00