Cargo.toml 1.74 KB
Newer Older
1
2
3
4
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

[package]
Neelay Shah's avatar
Neelay Shah committed
5
name = "dynamo-run"
6
7
8
9
10
11
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
12
13
readme.workspace = true
description = "Dynamo Run CLI"
14

15
[features]
16
# Build with `--no-default-features` to disable these defaults
17
default = ["mistralrs", "llamacpp"]
18
19
20
21
22
23
mistralrs = ["dep:dynamo-engine-mistralrs"]
llamacpp = ["dep:dynamo-engine-llamacpp"]

cuda = ["dynamo-engine-llamacpp/cuda", "dynamo-engine-mistralrs/cuda"]
metal = ["dynamo-engine-llamacpp/metal", "dynamo-engine-mistralrs/metal"]
vulkan = ["dynamo-engine-llamacpp/vulkan"]
24
openmp = ["dynamo-engine-llamacpp/openmp"]
25

26
27
tokio-console = ["dynamo-runtime/tokio-console"]

28
[dependencies]
29
30
31
dynamo-llm = { workspace = true }
dynamo-runtime = { workspace = true }

32
33
34
dynamo-engine-llamacpp = { path = "../../lib/engines/llamacpp", optional = true }
dynamo-engine-mistralrs = { path = "../../lib/engines/mistralrs", optional = true }

35
anyhow = { workspace = true }
36
dynamo-async-openai = { workspace = true }
37
38
async-stream = { workspace = true }
async-trait = { workspace = true }
39
either = { workspace = true }
40
futures = { workspace = true }
41
libc = { workspace = true }
42
43
serde = { workspace = true }
serde_json = { workspace = true }
44
tempfile = { workspace = true }
45
46
47
tokio = { workspace = true }
tokio-util = { workspace = true }
tracing = { workspace = true }
48
tracing-subscriber = { workspace = true }
49
uuid = { workspace = true }
50

51
clap = { version = "4.5", features = ["derive", "env"] }
52
futures-util = { version = "0.3" }
53
regex = "1"
54
55
56
57

[build-dependencies]
vergen-gitcl = "1.0"
anyhow = { workspace = true }