Artifact layout
manifest.json
Export from other libraries
- PyTorch
- TensorFlow
- scikit-learn
Versions
Khaos is on version v1. The first release of every artifact isv1, the next is
v2, and so on. There are no v0.x versions. Set it with
export_artifact(..., version="v1"), or in the manifest.
Check it locally
Publish
Push the directory to the Hugging Face Hub as<KHAOS_HUB_ORG>/khaos-<name>. After that,
khaos download <name> and khaos.load("<name>") fetch it on demand.
Pre- and post-processing
The ONNX file holds the network only. Turning raw input into tensors and tensors into a result container is the job of the artifact’s pipeline, a subclass ofkhaos.pipeline.OnnxPipeline registered under the artifact name: