Distribute and run AI workloads on Kubernetes magically in Python, like PyTorch for ML infra.
See the codeA Fast, Pythonic, "Serverless" Interface for Running ML Workloads on Kubernetes
Kubetorch lets you programmatically build, iterate, and deploy ML applications on Kubernetes at any scale - directly from Python.
It brings your cluster's compute power into your local development environment, enabling extremely fast iteration (1-2 seconds). Logs, exceptions, and hardware faults are automatically propagated back to you in real-time.
Since Kubetorch has no local runtime or code serialization, you can access large-scale cluster compute from any Python environment - your IDE, notebooks, CI pipelines, or production code - just like you would use a local process pool.
import kubetorch as kt
def hello_world():
return "Hello from Kubetorch!"
if __name__ == "__main__":
# Define your compute
compute = kt.Compute(cpus=".1")
# Send local function to freshly launched remote compute
remote_hello = kt.fn(hello_world).to(compute)
# Runs remotely on your Kubernetes cluster
result = remote_hello()
print(result) # "Hello from Kubetorch!"
pip install "kubetorch[client]"
# Option 1: Install directly from OCI registry
helm upgrade --install kubetorch oci://ghcr.io/run-house/charts/kubetorch \
--version 0.5.0 -n kubetorch --create-namespace
# Option 2: Download chart locally first
helm pull oci://ghcr.io/run-house/charts/kubetorch --version 0.5.0 --untar
helm upgrade --install kubetorch ./kubetorch -n kubetorch --create-namespace
For detailed setup instructions, see our Installation Guide.
This repo now includes the customer-facing OSS deployment components that were previously split across internal and OSS repos:
python_client/ for the SDKcharts/kubetorch/ for the Helm chartservices/ for the controller and data store sourcesrelease/default_images/ for the workload base imagesrelease/ for release scripts and version syncContact us (email, Slack) to try out Kubetorch on our fully managed serverless platform.
🏃♀️ Built by Runhouse 🏠
4,065 followers · starred May 2024
903 followers · starred May 2023
6,803 followers · starred May 2025
0 followers · starred Apr 2023
Distribute and run AI workloads on Kubernetes magically in Python, like PyTorch for ML infra.
See the codeA Fast, Pythonic, "Serverless" Interface for Running ML Workloads on Kubernetes
Kubetorch lets you programmatically build, iterate, and deploy ML applications on Kubernetes at any scale - directly from Python.
It brings your cluster's compute power into your local development environment, enabling extremely fast iteration (1-2 seconds). Logs, exceptions, and hardware faults are automatically propagated back to you in real-time.
Since Kubetorch has no local runtime or code serialization, you can access large-scale cluster compute from any Python environment - your IDE, notebooks, CI pipelines, or production code - just like you would use a local process pool.
import kubetorch as kt
def hello_world():
return "Hello from Kubetorch!"
if __name__ == "__main__":
# Define your compute
compute = kt.Compute(cpus=".1")
# Send local function to freshly launched remote compute
remote_hello = kt.fn(hello_world).to(compute)
# Runs remotely on your Kubernetes cluster
result = remote_hello()
print(result) # "Hello from Kubetorch!"
pip install "kubetorch[client]"
# Option 1: Install directly from OCI registry
helm upgrade --install kubetorch oci://ghcr.io/run-house/charts/kubetorch \
--version 0.5.0 -n kubetorch --create-namespace
# Option 2: Download chart locally first
helm pull oci://ghcr.io/run-house/charts/kubetorch --version 0.5.0 --untar
helm upgrade --install kubetorch ./kubetorch -n kubetorch --create-namespace
For detailed setup instructions, see our Installation Guide.
This repo now includes the customer-facing OSS deployment components that were previously split across internal and OSS repos:
python_client/ for the SDKcharts/kubetorch/ for the Helm chartservices/ for the controller and data store sourcesrelease/default_images/ for the workload base imagesrelease/ for release scripts and version syncContact us (email, Slack) to try out Kubetorch on our fully managed serverless platform.
🏃♀️ Built by Runhouse 🏠
4,065 followers · starred May 2024
903 followers · starred May 2023
6,803 followers · starred May 2025
0 followers · starred Apr 2023