-
Notifications
You must be signed in to change notification settings - Fork 359
Move block_sparse_layout to prototype #3276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3276
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 9bff162 with merge base 315e9b4 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Removed unused exports from block_sparse_layout.py
…orts - Move torchao/prototype/sparsity/block_sparse_layout.py to torchao/prototype/dtypes/uintx/block_sparse_layout.py - Update all imports to use 'from torchao.prototype.dtypes import BlockSparseLayout' - Update deprecation warning message - Create torchao/prototype/dtypes/__init__.py and torchao/prototype/dtypes/uintx/__init__.py - Remove BlockSparseLayout from torchao/prototype/sparsity/__init__.py - Update documentation
Removed redundant imports of block sparse layout functions.
312bf4c to
8ebbb9c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG, thanks!
| from torchao.dtypes.utils import ( | ||
| Layout, | ||
| PlainLayout, | ||
| warnings.warn( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add #2752 to the message
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also, I'd remove torchao v0.16.0 and just say "in a future release of torchao", just in case the work gets delayed
78f5e4c to
1a75689
Compare
1a75689 to
9bff162
Compare
This pull request moves
BlockSparseLayoutand its implementation fromtorchao.dtypes.uintx.block_sparse_layouttotorchao.prototype.dtypes.uintx.block_sparse_layout, and exposed it viatorchao.prototype.dtypeswhile maintaining BC attorchao.prototype.dtypes.uintxwith a deprecation warning for torchao v0.16.0.Updates API documentation to reflect the changes
Reference Issue: #2752