IntelLabs / IntelLabs/Xe-Forge

CORRECTNESS_ONLY_STAGES is empty — skip-speedup behavior not exposed

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
21
Forks
8
PR merge metrics
No merged PRs in 30d

Description

The CORRECTNESS_ONLY_STAGES set in optimize_stage is currently hardcoded to {}, disabling the skip-speedup-check behavior for all stages.
Originally intended to allow stages like DTYPE_FIX and ALGORITHMIC to produce kernels that are temporarily slower (correctness fix first, performance stages recover later). This makes sense when casting from fp16→fp32 or fp16→bf16 — the cast itself may be slightly slower but is required for correctness.
Proposal: Either remove the dead code entirely, or expose it as CORRECTNESS_ONLY_STAGES = {OptimizationStage.DTYPE_FIX} with a comment explaining why, and add a --skip-speedup-stages CLI option.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.