"deploy/snapshot/internal/runtime/process_test.go" did not exist on "24523a1c297f33ded512127c990b0b7bf2251bf2"
Cargo.toml 4.41 KB
Newer Older
1
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
3
4
5
# SPDX-License-Identifier: Apache-2.0

[workspace]
members = [
6
7
    "lib/llm",
    "lib/runtime",
8
    "lib/config",
9
    "lib/tokens",
10
    "lib/mocker",
11
    "lib/kv-router",
12
    "lib/memory",
13
    "lib/kvbm-kernels",
Ryan Olson's avatar
Ryan Olson committed
14
    "lib/kvbm-logical",
15
    "lib/async-openai",
16
    "lib/parsers",
Yan Ru Pei's avatar
Yan Ru Pei committed
17
    "lib/bench",
18
    "lib/bindings/c",
19
    "lib/bindings/python/codegen",
20
    "lib/config",
21
]
22
resolver = "3"
23
24

[workspace.package]
25
version = "0.9.0"
26
edition = "2024"
27
28
description = "Dynamo Inference Framework"
authors = ["NVIDIA Inc. <sw-dl-dynamo@nvidia.com>"]
29
license = "Apache-2.0"
Neelay Shah's avatar
Neelay Shah committed
30
31
homepage = "https://github.com/ai-dynamo/dynamo"
repository = "https://github.com/ai-dynamo/dynamo.git"
32
keywords = ["llm", "genai", "inference", "nvidia", "distributed"]
33
34

[workspace.dependencies]
35
# Local crates
36
37
38
39
dynamo-runtime = { path = "lib/runtime", version = "0.9.0" }
dynamo-llm = { path = "lib/llm", version = "0.9.0" }
dynamo-config = { path = "lib/config", version = "0.9.0" }
dynamo-tokens = { path = "lib/tokens", version = "0.9.0" }
40
dynamo-memory = { path = "lib/memory", version = "0.9.0" }
41
dynamo-mocker = { path = "lib/mocker", version = "0.9.0" }
42
dynamo-kv-router = { path = "lib/kv-router", version = "0.9.0", features = ["metrics"] }
43
dynamo-async-openai = { path = "lib/async-openai", version = "0.9.0", features = ["byot"] }
44
dynamo-parsers = { path = "lib/parsers", version = "0.9.0" }
45
kvbm-kernels = { path = "lib/kvbm-kernels", version = "0.9.0" }
Ryan Olson's avatar
Ryan Olson committed
46
kvbm-logical = { path = "lib/kvbm-logical", version = "0.9.0" }
47

48
# External dependencies
49
anyhow = { version = "1" }
50
async-nats = { version = "0.45.0", features = ["service"] }
51
52
async-stream = { version = "0.3" }
async-trait = { version = "0.1" }
53
54
55
async_zmq = { version = "0.4.0" }
blake3 = { version = "1" }
bytes = { version = "1" }
56
57
58
59
60
61
62
chrono = { version = "0.4", default-features = false, features = [
    "alloc",
    "std",
    "clock",
    "now",
    "serde",
] }
63
cudarc = { version = "0.19.2", features = ["cuda-12020"] }
64
dashmap = { version = "6.1" }
65
66
67
derive_builder = { version = "0.20" }
derive-getters = { version = "0.5" }
either = { version = "1.13", features = ["serde"] }
68
etcd-client = { version = "0.17.0", features = ["tls"] }
69
futures = { version = "0.3" }
70
71
72
73
74
75
76
hf-hub = { version = "0.4.2", default-features = false, features = [
    "tokio",
    "rustls-tls",
    "ureq",
] }

# ModelExpress for model downloading
77
78
modelexpress-client = { version = "0.2.0" }
modelexpress-common = { version = "0.2.0" }
79

80
humantime = { version = "2.2.0" }
81
libc = { version = "0.2" }
82
oneshot = { version = "0.1.13", features = ["std", "async"] }
83
parking_lot = "0.12.5"
Ryan Olson's avatar
Ryan Olson committed
84
prometheus = { version = "0.14"}
85
86
rand = { version = "0.9.2" }
reqwest = { version = "0.12.24", default-features = false, features = [
87
88
89
90
    "json",
    "stream",
    "rustls-tls",
] }
91
rmp-serde = { version = "1" }
92
93
# "rc" is for async-openai. Allows serializing Rc and Arc. Generally avoid doing that.
serde = { version = "1", features = ["derive", "rc"] }
94
serde_json = { version = "1" }
95
strum = { version = "0.27", features = ["derive"] }
96
tempfile = "3"
97
thiserror = { version = "2.0.17" }
98
99
tmq = { version = "0.5.0" }
zmq = { version = "0.10" }
Ryan Olson's avatar
Ryan Olson committed
100
tokio = { version = "=1.48.0", features = ["full"] }
101
tokio-stream = { version = "0.1" }
Ryan Olson's avatar
Ryan Olson committed
102
tokio-util = { version = "0.7.17", features = ["codec", "net", "rt", "io-util"] }
103
tower-http = { version = "0.6", features = ["trace"] }
104
axum = { version = "=0.8.4", features = ["macros"] }
105
axum-core = { version = "0.5.2" }
106
107
hyper = { version = "=1.7.0" }
hyper-util = { version = "=0.1.17" }
108
tracing = { version = "0.1" }
109
110
111
112
113
tracing-subscriber = { version = "0.3", features = [
    "env-filter",
    "local-time",
    "json",
] }
114
115
116
117
tracing-opentelemetry = { version = "0.32.0" }
opentelemetry = { version = "0.31.0", features = ["trace"] }
opentelemetry_sdk = { version = "0.31.0", features = ["trace", "rt-tokio"] }
opentelemetry-otlp = { version = "0.31.0", features = ["trace", "grpc-tonic"] }
118
validator = { version = "0.20.0", features = ["derive"] }
119
uuid = { version = "1.18.1", features = ["v4", "serde"] }
120
url = { version = "2.5", features = ["serde"] }
121
xxhash-rust = { version = "0.8", features = ["xxh3", "const_xxh3"] }
Graham King's avatar
Graham King committed
122
123
124

[profile.dev.package]
insta.opt-level = 3
125

126
127
[profile.dev]
# release level optimizations otherwise everything feels slow
128
# opt-level = 3
129

130
[profile.release]
131
# These make the build much slower but shrink the binary, and could help performance
132
codegen-units = 1
133
lto = "thin"