Skip to content

Commit c917a85

Browse files
committed
Fix
1 parent c6a3e6f commit c917a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mergekit/scripts/tokensurgeon.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def batch_omp(
289289
rt_approx = torch.bmm(
290290
final_coeff.unsqueeze(1), points_work[selected_indices]
291291
).squeeze(1)
292-
residuals = targets - rt_approx
292+
residuals = targets_work - rt_approx
293293
LOG.debug(f"OMP final RMS: {residuals.norm(dim=1).mean()}")
294294

295295
return selected_indices, final_coeff

0 commit comments

Comments
 (0)