Installation
Setup Virtual Environment
Setup Virtual Environment
Set up a new folder wherever you want and create a virtual env:Source virtual env:
Install Beam SDK
Install Beam SDK
Install Beam SDK
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The library for creating and managing Beam apps
Setup Virtual Environment
python3 -m virtualenv .venv
source .venv/bin/activate
Install Beam SDK
pip install beam-sdk
beam.App(
name="testapp",
cpu=8,
memory="4Gi",
gpu=0,
python_version="python3.8",
python_packages=["numpy"],
)
| Field | Type | Description |
|---|---|---|
name | string | The name for your app |
cpu | int, 0-16 | The number of CPU cores to provide to your runtime |
memory | string | The amount of memory to provide to your runtime |
gpu | int | The number of GPU cores to provide to your runtime |
python_version | string | The Python version to install in your runtime |
python_packages | array | The Python libraries to install in your runtime. These can have versioned specified, e.g. tensorflow==0.2.10 |