From daa21b922bdf03c7814a32886dc45e2d970dc144 Mon Sep 17 00:00:00 2001 From: jdcampbe Date: Thu, 8 Oct 2026 11:14:27 -0700 Subject: [PATCH 1/2] fix(miopen): hold ConvHipConv out of the perf-config picker ConvHipConv's perf-config model was trained on an older hipconv config vocabulary and over-selects a slow config (direct[128,1,16,16]), ~0.89x OOTB geomean on the regression set. hipconv's config descriptors and kernel set have since changed and are now version-tagged, so the model needs retraining on current-hipconv data before it can be trusted. Return no candidates for ConvHipConv in the pcfg picker so it falls back to the solver's own default. Gated in code rather than by dropping the section from lgbm_pcfg.bin, so re-enabling after a retrain is a one-line revert. Co-Authored-By: Claude --- .../src/conv/heuristics/lgbm_pcfg_pick.cpp | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/projects/miopen/src/conv/heuristics/lgbm_pcfg_pick.cpp b/projects/miopen/src/conv/heuristics/lgbm_pcfg_pick.cpp index 570d5dab0b98..16079721d8b0 100644 --- a/projects/miopen/src/conv/heuristics/lgbm_pcfg_pick.cpp +++ b/projects/miopen/src/conv/heuristics/lgbm_pcfg_pick.cpp @@ -208,12 +208,32 @@ bool TwoTowerCoversSolver(const std::string& solver_name, const std::string& gfx kTwoTowerSolvers.end(); } +// Solvers held out of the perf-config picker regardless of a shipped model. +// +// ConvHipConv's model was trained on an older hipconv config vocabulary and +// over-selects a slow config, regressing OOTB. hipconv's config descriptors (and +// kernel set) have since changed and are now version-tagged, so the model must be +// retrained on current-hipconv data before it can be trusted. Gated here, rather +// than by dropping the section from lgbm_pcfg.bin, so re-enabling is a one-line +// revert once a retrained model ships. +bool HeldOutOfPicker(const std::string& solver_name) +{ + return solver_name == "ConvHipConv"; +} + } // namespace std::vector PickConfig(const std::string& solver_name, const conv::ProblemDescription& problem, const Handle& handle) { + if(HeldOutOfPicker(solver_name)) + { + MIOPEN_LOG_I2("lgbm_pcfg: " << solver_name + << " held out of the picker pending a retrained model"); + return {}; + } + const LgbmPcfgMetadata* meta_ptr = nullptr; { ScopedTimeLogger t("lgbm_pcfg.PickConfig.MetadataGet"); From 589b443168510c7e48a6f6f8b50f654d0f9a8d7a Mon Sep 17 00:00:00 2001 From: jdcampbe Date: Thu, 8 Oct 2026 11:25:23 -0700 Subject: [PATCH 2/2] style(miopen): clang-format lgbm_pcfg_pick.cpp Collapse HeldOutOfPicker onto one line per the project clang-format. Co-Authored-By: Claude --- projects/miopen/src/conv/heuristics/lgbm_pcfg_pick.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/projects/miopen/src/conv/heuristics/lgbm_pcfg_pick.cpp b/projects/miopen/src/conv/heuristics/lgbm_pcfg_pick.cpp index 16079721d8b0..39f48bc277f3 100644 --- a/projects/miopen/src/conv/heuristics/lgbm_pcfg_pick.cpp +++ b/projects/miopen/src/conv/heuristics/lgbm_pcfg_pick.cpp @@ -216,10 +216,7 @@ bool TwoTowerCoversSolver(const std::string& solver_name, const std::string& gfx // retrained on current-hipconv data before it can be trusted. Gated here, rather // than by dropping the section from lgbm_pcfg.bin, so re-enabling is a one-line // revert once a retrained model ships. -bool HeldOutOfPicker(const std::string& solver_name) -{ - return solver_name == "ConvHipConv"; -} +bool HeldOutOfPicker(const std::string& solver_name) { return solver_name == "ConvHipConv"; } } // namespace