Commit
·
32cbc00
1
Parent(s):
d2f7329
float32
Browse files
loop.py
CHANGED
@@ -16,7 +16,7 @@ class EndpointHandler():
|
|
16 |
def __init__(self, path=""):
|
17 |
# Preload
|
18 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
19 |
-
DTYPE = torch.
|
20 |
|
21 |
self.device = torch.device(DEVICE)
|
22 |
|
|
|
16 |
def __init__(self, path=""):
|
17 |
# Preload
|
18 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
19 |
+
DTYPE = torch.float32
|
20 |
|
21 |
self.device = torch.device(DEVICE)
|
22 |
|