ROADMAP.md
October 17, 2025 ยท View on GitHub
Feature Roadmap
This document includes the roadmap for the Infera DuckDB extension. It outlines features to be implemented and their current status.
Important
This roadmap is a work in progress and is subject to change.
1. Inference Interface
- Input Data Types
-
FLOATfeatures from table columns. - Type casting from
INTEGER,BIGINT, andDOUBLEcolumns. - Type casting from
DECIMALcolumns. -
BLOBinput for tensor data. -
STRUCTorMAPinput for named features.
-
- Output Data Types
- Single
FLOATscalar output. - Multiple
FLOAToutputs as aVARCHARcontaining JSON. - Multiple
FLOAToutputs as aLIST[FLOAT].
- Single
- Batch Processing
- Inference on batches for models with dynamic dimensions.
- Automatic batch splitting for models with a fixed batch size.
2. Model Management API
- Model Loading
- Load models from local file paths.
- Load models from URLs with local caching.
- Load all
.onnxmodels from a directory.
- Model Lifecycle
- Unload models from memory.
- List loaded models.
- Get model metadata as a JSON object.
- Check if a model is currently loaded.
- Cache eviction policies for remote models.
3. Performance and Concurrency
- Concurrency Control
- Thread-safe model store for concurrent queries.
- Data Transfer
- Process
BLOBcolumns in a single FFI call. - Zero-copy data transfer between DuckDB and Rust.
- Process
- Hardware Support
- GPU support for inference via an alternative backend.
4. Backend and Format Support
- ONNX Standard
- Support for ONNX operators via the
tractengine. - Support for models with named inputs and outputs.
- Support for ONNX operators via the
- Alternative Backends
- An optional build using the ONNX Runtime backend.
- Other Formats
- Support for other model formats like TorchScript or TensorFlow Lite.
5. Miscellaneous
- SQL Functions
- Consistent function names for the public API.
- Error Handling
- Error messages for missing models, incorrect argument counts, and NULL inputs.
- Error messages with more specific details.
- Documentation
-
README.mdfile with API reference and examples. - An official DuckDB extension documentation page.
-
- Distribution
- Pre-compiled extension binaries for Linux, macOS, and Windows.
- Submission to the DuckDB Community Extensions repository.