[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:
@@ -5,11 +5,9 @@
|
||||
|
||||
#include <cmath>
|
||||
|
||||
// This header is shared between _rocm_C and _C_stable_libtorch targets.
|
||||
// This header is used by the _C_stable_libtorch target.
|
||||
// torch_utils.h provides get_device_prop(). We need to pass USE_CUDA
|
||||
// to the .so to expose some of the shims used by torch_utils.h. For now
|
||||
// this is only done for _C_stable_libtorch and not for _rocm_C, so we use
|
||||
// the non stable at::cuda::getCurrentDeviceProperties for _rocm_C for now.
|
||||
// to the .so to expose the shims used by torch_utils.h.
|
||||
#ifdef TORCH_TARGET_VERSION
|
||||
#include "torch_utils.h"
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user