Skip to content

[Autotuner] detailed search space analysis#3055

Open
bringlein wants to merge 30 commits into
pytorch:mainfrom
bringlein:ngl_search_space_log
Open

[Autotuner] detailed search space analysis#3055
bringlein wants to merge 30 commits into
pytorch:mainfrom
bringlein:ngl_search_space_log

Conversation

@bringlein

Copy link
Copy Markdown
Collaborator

Adding optional detailed log messages to help with debugging autotuner decisions, e.g. why a certain pid_type is never selected for a given kernel.

By default, no additional log output. Only with HELION_AUTOTUNE_LOG_SEARCH_SPACE=1 or additionally HELION_AUTOTUNE_LOG_SEARCH_SPACE_VERBOSE=1 additional logs are printed. With HELION_AUTOTUNE_LOG_SEARCH_SPACE_PATH they can also be stored as a file. Lastly, also the internal cost-model of the autotuner can be dumped.

bringlein and others added 17 commits June 29, 2026 17:09
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Co-authored-by: my agent <my@agent.ai>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 14, 2026
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
Signed-off-by: Burkhard Ringlein <ngl@zurich.ibm.com>
@bringlein

Copy link
Copy Markdown
Collaborator Author

lint failure seems unrelated?

ERROR Class member `HelionTemplateBuffer.has_aliasing_or_mutation_for_prologue_fusion` overrides parent class `TemplateBuffer` in an inconsistent manner [bad-override]
   --> helion/_compiler/_inductor/template_buffer.py:406:9

@bringlein
bringlein requested review from fulvius31 and jansel July 15, 2026 13:15
@bringlein

Copy link
Copy Markdown
Collaborator Author

CI failures seem unrelated?

@jansel
jansel requested a review from ethche July 20, 2026 03:22
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.

1 participant