Commit 4249d339 authored by kurumuz's avatar kurumuz

fix bug

parent cfcbdddc
......@@ -134,6 +134,7 @@ class StableDiffusionModel(nn.Module):
typex = torch.float16
else:
typex = torch.float32
self.model = model.to(config.device).to(typex)
self.k_model = K.external.CompVisDenoiser(model)
self.k_model = StableInterface(self.k_model)
self.device = config.device
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment