This commit is contained in:
OlivierDehaene 2023-05-23 21:20:49 +02:00 committed by GitHub
parent 942005386a
commit d31562f300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 8 deletions

8
Cargo.lock generated
View File

@ -2516,7 +2516,7 @@ dependencies = [
[[package]]
name = "text-generation-benchmark"
version = "0.7.0-dev"
version = "0.7.0"
dependencies = [
"average",
"clap",
@ -2535,7 +2535,7 @@ dependencies = [
[[package]]
name = "text-generation-client"
version = "0.7.0-dev"
version = "0.7.0"
dependencies = [
"futures",
"grpc-metadata",
@ -2551,7 +2551,7 @@ dependencies = [
[[package]]
name = "text-generation-launcher"
version = "0.7.0-dev"
version = "0.7.0"
dependencies = [
"clap",
"ctrlc",
@ -2567,7 +2567,7 @@ dependencies = [
[[package]]
name = "text-generation-router"
version = "0.7.0-dev"
version = "0.7.0"
dependencies = [
"async-stream",
"axum",

View File

@ -8,7 +8,7 @@ members = [
]
[workspace.package]
version = "0.7.0-dev"
version = "0.7.0"
edition = "2021"
authors = ["Olivier Dehaene"]
homepage = "https://github.com/huggingface/text-generation-inference"

View File

@ -81,7 +81,7 @@ model=bigscience/bloom-560m
num_shard=2
volume=$PWD/data # share a volume with the Docker container to avoid downloading weights every run
docker run --gpus all --shm-size 1g -p 8080:80 -v $volume:/data ghcr.io/huggingface/text-generation-inference:latest --model-id $model --num-shard $num_shard
docker run --gpus all --shm-size 1g -p 8080:80 -v $volume:/data ghcr.io/huggingface/text-generation-inference:0.7 --model-id $model --num-shard $num_shard
```
**Note:** To use GPUs, you need to install the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html). We also recommend using NVIDIA drivers with CUDA version 11.8 or higher.

View File

@ -10,7 +10,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0"
},
"version": "0.7.0-dev"
"version": "0.7.0"
},
"paths": {
"/": {

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "text-generation-server"
version = "0.6.0"
version = "0.7.0"
description = "Text Generation Inference Python gRPC Server"
authors = ["Olivier Dehaene <olivier@huggingface.co>"]