forked from EngineX-Cambricon/enginex-mlu370-vllm
add qwen3
This commit is contained in:
11
vllm-v0.6.2/vllm/platforms/hpu.py
Normal file
11
vllm-v0.6.2/vllm/platforms/hpu.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import torch
|
||||
|
||||
from .interface import Platform, PlatformEnum
|
||||
|
||||
|
||||
class HpuPlatform(Platform):
|
||||
_enum = PlatformEnum.HPU
|
||||
|
||||
@staticmethod
|
||||
def inference_mode():
|
||||
return torch.no_grad()
|
||||
Reference in New Issue
Block a user