Cargo.toml 3.2 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# SPDX-FileCopyrightText: Copyright (c) 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.

[workspace]
members = [
18
19
20
    "components/http",
    "components/metrics",
    "components/router",
21
22
23
    "launch/*",
    "lib/llm",
    "lib/runtime",
24
    "lib/tokens",
25
    "lib/bindings/c",
26
    "lib/engines/*",
27
]
28
resolver = "3"
29
30

[workspace.package]
31
version = "0.2.1"
32
edition = "2021"
33
34
description = "Dynamo Inference Framework"
authors = ["NVIDIA Inc. <sw-dl-dynamo@nvidia.com>"]
35
license = "Apache-2.0"
Neelay Shah's avatar
Neelay Shah committed
36
37
homepage = "https://github.com/ai-dynamo/dynamo"
repository = "https://github.com/ai-dynamo/dynamo.git"
38
keywords = ["llm", "genai", "inference", "nvidia", "distributed", "dynamo"]
39
40

[workspace.dependencies]
41
# Local crates
42
43
44
dynamo-runtime = { path = "lib/runtime", version = "0.2.1" }
dynamo-llm = { path = "lib/llm", version = "0.2.1" }
dynamo-tokens = { path = "lib/tokens", version = "0.2.1" }
45

46
# External dependencies
47
anyhow = { version = "1" }
48
async-nats = { version = "0.40", features = ["service"] }
49
50
async-stream = { version = "0.3" }
async-trait = { version = "0.1" }
51
52
53
54
55
56
57
async_zmq = { version = "0.4.0" }
blake3 = { version = "1" }
bytes = { version = "1" }
chrono = { version = "0.4", default-features = false, features = ["alloc", "std", "clock", "now", "serde"] }
derive_builder = { version = "0.20" }
derive-getters = { version = "0.5" }
either = { version = "1.13", features = ["serde"] }
wxsm's avatar
wxsm committed
58
etcd-client = { version = "0.14", features = ["tls"] }
59
futures = { version = "0.3" }
60
61
hf-hub = { version = "0.4.2", default-features = false, features = ["tokio", "rustls-tls"] }
humantime = { version = "2.2.0" }
62
libc = { version = "0.2" }
63
oneshot = { version = "0.1.11", features = ["std", "async"] }
64
prometheus = { version = "0.14" }
65
rand = { version = "0.9.0" }
66
67
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }
68
strum = { version = "0.27", features = ["derive"] }
69
tempfile = "3"
70
71
72
73
74
thiserror = { version = "2.0.11" }
tokio = { version = "1", features = ["full"] }
tokio-stream = { version = "0.1" }
tokio-util = { version = "0.7", features = ["codec", "net"] }
tracing = { version = "0.1" }
75
tracing-subscriber = { version = "0.3", features = ["env-filter", "local-time", "json"] }
76
77
validator = { version = "0.20.0", features = ["derive"] }
uuid = { version = "1", features = ["v4", "serde"] }
78
url = {version = "2.5", features = ["serde"]}
79
xxhash-rust = { version = "0.8", features = ["xxh3", "const_xxh3"] }
Graham King's avatar
Graham King committed
80

81

Graham King's avatar
Graham King committed
82
83
[profile.dev.package]
insta.opt-level = 3
84

85
86
87
88
[profile.dev]
# release level optimizations otherwise everything feels slow
opt-level = 3

89
[profile.release]
90
# These make the build much slower but shrink the binary, and could help performance
91
92
codegen-units = 1
lto = true