Managing Model Files
Model files contain the pre-trained neural network weights and structure that Koios uses for inference. Models must be trained externally and exported as ONNX or TFLite before uploading. Each model can have multiple file versions, but only one is active at a time.
Supported Formats
Both formats must use float32 data type.
Uploading a File
Open the model's Files tab and click Upload New File.
What Happens During Upload
Koios validates the file and extracts:
If this is the model's first file, it is automatically activated and bindings are created. For subsequent uploads, you choose when to activate.
Activating a File
When you upload a second or later file, Koios shows a post-upload step before activation:
Activation Preview
Before activating, Koios shows what will change:
- Binding changes — if the new file has a different number of inputs or outputs, bindings will be added or removed. Existing bindings (and their tag assignments) are preserved where the binding order matches.
- Action map diff (discrete models only) — if the new file's action map differs from the current one, you can choose to keep the current map or use the new file's map.
- Metadata preview — if the file contains embedded metadata, a summary shows what will be applied (see Embedded Metadata below). You can toggle this on or off.
Click Set as Active to activate, or Close to keep the current file active and activate later.
Activating Later
From the file version history on the Files tab, click the Set Active button on any inactive file. You'll see the same activation preview before confirming.
Binding Review
After activation, a review step lets you verify and edit binding names and descriptions. Named bindings enable fuzzy tag matching recommendations, so it's worth filling these in.
File Version History
The Files tab shows all uploaded versions in a timeline, newest first. The active file is marked with a checkmark and an Active badge.
Each version shows:
- Version label and filename
- Input/output counts and input depth
- Creation timestamp
- Action count (for discrete models)
Actions per File
Embedded Metadata
ONNX files can include Koios-specific metadata that is automatically applied to the model's configuration and bindings. This reduces manual setup — especially useful when deploying models from a training pipeline.
How It Works
Metadata is stored as custom properties in the ONNX file's metadata_props, using keys prefixed with koios.. When a file with metadata is uploaded:
- First file: metadata is applied automatically
- Subsequent files: you can toggle "Apply metadata from this file" during activation
Training Metadata (koios.training)
Applied to the model's configuration:
Binding Metadata (koios.bindings)
Applied to each binding by binding order:
Reset from Metadata
If a model has an active file with embedded metadata, you can re-apply it at any time using the Reset from Metadata action on the model's overview page. This updates configuration and binding settings from the metadata without affecting tag assignments.
Viewing Metadata
Open the file's detail page (click View on any file version) and go to the Metadata tab to see the raw training and binding metadata extracted from the file.
File Detail Page
Each file version has its own detail page with:
What's Next
- Assigning Bindings — connect model inputs and outputs to tags
- Model Inference Requirements — tensor shape requirements and data preparation
