espnet2.sds.end_to_end.mini_omni.litgpt.utils.get_default_supported_precision
Less than 1 minute
espnet2.sds.end_to_end.mini_omni.litgpt.utils.get_default_supported_precision
espnet2.sds.end_to_end.mini_omni.litgpt.utils.get_default_supported_precision(training: bool) → str
Return default precision that is supported by the hardware:
either bf16 or 16.
- Parameters:training – -mixed or -true version of the precision to use
- Returns: default precision that is suitable for the task and is supported by the hardware
