Re-exports§
pub use builder::CoreMLModelBuilder;pub use config::Config;pub use model::CoreMLModel;pub use qwen::QwenConfig;pub use qwen::QwenModel;pub use state::CoreMLState;pub use model_downloader::download_model;pub use model_downloader::download_model_to;pub use model_downloader::ensure_model_downloaded;pub use model_downloader::get_cached_model_path;pub use clean_git_lfs_downloader::download_hf_model_clean;pub use clean_git_lfs_downloader::verify_download_completeness;pub use clean_git_lfs_downloader::CleanDownloadConfig;pub use utils::mask;pub use utils::multi_component;pub use utils::sampling;
Modules§
- builder
CoreMLmodel builder for convenient model loading- clean_
git_ lfs_ downloader - Clean Git2 + HF Hub LFS Downloader
- config
- Configuration types for CoreML models
- conversion
- Tensor conversion utilities for CoreML integration
- model
- Core CoreML model implementation
- model_
downloader - Unified Model Downloader Utility
- qwen
- Qwen model integration for candle-coreml
- state
- CoreML state management for autoregressive inference
- utils
- Shared utilities for transformer models and multi-component architectures
Functions§
- get_
local_ or_ remote_ file - Helper function to get a file locally first, then download from
HuggingFaceHub if needed. Follows the same pattern as quantized-t5 example.