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

fix-66 #74

Merged
merged 1 commit into from
Oct 9, 2024
Merged

fix-66 #74

merged 1 commit into from
Oct 9, 2024

Conversation

MichaelClifford
Copy link
Collaborator

@MichaelClifford MichaelClifford commented Oct 8, 2024

Closes #66

These changes have been tested on the MOC cluster and the training run completes as part of a Kubeflow pipeline.

This PR changes:

  • The image for model training has beed changed from a custom model to the RHEL AI 1.1 image
  • Replaced the custom script for running training with a direct torchrun call instead

@MichaelClifford MichaelClifford force-pushed the fix-66 branch 3 times, most recently from b4d58d2 to 0d53b31 Compare October 8, 2024 23:24
@MichaelClifford MichaelClifford mentioned this pull request Oct 8, 2024
@MichaelClifford MichaelClifford force-pushed the fix-66 branch 3 times, most recently from d7ea4ad to b807ceb Compare October 9, 2024 02:06
Signed-off-by: Michael Clifford <[email protected]>
@MichaelClifford MichaelClifford changed the title WIP: fix-66 fix-66 Oct 9, 2024
@MichaelClifford MichaelClifford marked this pull request as ready for review October 9, 2024 14:13
Copy link
Member

@Shreyanand Shreyanand left a comment

Choose a reason for hiding this comment

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

LGTM, The PR adds the torchrun command to the pytorch job component. The command directly calls the instructlab main_ds training script that eliminates the need for additional scripts such as run_main_ds.py that were previously used.

@Shreyanand Shreyanand merged commit 249dfd3 into opendatahub-io:main Oct 9, 2024
1 check 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.

Remove need for custom scripts in PyTorchJob step
2 participants