beam-cloud/beta9

★ 1,783⑂ 0

Ultrafast serverless GPU inference, sandboxes, and background jobs

About beam-cloud/beta9

beam-cloud/beta9 is an open-source project on GitHub, mainly written in Go. Ultrafast serverless GPU inference, sandboxes, and background jobs It currently holds 1,783 stars and 0 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the AI Models & LLM Tools board.

GitHub Repository Details

Repository beam-cloud/beta9 · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

https://github.com/beam-cloud/beta9/blob/HEAD/Logo https://github.com/beam-cloud/beta9/blob/HEAD/Logo

Run AI Workloads at Scale

https://github.com/beam-cloud/beta9/blob/HEAD/Colab https://github.com/beam-cloud/beta9/blob/HEAD/⭐ Star the Repo https://github.com/beam-cloud/beta9/blob/HEAD/Documentation https://github.com/beam-cloud/beta9/blob/HEAD/Join Slack https://github.com/beam-cloud/beta9/blob/HEAD/Twitter https://github.com/beam-cloud/beta9/blob/HEAD/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

📦 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

GitHub Stars & Activity

1,783Stars
0Forks
0Open issues
GoLanguage

GitHub Popularity

GitHub stars1,783
Forks0
Open issues0
Primary languageGo
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related AI Projects

1

ollama / ollama

Go★ 181,329⑂ 0
2

infiniflow / ragflow

Go★ 91,066⑂ 0
3

mudler / LocalAI

Go★ 49,194⑂ 0
4

Tencent / WeKnora

Go★ 27,983⑂ 0
5

kserve / kserve

Go★ 5,976⑂ 0
6

the-open-agent / openagent

Go★ 5,635⑂ 0
7

huggingface / transformers

Python★ 166,453⑂ 0
8

langgenius / dify

TypeScript★ 156,633⑂ 0

More AI Rankings