cuda check and better comment
This commit is contained in:
Regular → Executable
+1
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
'''
|
||||
little script to check if cuda is available in pytorch and working
|
||||
organised as a check that raises an exception if cuda is not available, and data cannot be moved to the gpu
|
||||
|
||||
Reference in New Issue
Block a user