EvanTHU commited on
Commit
54ac52b
1 Parent(s): 7e9ae62

Update models/gaussian_diffusion.py

Browse files
Files changed (1) hide show
  1. models/gaussian_diffusion.py +1 -0
models/gaussian_diffusion.py CHANGED
@@ -29,6 +29,7 @@ class DiffusePipeline(object):
29
  self.num_inference_steps = num_inference_steps
30
  if self.torch_dtype == torch.float16:
31
  model = model.half()
 
32
  self.model = model.to(device)
33
  self.opt = opt
34
 
 
29
  self.num_inference_steps = num_inference_steps
30
  if self.torch_dtype == torch.float16:
31
  model = model.half()
32
+ print("Xxx",device,"xxxx")
33
  self.model = model.to(device)
34
  self.opt = opt
35