RL icon indicating copy to clipboard operation
RL copied to clipboard

RL nightly test failing train/reward < 0.9

Open kajalj22 opened this issue 9 months ago • 3 comments

Describe the bug RL nightly test failing: vlm_grpo-qwen2.5-vl-3b-instruct-clevr-1n4g-dtensor2tp1.v1 with the train/reward value is less than 0.9.

Expected behavior train/reward value should greater than 0.9

kajalj22 avatar Feb 20 '26 21:02 kajalj22

@aroshanghias-nvd could you take a look? basically the reward on h100 is fine (0.94), but on gb200 the reward is less than the metric check (~0.89)

terrykong avatar Feb 21 '26 01:02 terrykong

Image Looking at the two runs, they are basically the same. GB200 just dipped below 0.9 at step 2000. In fact, at 199, it was 0.98.

I suggest switching to a smoothed metric (e.g. running average of the last 10 or 20 steps), instead of just the last one.

aroshanghias-nvd avatar Feb 21 '26 02:02 aroshanghias-nvd

We can change:

uv run tests/check_metrics.py $JSON_METRICS
'data["train/reward"]["200"] > 0.9'

to:

uv run tests/check_metrics.py $JSON_METRICS
'mean(data["train/reward"], range_start=190) > 0.9'

aroshanghias-nvd avatar Feb 21 '26 02:02 aroshanghias-nvd