flashinfer.cake_mhc_nondet_train.is_cake_mhc_nondet_train_supported¶
- flashinfer.cake_mhc_nondet_train.is_cake_mhc_nondet_train_supported(device: device, hidden: int | None = None) bool¶
Whether
device(and optionallyhidden) has every exported route of the backend package.- Parameters:
device (torch.device) – Device to query; a device that is not CUDA, or whose architecture is not SM100 / SM103 / SM107, gives
False.hidden (int, optional) – Hidden size to query: 4096, 5120 or 7168 on SM100 / SM103, 4096 on SM107.
None(default) queries the architecture only.
- Returns:
Truewhen the device (athidden, when given) has the routes.- Return type:
bool