[Bugfix] Fix support for dimension like integers and ScalarType (#9299)
This commit is contained in:
@@ -290,10 +290,6 @@ def _build_custom_ops() -> bool:
|
||||
return _is_cuda() or _is_hip() or _is_cpu()
|
||||
|
||||
|
||||
def _build_core_ext() -> bool:
|
||||
return not (_is_neuron() or _is_tpu() or _is_openvino() or _is_xpu())
|
||||
|
||||
|
||||
def get_hipcc_rocm_version():
|
||||
# Run the hipcc --version command
|
||||
result = subprocess.run(['hipcc', '--version'],
|
||||
@@ -456,9 +452,6 @@ def get_requirements() -> List[str]:
|
||||
|
||||
ext_modules = []
|
||||
|
||||
if _build_core_ext():
|
||||
ext_modules.append(CMakeExtension(name="vllm._core_C"))
|
||||
|
||||
if _is_cuda() or _is_hip():
|
||||
ext_modules.append(CMakeExtension(name="vllm._moe_C"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user