ironjr commited on
Commit
1856601
1 Parent(s): e533760

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -0
model.py CHANGED
@@ -149,6 +149,7 @@ class StreamMultiDiffusion(nn.Module):
149
  lora_scale=1.0,
150
  safe_fusing=False,
151
  )
 
152
  if use_xformers:
153
  self.pipe.enable_xformers_memory_efficient_attention()
154
 
 
149
  lora_scale=1.0,
150
  safe_fusing=False,
151
  )
152
+ self.pipe.to(device=self.device, dtype=self.dtype)
153
  if use_xformers:
154
  self.pipe.enable_xformers_memory_efficient_attention()
155