()
| 820 | |
| 821 | |
| 822 | def disable_full_determinism(): |
| 823 | os.environ["CUDA_LAUNCH_BLOCKING"] = "0" |
| 824 | os.environ["CUBLAS_WORKSPACE_CONFIG"] = "" |
| 825 | torch.use_deterministic_algorithms(False) |
| 826 | |
| 827 | |
| 828 | # Utils for custom and alternative accelerator devices |
nothing calls this directly
no outgoing calls
no test coverage detected