Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions bitsandbytes/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import numpy as np
import torch
from torch import Tensor
from typing_extensions import deprecated

from bitsandbytes.utils import pack_dict_to_tensor, unpack_tensor_to_dict

Expand Down Expand Up @@ -1211,6 +1212,7 @@ def optimizer_update_8bit_blockwise(
)


@deprecated("This function is deprecated and will be removed in a future release.", category=FutureWarning)
def check_matmul(A, B, out, transposed_A, transposed_B, expected_type=torch.int8):
if not torch.cuda.is_initialized():
torch.cuda.init()
Expand Down Expand Up @@ -1332,6 +1334,7 @@ def gemv_4bit(
)


@deprecated("This function is deprecated and will be removed in a future release.", category=FutureWarning)
def igemm(
A: Tensor,
B: Tensor,
Expand Down Expand Up @@ -1433,6 +1436,7 @@ def igemm(
return out


@deprecated("This function is deprecated and will be removed in a future release.", category=FutureWarning)
def batched_igemm(
A: Tensor,
B: Tensor,
Expand Down
Loading