-
Notifications
You must be signed in to change notification settings - Fork 38
docs: Update Flash deployment size limit from 500MB to 1.5GB #578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -81,7 +81,7 @@ Image tags follow the pattern `py{version}-{tag}` (for example, `runpod/flash:py | |
|
|
||
| ## Managing deployment size | ||
|
|
||
| Runpod Serverless has a **500MB deployment limit**. Flash automatically excludes packages that are pre-installed in the base image: | ||
| Runpod Serverless has a **1.5GB deployment limit**. Flash automatically excludes packages that are pre-installed in the base image: | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Citation: Updated size limit based on change in |
||
|
|
||
| - `torch`, `torchvision`, `torchaudio` | ||
| - `numpy`, `triton` | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,7 +50,7 @@ Skip transitive dependencies during pip install. Useful when the base image alre | |
| </ResponseField> | ||
|
|
||
| <ResponseField name="--exclude" type="string"> | ||
| Comma-separated packages to exclude (e.g., `torch,torchvision`). Use this to stay under the 500MB deployment limit. | ||
| Comma-separated packages to exclude (e.g., `torch,torchvision`). Use this to stay under the 1.5GB deployment limit. | ||
| </ResponseField> | ||
|
|
||
| <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: | |
|
|
||
| ## Managing deployment size | ||
|
|
||
| Runpod Serverless has a **500MB limit**. Flash automatically excludes packages that are pre-installed in the base image (`torch`, `torchvision`, `torchaudio`, `numpy`, `triton`). | ||
| Runpod Serverless has a **1.5GB limit**. Flash automatically excludes packages that are pre-installed in the base image (`torch`, `torchvision`, `torchaudio`, `numpy`, `triton`). | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Citation: Size limit increase reflects the |
||
|
|
||
| If the deployment is still too large, use `--exclude` to skip additional packages: | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -183,10 +183,10 @@ Duplicate route 'POST /process' in endpoint 'my-api' | |
|
|
||
| **Error:** | ||
| ``` | ||
| Tarball exceeds maximum size. File size: 512.5MB, Max: 500MB | ||
| Tarball exceeds maximum size. File size: 1.6GB, Max: 1.5GB | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Citation: Updated error message example to reflect new 1.5GB max. The PR updated tests from 600MB to 1600MB to exceed the new limit. |
||
| ``` | ||
|
|
||
| **Cause:** The deployment package exceeds the 500MB limit. | ||
| **Cause:** The deployment package exceeds the 1.5GB limit. | ||
|
|
||
| **Solution:** | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Citation: Deployment limit update from PR #258. The internal Flash docs (
flash-build.md,flash-deploy.md) were also updated to 1.5GB in the same PR.View source