nemo_automodel.shared.utils
nemo_automodel.shared.utils
Module Contents
Functions
API
Translate a str val of a dtype into the corresponding torch.dtype Args: val (str): the dotted path of the dtype (e.g., βtorch.bfloat16β).
Returns:
torch.dtype: the actual dtype (e.g., torch.bfloat16)