8000 feat: Update sft config to use single GPU by ashors1 · Pull Request #90 · NVIDIA/NeMo-RL · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: Update sft config to use single GPU #90

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

Merged
merged 4 commits into from
Mar 31, 2025
Merged

Conversation

ashors1
Copy link
Collaborator
@ashors1 ashors1 commented Mar 26, 2025

What does this PR do ?

Add a one line overview of what this PR aims to accomplish.

Issues

List issues that this PR closes (syntax):

Usage

  • You can potentially add a usage example below
# Add a code snippet demonstrating how to use this 

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you run the unit tests and functional tests locally? Visit our Testing Guide for how to run tests
  • Did you add or update any necessary documentation? Visit our Document Development Guide for how to write, build and test the docs.

Additional Information

  • ...

ashors1 added 2 commits March 26, 2025 11:31
Signed-off-by: ashors1 <ashors@nvidia.com>
Signed-off-by: ashors1 <ashors@nvidia.com>
@ashors1 ashors1 requested a review from terrykong March 26, 2025 18:33
@ashors1 ashors1 changed the title Update sft config to use single GPU feat: Update sft config to use single GPU Mar 26, 2025
@ashors1 ashors1 added Run CICD Set to run CI (unset + set to rerun) and removed Run CICD Set to run CI (unset + set to rerun) labels Mar 26, 2025
@SahilJain314
Copy link
Collaborator

Can you verify that the loss is at least somewhat going down with the new default before we merge? Otherwise, lgtm.

Signed-off-by: Oleksii Kuchaiev <okuchaiev@nvidia.com>
@okuchaiev
Copy link
Member

@SahilJain314 @ashors1 I've added slightly different defaults for 1 GPU job. Both train and val curves go down enough.

@ashors1
Copy link
Collaborator Author
ashors1 commented Mar 27, 2025

LGTM @okuchaiev. Out of curiosity, is there a reason you decreased the sequence length to 1k? Were you running into OOM with 2k?

@ashors1 ashors1 added Run CICD Set to run CI (unset + set to rerun) and removed Run CICD Set to run CI (unset + set to rerun) labels Mar 27, 2025
@okuchaiev
Copy link
Member
okuchaiev commented Mar 27, 2025

No, I wasn't running OOM with 2K. But for SQUAD, I think, even 1K could be an overkill.

@ashors1 ashors1 added Run CICD Set to run CI (unset + set to rerun) and removed Run CICD Set to run CI (unset + set to rerun) labels Mar 27, 2025
< 8000 batch-deferred-content class="d-inline-block" data-url="/commits/badges">
@terrykong terrykong added Run CICD Set to run CI (unset + set to rerun) and removed Run CICD Set to run CI (unset + set to rerun) labels Mar 31, 2025
@terrykong terrykong enabled auto-merge (squash) March 31, 2025 18:12
@terrykong terrykong merged commit 52b42ad into main Mar 31, 2025
11 checks passed
@terrykong terrykong deleted the ashors/sft-config branch March 31, 2025 18:30
yfw pushed a commit that referenced this pull request Apr 2, 2025
Signed-off-by: ashors1 <ashors@nvidia.com>
Signed-off-by: Oleksii Kuchaiev <okuchaiev@nvidia.com>
Co-authored-by: Oleksii Kuchaiev <okuchaiev@nvidia.com>
Co-authored-by: Terry Kong <terrycurtiskong@gmail.com>
Signed-off-by: Yi-Fu Wu <yifu.wu@gmail.com>
KiddoZhu pushed a commit that referenced this pull request May 6, 2025
Signed-off-by: ashors1 <ashors@nvidia.com>
Signed-off-by: Oleksii Kuchaiev <okuchaiev@nvidia.com>
Co-authored-by: Oleksii Kuchaiev <okuchaiev@nvidia.com>
Co-authored-by: Terry Kong <terrycurtiskong@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
0