Skip to content

Commit

Permalink
Update various rust and python dependencies
Browse files Browse the repository at this point in the history
Including transformers 4.38, tokenizers 0.15.2, optimum 1.17.1, onnxruntime 1.17.0

Signed-off-by: Nick Hill <[email protected]>
  • Loading branch information
njhill committed Feb 21, 2024
1 parent cf76817 commit 75edf80
Show file tree
Hide file tree
Showing 8 changed files with 330 additions and 340 deletions.
192 changes: 97 additions & 95 deletions Cargo.lock

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions integration_tests/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions integration_tests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ authors = ["Nick Hill"]
python = ">=3.11"

[tool.poetry.group.dev.dependencies]
protobuf = "^4.25.2"
protobuf = "^4.25.3"
grpcio-tools = "^1.60.1"
pytest = "^7.4.4"
pytest = "^8.0.1"
pytest-asyncio = "^0.23.3"
requests = "^2.31.0"
pyyaml = "^6.0.1"
Expand Down
4 changes: 2 additions & 2 deletions launcher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ authors = ["Olivier Dehaene"]
description = "Text Generation Launcher"

[dependencies]
clap = { version = "4.4.18", features = ["derive", "env"] }
clap = { version = "4.5.1", features = ["derive", "env"] }
ctrlc = { version = "3.4.2", features = ["termination"] }
nix = "0.27.1"
serde_json = "^1.0.113"
serde_json = "^1.0.114"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["json"] }

18 changes: 9 additions & 9 deletions router/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ path = "src/main.rs"
[dependencies]
axum = { version = "0.6.20", features = ["json"] }
text-generation-client = { path = "client" }
clap = { version = "^4.4.18", features = ["derive", "env"] }
clap = { version = "^4.5.1", features = ["derive", "env"] }
futures = "^0.3.30"
flume = "^0.11.0"
metrics = "0.21.1"
Expand All @@ -26,24 +26,24 @@ nohash-hasher = "^0.2.0"
num = "^0.4.1"
num_cpus = "^1.16.0"
hyper = "^0.14.28" # Override to address CVE-2023-26964
openssl = "^0.10.63" # Override to address WS-2023-0082, WS-2023-0083, WS-2023-0195
openssl-sys = "^0.9.99" # Override to address WS-2023-0082, WS-2023-0083, WS-2023-0195
openssl = "^0.10.64" # Override to address WS-2023-0082, WS-2023-0083, WS-2023-0195
openssl-sys = "^0.9.100" # Override to address WS-2023-0082, WS-2023-0083, WS-2023-0195
rustls-webpki = "0.102.2" # Override to address WS-2023-0305, CVE-2018-16875
rand = "^0.8.5"
serde = "^1.0.196"
serde_json = "^1.0.113"
thiserror = "^1.0.56"
tokenizers = "0.15.1"
serde = "^1.0.197"
serde_json = "^1.0.114"
thiserror = "^1.0.57"
tokenizers = "0.15.2"
tokio = { version = "1.36.0", features = ["rt", "rt-multi-thread", "parking_lot", "signal", "sync", "fs"] }
tokio-rustls = "^0.25.0"
rustls = "0.22.2"
tracing = "^0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["json"] }
prost = "^0.12.3"
tonic = { version = "^0.10.2", features = ["tls"] }
tonic = { version = "^0.11.0", features = ["tls"] }
tokio-stream ="^0.1.14"
unicode-segmentation = "^1.11.0"
unicode-truncate = "^0.2.0"

[build-dependencies]
tonic-build = "^0.10.2"
tonic-build = "^0.11.0"
6 changes: 3 additions & 3 deletions router/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ build="build.rs"
[dependencies]
futures = "^0.3.30"
prost = "^0.12.3"
thiserror = "^1.0.56"
thiserror = "^1.0.57"
tokio = { version = "1.36.0", features = ["sync"] }
tonic = "^0.10.2"
tonic = "^0.11.0"
tower = "^0.4.13"
tracing = "^0.1.40"
tracing-error = "^0.2.0"

[build-dependencies]
tonic-build = "^0.10.2"
tonic-build = "^0.11.0"
Loading

0 comments on commit 75edf80

Please sign in to comment.