Fix CUDA check (#2710)
Summary: `torch.version.cuda` can return a string of form X.X or X.X.X. This PR modifies the CUDA version check to account for this. Pull Request resolved: https://github.com/pytorch/audio/pull/2710 Reviewed By: carolineechen, nateanl Differential Revision: D39796810 Pulled By: hwangjeff fbshipit-source-id: b483bd8200195844d65d0caddebaf1b10f939b64
Showing
Please register or sign in to comment