Skip to content

Commit abca422

Browse files
Merge pull request #70 from IBM/main
[pull] main from IBM:main
2 parents 857579f + a7b41b6 commit abca422

File tree

11 files changed

+877
-764
lines changed

11 files changed

+877
-764
lines changed

Cargo.lock

Lines changed: 285 additions & 201 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Global Args #################################################################
22
ARG BASE_UBI_IMAGE_TAG=9.3-1610
3-
ARG PROTOC_VERSION=25.2
3+
ARG PROTOC_VERSION=25.3
44
ARG PYTORCH_INDEX="https://download.pytorch.org/whl"
55
# ARG PYTORCH_INDEX="https://download.pytorch.org/whl/nightly"
66
ARG AUTO_GPTQ_VERSION=0.7.1
@@ -86,7 +86,7 @@ ENV LIBRARY_PATH="$CUDA_HOME/lib64/stubs"
8686

8787
## Rust builder ################################################################
8888
# Specific debian version so that compatible glibc version is used
89-
FROM rust:1.77-bullseye as rust-builder
89+
FROM rust:1.77.2-bullseye as rust-builder
9090
ARG PROTOC_VERSION
9191

9292
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse

integration_tests/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
gen-client:
22
# Compile protos
3-
pip install grpcio-tools==1.60.0 mypy-protobuf==3.5.0 'types-protobuf>=3.20.4' --no-cache-dir
3+
pip install grpcio-tools==1.62.1 mypy-protobuf==3.5.0 'types-protobuf>=3.20.4' --no-cache-dir
44
mkdir text_generation_tests/pb || true
55
python -m grpc_tools.protoc -I../proto --python_out=text_generation_tests/pb \
66
--grpc_python_out=text_generation_tests/pb --mypy_out=text_generation_tests/pb ../proto/generation.proto

integration_tests/poetry.lock

Lines changed: 276 additions & 297 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

launcher/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ authors = ["Olivier Dehaene"]
66
description = "Text Generation Launcher"
77

88
[dependencies]
9-
clap = { version = "4.5.3", features = ["derive", "env"] }
9+
clap = { version = "4.5.4", features = ["derive", "env"] }
1010
ctrlc = { version = "3.4.4", features = ["termination"] }
1111
nix = { version = "0.28.0", features = ["process", "signal"] }
12-
serde_json = "^1.0.114"
12+
serde_json = "^1.0.11"
1313
tracing = "0.1.40"
1414
tracing-subscriber = { version = "0.3.18", features = ["json", "env-filter"] }
1515
uuid = { version = "1.8.0", features = ["v4", "fast-rng"] }

router/Cargo.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,33 +17,33 @@ path = "src/main.rs"
1717
axum = { version = "0.6.20", features = ["json"] }
1818
axum-tracing-opentelemetry = "0.10.0"
1919
text-generation-client = { path = "client" }
20-
clap = { version = "^4.5.2", features = ["derive", "env"] }
20+
clap = { version = "^4.5.4", features = ["derive", "env"] }
2121
futures = "^0.3.30"
2222
flume = "^0.11.0"
2323
metrics = "0.21.1"
2424
metrics-exporter-prometheus = { version = "0.12.2", features = [] }
25-
moka = { version = "0.12.5", features = ["future"] }
25+
moka = { version = "0.12.6", features = ["future"] }
2626
nohash-hasher = "^0.2.0"
27-
num = "^0.4.1"
27+
num = "^0.4.2"
2828
num_cpus = "^1.16.0"
2929
hyper = "^0.14.28" # Override to address CVE-2023-26964
3030
openssl = "^0.10.64" # Override to address WS-2023-0082, WS-2023-0083, WS-2023-0195
31-
openssl-sys = "^0.9.101" # Override to address WS-2023-0082, WS-2023-0083, WS-2023-0195
31+
openssl-sys = "^0.9.102" # Override to address WS-2023-0082, WS-2023-0083, WS-2023-0195
3232
rustls-webpki = "0.102.2" # Override to address WS-2023-0305, CVE-2018-16875
3333
rand = "^0.8.5"
34-
serde = "^1.0.197"
35-
serde_json = "^1.0.114"
34+
serde = "^1.0.198"
35+
serde_json = "^1.0.116"
3636
thiserror = "^1.0.57"
37-
tokenizers = "0.15.2"
38-
tokio = { version = "1.36.0", features = ["rt", "rt-multi-thread", "parking_lot", "signal", "sync", "fs"] }
39-
tokio-rustls = "^0.25.0"
40-
rustls = "0.22.2"
37+
tokenizers = "0.19.1"
38+
tokio = { version = "1.37.0", features = ["rt", "rt-multi-thread", "parking_lot", "signal", "sync", "fs"] }
39+
tokio-rustls = "^0.26.0"
40+
rustls = "0.22.3"
4141
tracing = "^0.1.40"
42-
prost = "^0.12.3"
42+
prost = "^0.12.4"
4343
tonic = { version = "^0.11.0", features = ["tls"] }
4444
tracing-subscriber = { version = "0.3.18", features = ["json", "env-filter"] }
4545
tracing-opentelemetry = "0.23.0"
46-
tokio-stream ="^0.1.14"
46+
tokio-stream ="^0.1.15"
4747
unicode-segmentation = "^1.11.0"
4848
unicode-truncate = "^0.2.0"
4949
opentelemetry = "0.22.0"

router/client/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ build="build.rs"
66

77
[dependencies]
88
futures = "^0.3.30"
9-
prost = "^0.12.3"
9+
prost = "^0.12.4"
1010
thiserror = "^1.0.58"
11-
tokio = { version = "1.36.0", features = ["sync"] }
11+
tokio = { version = "1.37.0", features = ["sync"] }
1212
tonic = "^0.11.0"
1313
tower = "^0.4.13"
1414
tracing = "^0.1.40"

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "1.77"
2+
channel = "1.77.2"
33
components = ["rustfmt", "clippy"]

server/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ all: install run-dev
44
.PHONY: gen-server
55
gen-server:
66
# Compile protos
7-
pip install grpcio-tools==1.60.0 mypy-protobuf==3.5.0 'types-protobuf>=3.20.4' --no-cache-dir
7+
pip install grpcio-tools==1.62.1 mypy-protobuf==3.5.0 'types-protobuf>=3.20.4' --no-cache-dir
88
mkdir -p text_generation_server/pb
99
python -m grpc_tools.protoc -I../proto \
1010
--python_out=text_generation_server/pb \

server/poetry.lock

Lines changed: 292 additions & 243 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)