unsloth
by danchev
A Helm chart for Unsloth Studio — GPU-accelerated LLM fine-tuning and inference platform
About this chart
unsloth
A Helm chart for Unsloth Studio — GPU-accelerated LLM fine-tuning and inference platform.
Features
- Unsloth Studio UI (port 8000)
- Jupyter Lab (port 8888)
- NVIDIA GPU support via
runtimeClassName: nvidia - Persistent storage for workspace and HuggingFace model cache
- Configurable via ConfigMap and Secret
Prerequisites
- Kubernetes 1.23+
- Helm 3.10+
- NVIDIA GPU node with
nvidiaRuntimeClass configured - Storage class capable of dynamic provisioning (uses the cluster default)
Install
helm install unsloth oci://ghcr.io/danchev/charts/unsloth
The default Studio image uses latest and is pulled whenever a pod starts.
Override image.tag to select a different
Studio release; core images do not include the Studio interface.
Configuration
| Key | Default | Description |
|---|---|---|
image.repository | unsloth/unsloth | Container image repository |
image.tag | "" | Image tag (defaults to chart appVersion, latest) |
image.pullPolicy | Always | Image pull policy |
runtimeClassName | nvidia | Runtime class for GPU access |
resources.requests.nvidia.com/gpu | "1" | Number of GPUs to request |
persistence.work.size | 5Gi | Workspace volume size |
persistence.models.size | 50Gi | HuggingFace cache volume size |
persistence.studio.size | 10Gi | Unsloth Studio state and saved password volume size |
persistence.work.storageClass | "" | Uses the cluster default storage class |
persistence.models.storageClass | "" | Uses the cluster default storage class |
secrets.JUPYTER_PASSWORD | "" | Auto-generated when empty |
secrets.UNSLOTH_STUDIO_PASSWORD | "" | Auto-generated when empty |
services.studio.type | ClusterIP | Studio service type |
services.jupyterlab.type | ClusterIP | Jupyter Lab service type |
ingress.enabled | false | Enable ingress for Studio |
Accessing Unsloth
After installation, port-forward to access Studio and Jupyter Lab:
# Unsloth Studio
kubectl port-forward svc/unsloth-studio 8000:8000
# Jupyter Lab
kubectl port-forward svc/unsloth-jupyterlab 8888:8888
Note: First launch may take 5-10 minutes while llama.cpp compiles.
Deploy unsloth with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has unsloth 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartunsloth is pinned at v0.0.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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