Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vllm_fl/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def is_cuda_alike(self) -> bool:

def is_cuda(self) -> bool:
"""Stateless version of [torch.cuda.is_available][]."""
if self.vendor_name == "iluvatar":
if self.vendor_name == "iluvatar" or self.vendor_name == "hygon":
return False
return self.device_type == "cuda"

Expand Down