Skip to content

Commit

Permalink
Update moshi/moshi/quantization/core_vq.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ishita Mediratta <[email protected]>
  • Loading branch information
adefossez and ishitamed19 authored Oct 14, 2024
1 parent c26dfc7 commit 7bc4362
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion moshi/moshi/quantization/core_vq.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,6 @@ def forward(self, x: torch.Tensor, initialize: bool = True) -> _VQForwardResult:
else:
loss = zero_scalar(x.device)

loss = zero_scalar(x.device)

quantized = self.project_out(quantized)
quantized = self._rearrange_output(quantized)
Expand Down

0 comments on commit 7bc4362

Please sign in to comment.