What problem does it solve?
Mithril ML projects often need a stable, reusable foundation for storage, data encoding, and type definitions. This Skill provides a shared infrastructure layer comprising traits for StorageBackend, Compressor, and HashFunction, along with core types and consolidated error handling to reduce duplication across Mithril modules.
Core Features & Use Cases
- StorageBackend: asynchronous storage interfaces for get, put, delete, exists, and list across concrete backends like LocalStorage, S3Storage, GcsStorage.
- Compression and Hashing: pluggable compressors and hash functions with a unified error model and type system (DType, TensorMeta) to standardize data handling in ML workflows.
- Centralized error and type system: MithrilError and Result<T> patterns to promote robust, reusable components across crates.
Quick Start
Review the mithril-core crate and implement the StorageBackend, Compressor, and HashFunction traits to start building your Mithril infra.