han1997 commited on
Commit
d9f9e4d
·
verified ·
1 Parent(s): a83e4f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ vlm = load("cobra+3b")
32
 
33
  if torch.cuda.is_available():
34
  DEVICE = "cuda"
35
- DTYPE = torch.float16
36
  else:
37
  DEVICE = "cpu"
38
  DTYPE = torch.float32
 
32
 
33
  if torch.cuda.is_available():
34
  DEVICE = "cuda"
35
+ DTYPE = torch.bfloat16
36
  else:
37
  DEVICE = "cpu"
38
  DTYPE = torch.float32