{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/11"}],"enrichment":{"capability":"Removes embedded doc_strings from ONNX model files, reducing file size and metadata bloat in serialized neural network graphs.","skillfed_tags":["onnx-tools","model-optimization"],"use_cases":["Reduce download and storage size of Stable Diffusion or other large ONNX models before deployment.","Strip metadata from ONNX graphs in a preprocessing pipeline before quantization or optimization.","Clean up ONNX files exported from frameworks like PyTorch or TensorFlow before shipping to edge devices.","Automate doc_string removal in batch processing of model repositories.","Integrate into CI/CD workflows to standardize ONNX artifacts by removing non-essential metadata."],"what_it_does":"sde4onnx is a lightweight utility that strips embedded documentation strings from ONNX model files. ONNX models\u2014particularly those from Hugging Face or other model hubs\u2014often carry verbose metadata and doc_strings that inflate file size without affecting inference. This tool reads an ONNX file, removes those doc_strings, and writes a cleaned version back to disk or returns the modified graph object for further processing.\n\nThe package offers both a command-line interface and a Python API. It has no runtime dependencies beyond ONNX itself (which you must install separately) and runs as pure Python. It is designed for a single, narrow task: if you need to reduce ONNX model size by stripping documentation, this tool does that. However, the project is no longer maintained\u2014the last release and commit were in October 2022\u2014so it may not adapt to future ONNX format changes.","worth_installing":"Yes, if you have a specific need to reduce ONNX file size by removing doc_strings and are willing to accept that the package is no longer maintained. The tool is simple, has no dependencies, and the task it performs is unlikely to break. No, if you expect ongoing support, compatibility updates, or if you need more comprehensive ONNX optimization\u2014consider ONNX Runtime tools or TensorRT ONNX GraphSurgeon instead."},"id":"sde4onnx","links":{"html":"https://skillfed.io/packages/sde4onnx","md":"https://skillfed.io/packages/sde4onnx.md","pypi":"https://pypi.org/project/sde4onnx/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-10-15","license_spdx":null,"license_treatment":"permissive","name":"sde4onnx","python_support":"supports_current","summary":"Simple doc_string eraser for ONNX."},"popularity":{"monthly_downloads":82554,"position":14154,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.0"}
