Skip to content

fix bug of evaluate_accuracy#1430

Merged
chensuyue merged 3 commits intomainfrom
xinhe/2-11
Feb 12, 2026
Merged

fix bug of evaluate_accuracy#1430
chensuyue merged 3 commits intomainfrom
xinhe/2-11

Conversation

@xin3he
Copy link
Copy Markdown
Contributor

@xin3he xin3he commented Feb 11, 2026

Description

typo fix

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Performance improvement
  • Code refactoring
  • Other (please specify):

Related Issues

Fixes or relates to #1315

Checklist Before Submitting

  • My code has been tested locally.
  • Documentation has been updated as needed.
  • New or updated tests are included where applicable.

Signed-off-by: He, Xin3 <xin3.he@intel.com>
Copilot AI review requested due to automatic review settings February 11, 2026 01:37
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 updates CUDA test cases to call evaluate_accuracy with a new/adjusted argument pattern (removing the explicit model="hf" parameter), aiming to fix a typo/bug in how accuracy evaluation is invoked.

Changes:

  • Updated multiple tests to call evaluate_accuracy without model="hf" and to pass the model args positionally.
  • Adjusted the multi-GPU test to pass self.save_dir directly into evaluate_accuracy.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 12 comments.

File Description
test/test_cuda/quantization/test_2_3bits.py Updates evaluate_accuracy calls in quantization flow tests.
test/test_cuda/core/test_main_func.py Updates evaluate_accuracy calls across main CUDA backend tests.
test/test_cuda/advanced/test_multiple_card.py Changes evaluate_accuracy invocation in multi-card device-map test.

@xin3he xin3he added this to the 1.0.0 milestone Feb 11, 2026
Signed-off-by: He, Xin3 <xin3.he@intel.com>
@chensuyue chensuyue merged commit 40253af into main Feb 12, 2026
15 checks passed
@chensuyue chensuyue deleted the xinhe/2-11 branch February 12, 2026 06:29
lvliang-intel pushed a commit that referenced this pull request Feb 27, 2026
Signed-off-by: He, Xin3 <xin3.he@intel.com>
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