feat: add export_mounts and export_image to auto-export config#911
Merged
AdamRajfer merged 1 commit intomainfrom Apr 14, 2026
Merged
feat: add export_mounts and export_image to auto-export config#911AdamRajfer merged 1 commit intomainfrom
AdamRajfer merged 1 commit intomainfrom
Conversation
Add two new optional keys to `execution.auto_export`: - `export_mounts`: dict of host_path -> container_path to mount into the export srun (e.g. a pre-heated uv cache on Lustre) - `export_image`: override the default python:3.12.7-slim container with a custom image (e.g. one with uv+git pre-installed) Together these eliminate the ~3-5 min apt-get+pip overhead in the export step, bringing it down to ~6s with a warm uv cache. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Alex Gronskiy <agronskiy@nvidia.com>
fe203d8 to
fe004b1
Compare
AdamRajfer
approved these changes
Apr 14, 2026
Contributor
|
/ok to test fe004b1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This tries to address the issue of fast startup of export execution as requested by Gym folks
Approx speedups are here:
What was done
export_mountsconfig key: mount arbitrary host paths (e.g. a pre-heated uv cache) into the export srun containerexport_imageconfig key: override the defaultpython:3.12.7-slimexport image with a custom one (e.g. one with uv+git pre-installed)Together these eliminate the ~3-5 min
apt-get + pip installoverhead in the auto-export step, bringing it down to ~6s with a warm uv cache.To use this, now use this config (with new launcher installed)