Skip to content
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

Make slurm execute script customizable #834

Merged

Conversation

linsword13
Copy link
Collaborator

@linsword13 linsword13 commented Jan 18, 2025

This is done by making the template source path pointing to a
workflow_manager_variable.

The major change is around extending register_template's src_path
prop (renamed from src_name) to allow it to point to a user-specified
path.

Another change related to template rendering is to define template_render_vars as reserved variables.

This is done by making the template source path pointing to a
workflow_manager_variable.

The major change is around extending `register_template`'s `src_path`
prop (renamed from `src_name`) to allow it to point to a user-specified
path.

Another change is to point the destination of the slurm execute script
to `execute_experiment`. The intent is to make the ux similar to
workspaces that don't use workflow manager, in that manually changing
the rendered `execute_experiment` in the experiment_run_dir takes
effect.
This allows other templates (not registered via `register_template`) to
be able to use these variables.
@douglasjacobsen douglasjacobsen merged commit d559b7e into GoogleCloudPlatform:develop Jan 24, 2025
12 checks passed
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.

2 participants