Skip to content

Fix bug when tuning fusions#2209

Merged
mirza-halilcevic merged 1 commit intodevelopfrom
bugfix-fusion-tuning
Jan 21, 2026
Merged

Fix bug when tuning fusions#2209
mirza-halilcevic merged 1 commit intodevelopfrom
bugfix-fusion-tuning

Conversation

@mirza-halilcevic
Copy link
Copy Markdown
Contributor

Motivation

Fix weekly CI issue when tuning fusions.

Technical Details

Add --test-dir to mutually exclusive argument group for configs, and validate correct usage together with --op.

Test Plan

Test Result

Submission Checklist

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug in the tuning runner related to fusion operation configuration. The changes improve argument validation by ensuring --test-dir is properly required when tuning fusion operations and preventing its use with other operation types.

Changes:

  • Added validation logic to enforce that --test-dir must be specified when --op=fusion
  • Moved --test-dir argument to the mutually exclusive config group to prevent conflicts
  • Improved error message formatting for unsupported operation types

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread mlir/utils/performance/tuningRunner.py
Comment thread mlir/utils/performance/tuningRunner.py
@mirza-halilcevic mirza-halilcevic merged commit dda27bc into develop Jan 21, 2026
7 of 14 checks passed
@mirza-halilcevic mirza-halilcevic deleted the bugfix-fusion-tuning branch January 21, 2026 01:21
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.

3 participants