Skip to main content

Simple Split for ONNX. A simple tool that automatically splits ONNX models of specified weight sizes.

Project description

ssp4onnx

Simple Split for ONNX. A simple tool that automatically splits ONNX models of specified weight sizes.

Downloads GitHub PyPI Ask DeepWiki

Usage

pip install ssp4onnx

ssp4onnx -i model.onnx --auto_split_max_size 1GB
image image

Options:

  • -i/--input_onnx_file: input ONNX file (required)
  • -o/--output_dir: output directory (optional, default: same directory as input)
  • -s/--auto_split_max_size: target partition size, supports KB, MB, GB (default: 100MB)

Sample reuslts

Split.1 (1.1GB) Split.2 (1.1GB) Split.3 (0.4GB)
20260131213930 20260131213947 20260131214003

Project details


Download files

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

Source Distribution

ssp4onnx-1.0.4.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

ssp4onnx-1.0.4-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file ssp4onnx-1.0.4.tar.gz.

File metadata

  • Download URL: ssp4onnx-1.0.4.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for ssp4onnx-1.0.4.tar.gz
Algorithm Hash digest
SHA256 10a2a4dfe1e206680a793d47ebcdbf1b57e9a28a62d67cc51e510392c73553a6
MD5 f20807b8cf4bc0c96d6638d4c7c73371
BLAKE2b-256 a7cce9ad02a3ba6d3f437b77a0aba429d47be7c0de88eecb800d899bc15cc5eb

See more details on using hashes here.

File details

Details for the file ssp4onnx-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: ssp4onnx-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for ssp4onnx-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 870b830fa9d6af814cb690dae7d6b6c978e3b1d01a2a0935cd7b72e8a6a10b28
MD5 7c65f5454a063597a266d451e37bba83
BLAKE2b-256 fec5ef1e39981aed36233e713bdebe452324119f5f41eb849307d5a9d013b9ac

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