Skip to content

[TorchAO] MX training native PyTorch on XPU #2326

Description

@liangan1

🚀 The feature, motivation and pitch

The scaled_mm(pytorch/pytorch#165978) and inference(pytorch/ao#3248) is WIP, You can enable the realted training UTs with emulate path and comments your PR in pytorch/ao#2917 to help us to track the total status.

Reference: https://github.com/pytorch/ao/tree/main/torchao/prototype/mx_formats

Alternatives

No response

Additional context

No response

Activity

  1. changed the title [-][TorchAO] MX training native PyTorch[/-] [+][TorchAO] MX training native PyTorch on XPU[/+] on Nov 11, 2025
  2. karol-brejna-i commented on Apr 14, 2026

    @karol-brejna-i
  3. added this to the PT2.15 milestone on Apr 15, 2026
  4. xiaowangintel commented on May 28, 2026

    @xiaowangintel
    Contributor

    There are three draft PRs(pytorch/pytorch#181728, pytorch/pytorch#181727 and pytorch/pytorch#181726) of pytorch related to MXTensor here. You can use them to verify the functionality of mxtensor.

  5. ugolowic commented on Jun 12, 2026

    @ugolowic

    @xiaowangintel , @karol-brejna-i

    I applied the PRs, built pytorch and ran ao UTs. All expected tests pass, including the ones testing matrix multiplication.

  6. modified the milestones: PT2.15, PT2.16 on Sep 22, 2026
  7. daisyden commented on Nov 11, 2026

    @daisyden
    Contributor
    label-issue: #2326

    Root cause: not a defect. Feature request to enable TorchAO MX-format (microscaling)
    training on native PyTorch XPU via the emulate path. No failure or test case reported.

    axis value reason
    type Feature Native Type is Feature; new-capability enablement request.
    test test: ut No e2e/oob/UT surface named; default test surface.
    module module: ao Human-set label preserved; TorchAO MX quantization formats.
    priority Low Native Priority unset; feature request, no failing case.

    Applied to this issue. Generated by a local label-issue run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

module: aoQuantization: int4/int8/fp8/PT2E/torchaotest: utUnit-test failure surface

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions