[Mini-VLLM] Remove the ROCm device path, debug routes and arch-gated tests

- Delete csrc/rocm, hipify, the _rocm_C extension and the setup.py rocm
  target path; drop the rocm requirement files
- Delete the aiter, rdna3, skinny-gemm and ROCm fused-MoE kernel modules
  and retarget the linear kernel registries away from them
- Reduce platforms/rocm.py to the GCN architecture predicates that live
  code still imports, and delete the RocmPlatform class and plugin
- Drop the VLLM_SERVER_DEV_MODE debug surface: reset, collective_rpc,
  server_info and sleep routes plus the log_error_stack flag
- Delete lm-format-enforcer, lark and otel-semantic-conventions-ai pins;
  the live server process maps none of them
- Delete tests that only build architectures this fork no longer
  registers, and test directories left without any test file
- Restore the tests/v1/kv_connector mock helpers that scheduler tests
  import at module level

Co-authored-by: Hinata <hinata@idihore.id>
Signed-off-by: MOVZX <movzx@yahoo.com>
This commit is contained in:
2026-10-19 19:31:07 +07:00
co-authored by Hinata
parent 2066d3143f
commit 5f3c7bd8ab
162 changed files with 599 additions and 27490 deletions
+4 -4
View File
@@ -579,10 +579,10 @@ def allocate_kv_cache(
sizes = {tensor.size for tensor in kv_cache_config.kv_cache_tensors}
assert len(sizes) == 1, "KV cache tensors must share one backing allocation."
raw_size = sizes.pop()
# wvSplitKrc's process-lifetime static workspaces (csrc/rocm/skinny_gemms.cu)
# are created lazily on the first qualifying GEMM. Force that now, before
# the giant backing allocation below: if one landed in this segment's
# rounding tail it would pin the whole segment at engine shutdown.
# wvSplitKrc's process-lifetime static workspaces are created lazily on
# the first qualifying GEMM. Force that now, before the giant backing
# allocation below: if one landed in this segment's rounding tail it would
# pin the whole segment at engine shutdown.
if current_platform.is_rocm():
warmup_rocm_skinny_gemm_workspaces(device)
# Pad to the page granularity MoRIIO needs to register the shared