Skip to content

Commit 34b0a2b

Browse files
Merge branch 'main' into promptless/ai-sdk-video-generation
2 parents 4d99943 + 5eb8e48 commit 34b0a2b

5 files changed

Lines changed: 16 additions & 3 deletions

File tree

flash/apps/deploy-apps.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ This command performs the following steps:
2020
3. **Provision**: Creates or updates Serverless endpoints.
2121
4. **Configure**: Sets up environment variables and service discovery.
2222

23+
When you deploy updates to an existing application, Flash automatically triggers a rolling release if your source code has changed. Flash computes a fingerprint of your source files during build, so code-only changes (without resource configuration changes) still result in updated endpoints.
24+
2325
### Deployment architecture
2426

2527
Flash deploys your application as multiple independent Serverless endpoints. Each endpoint configuration in your worker files becomes a separate endpoint.

flash/cli/build.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ Target Python version for worker images (3.10, 3.11, 3.12, or 3.13). Overrides p
5353
2. **Function discovery**: Finds all `@Endpoint` decorated functions.
5454
3. **Grouping**: Groups functions by their endpoint configuration.
5555
4. **Manifest generation**: Creates `.flash/flash_manifest.json` with endpoint definitions.
56-
5. **Dependency installation**: Installs Python packages for Linux x86_64.
57-
6. **Packaging**: Bundles everything into `.flash/artifact.tar.gz`.
56+
5. **Source fingerprinting**: Computes a SHA-256 fingerprint of your source files to detect code changes between deployments.
57+
6. **Dependency installation**: Installs Python packages for Linux x86_64.
58+
7. **Packaging**: Bundles everything into `.flash/artifact.tar.gz`.
5859

5960
## Built-in ignore patterns
6061

flash/cli/deploy.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ Target Python version for worker images (3.10, 3.11, 3.12, or 3.13). Overrides p
7373
4. **Provisioning**: Creates or updates Serverless endpoints.
7474
5. **Configuration**: Sets up environment variables and service discovery.
7575

76+
## Rolling releases for code changes
77+
78+
When you run `flash deploy` on an already-deployed application, Flash compares your current build against the previous deployment to determine what needs updating.
79+
80+
Flash triggers a rolling release when your source code changes, even if your resource configuration stays the same. During the build phase, Flash computes a fingerprint of your source files. If this fingerprint differs from the previous deployment, Flash treats it as a configuration change and initiates a rolling update to your endpoints.
81+
82+
This means you can iterate on your code without modifying resource configurations like GPU types or worker counts. Run `flash deploy` after making code changes, and Flash rolls out the updated code to your endpoints.
83+
7684
## Architecture
7785

7886
After deployment, your Flash app runs as independent Serverless endpoints on Runpod:

flash/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Install Flash using `pip` or `uv`:
6060
pip install runpod-flash
6161

6262
# Or uv
63-
uv add runpod-flash
63+
uv tool install runpod-flash
6464
```
6565

6666
### Authentication

public-endpoints/ai-sdk.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,9 @@ const { video } = await generateVideo({
362362
| `black-forest-labs-flux-1-dev` | [Flux Dev](/public-endpoints/models/flux-dev). High quality, detailed images. |
363363
| `black-forest-labs-flux-1-schnell` | [Flux Schnell](/public-endpoints/models/flux-schnell). Fast generation, good for prototyping. |
364364
| `google-nano-banana-edit` | [Nano Banana Edit](/public-endpoints/models/nano-banana-edit). Supports multiple reference images. |
365+
| `google/nano-banana-2-edit` | [Nano Banana 2 Edit](/public-endpoints/models/nano-banana-2-edit). Image editing with 14 aspect ratios and resolution options (1k/2k/4k). |
365366
| `bytedance-seedream-4-0-t2i` | [Seedream 4.0](/public-endpoints/models/seedream-4-t2i). Text-to-image with good prompt adherence. |
367+
| `tongyi-mai/z-image-turbo` | [Z-Image Turbo](/public-endpoints/models/z-image-turbo). Fast 6B parameter model with text-to-image support. |
366368

367369
### Video models
368370

0 commit comments

Comments
 (0)