Skip to content

Introduce OptimizationWorker #104

Merged
kaiming-cheng merged 3 commits intomainfrom
kaiming/opt_worker
Feb 23, 2026
Merged

Introduce OptimizationWorker #104
kaiming-cheng merged 3 commits intomainfrom
kaiming/opt_worker

Conversation

@kaiming-cheng
Copy link
Contributor

What changed

OptimizationWorker (opt_worker.py)

  • Assembles and wires together the modular components from opt_worker_component/: KernelProfiler, Benchmark, BottleneckAnalyzer, OptimizationOrchestrator, PromptManager, and VerificationWorker.
  • Integrates optional RAG-based prescriber for retrieval-augmented optimization guidance (default=False)
  • Configures RooflineAnalyzer for SOL-based early termination.
  • Supports shared history from beam search manager via prior_history and prior_reflexions parameters.
  • Exposes a single optimize_kernel() entry point that delegates to the orchestrator and returns (success, best_kernel, metrics).

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 18, 2026
@kaiming-cheng kaiming-cheng merged commit 088c734 into main Feb 23, 2026
6 checks passed
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