Back to rankings

beam-cloud/beta9

Gobeam.cloud

Ultrafast serverless GPU inference, sandboxes, and background jobs

gpuml-platformcudafine-tuninggenerative-ailarge-language-modelsllmdistributed-computingllm-inferenceself-hostedautoscalercloudrun
Star Growth
Stars
1.7k
Forks
152
Weekly Growth
Issues
7
1.2k1.4k1.6k
May 2024Jan 2025Oct 2025Jul 2026
ArtifactsGo Modulesgo get github.com/beam-cloud/beta9
README

Logo Logo

Run AI Workloads at Scale

Colab ⭐ Star the Repo Documentation Join Slack Twitter AGPL

Beam is a fast, open-source runtime for serverless AI workloads. It gives you a Pythonic interface to deploy and scale AI applications with zero infrastructure overhead.

Watch the demo

✨ Features

  • Fast Cold Starts: Launch containers in under a second using a custom container runtime, scheduler, and embedded caching
  • Parallelization and Concurrency: Fan out workloads to 100s of containers
  • First-Class Developer Experience: Hot-reloading, webhooks, and scheduled jobs
  • Scale-to-Zero: Workloads are serverless by default
  • Volume Storage: Mount distributed storage volumes
  • GPU Support: Run on our cloud (4090s, H100s, and more) or bring your own GPUs

📦 Installation

pip install beam-client

⚡️ Quickstart

  1. Create an account here
  2. Follow our Getting Started Guide

Creating a sandbox

Spin up isolated containers to run LLM-generated code:

from beam import Image, Sandbox


sandbox = Sandbox(image=Image()).create()
response = sandbox.process.run_code("print('I am running remotely')")

print(response.result)

Deploy a serverless inference endpoint

Create an autoscaling endpoint for your custom model:

from beam import Image, endpoint
from beam import QueueDepthAutoscaler

@endpoint(
    image=Image(python_version="python3.11"),
    gpu="A10G",
    cpu=2,
    memory="16Gi",
    autoscaler=QueueDepthAutoscaler(max_containers=5, tasks_per_container=30)
)
def handler():
    return {"label": "cat", "confidence": 0.97}

Run background tasks

Schedule resilient background tasks (or replace your Celery queue) by adding a simple decorator:

from beam import Image, TaskPolicy, schema, task_queue


class Input(schema.Schema):
    image_url = schema.String()


@task_queue(
    name="image-processor",
    image=Image(python_version="python3.11"),
    cpu=1,
    memory=1024,
    inputs=Input,
    task_policy=TaskPolicy(max_retries=3),
)
def my_background_task(input: Input, *, context):
    image_url = input.image_url
    print(f"Processing image: {image_url}")
    return {"image_url": image_url}


if __name__ == "__main__":
    # Invoke a background task from your app (without deploying it)
    my_background_task.put(image_url="https://example.com/image.jpg")

    # You can also deploy this behind a versioned endpoint with:
    # beam deploy app.py:my_background_task --name image-processor

Self-Hosting vs Cloud

Beta9 is the open-source engine powering Beam, our fully-managed cloud platform. You can self-host Beta9 for free or choose managed cloud hosting through Beam.

👋 Contributing

We welcome contributions big or small. These are the most helpful things for us:

❤️ Thanks to Our Contributors

Related repositories
pytorch/pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

PythonPyPIOtherneural-networkautograd
pytorch.org
101.8k28.4k
alacritty/alacritty

A cross-platform, OpenGL terminal emulator.

Rustcrates.ioApache License 2.0terminal-emulatorsopengl
alacritty.org
65k3.5k
deepspeedai/DeepSpeed

DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.

PythonPyPIApache License 2.0deep-learningpytorch
deepspeed.ai
42.7k4.9k
exelban/stats

macOS system monitor in your menu bar

SwiftMIT Licensemacosmonitor
mac-stats.com
40.6k1.4k
microsoft/DeepSpeed

DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.

PythonPyPIdeep-learningpytorch
deepspeed.ai
36.2k4.2k
taichi-dev/taichi

Productive, portable, and performant GPU programming in Python.

C++Apache License 2.0taichidifferentiable-programming
taichi-lang.org
28.3k2.4k
fastai/fastai

The fastai deep learning library

Jupyter NotebookApache License 2.0deep-learningmachine-learning
docs.fast.ai
28.1k7.7k
Rem0o/FanControl.Releases

This is the release repository for Fan Control, a highly customizable fan controlling software for Windows.

Otherfancontrol
20.3k605
gfx-rs/wgpu

A cross-platform, safe, pure-Rust graphics API.

Rustcrates.ioApache License 2.0webgpurust
wgpu.rs
17.6k1.4k
NVIDIA/nvidia-docker

Build and run Docker containers leveraging NVIDIA GPUs

Apache License 2.0nvidia-dockerdocker
17.6k2.1k
PavelDoGreat/WebGL-Fluid-Simulation

Play with fluids in your browser (works even on mobile)

JavaScriptnpmMIT Licensefluidwebgl
paveldogreat.github.io/WebGL-Fluid-Simulation/
16.5k1.9k
gpujs/gpu.js

GPU Accelerated JavaScript

JavaScriptnpmMIT Licensegpuwebgl
gpu.rocks
15.4k663