text-generation-inference

by InfraCloud Technologies

Helm chartv0.3.1App 3.3.7Verified publisher

A Helm chart for deploying Text Generation Inference(TGI) from Hugging Face

About this chart

text-generation-inference

A helm chart to deploy the Text Generation Inference(TGI) from Hugging Face.

Setup Helm Repository

helm repo add infracloud-charts https://infracloudio.github.io/charts
helm repo update

See helm repo for command documentation.

Installing the Chart

To install the chart with the release name tgi:

helm install tgi infracloud-charts/text-generation-inference

Uninstalling the Chart

To uninstall the tgi deployment:

helm uninstall tgi

The command removes all the Kubernetes components associated with the chart and deletes the release.

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.3.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