gururise commited on
Commit
cfb1719
·
1 Parent(s): 73a5dc2

dtype to bfloat16 to speed things up

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def get_model():
28
  "pytorch(cpu/gpu)",
29
  runtimedtype=torch.float32,
30
  useGPU=torch.cuda.is_available(),
31
- dtype=torch.float32
32
  )
33
  return model
34
 
 
28
  "pytorch(cpu/gpu)",
29
  runtimedtype=torch.float32,
30
  useGPU=torch.cuda.is_available(),
31
+ dtype=torch.bfloat16
32
  )
33
  return model
34