Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
small format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasWilkinson committed Feb 14, 2024
1 parent 5c6a55e commit ae57f2c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def apply_weights(
) -> torch.Tensor:
w: LazyCompressedParameter = weights["weight"]

# if we never compressed (likely due to insufficient sparsity), i.e. have uncompressed_data run normally
# if we never compressed (likely due to insufficient sparsity),
# i.e. have uncompressed_data run normally
if w.has_uncompressed_data:
assert not w.has_compressed_data
output = F.linear(x, w.uncompressed_data, bias)
Expand Down

0 comments on commit ae57f2c

Please sign in to comment.