BhavaishKumar112 commited on
Commit
9fa0978
·
verified ·
1 Parent(s): 7a9794e

Delete get_device_id.py

Browse files
Files changed (1) hide show
  1. get_device_id.py +0 -7
get_device_id.py DELETED
@@ -1,7 +0,0 @@
1
- import torch
2
-
3
- def get_device_id():
4
- if torch.cuda.is_available():
5
- return 0
6
-
7
- return -1