Skip to content

Commit

Permalink
use c implementation of quantization
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackmin801 committed Oct 4, 2024
1 parent b290a76 commit 4246818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/all_reduce_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def main(config: Config):
globals={"all_reduce": all_reduce, "mat": mat, "transfer_dtype": transfer_dtype},
)
elif config.transfer_dtype is not None and torch.uint8:
from zeroband.compression import uniform_8bit_quantize
from zeroband.C.compression import uniform_8bit_quantize

t0 = benchmark.Timer(
stmt="all_reduce(mat, quantization_func=foo)",
Expand Down

0 comments on commit 4246818

Please sign in to comment.