Skip to content

Commit d555cd5

Browse files
docs: Update Flash deployment size limit from 500MB to 1.5GB (#578)
Co-authored-by: promptless[bot] <179508745+promptless[bot]@users.noreply.github.com> Co-authored-by: Mo King <muhsinking@gmail.com>
1 parent 3a4d2c4 commit d555cd5

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

flash/apps/apps-and-environments.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ When you run `flash deploy`, Flash creates and uploads a build artifact, then pr
110110
4. **Activate environment**: The environment is linked to the build and endpoints.
111111

112112
<Tip>
113-
You're **not** building custom Docker images. Flash uses pre-built images that extract your tarball and run your code. This is why deployments are fast (no image build step) and limited to 500 MB (code and dependencies only).
113+
You're **not** building custom Docker images. Flash uses pre-built images that extract your tarball and run your code. This is why deployments are fast (no image build step) and limited to 1.5 GB (code and dependencies only).
114114
</Tip>
115115

116116
## Common environment patterns

flash/apps/deploy-apps.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Press `Ctrl+C` to stop the preview environment.
184184

185185
## Managing deployment size
186186

187-
Runpod Serverless has a **500MB deployment limit**. Flash automatically excludes packages that are pre-installed in the base image:
187+
Runpod Serverless has a **1.5GB deployment limit**. Flash automatically excludes packages that are pre-installed in the base image:
188188

189189
- `torch`, `torchvision`, `torchaudio`
190190
- `numpy`, `triton`
@@ -236,7 +236,7 @@ When you deploy a Flash app, you're deploying a **build artifact** (tarball) ont
236236

237237
### The build artifact
238238

239-
The `.flash/artifact.tar.gz` file (max 500 MB) contains:
239+
The `.flash/artifact.tar.gz` file (max 1.5 GB) contains:
240240

241241
<Tree>
242242
<Tree.Folder name="artifact.tar.gz" defaultOpen>
@@ -328,7 +328,7 @@ If the build process can't find your endpoint functions:
328328

329329
### Deployment size limit exceeded
330330

331-
Base image packages are auto-excluded. If your deployment still exceeds 500MB, use `--exclude` to skip additional packages:
331+
Base image packages are auto-excluded. If your deployment still exceeds 1.5GB, use `--exclude` to skip additional packages:
332332

333333
```bash
334334
flash deploy --exclude scipy,pandas

flash/apps/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Building a Flash application follows a clear progression from initialization to
7474

7575
When you deploy an app, Runpod:
7676

77-
1. Packages your code, dependencies, and deployment manifest into a tarball (max 500 MB).
77+
1. Packages your code, dependencies, and deployment manifest into a tarball (max 1.5 GB).
7878
2. Uploads the tarball to Runpod.
7979
3. Provisions independent Serverless endpoints based on your [endpoint configurations](/flash/create-endpoints).
8080

flash/cli/build.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Image tags follow the pattern `py{version}-{tag}` (for example, `runpod/flash:py
8181

8282
## Managing deployment size
8383

84-
Runpod Serverless has a **500MB deployment limit**. Flash automatically excludes packages that are pre-installed in the base image:
84+
Runpod Serverless has a **1.5GB deployment limit**. Flash automatically excludes packages that are pre-installed in the base image:
8585

8686
- `torch`, `torchvision`, `torchaudio`
8787
- `numpy`, `triton`

flash/cli/deploy.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Skip transitive dependencies during pip install. Useful when the base image alre
5050
</ResponseField>
5151

5252
<ResponseField name="--exclude" type="string">
53-
Comma-separated packages to exclude (e.g., `torch,torchvision`). Use this to stay under the 500MB deployment limit.
53+
Comma-separated packages to exclude (e.g., `torch,torchvision`). Use this to stay under the 1.5GB deployment limit.
5454
</ResponseField>
5555

5656
<ResponseField name="--output, -o" type="string" default="artifact.tar.gz">
@@ -204,7 +204,7 @@ This builds your project and runs it in Docker containers locally:
204204

205205
## Managing deployment size
206206

207-
Runpod Serverless has a **500MB limit**. Flash automatically excludes packages that are pre-installed in the base image (`torch`, `torchvision`, `torchaudio`, `numpy`, `triton`).
207+
Runpod Serverless has a **1.5GB limit**. Flash automatically excludes packages that are pre-installed in the base image (`torch`, `torchvision`, `torchaudio`, `numpy`, `triton`).
208208

209209
If the deployment is still too large, use `--exclude` to skip additional packages:
210210

flash/troubleshooting.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,10 @@ Duplicate route 'POST /process' in endpoint 'my-api'
183183

184184
**Error:**
185185
```
186-
Tarball exceeds maximum size. File size: 512.5MB, Max: 500MB
186+
Tarball exceeds maximum size. File size: 1.6GB, Max: 1.5GB
187187
```
188188

189-
**Cause:** The deployment package exceeds the 500MB limit.
189+
**Cause:** The deployment package exceeds the 1.5GB limit.
190190

191191
**Solution:**
192192

0 commit comments

Comments
 (0)