Skip to content

print MX config when printing MXLinear and MXInferenceLinear #1947

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

Merged
merged 19 commits into from
Mar 27, 2025

Conversation

vkuzo
Copy link
Contributor

@vkuzo vkuzo commented Mar 24, 2025

Summary:

Adds relevant MX config options to string representation of MX linear
objects, to make debugging easier.

Example:

MXLinear(in_features=4096, out_features=4096, bias=False, bl_sz=32, lp_dtype=f8e4m3, kernel=cublas, use_fp8_dim1_cast_triton_kernel=True)

Test Plan: CI

Reviewers:

Subscribers:

Tasks:

Tags:

vkuzo added 16 commits March 21, 2025 06:59
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
Copy link

pytorch-bot bot commented Mar 24, 2025

🔗 Helpful Links

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

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.

@facebook-github-bot facebook-github-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 Mar 24, 2025
vkuzo added a commit that referenced this pull request Mar 24, 2025
Summary:

Adds relevant MX config options to string representation of MX linear
objects, to make debugging easier.

Example:

```
MXLinear(in_features=4096, out_features=4096, bias=False, bl_sz=32, lp_dtype=f8e4m3, kernel=cublas, use_fp8_dim1_cast_triton_kernel=True)
```

Test Plan: CI

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: fb247114c3c86be36e69691bb5c58bb5d592c1d2
ghstack-comment-id: 2749522655
Pull Request resolved: #1947
@vkuzo vkuzo added the topic: not user facing Use this tag if you don't want this PR to show up in release notes label Mar 24, 2025
vkuzo added 2 commits March 26, 2025 13:55
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@vkuzo vkuzo changed the base branch from gh/vkuzo/77/head to main March 27, 2025 14:23
@vkuzo vkuzo merged commit 3aac482 into main Mar 27, 2025
11 of 13 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: not user facing Use this tag if you don't want this PR to show up in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants