Commit
·
d2f7329
1
Parent(s):
de0bfd0
Change precision?
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.bfloat32
|
20 |
|
21 |
self.device = torch.device(DEVICE)
|
22 |
|