-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Note that we need to recreate a base cargo-chef image because the default one uses python 3.11, and the base TGI image uses 3.10, which is also the verison of choice for torch-xla.
- Loading branch information
Showing
4 changed files
with
78 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[workspace] | ||
members = [ | ||
"backends/v2", | ||
"backends/grpc-metadata", | ||
"launcher", | ||
"router" | ||
] | ||
default-members = [ | ||
"backends/v2", | ||
"backends/grpc-metadata", | ||
"launcher", | ||
"router" | ||
] | ||
resolver = "2" | ||
|
||
[workspace.package] | ||
version = "2.4.1" | ||
edition = "2021" | ||
authors = ["Olivier Dehaene"] | ||
homepage = "https://github.com/huggingface/text-generation-inference" | ||
|
||
[workspace.dependencies] | ||
base64 = "0.22.0" | ||
tokenizers = { version = "0.20.0", features = ["http"] } | ||
hf-hub = { version = "0.3.1", features = ["tokio"] } | ||
metrics = { version = "0.23.0" } | ||
metrics-exporter-prometheus = { version = "0.15.1", features = [] } | ||
minijinja = { version = "2.2.0", features = ["json"] } | ||
minijinja-contrib = { version = "2.0.2", features = ["pycompat"] } | ||
pyo3 = { version = "0.22.2", features = ["auto-initialize"] } | ||
|
||
[profile.release] | ||
incremental = true | ||
|
||
[profile.release-binary] | ||
inherits = "release" | ||
debug = 1 | ||
incremental = true | ||
panic = "abort" | ||
|
||
[profile.release-opt] | ||
inherits = "release" | ||
debug = 0 | ||
incremental = false | ||
lto = "fat" | ||
opt-level = 3 | ||
codegen-units = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
build | ||
grpcio-tools==1.48.2 | ||
mypy-protobuf==3.2.0 | ||
grpcio-tools==1.53.0 | ||
mypy-protobuf |