RL icon indicating copy to clipboard operation
RL copied to clipboard

MLFLow: Metrics are not reported to `experiment_name` consistently.

Open dhineshkumar-r opened this issue 10 months ago • 7 comments

Describe the bug

After a new MLFlow experiment is created for a given experiment_name, it is not set here. This cause the first run_name metrics to be reported in Default experiment and not in the given experiment_name.

Steps/Code to reproduce bug

Pass a new experiment_name in config and check Default experiment in MLFlow UI.

Expected behavior

Metrics for givenrun_name should be reported in given experiment_name consistently.

Additional context

I'm passing a tracking server uri in the yaml file.

If someone can actually confirm this as an issue, I can help fix.

dhineshkumar-r avatar Jan 27 '26 21:01 dhineshkumar-r

@dhineshkumar-r I think the issue is valid, do you want to provide a fix PR? I can help test it

guyueh1 avatar Feb 04 '26 18:02 guyueh1

Hey @guyueh1, Sure. If there are specific guidelines to follow when submitting a PR, please let me know.

dhineshkumar-r avatar Feb 04 '26 20:02 dhineshkumar-r

hey @dhineshkumar-r , appreciate the help!

you can see the guide here https://github.com/NVIDIA-NeMo/RL/blob/main/CONTRIBUTING.md.

yuki-97 avatar Mar 25 '26 08:03 yuki-97

I think the issue is fixed with this commit. https://github.com/NVIDIA-NeMo/RL/commit/2eb94a97849776bddb054cbcc51240d88ed2a34f

Please confirm.

dhineshkumar-r avatar Mar 26 '26 07:03 dhineshkumar-r

I think the issue is fixed with this commit. 2eb94a9

Please confirm.

Hi, @dhineshkumar-r. Thank you for your efforts. After checking, this issue does be fixed on main branch. I open a PR to fix some other minor issues related to MLflow.

RayenTian avatar Mar 30 '26 08:03 RayenTian

Thanks for confirming. Feel free to close this issue.

dhineshkumar-r avatar Mar 30 '26 17:03 dhineshkumar-r

QA RCCA Analysis

RCCA Status: Done RCCA Category: missing_test_case Test Action: create_new_test

Fix PR: https://github.com/NVIDIA-NeMo/RL/pull/2170 Root Cause: product-code fix PR found without upstream test file. Trigger Config: MLFLow: Metrics are not reported to experiment_name consistently.

Coverage Assessment:

Area Result
Existing Test N/A
Coverage Status MISSING_TEST_CASE
Gap No direct upstream or nmfw_tests regression identified for this fixed code path.
Corrective Action Missing regression test recorded. Add targeted nmfw_tests coverage if this issue recurs or remains high priority.

Conclusion: RCCA classification completed for this closed NeMo-RL GitHub issue.

qiaochuz-nv avatar May 05 '26 18:05 qiaochuz-nv