{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/7"}],"enrichment":{"capability":"Exports and converts PyTorch neural network models to PNNX format, an open standard for model interoperability that generates optimized graph definitions, weights, and inference code.","skillfed_tags":["model-export","pytorch-tools","neural-network-optimization"],"use_cases":["Export a trained PyTorch model to PNNX format for deployment on inference engines.","Convert a PyTorch model to alternative formats via the PNNX intermediate representation.","Optimize a model graph for inference by applying graph-level optimizations during export.","Generate portable Python inference code alongside model weights for reproducible model loading.","Handle models with dynamic input shapes by specifying alternative input shapes during export."],"what_it_does":"PNNX is a Python wrapper around an open standard for PyTorch model interoperability. It takes trained PyTorch models and exports them to PNNX format, which generates multiple output artifacts: a graph definition file, model weights, and Python inference code. The package can also convert existing TorchScript models to PNNX. The main use case is preparing PyTorch models for deployment or cross-framework use by optimizing the computation graph and making the model portable across different inference engines.\n\nThe package depends only on torch and provides two main functions: export (which traces a model and converts it to PNNX) and convert (which transforms an already-saved TorchScript model). It supports custom operators, module preservation, and multiple optimization levels. The fact sheet shows it is actively maintained, has no known vulnerabilities, and runs on modern Python versions across major platforms via pre-built wheels.","worth_installing":"Yes, if you need to export PyTorch models to PNNX format for deployment or cross-framework use. The package is actively maintained, has no security issues, and provides pre-built wheels for common platforms. Install friction is moderate due to the torch dependency, but that is expected for a PyTorch model tool. Not necessary if you only work within PyTorch's native ecosystem."},"id":"pnnx","links":{"html":"https://skillfed.io/packages/pnnx","md":"https://skillfed.io/packages/pnnx.md","pypi":"https://pypi.org/project/pnnx/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-26","license_spdx":null,"license_treatment":"permissive","name":"pnnx","python_support":"supports_current","summary":"pnnx is an open standard for PyTorch model interoperability."},"popularity":{"monthly_downloads":227549,"position":9175,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"20260526"}
