Skip to content

opt_unit_test - #1867

Merged
amd-ruitang3 merged 2 commits into
mainfrom
opt_unit_test
Jan 20, 2026
Merged

amd-ruitang3 merged 2 commits into
mainfrom
opt_unit_test

Conversation

@amd-ruitang3

Copy link
Copy Markdown
Contributor

Motivation

Technical Details

Test Plan

Test Result

Submission Checklist

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request refactors three GEMM operation test files to improve code organization and maintainability. The changes move hardcoded test configurations into argparse defaults and simplify argument processing logic.

Changes:

  • Improved code style by adding proper spacing around division operators in f-strings
  • Refactored argument parser setup to use defaults directly instead of post-processing arguments with conditional logic
  • Removed hardcoded test configuration lists from global scope and moved them into argparse default values

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
op_tests/test_gemm_a8w8_blockscale_mi350.py Added spacing around operators; refactored argument parser to use defaults and removed manual argument processing logic
op_tests/test_gemm_a8w8_blockscale.py Refactored argument parser with proper type converters and defaults; removed hardcoded configuration lists and manual processing
op_tests/test_gemm_a4w4.py Refactored argument parser to use defaults directly; removed hardcoded MNK shape list and manual processing logic

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

Comment thread op_tests/test_gemm_a8w8_blockscale.py
Comment thread op_tests/test_gemm_a8w8_blockscale_mi350.py Outdated
@amd-ruitang3
amd-ruitang3 merged commit 9c3925b into main Jan 20, 2026
17 checks passed
@amd-ruitang3
amd-ruitang3 deleted the opt_unit_test branch January 20, 2026 06:43
yzhou103 pushed a commit that referenced this pull request Jan 28, 2026
* opt_unit_test

* remove test_gemm_a8w8_blockscale_mi350.py
valarLip pushed a commit that referenced this pull request Mar 18, 2026
* opt_unit_test

* remove test_gemm_a8w8_blockscale_mi350.py
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.

4 participants