Files
enginex-mlu370-vllm/vllm-v0.6.2/vllm/platforms/neuron.py
2026-02-04 17:22:39 +08:00

10 lines
211 B
Python

from .interface import Platform, PlatformEnum
class NeuronPlatform(Platform):
_enum = PlatformEnum.NEURON
@classmethod
def get_device_name(cls, device_id: int = 0) -> str:
return "neuron"