[GDN] Enable FI Blackwell GDN prefill kernel (#40717)

Signed-off-by: Artem Perevedentsev <aperevedents@nvidia.com>
This commit is contained in:
Artem Perevedentsev
2026-05-20 01:46:55 -07:00
committed by GitHub
parent 9b343dd4f5
commit 1cb224430b
2 changed files with 58 additions and 27 deletions
+6
View File
@@ -202,6 +202,12 @@ class CudaPlatformBase(Platform):
def get_device_capability(cls, device_id: int = 0) -> DeviceCapability | None:
raise NotImplementedError
@classmethod
def get_cuda_runtime_major(cls) -> int:
"""Major ``torch.version.cuda`` version, or ``0`` if undetermined."""
major = (torch.version.cuda or "0").split(".", 1)[0]
return int(major) if major.isdigit() else 0
@classmethod
def get_device_name(cls, device_id: int = 0) -> str:
raise NotImplementedError