philschmid HF staff commited on
Commit
f717c2a
1 Parent(s): 6d64c7d

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +0 -1
handler.py CHANGED
@@ -16,7 +16,6 @@ if device.type != 'cuda':
16
  raise ValueError("need to run on GPU")
17
  # set mixed precision dtype
18
  dtype = torch.bfloat16 if torch.cuda.get_device_capability()[0] == 8 else torch.float16
19
- dtype = torch.bfloat16
20
 
21
  # controlnet mapping for controlnet id and control hinter
22
  CONTROLNET_MAPPING = {
 
16
  raise ValueError("need to run on GPU")
17
  # set mixed precision dtype
18
  dtype = torch.bfloat16 if torch.cuda.get_device_capability()[0] == 8 else torch.float16
 
19
 
20
  # controlnet mapping for controlnet id and control hinter
21
  CONTROLNET_MAPPING = {