text-generation-inference

by Intel

Helm chartv0.2.1App 1.16.0Verified publisher

A Rust, Python and gRPC server for text generation inference by huggingface on Intel GPUs.

About this chart

Text Generation Inference on Intel GPU

A Rust, Python and gRPC server for text generation inference by huggingface on Intel GPUs.

For more information about how to use Huggingface text-generation-inference with Intel optimizations, check out huggingface's documentation.

[!TIP] For Gaudi-related documentation, check out tgi-gaudi.

Values

KeyTypeDefaultDescription
deploy.configMapobject{"enabled":true,"name":"tgi-config"}ConfigMap of Environment Variables
deploy.imagestring"ghcr.io/huggingface/text-generation-inference:latest-intel"Intel TGI Image
deploy.replicaCountint1Number of pods
deploy.resourcesobject{"limits":{"cpu":"4000m","gpu.intel.com/i915":1},"requests":{"cpu":"1000m","memory":"1Gi"}}Resource configuration
deploy.resources.limits."gpu.intel.com/i915"int1Intel GPU Device Configuration
fullnameOverridestring""Full qualified Domain Name
ingressobject{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}Ingress configuration
nameOverridestring""Name of the serving service
pvcobject{"create":true,"name":"model-server-cache","size":"15Gi","storageClassName":"nil"}Configure Storage Volume
pvc.createbooltrueCreate a new PVC
pvc.namestring"model-server-cache"Specify the name of either an existing or new PVC
secret.encodedTokenstring""Base64 Encoded Huggingface Hub API Token
securityContextobject{}Security Context Configuration
serviceobject{"port":80,"type":"NodePort"}Service configuration

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy text-generation-inference with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has text-generation-inference on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charttext-generation-inference is pinned at v0.2.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply