You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(cli): document parity-by-default and 3.13 in --python-version help
Phase 3 of AE-2827. Updates the Options bullet for --python-version on
both flash build and flash deploy docs to reflect the new behavior:
local interpreter is the default; 3.13 is now in the supported set.
Refs AE-2827.
Copy file name to clipboardExpand all lines: src/runpod_flash/cli/docs/flash-build.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ flash build [OPTIONS]
28
28
-`--no-deps`: Skip transitive dependencies during pip install (default: false)
29
29
-`--output, -o`: Custom archive name (default: artifact.tar.gz)
30
30
-`--exclude`: Comma-separated packages to exclude (e.g., 'torch,torchvision')
31
-
-`--python-version`: Target Python version for worker images (`3.10`, `3.11`, or `3.12`). Overrides per-resource `python_version`. Default: value declared on resource configs, or 3.12 if none set.
31
+
-`--python-version`: Target Python version for worker images (`3.10`, `3.11`, `3.12`, or `3.13`). Overrides per-resource `python_version` declarations and the local-interpreter default. By default, `flash build` targets the Python version you're running flash from.
32
32
33
33
To launch a local preview environment, use `flash deploy --preview` instead.
34
34
@@ -68,7 +68,7 @@ After `flash build` completes:
68
68
Flash automatically handles cross-platform builds, ensuring compatibility with Runpod's Linux x86_64 serverless infrastructure:
69
69
70
70
-**Automatic Platform Targeting**: Dependencies are always installed for Linux x86_64, regardless of your build platform (macOS, Windows, or Linux)
71
-
-**Python Version**: Targets Python 3.12 for wheel ABI selection regardless of local interpreter
71
+
-**Python Version**: Targets the resolved Python version (your local interpreter by default, or whatever `--python-version` / per-resource `python_version` selects) for wheel ABI selection
72
72
-**Binary Wheel Enforcement**: Only pre-built binary wheels are used, preventing platform-specific compilation issues
73
73
74
74
This means you can safely build on macOS ARM64, Windows, or any platform, and the deployment will work correctly on Runpod.
@@ -181,8 +181,8 @@ ls .flash/.build/my-project/
181
181
If a package doesn't have pre-built Linux x86_64 wheels:
182
182
183
183
1.**Install standard pip**: `python -m ensurepip --upgrade` -- standard pip has better manylinux compatibility than uv pip
184
-
2.**Check package availability**: Visit PyPI and verify the package has Linux wheels for Python 3.12
185
-
3.**Python 3.12**: All flash workers run Python 3.12. Ensure packages are available for this version.
184
+
2.**Check package availability**: Visit PyPI and verify the package has Linux wheels for your target Python version (`3.10`, `3.11`, `3.12`, or `3.13`)
185
+
3.**Match interpreter**: Flash builds default to your local Python version. If a wheel is missing for that version, either pick a different `--python-version` or upgrade/downgrade the package.
186
186
4.**Pure-Python packages**: These work regardless, as they don't require platform-specific builds
Copy file name to clipboardExpand all lines: src/runpod_flash/cli/docs/flash-deploy.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ flash deploy [OPTIONS]
88
88
-`--exclude`: Comma-separated packages to exclude (e.g., 'torch,torchvision')
89
89
-`--output, -o`: Custom archive name (default: artifact.tar.gz)
90
90
-`--preview`: Build and launch local preview environment instead of deploying
91
-
-`--python-version`: Target Python version for worker images (`3.10`, `3.11`, or `3.12`). Overrides per-resource `python_version`.
91
+
-`--python-version`: Target Python version for worker images (`3.10`, `3.11`, `3.12`, or `3.13`). Overrides per-resource `python_version` declarations and the local-interpreter default. By default, `flash deploy` targets the Python version you're running flash from.
0 commit comments