Skip to content

Commit 3c6d09d

Browse files
authored
Fix deprecation warning message for BlockSparseLayout
1 parent d235305 commit 3c6d09d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchao/dtypes/uintx/block_sparse_layout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
warnings.warn(
1111
"Importing BlockSparseLayout from torchao.dtypes is deprecated. "
1212
"Please use 'from torchao.prototype.dtypes import BlockSparseLayout' instead. "
13-
"This import path will be removed in future torchao releases. "
13+
"This import path will be removed in a future torchao release. "
1414
"Please check issue: https://github.com/pytorch/ao/issues/2752 for more details. ",
1515
DeprecationWarning,
1616
stacklevel=2,

0 commit comments

Comments
 (0)