pytorch
7e274964 - [BE] Disamntle pyramid of doom in _check_cuda_version (#81602)

Commit
3 years ago
[BE] Disamntle pyramid of doom in _check_cuda_version (#81602) Replace `if stmt: doSmth; else: raise_or_return` with `if not stmt: raise_or_return; doSmth` Pull Request resolved: https://github.com/pytorch/pytorch/pull/81602 Approved by: https://github.com/ezyang
Author
Committer
Parents
Loading