Skip to main content
SDK Version: 2.5.0
DX-COM manual (PDF)

Change Log

v2.5.0 (2026-10-16)​

DX-Compiler Version

  • DX-COM: v2.5.0
  • DX-TRON: Removed
Removal Notice — DX-TRON

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​

  • .dxnn File Format v9: DX-COM v2.5.0 outputs .dxnn file 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_device Deprecated: The JSON quantization_device field and the Python quantization_device argument are deprecated and ignored — DX-COM prints a UserWarning and selects the quantization device with --use_gpu / use_gpu (default True) and the CUDA_VISIBLE_DEVICES environment variable. Remove the field from existing configs.
  • QAT Parameters Restructured: The Python arguments quantization_mode, qat_config, qat_skip_training, and qat_resume_from_checkpoint are replaced by a single qmaster argument that takes a QMasterConfig object (import it from dx_com). The old qat_* arguments are no longer honored from Python code. Triggering QAT from a JSON qmaster block is unchanged — QAT is still auto-selected.
  • Removed DX-TRON support: --target=dx_tron is no longer accepted by install.sh or uninstall.sh, and the run_dxtron_web.sh / run_dxtron_appimage.sh launcher scripts were deleted. Valid targets are now dx_com and all; in uninstall.sh both now do the same work.
  • compiler.properties keeps only COM_VERSION; the DX-TRON version and download URL properties were removed.
  • Removing an installed dxtron DEB 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_optimize Pass Renaming (Breaking): yolo_postprocess → yolo_dfl_postprocess and yolo26_postprocess → yolo_no_dfl_postprocess. The previous pass names are no longer accepted and raise an error.
  • pre_optimize Configuration Changes (Breaking): The YOLO passes (yolo_dfl_postprocess, yolo_no_dfl_postprocess) now require an explicit task key (base / seg / pose). The input_height / input_width keys are removed — the input size is derived from the model input, and supplying them raises ValueError. See Pre-Optimize API.
  • Resize Supported Scale Ranges Documented: nearest upsampling supports powers of two only (2, 4, 8, 16, …). linear upsampling supports integer factors ≥ 2, except primes greater than 8 (11, 13, 17, …). Downsampling is supported only for linear at scale 0.5; nearest downsampling is not supported.

Fixed​

  • uninstall.sh cleans up a leftover dx_tron/ directory or symlink from an earlier release, so upgrading does not orphan it.
  • Without --python_version, install.sh now uses the OS default python3 for the virtual environment instead of the newest python3.X on the host (e.g., a deadsnakes python3.14 on Ubuntu 24.04). Newer interpreters are only considered when the OS default is below the minimum supported version.

Added​

  • --use_gpu {True,False} (CLI) and use_gpu (Python): Toggle quantization between GPU (default, when available) and CPU. On the CLI, select a specific GPU with the CUDA_VISIBLE_DEVICES environment variable.
  • --verbose (CLI) and verbose (Python): Expand masked error messages to include the origin type, the original message, and one bounded direct cause.
  • QMasterConfig public configuration object for QAT (exported from dx_com).
  • Segmentation QAT: Quantization-Aware Training now supports dense segmentation models via an opt-in task_type block in the qmaster config (seg_root, seg_pairs_train/seg_pairs_val, seg_ignore_index, seg_binary, seg_ce).
  • Passing --target=dx_tron now exits with a specific explanation instead of a generic "invalid target" error, pointing at --target=dx_com and the --export_html summary report.
  • One-line installation: oneline-install.sh installs 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 links dxcom onto PATH. oneline-uninstall.sh removes it; uninstall.sh also removes a one-line install.
  • uv-based installation: install.sh uses uv when it is available and falls back to pip otherwise. --uv=true installs uv first if missing; --uv=false forces pip. See Installation of DX-COM.
  • New pre_optimize Tasks: The task key (base / seg / pose) adds pose (keypoint) and segmentation post-processing support.
  • rtmdet_postprocess Pass: RTMDet detection post-processing.
  • Gather operator: 2-D indices tensors are now supported (previously 0-D/1-D only). See Supported ONNX Operators.
  • Einsum operator: Two-input Einsum equations 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: Conv and ConvTranspose with a 5D input (3 spatial dimensions) are now supported on the NPU (previously CPU-only), subject to constraints such as group=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.YOLOV8 supports 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 the yolo_postprocess and 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)
Deprecation Notice — DX-TRON

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.

Deprecation Notice — PPU Type 2

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 a qmaster block, dx_com.compile() automatically switches to QAT mode and runs the training pipeline using the same dataset settings as PTQ calibration. Available from both the dxcom CLI and the Python API. A new fast_run flag 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 dxcom CLI 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_diagnosis option, available from both the dxcom CLI and dx_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-level dx_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.sh not removing installed packages and extracted module directories.
    • dx_com Python package is now properly uninstalled via pip3 uninstall before the virtual environment is removed.
    • dxtron Debian package is now properly removed via apt-get remove.
    • dx_com/ and dx_tron/ directories are now deleted on uninstall.

Added​

  • Added --target=<dx_com|dx_tron|all> option to uninstall.sh (default: all), consistent with install.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_device support in JSON configuration file, enabling GPU-accelerated quantization via CLI (dxcom) in addition to the dx_com Python module. Available only with the Python wheel package installation.
  • GPU Auto-Detection: When quantization_device is 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-1 model 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 (dxtron command)
    • 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, and Slice operators.
    • Clarified ONNX opset version support (versions 11–21 are supported; version 22 and above are not supported).

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_nodes and --compile_output_nodes: Support for partial compilation.
  • ONNX Support: Added support for Gather operator.
  • 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:

    • Softmax
    • Slice
  • 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:
    • -v option: Displays DX-COM module version
    • -i option: 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:
    • Softmax
    • Slice