Skip to content

[Fix] Remove task-type from RLVR recipe, update RLVR image selection logic#6071

Open
ehsu3 wants to merge 2 commits into
aws:master-nova-follow-upsfrom
ehsu3:smhp-rlvr-fix
Open

[Fix] Remove task-type from RLVR recipe, update RLVR image selection logic#6071
ehsu3 wants to merge 2 commits into
aws:master-nova-follow-upsfrom
ehsu3:smhp-rlvr-fix

Conversation

@ehsu3

@ehsu3 ehsu3 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Description of changes: Fixes two issues causing RLVR/RFT jobs on HyperPod to fail with service validation errors:

  1. Strip task_type: storm_rbs from recipes (specifically from RFT jobs).
  • Fix: In _extract_recipe_from_helm_template(), strip task_type: storm_rbs via regex. Only strips the storm_rbs value (used by HPCLI), and will preserve other task_types used by other recipes.
  1. Correct RFT training image tag
  • Hub resolves the image tag SM-HP-RFT-V2-latest, but the correct RFT training image uses SM-HP-RFT-TRAIN-V2-latest. Without TRAIN in the tag, the wrong container is pulled.
  • Fix: In _train_hyperpod(): If the resolved image contains SM-HP-RFT- but not TRAIN, replace SM-HP-RFT- with SM-HP-RFT-TRAIN-.

Testing:

  • Unit tests added for both fixes
  • Manually tested RLVR job submission on HyperPod (successful).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mujtaba1747

Copy link
Copy Markdown
Collaborator

You need to take this up with the Hub team:

Hub resolves the image tag SM-HP-RFT-V2-latest, but the correct RFT training image uses SM-HP-RFT-TRAIN-V2-latest. Without TRAIN in the tag, the wrong container is pulled.

return textwrap.dedent(recipe_match.group(1)).strip()
result = textwrap.dedent(recipe_match.group(1)).strip()

# Strip task_type: storm_rbs from RFT/RLVR recipes - including it causes service validation failures.

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.

This code is RLVR speicfic but will run for all other training techniques too

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.

Can we check training type (rlvr) before doing this check

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.

Also this is very nova specific, might want to use is_nova flag too

@ehsu3 ehsu3 Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yep, I can add that check!

@mujtaba1747
mujtaba1747 self-requested a review July 22, 2026 20:28
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