[Quant] Enable modelopt_mixed on Turing (SM75) (#45375)
Signed-off-by: Mike G <180722391+mikekg@users.noreply.github.com>
This commit is contained in:
@@ -424,7 +424,12 @@ class FlashInferBackend(AttentionBackend):
|
||||
|
||||
@classmethod
|
||||
def supports_compute_capability(cls, capability: DeviceCapability) -> bool:
|
||||
return capability >= DeviceCapability(7, 5) and capability <= DeviceCapability(
|
||||
# FlashInfer supports SM75+, but is currently broken on SM75 (Turing):
|
||||
# https://github.com/flashinfer-ai/flashinfer/issues/3620 (fix:
|
||||
# https://github.com/flashinfer-ai/flashinfer/pull/3621). Temporarily
|
||||
# raise the floor to SM80 so it is not auto-selected on SM75 until
|
||||
# that fix lands; revert to DeviceCapability(7, 5) once it does.
|
||||
return capability >= DeviceCapability(8, 0) and capability <= DeviceCapability(
|
||||
12, 1
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user