Cargo.toml 2.03 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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]
name = "tio"
version = "0.1.0"
edition = "2021"
authors = ["NVIDIA"]
homepage = "https://github.com/triton-inference-server/triton_distributed"
22
license = "Apache-2.0"
23

24
[features]
Neelay Shah's avatar
Neelay Shah committed
25
mistralrs = ["triton-distributed-llm/mistralrs"]
26
sglang = ["triton-distributed-llm/sglang", "dep:netlink-packet-route", "dep:rtnetlink"]
27
llamacpp = ["triton-distributed-llm/llamacpp"]
Graham King's avatar
Graham King committed
28
trtllm = ["triton-distributed-llm/trtllm"]
Neelay Shah's avatar
Neelay Shah committed
29
30
cuda = ["triton-distributed-llm/cuda"]
metal = ["triton-distributed-llm/metal"]
Graham King's avatar
Graham King committed
31
vllm = ["triton-distributed-llm/vllm"]
32

33
34
[dependencies]
anyhow = "1"
Paul Hendricks's avatar
Paul Hendricks committed
35
async-openai = "0.27.2"
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
async-stream = { version = "0.3" }
async-trait = { version = "0.1" }
clap = { version = "4.5", features = ["derive", "env"] }
dialoguer = { version = "0.11", default-features = false, features = ["editor", "history"] }
futures = { version = "0.3" }
futures-util = "0.3"
libc = { version = "0.2" }
netlink-packet-route = { version = "0.19", optional = true }
rtnetlink = { version = "0.14", optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["full"] }
tokio-util = { version = "0.7", features = ["codec", "net"] }
tracing = { version = "0.1" }
tracing-subscriber = { version = "0.3", features = ["env-filter", "local-time", "json"] }
51
52
triton-distributed-runtime = { path = "../../lib/runtime" }
triton-distributed-llm = { path = "../../lib/llm" }