lmflow.utils.envs#
ref: pytorch/torchtune
Attributes#
Functions#
|
Get the device name based on the current machine. |
|
Return the corresponding torch attribute based on the device type string. |
ref: pytorch/torchtune
|
Get the device name based on the current machine. |
|
Return the corresponding torch attribute based on the device type string. |