Skip to content

docs: Document per-app Python version selection for Flash#618

Draft
promptless[bot] wants to merge 1 commit intomainfrom
promptless/flash-python-version-selection
Draft

docs: Document per-app Python version selection for Flash#618
promptless[bot] wants to merge 1 commit intomainfrom
promptless/flash-python-version-selection

Conversation

@promptless
Copy link
Copy Markdown
Contributor

@promptless promptless Bot commented Apr 21, 2026

Open this suggestion in Promptless to view citations and reasoning process

Documents the new Python version selection feature for Flash apps. Adds --python-version CLI flag to build/deploy commands, python_version endpoint parameter, and updates requirements to support Python 3.10, 3.11, and 3.12 (with cold-start implications for non-3.12 versions).


Tip: Worried about broken links? Ask Promptless to find and fix them automatically 🔗

- Add --python-version flag to flash build and flash deploy CLI references
- Add python_version parameter to endpoint configuration parameters
- Update Python version requirements from "3.12" to "3.10, 3.11, or 3.12" across all Flash docs
- Document cold-start implications (~7 GB overhead for non-3.12 versions)
- Update troubleshooting section for supported Python versions
Comment thread flash/cli/build.mdx
@@ -90,9 +94,21 @@ Flash automatically handles cross-platform builds:

### Python version in deployed workers
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added Python version selection documentation based on PR #322 which introduces per-app python_version config and --python-version CLI flag for flash build and flash deploy. The PR's constants.py defines supported versions (3.10, 3.11, 3.12) and manifest.py implements version reconciliation logic.

Source: runpod/flash#322

Valid CUDA versions: `CudaVersion.V11_1`, `V11_4`, `V11_7`, `V11_8`, `V12_0`, `V12_1`, `V12_2`, `V12_3`, `V12_4`, `V12_6`, `V12_8` (or equivalent strings like `"12.4"`). Invalid values raise a `ValueError`.
</Note>

### python_version
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added python_version parameter documentation from PR #322. The PR's manifest.py:221-225 extracts python_version from resource configs, and cold-start overhead (~7 GB for 3.10/3.11) is noted in docs/Flash_Deploy_Guide.md within the PR.

Source: runpod/flash#322

@mintlify
Copy link
Copy Markdown

mintlify Bot commented Apr 21, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
runpod-docs 🟢 Ready View Preview Apr 21, 2026, 9:31 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants