Docs.rs
  • llm-base-0.1.1
    • llm-base 0.1.1
    • Permalink
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • setzer22
    • philpax
    • Dependencies
      • bytemuck ^1.13.1 normal
      • ggml ^0.1.1 normal
      • half ^2.2.1 normal
      • memmap2 ^0.5.10 normal
      • partial_sort ^0.2.0 normal
      • rand ^0.8.5 normal
      • serde ^1.0 normal
      • serde_bytes ^0.11 normal
      • thiserror ^1.0 normal
    • Versions
    • 100% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • 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

llm_base0.1.1

Crate Items

  • Structs
  • Enums
  • Traits
  • Functions
  • Type Aliases

List of all items

Structs

  • InferenceParameters
  • InferenceRequest
  • InferenceSession
  • InferenceSessionConfig
  • InferenceSnapshot
  • InferenceStats
  • Loader
  • Mmap
  • TokenBias
  • Vocabulary
  • model::ModelParameters
  • model::OutputRequest
  • util::TokenUtf8Buffer

Enums

  • ContainerType
  • ElementType
  • FileType
  • InferenceError
  • LoadError
  • LoadProgress
  • ModelKVMemoryType
  • QuantizeError
  • QuantizeProgress
  • SnapshotError
  • model::HyperparametersWriteError
  • util::FindAllModelFilesError

Traits

  • TensorLoader
  • model::Hyperparameters
  • model::KnownModel
  • model::Model

Functions

  • load
  • load_progress_callback_stdout
  • model::common::extract_embeddings
  • model::common::extract_logits
  • model::common::prepare_for_evaluate
  • model::common::read_last_token
  • model::common::update_session
  • quantize
  • util::find_all_model_files
  • util::has_data_left
  • util::mmap_populate
  • util::read_bytes
  • util::read_bytes_with_len
  • util::read_f32
  • util::read_i32
  • util::read_u32
  • util::write_f32
  • util::write_i32
  • util::write_u32

Type Aliases

  • TokenId