---
id: pr-triton-6896
repo: triton-lang/triton
pr: 6896
title: '[AxisInfo] Fix signed division AxisInfo bug and revert PyTorch workaround'
author: zyongye
date: '2025-05-31'
url: https://github.com/triton-lang/triton/pull/6896
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
techniques: []
hardware_features: []
kernel_types:
- gemm
languages:
- triton
captured_at: '2026-05-16'
status: merged
merge_sha: cda4229558c5dca7f7c4734bedd3e596ebcae0b8
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- python/triton_kernels/tests/test_routing.py
- python/triton_kernels/triton_kernels/routing.py
- python/triton_kernels/triton_kernels/topk.py
- python/triton_kernels/triton_kernels/topk_details/_topk.py
artifact_dir: evidence/pull-bundles/triton/gh-6896
head_ref_oid: bc141db2a3603456b783b780b323e4023cc16bd2
---
# [AxisInfo] Fix signed division AxisInfo bug and revert PyTorch workaround

- Repository: `triton-lang/triton`
- PR: [6896](https://github.com/triton-lang/triton/pull/6896)
- Decision: `Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.`
- Reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.

## Changed Paths

- `python/triton_kernels/tests/test_routing.py`
- `python/triton_kernels/triton_kernels/routing.py`
- `python/triton_kernels/triton_kernels/topk.py`
- `python/triton_kernels/triton_kernels/topk_details/_topk.py`

## Evidence Bundle

`evidence/pull-bundles/triton/gh-6896`
