Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flash/apps/build-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If you haven't already, we recommend starting with the [Quickstart](/flash/quick

- You've [created a Runpod account](/get-started/manage-accounts).
- You've [created a Runpod API key](/get-started/api-keys).
- You've installed [Python 3.10-3.12](https://www.python.org/downloads/) (3.13+ is not yet supported).
- You've installed [Python 3.12](https://www.python.org/downloads/).

## Step 1: Initialize a new project

Expand Down
11 changes: 3 additions & 8 deletions flash/cli/build.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Comma-separated list of packages to exclude from the build (e.g., `torch,torchvi

## What happens during build

1. **Python version validation**: Verifies your local Python version is supported (3.10, 3.11, or 3.12).
1. **Python version validation**: Verifies your local Python version is supported (3.12).
2. **Function discovery**: Finds all `@Endpoint` decorated functions.
3. **Grouping**: Groups functions by their endpoint configuration.
4. **Manifest generation**: Creates `.flash/flash_manifest.json` with endpoint definitions.
Expand All @@ -71,14 +71,9 @@ Flash automatically handles cross-platform builds:

### Python version in deployed workers

Your local Python version does not affect what runs in the cloud. `flash build` downloads wheels for the container's Python version automatically.
All Flash workers (GPU and CPU) run Python 3.12. `flash build` downloads wheels targeting Python 3.12 automatically.

| Worker type | Python version | Notes |
|-------------|----------------|-------|
| GPU | 3.12 only | The GPU base image includes multiple interpreters (3.9–3.14) for interactive pod use, but torch and CUDA libraries are installed only for 3.12. |
| CPU | 3.10, 3.11, or 3.12 | Configurable via the `PYTHON_VERSION` build arg. |

Image tags follow the pattern `py{version}-{tag}` (for example, `runpod/flash:py3.12-latest`).
Image tags follow the pattern `py3.12-{tag}` (for example, `runpod/flash:py3.12-latest`).

## Managing deployment size

Expand Down
2 changes: 1 addition & 1 deletion flash/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Flash requires a Runpod account with a verified email address.

<Note>

Flash requires [Python 3.10, 3.11, or 3.12](https://www.python.org/downloads/) (Python 3.13+ is not yet supported), and is currently available for macOS and Linux.
Flash requires [Python 3.12](https://www.python.org/downloads/) and is currently available for macOS and Linux.
</Note>

Install Flash using `pip` or `uv`:
Expand Down
2 changes: 1 addition & 1 deletion flash/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This quickstart gets you running GPU workloads on Runpod in minutes. You'll exec

- [Runpod account](/get-started/manage-accounts) with a verified email address.
- [An API key](/get-started/api-keys) with **All** access permissions to your Runpod account.
- [Python 3.10-3.12](https://www.python.org/downloads/) installed (3.13+ is not yet supported).
- [Python 3.12](https://www.python.org/downloads/) installed.
- [uv](https://docs.astral.sh/uv/) installed.

## Step 1: Install Flash
Expand Down
8 changes: 4 additions & 4 deletions flash/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,14 @@ Duplicate route 'POST /process' in endpoint 'my-api'
**Error:**
```
Python 3.13 is not supported for Flash deployment.
Supported versions: 3.10, 3.11, 3.12
Supported versions: 3.12
```

**Cause:** Flash requires Python 3.10, 3.11, or 3.12.
**Cause:** Flash requires Python 3.12.

**Solution:**

Switch to a supported Python version using a virtual environment:
Switch to Python 3.12 using a virtual environment:

```bash
# Using pyenv
Expand All @@ -228,7 +228,7 @@ uv venv --python 3.12
source .venv/bin/activate
```

Alternatively, use a Docker container with a supported Python version for your build environment.
Alternatively, use a Docker container with Python 3.12 for your build environment.

## Deployment errors

Expand Down
2 changes: 1 addition & 1 deletion tutorials/flash/build-rest-api-with-load-balancer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This tutorial shows you how to build a REST API using Flash load-balanced endpoi

- You've [created a Runpod account](/get-started/manage-accounts)
- You've [created a Runpod API key](/get-started/api-keys)
- You've installed [Python 3.10-3.12](https://www.python.org/downloads/) (3.13+ is not yet supported).
- You've installed [Python 3.12](https://www.python.org/downloads/).
- You've completed the [Flash quickstart](/flash/quickstart) or are familiar with Flash basics

## What you'll build
Expand Down
2 changes: 1 addition & 1 deletion tutorials/flash/image-generation-with-sdxl.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This tutorial shows you how to build an image generation script using Flash and

- You've [created a Runpod account](/get-started/manage-accounts).
- You've [created a Runpod API key](/get-started/api-keys).
- You've installed [Python 3.10-3.12](https://www.python.org/downloads/) (3.13+ is not yet supported).
- You've installed [Python 3.12](https://www.python.org/downloads/).
- You've completed the [Flash quickstart](/flash/quickstart) or are familiar with Flash basics.

## What you'll build
Expand Down
2 changes: 1 addition & 1 deletion tutorials/flash/text-generation-with-transformers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This tutorial shows you how to build a text generation script using Flash and Hu

- You've [created a Runpod account](/get-started/manage-accounts).
- You've [created a Runpod API key](/get-started/api-keys).
- You've installed [Python 3.10-3.12](https://www.python.org/downloads/) (3.13+ is not yet supported).
- You've installed [Python 3.12](https://www.python.org/downloads/).
- You've completed the [Flash quickstart](/flash/quickstart) or are familiar with Flash basics.

## What you'll build
Expand Down
Loading