Skip to content

Add per-shape config dispatch pattern to all Helion submission.py files#125

Merged
msaroufim merged 5 commits intogpu-mode:mainfrom
yf225:per-shape-config-dispatch
Mar 14, 2026
Merged

Add per-shape config dispatch pattern to all Helion submission.py files#125
msaroufim merged 5 commits intogpu-mode:mainfrom
yf225:per-shape-config-dispatch

Conversation

@yf225
Copy link
Copy Markdown
Contributor

@yf225 yf225 commented Mar 14, 2026

  • Use SHAPE_CONFIGS dict mapping shape tuples to helion.Config objects
  • Factory pattern with _make_kernel() creates separate kernel instances per config
  • All test and benchmark shapes from task.yml listed in SHAPE_CONFIGS
  • Test shapes: add TODO to replace with default config or any config that passes correctness
  • Benchmark shapes: add TODO to replace with autotuned config

yf225 and others added 3 commits March 13, 2026 17:05
- Use SHAPE_CONFIGS dict mapping shape tuples to helion.Config objects
- Factory pattern with _make_kernel() creates separate kernel instances per config
- All test and benchmark shapes from task.yml listed in SHAPE_CONFIGS
- Test shapes: TODO to replace with default config or any config that passes correctness
- Benchmark shapes: TODO to replace with autotuned config

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Each submission now shows the matching ACF file path as a commented
example so participants know which booster pack files to try.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@yf225 yf225 force-pushed the per-shape-config-dispatch branch from 0a8c5cd to 18d7e48 Compare March 14, 2026 01:01
@msaroufim msaroufim merged commit ee9ef17 into gpu-mode:main Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants