Tools
SDK
The library for creating and managing Beam apps
Installation
Defining a runtime
Your Beam runtime is defined in Python. Running the code below will create an environment with the compute defined above, build the image, and hot reload as you work.
app() reference
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 |