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.
Usage
pip install ssp4onnx
ssp4onnx -i model.onnx --auto_split_max_size 1GB
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, supportsKB,MB,GB(default:100MB)
Sample reuslts
| Split.1 (1.1GB) | Split.2 (1.1GB) | Split.3 (0.4GB) |
|---|---|---|
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ssp4onnx-1.0.2.tar.gz.
File metadata
- Download URL: ssp4onnx-1.0.2.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5b71cc5eb3d23e2d6ece9b3847a9c2dd9e90e5f2c767c0b9710d798fc6e9d1c
|
|
| MD5 |
9683080cb21e1a4beedcf2b2cdcf10d0
|
|
| BLAKE2b-256 |
903e6d7c9a5aadb1d2e8542c2edf6df6cd566ffec9780cc1287929171ee778d3
|
File details
Details for the file ssp4onnx-1.0.2-py3-none-any.whl.
File metadata
- Download URL: ssp4onnx-1.0.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22fe2876b91b13c884d44932fae85a5d6b7fb1af88e3e61d65fa5e0c9b9e408d
|
|
| MD5 |
ef810662dece62e0dbcddfb02aac0d70
|
|
| BLAKE2b-256 |
663dbfce388a48bfa7e8996de6b03d85f8dc534c4343c5599d4bac41f8a9fa1b
|