Skip to content

Dispatch CustomLauncherConfig to launch_custom in GLT trainer/inferencer#685

Merged
kmontemayor2-sc merged 3 commits into
mainfrom
kmonte/custom-launcher-dispatch
Jul 8, 2026
Merged

Dispatch CustomLauncherConfig to launch_custom in GLT trainer/inferencer#685
kmontemayor2-sc merged 3 commits into
mainfrom
kmonte/custom-launcher-dispatch

Conversation

@kmontemayor2-sc

Copy link
Copy Markdown
Collaborator

Wire the CustomLauncherConfig resource-config branch into GLTTrainer.run() and GLTInferencer.run() so custom launchers shell out via launch_custom, routed with the appropriate GiGLComponents value. The branch is placed before the Vertex AI branch and does not go through the VAI execution path (whose command check is a VAI-specific concern).

Add unit tests covering the custom-launcher dispatch: assert launch_custom is called once with the right proto, URIs, docker URIs, and component, and that launch_single_pool_job / launch_graph_store_enabled_job are not called.

Scope of work done

Where is the documentation for this feature?: N/A

Did you add automated tests or write a test plan?

Updated Changelog.md? NO

Ready for code review?: NO

kmonte and others added 2 commits July 7, 2026 04:49
Wire the CustomLauncherConfig resource-config branch into GLTTrainer.run()
and GLTInferencer.run() so custom launchers shell out via launch_custom,
routed with the appropriate GiGLComponents value. The branch is placed
before the Vertex AI branch and does not go through the VAI execution path
(whose command check is a VAI-specific concern).

Add unit tests covering the custom-launcher dispatch: assert launch_custom
is called once with the right proto, URIs, docker URIs, and component, and
that launch_single_pool_job / launch_graph_store_enabled_job are not called.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@mkolodner-sc mkolodner-sc left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks Kyle, this LGTM, though is there supposed to be tests with this PR, as per the description?

Add unit tests covering the custom-launcher dispatch: assert launch_custom is called once with the right proto, URIs, docker URIs, and component, and that launch_single_pool_job / launch_graph_store_enabled_job are not called.

Comment thread gigl/src/inference/v2/glt_inferencer.py Outdated
Update the "not yet supported" and "unsupported resource config"
messages in the GLT trainer/inferencer to include CustomLauncherConfig
as a supported option.

Re-add custom-launcher dispatch tests that run the configured command
through a real subprocess (only get_resource_config is patched): a
printf one-liner writes the GIGL_* env vars and appended args[] to a
temp file, verifying env propagation and shell quoting end-to-end.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@kmontemayor2-sc

Copy link
Copy Markdown
Collaborator Author

Added tests now too :)

@kmontemayor2-sc

Copy link
Copy Markdown
Collaborator Author

/all_test

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

GiGL Automation

@ 18:54:37UTC : 🔄 Scala Unit Test started.

@ 19:03:19UTC : ✅ Workflow completed successfully.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

GiGL Automation

@ 18:54:37UTC : 🔄 Python Unit Test started.

@ 20:00:20UTC : ✅ Workflow completed successfully.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

GiGL Automation

@ 18:54:38UTC : 🔄 Integration Test started.

@ 20:19:30UTC : ✅ Workflow completed successfully.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

GiGL Automation

@ 18:54:38UTC : 🔄 E2E Test started.

@ 20:22:01UTC : ✅ Workflow completed successfully.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

GiGL Automation

@ 18:54:39UTC : 🔄 Lint Test started.

@ 19:02:55UTC : ✅ Workflow completed successfully.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

GiGL Automation

@ 18:54:39UTC : 🔄 C++ Unit Test started.

@ 18:56:35UTC : ✅ Workflow completed successfully.

@mkolodner-sc mkolodner-sc left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks Kyle! LGTM provided tests pass

@kmontemayor2-sc kmontemayor2-sc marked this pull request as ready for review July 7, 2026 23:21
@kmontemayor2-sc kmontemayor2-sc added this pull request to the merge queue Jul 7, 2026
Merged via the queue into main with commit fea2af3 Jul 8, 2026
7 checks passed
@kmontemayor2-sc kmontemayor2-sc deleted the kmonte/custom-launcher-dispatch branch July 8, 2026 00:58
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.

4 participants