Docs.rs
  • candle-coreml-0.2.2
    • candle-coreml 0.2.2
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • mazhewitt
    • Dependencies
      • anyhow ^1.0 normal
      • candle-core ^0.9.1 normal
      • candle-nn ^0.9.1 normal
      • candle-transformers ^0.9.1 normal
      • clap ^4.0 normal
      • dirs ^5.0 normal
      • git2 ^0.18 normal
      • half ^2.4 normal
      • hf-hub ^0.3 normal
      • rand ^0.8 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • tokenizers ^0.20.3 normal
      • tracing ^0.1 normal
      • clap ^4.0 dev
      • criterion ^0.5 dev
      • tempfile ^3.0 dev
      • tokio ^1.0 dev
      • block2 ^0.6.1 normal
      • objc2 ^0.6.1 normal
      • objc2-core-ml ^0.3.1 normal
      • objc2-foundation ^0.3.1 normal
    • Versions
    • 79.83% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

candle_coreml0.2.2

Crate Items

  • Structs
  • Constants
  • Traits
  • Functions
  • Type Aliases

List of all items

Structs

  • builder::CoreMLModelBuilder
  • clean_git_lfs_downloader::CleanDownloadConfig
  • clean_git_lfs_downloader::LfsPointer
  • config::Config
  • model::CoreMLModel
  • qwen::QwenConfig
  • qwen::QwenModel
  • state::CoreMLState
  • utils::multi_component::ComponentConfigBuilder

Traits

  • utils::multi_component::MultiComponentModel

Functions

  • clean_git_lfs_downloader::download_hf_model_clean
  • clean_git_lfs_downloader::verify_download_completeness
  • conversion::create_multi_feature_provider
  • conversion::extract_all_outputs
  • conversion::extract_output
  • conversion::tensor_to_mlmultiarray
  • get_local_or_remote_file
  • model_downloader::download_model
  • model_downloader::download_model_to
  • model_downloader::ensure_model_downloaded
  • model_downloader::get_cached_model_path
  • utils::mask::create_causal_mask
  • utils::mask::create_position_mask
  • utils::mask::create_rank4_position_mask
  • utils::mask::create_update_mask
  • utils::multi_component::combine_chunked_logits
  • utils::sampling::greedy_sample
  • utils::sampling::sample_top_k
  • utils::sampling::sample_with_temperature

Type Aliases

  • conversion::MLFeatureProviderStub
  • conversion::MLMultiArrayStub

Constants

  • qwen::QWEN_BATCH_SIZE
  • qwen::QWEN_CONTEXT_LENGTH
  • qwen::QWEN_HIDDEN_SIZE
  • qwen::QWEN_VOCAB_SIZE