---
id: pr-triton-10151
repo: triton-lang/triton
pr: 10151
title: '[Tutorials] Fix unbound local variable in Tutorial 10'
author: CliveUnger
date: '2026-04-28'
url: https://github.com/triton-lang/triton/pull/10151
source_category: upstream-code
architectures:
- sm100
tags:
- matmul
- mxfp4
- nvfp4
techniques: []
hardware_features:
- fp4
- mxfp4
- nvfp4
kernel_types:
- gemm
languages:
- triton
captured_at: '2026-05-16'
status: merged
merge_sha: 7af313389094877ba9df2724bc745150f423b4d6
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- python/tutorials/10-block-scaled-matmul.py
artifact_dir: evidence/pull-bundles/triton/gh-10151
head_ref_oid: dca82c293c5227288322c342a95969fae41986e1
---
# [Tutorials] Fix unbound local variable in Tutorial 10

- Repository: `triton-lang/triton`
- PR: [10151](https://github.com/triton-lang/triton/pull/10151)
- 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/tutorials/10-block-scaled-matmul.py`

## Evidence Bundle

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