ironjr commited on
Commit
47917a8
1 Parent(s): 3913e77

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -300,7 +300,7 @@ class StreamMultiDiffusion(nn.Module):
300
  (b, 4, self.latent_height, self.latent_width), dtype=self.dtype, device=self.device))
301
  else:
302
  self.x_t_latent_buffer = torch.zeros(
303
- (b, 4, self.latent_height, self.latent_width), dtype=self.dtype, device=self.device))
304
 
305
  def reset_state(self) -> None:
306
  # TODO Reset states for context switch between multiple users.
 
300
  (b, 4, self.latent_height, self.latent_width), dtype=self.dtype, device=self.device))
301
  else:
302
  self.x_t_latent_buffer = torch.zeros(
303
+ (b, 4, self.latent_height, self.latent_width), dtype=self.dtype, device=self.device)
304
 
305
  def reset_state(self) -> None:
306
  # TODO Reset states for context switch between multiple users.