Cargo.toml 1.66 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
[dependencies]
27
28
29
dynamo-llm = { workspace = true }
dynamo-runtime = { workspace = true }

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

33
34
35
36
anyhow = { workspace = true }
async-stream = { workspace = true }
async-trait = { workspace = true }
futures = { workspace = true }
37
libc = { workspace = true }
38
39
serde = { workspace = true }
serde_json = { workspace = true }
40
tempfile = { workspace = true }
41
42
43
tokio = { workspace = true }
tokio-util = { workspace = true }
tracing = { workspace = true }
44
tracing-subscriber = { workspace = true }
45
uuid = { workspace = true }
46

47
async-openai = { workspace = true }
48
clap = { version = "4.5", features = ["derive", "env"] }
49
futures-util = { version = "0.3" }
50
regex = "1"
51
52
53
54

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