Skip to content

Commit 25368bc

Browse files
Deprecation updates
1 parent 242c602 commit 25368bc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bitsandbytes/autograd/_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def get_current_outlier_idx(self):
5050

5151

5252
@deprecated(
53-
"This function is deprecated and will be removed in a future release. Consider using `int8_vectorwise_dequant` instead.",
53+
"This function is deprecated and will be removed in a future release.",
5454
category=FutureWarning,
5555
)
5656
def get_inverse_transform_indices(
@@ -85,7 +85,7 @@ def get_inverse_transform_indices(
8585

8686

8787
@deprecated(
88-
"This function is deprecated and will be removed in a future release. Consider using `int8_vectorwise_dequant` instead.",
88+
"This function is deprecated and will be removed in a future release.",
8989
category=FutureWarning,
9090
)
9191
def undo_layout(permuted_tensor: torch.Tensor, tile_indices: torch.LongTensor) -> torch.Tensor:

bitsandbytes/functional.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2463,7 +2463,7 @@ def vectorwise_quant(x, dim=1, quant_type="vector"):
24632463

24642464

24652465
@deprecated(
2466-
"This function is deprecated and will be removed in a future release. Consider using `int8_vectorwise_dequant` instead.",
2466+
"This function is deprecated and will be removed in a future release.",
24672467
category=FutureWarning,
24682468
)
24692469
def vectorwise_dequant(xq, max1, quant_type="vector"):
@@ -2475,7 +2475,7 @@ def vectorwise_dequant(xq, max1, quant_type="vector"):
24752475

24762476

24772477
@deprecated(
2478-
"This function is deprecated and will be removed in a future release. Consider using `int8_mm_dequant` instead.",
2478+
"This function is deprecated and will be removed in a future release.",
24792479
category=FutureWarning,
24802480
)
24812481
def vectorwise_mm_dequant(xq, S1, S2, dtype=torch.half, quant_type="vector"):

0 commit comments

Comments
 (0)