Skip to content

Commit

Permalink
clone
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackSamorez committed Feb 18, 2024
1 parent 0412546 commit a7d5627
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inference_lib/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = aqlm
version = 1.0.0
version = 1.0.2dev
author = AQLM paper authors
author_email = [email protected]
description = Efficiently run models quantized with AQLM
Expand Down
4 changes: 2 additions & 2 deletions inference_lib/src/aqlm/inference_kernels/cuda_kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ torch::Tensor code1x16_matmat(
auto output_sizes = input_sizes.vec();
output_sizes.pop_back();
output_sizes.push_back(-1);
auto output = flat_output.view(output_sizes);
auto output = flat_output.reshape(output_sizes).clone();
return output;
}

Expand Down Expand Up @@ -130,7 +130,7 @@ torch::Tensor code2x8_matmat(
auto output_sizes = input_sizes.vec();
output_sizes.pop_back();
output_sizes.push_back(-1);
auto output = flat_output.view(output_sizes);
auto output = flat_output.reshape(output_sizes).clone();
return output;
}

Expand Down

0 comments on commit a7d5627

Please sign in to comment.