Skip to content

Conversation

vkuzo
Copy link
Contributor

@vkuzo vkuzo commented Oct 17, 2025

Summary:

Given qdata shape M, K, makes scale shape be M, K // block_size

This will be important to keep the logic sane as we add pre-swizzling
in a future PR.

Test Plan:

pytest test/prototype/mx_formats/ -s -x

Reviewers:

Subscribers:

Tasks:

Tags:

vkuzo added 5 commits October 16, 2025 07:41
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@vkuzo
Copy link
Contributor Author

vkuzo commented Oct 17, 2025

vkuzo added a commit that referenced this pull request Oct 17, 2025
Summary:

Given `qdata` shape M, K, makes `scale` shape be M, K // block_size

This will be important to keep the logic sane as we add pre-swizzling
in a future PR.

Test Plan:

```
pytest test/prototype/mx_formats/ -s -x
```

Reviewers:

Subscribers:

Tasks:

Tags:
ghstack-source-id: d8d4e78
ghstack-comment-id: 3413479441
Pull-Request: #3198
Copy link

pytorch-bot bot commented Oct 17, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3198

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 17, 2025
@vkuzo vkuzo added the topic: improvement Use this tag if this PR is an improvement (doesn't fit into any of the other categories) label Oct 17, 2025
vkuzo added 3 commits October 17, 2025 05:01
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
vkuzo added a commit that referenced this pull request Oct 17, 2025
Summary:

Given `qdata` shape M, K, makes `scale` shape be M, K // block_size

This will be important to keep the logic sane as we add pre-swizzling
in a future PR.

Test Plan:

```
pytest test/prototype/mx_formats/ -s -x
```

Reviewers:

Subscribers:

Tasks:

Tags:
ghstack-source-id: 4d07c2b
ghstack-comment-id: 3413479441
Pull-Request: #3198
vkuzo added 2 commits October 17, 2025 08:06
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@vkuzo vkuzo changed the base branch from gh/vkuzo/149/head to main October 17, 2025 17:04
@vkuzo vkuzo merged commit bbfd981 into main Oct 17, 2025
34 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. topic: improvement Use this tag if this PR is an improvement (doesn't fit into any of the other categories)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants