Spaces:
Running
on
Zero
Running
on
Zero
Update models/gaussian_diffusion.py
Browse files
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 |
|