Skip to content

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

License

Notifications You must be signed in to change notification settings

PINTO0309/ssp4onnx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages