Skip to content

Backport remove threaded packing from exporters#1740

Merged
chensuyue merged 8 commits intov0.12.3rcfrom
fix-pack-123
Apr 27, 2026
Merged

Backport remove threaded packing from exporters#1740
chensuyue merged 8 commits intov0.12.3rcfrom
fix-pack-123

Conversation

@yiliu30
Copy link
Copy Markdown
Contributor

@yiliu30 yiliu30 commented Apr 24, 2026

Backports the behavior from upstream PR #1719 onto v0.12.3rc.

This release-branch backport keeps the exporter packing paths serial, removes the now-unused threadpoolctl dependency, and adds regression coverage to fail if these exporters start constructing thread pools again.

Branch-specific note: this branch uses export_to_nvfp_mxfp.py, so the NVFP regression coverage is adapted to that path.

Testing:

  • pytest -q test/test_cpu/export/test_export.py::test_weight_only_exports_pack_serially
  • pytest -q test/test_cpu/export/test_export.py::test_fp8_autoround_export_packs_serially
  • pytest -q test/test_cpu/export/test_llmc_format.py::test_llmcompressor_static_fp_export_packs_serially
  • pytest -q test/test_cpu/export/test_llmc_format.py::test_llmcompressor_mxfp8_export_packs_serially
  • pytest -q test/test_cpu/quantization/test_mxfp_nvfp.py::TestAutoRoundFP::test_nvfp4_autoround_save_quantized
  • git diff --check -- auto_round/export/export_to_autogptq/export.py auto_round/export/export_to_autoround/export.py auto_round/export/export_to_autoround/export_to_fp8.py auto_round/export/export_to_autoround/export_to_nvfp_mxfp.py auto_round/export/export_to_awq/export.py auto_round/export/export_to_llmcompressor/export_to_fp.py auto_round/export/export_to_llmcompressor/export_to_static_fp.py requirements.txt requirements-hpu.txt test/helpers.py test/test_cpu/export/test_export.py test/test_cpu/export/test_llmc_format.py test/test_cpu/quantization/test_mxfp_nvfp.py

mengniwang95 and others added 8 commits April 24, 2026 13:44
Signed-off-by: chensuyue <suyue.chen@intel.com>
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Haihao Shen <haihao.shen@intel.com>
@chensuyue chensuyue changed the base branch from v0.12.3rc-patch to v0.12.3rc April 24, 2026 12:43
@chensuyue chensuyue added this to the 0.12.3 milestone Apr 24, 2026
@chensuyue
Copy link
Copy Markdown
Contributor

/azp run Unit-Test-CUDA-AutoRound

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@chensuyue chensuyue merged commit 7c6fcea into v0.12.3rc Apr 27, 2026
25 of 32 checks passed
@chensuyue chensuyue deleted the fix-pack-123 branch April 27, 2026 05:45
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