Cargo.toml 1.64 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

25
[dependencies]
26
27
28
dynamo-llm = { workspace = true }
dynamo-runtime = { workspace = true }

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

32
33
34
35
anyhow = { workspace = true }
async-stream = { workspace = true }
async-trait = { workspace = true }
futures = { workspace = true }
36
humantime = { 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
46

async-openai = { version = "0.27.2" }
47
48
clap = { version = "4.5", features = ["derive", "env"] }
dialoguer = { version = "0.11", default-features = false, features = ["editor", "history"] }
49
futures-util = { version = "0.3" }
50
regex = "1"