Download training/shim/icefall/utils.py from Reza2kn/Shenava-Rizeh-v1.5: direct link, hf CLI and curl.
- Browser
- Download file 128 Bytes
-
https://huggingface.co/Reza2kn/Shenava-Rizeh-v1.5/resolve/main/training/shim/icefall/utils.py
- Command line
-
hf download hf://Reza2kn/Shenava-Rizeh-v1.5/training/shim/icefall/utils.py
-
curl -L -o utils.py https://huggingface.co/Reza2kn/Shenava-Rizeh-v1.5/resolve/main/training/shim/icefall/utils.py
128 Bytes
| import torch | |
| def torch_autocast(device_type="cuda", **kwargs): | |
| return torch.amp.autocast(device_type=device_type, **kwargs) | |