lib.rs 1.35 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

Neelay Shah's avatar
Neelay Shah committed
16
//! # Dynamo LLM
17
//!
Neelay Shah's avatar
Neelay Shah committed
18
//! The `dynamo.llm` crate is a Rust library that provides a set of traits and types for building
19
20
//! distributed LLM inference solutions.

Biswa Panda's avatar
Biswa Panda committed
21
pub mod backend;
22
pub mod common;
23
pub mod disagg_router;
24
pub mod discovery;
25
pub mod engines;
26
pub mod gguf;
27
pub mod http;
28
pub mod hub;
29
pub mod key_value_store;
30
pub mod kv_router;
31
pub use kv_router::DEFAULT_KV_BLOCK_SIZE;
32
pub mod mocker;
33
pub mod model_card;
34
pub mod model_type;
Biswa Panda's avatar
Biswa Panda committed
35
pub mod preprocessor;
36
pub mod protocols;
37
pub mod recorder;
38
pub mod request_template;
Biswa Panda's avatar
Biswa Panda committed
39
pub mod tokenizers;
40
pub mod tokens;
41
pub mod types;
42

Ryan Olson's avatar
Ryan Olson committed
43
mod local_model;
44
45
pub use local_model::LocalModel;

Ryan Olson's avatar
Ryan Olson committed
46
47
#[cfg(feature = "block-manager")]
pub mod block_manager;