lllyasviel commited on
Commit
3850303
·
1 Parent(s): b881d9e
Files changed (1) hide show
  1. modules/core.py +0 -2
modules/core.py CHANGED
@@ -109,8 +109,6 @@ def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=9.0, sa
109
  sigmas = None
110
  disable_pbar = False
111
 
112
- device = comfy.model_management.get_torch_device()
113
-
114
  if noise_mask is not None:
115
  noise_mask = prepare_mask(noise_mask, noise.shape, device)
116
 
 
109
  sigmas = None
110
  disable_pbar = False
111
 
 
 
112
  if noise_mask is not None:
113
  noise_mask = prepare_mask(noise_mask, noise.shape, device)
114