flashinfer.cake_gdn_nondet_train.is_cake_gdn_nondet_train_supported

flashinfer.cake_gdn_nondet_train.is_cake_gdn_nondet_train_supported(device: device | str | int | None = None) → bool

True when device (default: the current CUDA device) is an exported target of the package (sm_100a, sm_103a or sm_107a); False without CUDA or for a device that is not CUDA.

The package’s loader is imported first: a package that does not import raises, it is not reported as “not supported”.

Parameters:

device (torch.device, str, int, optional) – Device to query; None selects the current CUDA device.