Rename block sparse (#1149)

* block_sparse_mm to gather_mm

* rename

* nit

* nit
This commit is contained in:
Awni Hannun
2024-05-22 07:48:34 -07:00
committed by GitHub
parent e6fecbb3e1
commit d568c7ee36
16 changed files with 120 additions and 111 deletions

View File

@@ -1158,7 +1158,7 @@ array dequantize(
StreamOrDevice s = {});
/** Compute matrix products with matrix-level gather. */
array block_sparse_qmm(
array gather_qmm(
const array& x,
const array& w,
const array& scales,
@@ -1210,7 +1210,7 @@ array block_masked_mm(
StreamOrDevice s = {});
/** Compute matrix product with matrix-level gather */
array block_sparse_mm(
array gather_mm(
array a,
array b,
std::optional<array> lhs_indices = std::nullopt,