unsloth

by danchev

Helm chartv0.0.3App latestApache-2.0Verified publisher

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 nvidia RuntimeClass 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

KeyDefaultDescription
image.repositoryunsloth/unslothContainer image repository
image.tag""Image tag (defaults to chart appVersion, latest)
image.pullPolicyAlwaysImage pull policy
runtimeClassNamenvidiaRuntime class for GPU access
resources.requests.nvidia.com/gpu"1"Number of GPUs to request
persistence.work.size5GiWorkspace volume size
persistence.models.size50GiHuggingFace cache volume size
persistence.studio.size10GiUnsloth 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.typeClusterIPStudio service type
services.jupyterlab.typeClusterIPJupyter Lab service type
ingress.enabledfalseEnable 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartunsloth is pinned at v0.0.3 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