"pcdet/models/detectors/__init__.py" did not exist on "3fdecc873991c7696a55eb518225b2bd85cbaac2"
Cargo.toml 3.27 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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.

[package]
Neelay Shah's avatar
Neelay Shah committed
17
name = "dynamo-run"
18
19
20
21
22
23
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
24
25
readme.workspace = true
description = "Dynamo Run CLI"
26

27
[features]
28
29
# Build with `--no-default-features` to disable these defaults
# We don't include llamacpp by default until we figure out when it needs external libraries
30
31
32
default = ["mistralrs", "vllm", "sglang"]
mistralrs = ["dep:dynamo-engine-mistralrs"]
llamacpp = ["dep:dynamo-engine-llamacpp"]
33
vllm = ["dep:dynamo-engine-vllm0_7", "dep:dynamo-engine-vllm0_8", "dep:netlink-packet-route", "dep:rtnetlink"]
34
35
36
37
38
39
sglang = ["dep:dynamo-engine-sglang", "dep:netlink-packet-route", "dep:rtnetlink"]
python = ["dep:dynamo-engine-python"]

cuda = ["dynamo-engine-llamacpp/cuda", "dynamo-engine-mistralrs/cuda"]
metal = ["dynamo-engine-llamacpp/metal", "dynamo-engine-mistralrs/metal"]
vulkan = ["dynamo-engine-llamacpp/vulkan"]
40

41
[dependencies]
42
43
44
dynamo-llm = { workspace = true }
dynamo-runtime = { workspace = true }

45
46
47
dynamo-engine-llamacpp = { path = "../../lib/engines/llamacpp", optional = true }
dynamo-engine-mistralrs = { path = "../../lib/engines/mistralrs", optional = true }
dynamo-engine-sglang = { path = "../../lib/engines/sglang", optional = true }
48
49
dynamo-engine-vllm0_7 = { path = "../../lib/engines/vllm0_7", optional = true }
dynamo-engine-vllm0_8 = { path = "../../lib/engines/vllm0_8", optional = true }
50
51
dynamo-engine-python = { path = "../../lib/engines/python", optional = true }

52
53
54
55
anyhow = { workspace = true }
async-stream = { workspace = true }
async-trait = { workspace = true }
futures = { workspace = true }
56
humantime = { workspace = true }
57
libc = { workspace = true }
58
59
serde = { workspace = true }
serde_json = { workspace = true }
60
tempfile = { workspace = true }
61
62
63
tokio = { workspace = true }
tokio-util = { workspace = true }
tracing = { workspace = true }
64
tracing-subscriber = { workspace = true }
65
66

async-openai = { version = "0.27.2" }
67
68
clap = { version = "4.5", features = ["derive", "env"] }
dialoguer = { version = "0.11", default-features = false, features = ["editor", "history"] }
69
futures-util = { version = "0.3" }
70
regex = "1"
71
72
73

[target.x86_64-unknown-linux-gnu.dependencies]
netlink-packet-route = { version = "0.19", optional = true }
74
rtnetlink = { version = "0.14", optional = true }
75
76
77
78

[target.x86_64-unknown-linux-musl.dependencies]
netlink-packet-route = { version = "0.19", optional = true }
rtnetlink = { version = "0.14", optional = true }
79
80
81
82

[target.aarch64-unknown-linux-gnu.dependencies]
netlink-packet-route = { version = "0.19", optional = true }
rtnetlink = { version = "0.14", optional = true }