Change Log
v2.5.0 (2026-10-16)
DX-Compiler Version
- DX-COM: v2.5.0
- DX-TRON: Removed
DX-TRON was deprecated in DX-Compiler v2.4.0 and is removed as of v2.5.0. Use the DX-COM Compilation Summary Report (--export_html) for model inspection and visualization.
Changed
.dxnnFile Format v9: DX-COM v2.5.0 outputs.dxnnfile format v9 only. Loading these models requires DX-RT v3.5.0 or later; DX-RT v3.4.2 and earlier cannot load them. See System Requirements of DX-COM.- Python Entry Point Signature:
dx_com.compile()now accepts keyword arguments (**kwargs); call it with keyword arguments as documented in Execution of DX-COM. quantization_deviceDeprecated: The JSONquantization_devicefield and the Pythonquantization_deviceargument are deprecated and ignored — DX-COM prints aUserWarningand selects the quantization device with--use_gpu/use_gpu(defaultTrue) and theCUDA_VISIBLE_DEVICESenvironment variable. Remove the field from existing configs.- QAT Parameters Restructured: The Python arguments
quantization_mode,qat_config,qat_skip_training, andqat_resume_from_checkpointare replaced by a singleqmasterargument that takes aQMasterConfigobject (import it fromdx_com). The oldqat_*arguments are no longer honored from Python code. Triggering QAT from a JSONqmasterblock is unchanged — QAT is still auto-selected. - Removed DX-TRON support:
--target=dx_tronis no longer accepted byinstall.shoruninstall.sh, and therun_dxtron_web.sh/run_dxtron_appimage.shlauncher scripts were deleted. Valid targets are nowdx_comandall; inuninstall.shboth now do the same work. compiler.propertieskeeps onlyCOM_VERSION; the DX-TRON version and download URL properties were removed.- Removing an installed
dxtronDEB package is now manual:sudo apt-get remove dxtron. - Removed the Model Viewer — DX-TRON page from this manual and renumbered Compilation Summary Report to
04_Compilation_Summary_Report.md. pre_optimizePass Renaming (Breaking):yolo_postprocess→yolo_dfl_postprocessandyolo26_postprocess→yolo_no_dfl_postprocess. The previous pass names are no longer accepted and raise an error.pre_optimizeConfiguration Changes (Breaking): The YOLO passes (yolo_dfl_postprocess,yolo_no_dfl_postprocess) now require an explicittaskkey (base/seg/pose). Theinput_height/input_widthkeys are removed — the input size is derived from the model input, and supplying them raisesValueError. See Pre-Optimize API.ResizeSupported Scale Ranges Documented:nearestupsampling supports powers of two only (2,4,8,16, …).linearupsampling supports integer factors ≥ 2, except primes greater than8(11,13,17, …). Downsampling is supported only forlinearat scale0.5;nearestdownsampling is not supported.
Fixed
uninstall.shcleans up a leftoverdx_tron/directory or symlink from an earlier release, so upgrading does not orphan it.- Without
--python_version,install.shnow uses the OS defaultpython3for the virtual environment instead of the newestpython3.Xon the host (e.g., a deadsnakespython3.14on Ubuntu 24.04). Newer interpreters are only considered when the OS default is below the minimum supported version.
Added
--use_gpu {True,False}(CLI) anduse_gpu(Python): Toggle quantization between GPU (default, when available) and CPU. On the CLI, select a specific GPU with theCUDA_VISIBLE_DEVICESenvironment variable.--verbose(CLI) andverbose(Python): Expand masked error messages to include the origin type, the original message, and one bounded direct cause.QMasterConfigpublic configuration object for QAT (exported fromdx_com).- Segmentation QAT: Quantization-Aware Training now supports dense segmentation models via an opt-in
task_typeblock in theqmasterconfig (seg_root,seg_pairs_train/seg_pairs_val,seg_ignore_index,seg_binary,seg_ce). - Passing
--target=dx_tronnow exits with a specific explanation instead of a generic "invalid target" error, pointing at--target=dx_comand the--export_htmlsummary report. - One-line installation:
oneline-install.shinstalls DX-COM from PyPI without cloning the repository (curl -fsSL https://raw.githubusercontent.com/DEEPX-AI/dx-compiler/main/oneline-install.sh | sh) into a dedicated virtualenv and linksdxcomontoPATH.oneline-uninstall.shremoves it;uninstall.shalso removes a one-line install. - uv-based installation:
install.shuses uv when it is available and falls back to pip otherwise.--uv=trueinstalls uv first if missing;--uv=falseforces pip. See Installation of DX-COM. - New
pre_optimizeTasks: Thetaskkey (base/seg/pose) adds pose (keypoint) and segmentation post-processing support. rtmdet_postprocessPass: RTMDet detection post-processing.Gatheroperator: 2-Dindicestensors are now supported (previously 0-D/1-D only). See Supported ONNX Operators.Einsumoperator: Two-inputEinsumequations that reduce to a (batched) matrix multiplication (e.g.,ij,jk->ik,bij,bjk->bik) are now supported. See Supported ONNX Operators.- 3D Convolution Support:
ConvandConvTransposewith a 5D input (3 spatial dimensions) are now supported on the NPU (previously CPU-only), subject to constraints such asgroup=1, no dilation, and a compile-time constant weight. See Supported ONNX Operators for the full constraints.
v2.4.1 (2026-08-14)
DX-Compiler Version
- DX-COM: v2.4.0
- DX-TRON: v2.0.1 (Deprecated)
Documentation-only hotfix; no changes to DX-COM or DX-TRON binaries.
Fixed
- Added missing documentation for the
iqr(Interquartile Range) calibration method. - Improved PPU type configuration table formatting and clarified that
PPUTypes.YOLOV8supports multiple YOLO versions (v8, v9, v11, v12). - Added deprecation warning to the DX-TRON chapter directing users to the HTML graph viewer replacement.
- Added Codex CLI to Agent-Driven Development supported tools list and scenario tables.
- Fixed broken internal links and reorganized several pages in the user manual for improved navigation.
- Corrected the
dx_com.pre_optimize()supported-model listings in the user manual: YOLOv10 is not a valid target and has been removed from theyolo_postprocessand PPU-type-2 migration guidance.
v2.4.0 (2026-07-22)
DX-Compiler Version
- DX-COM: v2.4.0
- DX-TRON: v2.0.1 (Deprecated)
Starting with DX-Compiler v2.4.0, DX-TRON is deprecated and will be removed in a future release. No further feature updates or bug fixes are planned for DX-TRON. We recommend migrating to the new HTML graph viewer bundled with DX-COM (see Interactive HTML Graph Viewer below) for model inspection and visualization.
Starting with DX-Compiler v2.4.0, the legacy PPU type 2 post-processing mode (used for YOLOv8-family DFL post-processing) is deprecated and will be removed in a future release. Compiling a model that uses PPU type 2 now emits a deprecation warning. Please migrate to the new dx_com.pre_optimize() API with the built-in YOLO post-processing passes (see Added below).
Changed
- PPU Type 2 Deprecated: The legacy PPU type 2 post-processing mode is now deprecated and emits a deprecation warning when used. See the Deprecation Notice above for the migration path.
- Faster, Lighter Compilation: Reduced memory usage and improved compile time, especially on large models.
- Expanded Python Version Support: In addition to Python 3.8–3.12, DX-COM now supports Python 3.13 and 3.14.
Fixed
- Fixed a Python API issue where models expecting integer inputs were sometimes fed float data, causing accuracy degradation.
- Fixed several Q-PRO/DXQ quantization crashes and stability issues observed on real models.
- Fixed multiple compilation errors and runtime issues caused by tiling, partitioning, and memory allocation in models containing
Split,Concat,Reshape,Bilinear Resize,Clip, or odd spatial dimensions. - Fixed compatibility issues with NumPy 2.4+ and onnxruntime ≥ 1.25.0.
Added
- Automated Q-PRO Configuration: Q-PRO quantization (formerly available only by hand-picking DXQ combinations) is now much easier to use. DX-COM can now automatically generate DXQ combinations for you and run Q-PRO under the hood, removing the need to manually tune the many DXQ knobs to get higher-accuracy quantization.
- Quantization-Aware Training (QAT): Added end-to-end QAT support directly through
dx_com.compile(). When the supplied config JSON includes aqmasterblock,dx_com.compile()automatically switches to QAT mode and runs the training pipeline using the same dataset settings as PTQ calibration. Available from both thedxcomCLI and the Python API. A newfast_runflag is also available for quick QAT smoke tests. See Q-Master (QAT). - QXNN Resume (Re-quantization without Recompile): Added a checkpoint-based QXNN resume flow available from both the
dxcomCLI and the Python API. Once a model has been compiled, users can re-run quantization with different settings (e.g., a different calibration method) without repeating the earlier compile phases, dramatically shortening the iteration loop when tuning quantization quality. - Quantization Diagnosis Report (HTML): Added an HTML report that visualizes per-region quantization quality, flags high-severity regions, and includes ready-to-paste compile snippets to retry compilation with recommended settings. Enabled via the new
quant_diagnosisoption, available from both thedxcomCLI anddx_com.compile(). - Interactive HTML Graph Viewer (replaces DX-TRON): DX-COM now produces a standalone HTML viewer for inspecting compiled models, including parameter shapes, CPU/NPU partition reasons, and cross-subgraph connections. This replaces the DX-TRON workflow (see Deprecation Notice above).
dx_com.pre_optimize()API: Added a new top-leveldx_com.pre_optimize()API for applying ONNX-level pre-processing transforms before compilation, with built-in support for YOLO post-processing integration (detection and segmentation modes). See the Pre-Optimize API chapter.- Ubuntu 26.04 Validation: DX-COM is now validated on Ubuntu 26.04, in addition to the previously supported Linux distributions.
Known Issues
- Significant FPS degradation has been observed in models using PReLU as an activation function.
v2.3.1 (2026-05-06)
DX-Compiler Version
- DX-COM: v2.3.0
- DX-TRON: v2.0.1
Fixed
- Fixed
uninstall.shnot removing installed packages and extracted module directories.dx_comPython package is now properly uninstalled viapip3 uninstallbefore the virtual environment is removed.dxtronDebian package is now properly removed viaapt-get remove.dx_com/anddx_tron/directories are now deleted on uninstall.
Added
- Added
--target=<dx_com|dx_tron|all>option touninstall.sh(default:all), consistent withinstall.sh.
v2.3.0 (2026-04-10)
DX-Compiler Version
- DX-COM: v2.3.0
- DX-TRON: v2.0.1
Changed
-
Python Packaging: Relaxed Python package dependency constraints to improve installation flexibility.
-
Distribution: The standalone DX-COM executable distribution is deprecated. The user manual now documents the wheel-based workflow only.
-
Performance:
- Reduced NPU inference latency for most models.
- Improved compiler performance to reduce compilation time.
Fixed
- Compiler Stability: Fixed various DX-COM compiler stability issues.
Added
- TopK-Optimized Post-Processing Pipeline: Added an optimized post-processing pipeline for supported DFL-based YOLO models that applies TopK filtering before bounding box decoding, reducing CPU post-processing workload and improving runtime efficiency.
- Batched Convolution Support: Added support for batched convolution.
- Linux Distribution Validation: In addition to Ubuntu 20.04, 22.04, and 24.04, DX-COM v2.3.0 was also validated on Fedora 42–45, RHEL 9–10, and CentOS Stream 9–10.
v2.2.1 (2026-02-09)
DX-Compiler Version
- DX-COM: v2.2.1
- DX-TRON: v2.0.1
Changed
- None
Fixed
- DXQ Quantization: Fixed DXQ enhanced quantization option bugs.
- Python Wheel Package: Fixed PPU compilation bug for Python 3.8, 3.9, and 3.10.
- Input Validation: Fixed an issue where compilation proceeded without error when invalid model input names were specified.
Added
- GPU Quantization (JSON Config): Added
quantization_devicesupport in JSON configuration file, enabling GPU-accelerated quantization via CLI (dxcom) in addition to thedx_comPython module. Available only with the Python wheel package installation. - GPU Auto-Detection: When
quantization_deviceis not specified, DX-COM now automatically uses GPU if a CUDA-compatible GPU is available, otherwise falls back to CPU.
v2.2.0 (2026-01-16)
DX-Compiler Version
- DX-COM: v2.2.0
- DX-TRON: v2.0.1
Changed
- None
Fixed
- Model Accuracy: Resolved accuracy degradation issue in the
DeepLabV3PlusMobilenet-1model from DX-ModelZoo.
Added
- PPU Support: Extended PPU support to YOLOv8, YOLOv9, YOLOv10, YOLOv11, and YOLOv12.
- Python Wheel Package: DX-COM is now available as a Python wheel package (in addition to the existing executable file), supporting Python 3.8, 3.9, 3.10, 3.11, and 3.12, enabling programmatic compilation using torch DataLoader without configuration files.
- Multi-Input Model Support: Added support for multi-input models through torch DataLoader in the Python wheel package.
- DX-TRON:
- Debian package (.deb) installation support
- Local web browser hosting (
dxtroncommand) - Ubuntu 24.04 support
v2.1.0 (2025-11-28)
DX-Compiler Version
- DX-COM: v2.1.0
- DX-TRON: v2.0.0
Changed
- Command-Line Interface: Removed deprecated command-line options:
--jobs,--shrink,--info(or-i). - ONNX Support:
- Removed restrictions on
Split,Transpose,Reshape,Flatten, andSliceoperators. - Clarified ONNX opset version support (versions 11–21 are supported; version 22 and above are not supported).
- Removed restrictions on
Added
- Command-Line Interface:
--aggressive_partitioning: Enables aggressive partitioning to maximize operations executed on NPU.--opt_level {0,1}: Controls optimization level (default: 1).--compile_input_nodesand--compile_output_nodes: Support for partial compilation.
- ONNX Support: Added support for
Gatheroperator. - Quantization: Reintroduced the DXQ enhanced quantization option (
enhanced_scheme, DXQ-P0 to DXQ-P5), previously removed in dx_com v2.0.0. - PPU (Post-Processing Unit): Reinstated PPU support.
- Supported models: YOLOv3, YOLOv4, YOLOv5, YOLOv7 (anchor-based), YOLOX (anchor-free).
v2.0.0 (2025-09-08)
ONNX Support
-
Re-enabled support for the following operators:
SoftmaxSlice
-
Newly added support for the following operator:
ConvTranspose
Model Support
-
Partial support for Vision Transformer (ViT) models
-
Verified with the following OpenCLIP models:
- ViT-L-14, ViT-L-14-336, ViT-L-14-quickgelu
- RN50x64, RN50x16
- ViT-B-16, ViT-B-32-256, ViT-B-16-quickgelu
Compatibility and Deprecations
- Compatibility with DX-RT versions earlier than v3.0.0 is not guaranteed
- The DXQ enhanced quantization option (
enhanced_scheme) was removed in dx_com v2.0.0 and reintroduced in dx_com v2.1.0 PPU (Post-Processing Unit)is no longer supported, and there are no current plans to reinstate it
v1.0.0 (2025-07-23)
Bug Fixes
- Internal bug fixes
Command-Line Interface Updates
- Added support for:
-voption: Displays DX-COM module version-ioption: Displays internal module information
→ For usage, see: the CLI Execution section in Execution of DX-COM
ONNX Support
- The following operators were deprecated and are scheduled to be re-supported in a future release:
SoftmaxSlice