Skip to content

Conversation

@yf225
Copy link
Contributor

@yf225 yf225 commented Jul 15, 2025

Stacked PRs:


Fix variable scoping in nested loops for multi-pass kernels (#324)

Fixes issue where variables defined in outer loop scopes were not accessible in subsequent inner loops within the same outer loop iteration.
This pattern is common in multi-pass algorithms like layernorm.

yf225 added 2 commits July 14, 2025 23:03
Some dev machine (e.g. gpu laptop) has low VRAM which causes some
tritonbench inputs to OOM. This PR adds HELION_DEV_LOW_VRAM env var and
uses smaller inputs if the env var is set. User can choose to opt
into this mode by setting the env var, instead of passively having
smaller inputs due to low VRAM.

stack-info: PR: #325, branch: yf225/stack/31
Fixes issue where variables defined in outer loop scopes were not accessible in subsequent inner loops within the same outer loop iteration.
This pattern is common in multi-pass algorithms like layernorm.

stack-info: PR: #326, branch: yf225/stack/32
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 Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants