fix: tiny fix cli (#12744)

This commit is contained in:
Mick
2025-11-06 14:45:50 +08:00
committed by GitHub
parent 837b08eb2e
commit 73e9a2ef5c
8 changed files with 206 additions and 158 deletions
@@ -217,6 +217,7 @@ class CudaPlatformBase(Platform):
elif selected_backend == AttentionBackendEnum.FA3:
if is_blackwell():
raise ValueError("The 'fa3' backend is not supported on Blackwell GPUs")
target_backend = AttentionBackendEnum.FA3
elif selected_backend:
raise ValueError(f"Invalid attention backend for {cls.device_name}")
else: