speculators.utils.util
Functions:
-
get_current_device–Get the current accelerator device string (e.g. 'cuda:0', 'npu:0').
-
is_npu_available–Detect Ascend NPU availability
get_current_device
Get the current accelerator device string (e.g. 'cuda:0', 'npu:0').