torchserve

by Intel

Helm chartv0.1.0App 1.16.0Verified publisher

TorchServe is a performant, flexible and easy to use tool for serving PyTorch models in production on Intel GPUs.

About this chart

TorchServe with Intel Optimizations

TorchServe is a performant, flexible and easy to use tool for serving PyTorch models in production on Intel GPUs.

For more information about how to use TorchServe with Intel Optimizations, check out the container documentation.

Values

KeyTypeDefaultDescription
deploy.envobject{"configMapName":"intel-proxy-config","enabled":true}Add Environment mapping
deploy.imagestring"intel/intel-optimized-pytorch:2.3.0-serving-cpu"Intel Optimized torchserve image
deploy.modelConfigstring"/home/model-server/config.properties"Model Server Configuration file location
deploy.modelsstring"all"Models to be loaded
deploy.replicasint1Number of pods
deploy.resources.limitsobject{"cpu":"4000m","memory":"1Gi"}Maximum resources per pod
deploy.resources.requestsobject{"cpu":"1000m","memory":"512Mi"}Minimum resources per pod
deploy.storage.nfsobject{"enabled":false,"path":"nil","readOnly":true,"server":"nil","subPath":"nil"}Network File System (NFS) storage for models
deploy.tokens_disabledbooltrueSet token authentication on or off. Checkout the latest torchserve docs for more details.
fullnameOverridestring""Full qualified Domain Name
nameOverridestring""Name of the serving service
pvc.sizestring"1Gi"Size of the storage
service.typestring"NodePort"Type of service

Next Steps

There are some additional steps that can be taken to prepare your service for your users:


Autogenerated from chart metadata using helm-docs v1.14.2

Deploy torchserve with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has torchserve 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 charttorchserve is pinned at v0.1.0 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