Skip to content

Conversation

@Kaihui-intel
Copy link
Contributor

remove itrex format and update doc, ut

Signed-off-by: sys-lpot-val <[email protected]>
Copilot AI review requested due to automatic review settings January 20, 2026 05:49
Copy link
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 removes the deprecated itrex format from the codebase, including its export functionality, configuration, and associated utilities. The changes clean up test files and documentation to reflect the removal of this format.

Changes:

  • Removed entire itrex export module including model wrapper, export functions, configuration, and bit packing utilities
  • Removed test files for itrex format functionality
  • Updated documentation to remove itrex format from supported formats table
  • Removed itrex-related testing utilities and decorators
  • Updated code comments to remove references to itrex

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/test_hpu/test_auto_round.py Removed unused import test function
test/test_cuda/quantization/test_qbits.py Deleted entire test file for qbits functionality
test/test_cpu/utils/test_woq_linear.py Deleted test file for weight-only linear layer
test/test_cpu/core/test_autoround_export_to_itrex.py Deleted test file for itrex export functionality
docs/step_by_step.md Removed itrex format entry from supported formats table
auto_round/testing_utils.py Removed itrex availability check and test decorator
auto_round/inference/convert_model.py Updated comments and variable names to remove itrex references
auto_round/formats.py Removed ITREXFormat class registration
auto_round/export/export_to_itrex/model_wrapper.py Deleted WeightOnlyLinear implementation
auto_round/export/export_to_itrex/export.py Deleted itrex export functions
auto_round/export/export_to_itrex/config.py Deleted QuantConfig class
auto_round/export/export_to_itrex/bit_packer.py Deleted bit packing utility functions
auto_round/export/export_to_itrex/init.py Deleted module initialization file

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

@Kaihui-intel Kaihui-intel merged commit 46f8860 into main Jan 20, 2026
28 checks passed
@Kaihui-intel Kaihui-intel deleted the kaihui/rm_itrex branch January 20, 2026 08:25
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.

5 participants