Skip to content

Commit 4075a64

Browse files
committed
Update to kernel registration
1 parent 223fea5 commit 4075a64

File tree

1 file changed

+2
-1
lines changed
  • bitsandbytes/backends/cuda

1 file changed

+2
-1
lines changed

bitsandbytes/backends/cuda/ops.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ def _gemv_4bit_impl(
610610
}
611611

612612

613-
def optimizer_update_32bit(
613+
def _optimizer_update_32bit_impl(
614614
optimizer_name: str,
615615
g: torch.Tensor,
616616
p: torch.Tensor,
@@ -763,3 +763,4 @@ def _optimizer_update_8bit_blockwise_impl(
763763

764764

765765
register_kernel("bitsandbytes::optimizer_update_8bit_blockwise", "cuda")(_optimizer_update_8bit_blockwise_impl)
766+
register_kernel("bitsandbytes::optimizer_update_32bit", "cuda")(_optimizer_update_32bit_impl)

0 commit comments

Comments
 (0)