Skip to main content

DXCOM Package

Project description

DXCOM

DXCOM is a compiler SDK by DeepX that compiles ONNX models into optimized .dxnn binaries for DeepX NPU (Neural Processing Unit).

It performs hardware-aware quantization, graph optimization, and code generation — all in a single pipeline. The compiled .dxnn file can be deployed and executed on DeepX NPU via DX-RT (DeepX Runtime).

Installation

pip install dx-com

Requirements: Python 3.8 – 3.12, Linux (x86_64)

Quick Start

CLI

dxcom -m model.onnx -c config.json -o output/
Argument Description
-m Path to the ONNX model file
-c Path to the JSON configuration file
-o Output directory for compiled artifacts
--opt_level Optimization level: 0 (fast) or 1 (higher accuracy, default)
--gen_log Generate a compilation log
-v Show version

Python API

import dx_com

dx_com.compile(
    model="model.onnx",
    config="config.json",
    output_dir="output/",
    opt_level=1,
)

Parameters

Parameter Type Description
model str Path to the ONNX model file
config str Path to the JSON configuration file
output_dir str Output directory for compiled artifacts
opt_level int Optimization level: 0 (fast) or 1 (higher accuracy). Default: 1
calibration_method str Calibration method. Options: minmax, percentile, mse, entropy
aggressive_partitioning bool Enable aggressive CPU/NPU partitioning. Default: False

Documentation

For detailed technical documentation and user manual, visit DeepX Developer Portal.

License

This software is the proprietary property of DEEPX Ltd. and is provided exclusively to authorized customers with DeepX NPU hardware. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dx_com-2.3.0-cp312-cp312-manylinux_2_31_x86_64.whl (77.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

dx_com-2.3.0-cp311-cp311-manylinux_2_31_x86_64.whl (76.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

dx_com-2.3.0-cp310-cp310-manylinux_2_31_x86_64.whl (76.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.31+ x86-64

dx_com-2.3.0-cp39-cp39-manylinux_2_31_x86_64.whl (76.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.31+ x86-64

dx_com-2.3.0-cp38-cp38-manylinux_2_31_x86_64.whl (75.9 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.31+ x86-64

File details

Details for the file dx_com-2.3.0-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for dx_com-2.3.0-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 bf10f6df42418b2ccb0207413a5e6fbaeeb1d6a0e7c73f5596205e59d8ec683f
MD5 c4099c02e0a17865ad828a58816b34a3
BLAKE2b-256 cda7ed59f67b5a925e698f67229d259b9dc7688cf433654bd52858db6ae855f6

See more details on using hashes here.

File details

Details for the file dx_com-2.3.0-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for dx_com-2.3.0-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0d13ca3d917a5cf46e565b7bb10ca896739e64857a370a0e5eabf4fa48d8cd3b
MD5 fc06a2f28fbd45798162ca2569cb26f2
BLAKE2b-256 ad01b2c35a4b66b3fddf3ca0aadbaf1b847e75bf30a608b5a86183715c4b26a5

See more details on using hashes here.

File details

Details for the file dx_com-2.3.0-cp310-cp310-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for dx_com-2.3.0-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e7cfd49429383ca189e86f5102d720f4954538e0ec0ec3da83a76575103aaee1
MD5 4aebddd976f1e1f796042c090e8fc4ae
BLAKE2b-256 05d18bf3a6c346dd14bb9ed8b6520ef9c86dfc75c65dd66f0cd209807af34a79

See more details on using hashes here.

File details

Details for the file dx_com-2.3.0-cp39-cp39-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for dx_com-2.3.0-cp39-cp39-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f28da2cfc32e66d6bf7e7749432fc3646de7226b50858f98388ff74599377c7e
MD5 0a8bffaaf8604fd0af068c00fe2850ae
BLAKE2b-256 5c976698134ea5c9081a09ef1af2407f846fa14c3b2ec9a25382743445cec16b

See more details on using hashes here.

File details

Details for the file dx_com-2.3.0-cp38-cp38-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for dx_com-2.3.0-cp38-cp38-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fb8a644217aee0e2acef56579c49dca996e63fff18e89742d239cec291170f2b
MD5 71cc0441af62176a544bd98d04e61dab
BLAKE2b-256 f575c9927dd06e6790aff6e3180e5933f95b49df418772ef1e23c4ad23d37ef5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page