1
0
Fork 0
mirror of https://github.com/p-e-w/heretic.git synced 2026-12-03 18:42:57 +07:00

[GH-ISSUE #243] Triton dependency issues on older GPUs (PyTorch 2.4) #139

Closed
opened 2026-11-01 04:17:57 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @p-e-w on GitHub (Mar 21, 2026).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/243

Just saw this with an A100. MXFP4 doesn't work because the kernels require Triton >= 3.5, but by default, 3.0 is installed. Upgrading to 3.6 gave another exception.

Originally created by @p-e-w on GitHub (Mar 21, 2026). Original GitHub issue: https://github.com/p-e-w/heretic/issues/243 Just saw this with an A100. MXFP4 doesn't work because the kernels require Triton >= 3.5, but by default, 3.0 is installed. Upgrading to 3.6 gave another exception.
bsakaguchi 2026-11-01 04:17:57 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@umran666 commented on GitHub (Jun 7, 2026):

If you are hitting this issue when trying to load an MXFP4-quantized model, the solution is to upgrade your environment packages:

pip install --upgrade torch>=2.6.0 triton>=3.5.0

Why this happens:

  • MXFP4 kernels require Triton >= 3.5.0.
  • Once you upgrade Triton, attempting to load the model on PyTorch < 2.6.0 will fail with a cryptic AttributeError: module 'torch' has no attribute 'accelerator' (since the torch.accelerator module was only introduced in PyTorch 2.6.0). Upgrading both resolves the compatibility clash.
<!-- gh-comment-id:4643198286 --> @umran666 commented on GitHub (Jun 7, 2026): > If you are hitting this issue when trying to load an MXFP4-quantized model, the solution is to upgrade your environment packages: > > ```bash > pip install --upgrade torch>=2.6.0 triton>=3.5.0 > ``` > > **Why this happens:** > - MXFP4 kernels require **Triton >= 3.5.0**. > - Once you upgrade Triton, attempting to load the model on PyTorch < 2.6.0 will fail with a cryptic `AttributeError: module 'torch' has no attribute 'accelerator'` (since the `torch.accelerator` module was only introduced in PyTorch 2.6.0). Upgrading both resolves the compatibility clash.
Author
Owner

@p-e-w commented on GitHub (Jun 8, 2026):

Yes, this issue is obsolete now. Loading MXFP4-quantized models requires PyTorch 2.6+, as documented in the README.

<!-- gh-comment-id:4649011261 --> @p-e-w commented on GitHub (Jun 8, 2026): Yes, this issue is obsolete now. Loading MXFP4-quantized models requires PyTorch 2.6+, as documented in the README.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
p-e-w/heretic#139
No description provided.