Skip to content

feat: Update sft config to use single GPU#90

Merged
terrykong merged 4 commits intomainfrom
ashors/sft-config
Mar 31, 2025
Merged

feat: Update sft config to use single GPU#90
terrykong merged 4 commits intomainfrom
ashors/sft-config

Conversation

@ashors1
Copy link
Contributor

@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 and removed Run CICD labels Mar 26, 2025
@SahilJain314
Copy link
Contributor

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
Contributor

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

@ashors1
Copy link
Contributor 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 and removed Run CICD labels Mar 27, 2025
@okuchaiev
Copy link
Contributor

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 and removed Run CICD labels Mar 27, 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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants