Skip to content
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

[NeMo-UX] Update default PTL logging save_dir #9954

Merged
merged 4 commits into from
Jul 31, 2024

Conversation

ashors1
Copy link
Collaborator

@ashors1 ashors1 commented Jul 29, 2024

What does this PR do ?

If a user passes a save_dir to a PTL logger, by default we write the logs to <log_dir> / save_dir, where <log_dir> is determined by NeMoLogger. Previously, save_dir was ignored, and the logs would be written to <log_dir>.

Collection: [Note which collection this PR will affect]

Changelog

  • Add specific line by line info of high level changes in this PR.

Usage

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

GitHub Actions CI

The Jenkins CI system has been replaced by GitHub Actions self-hosted runners.

The GitHub Actions CI will run automatically when the "Run CICD" label is added to the PR.
To re-run CI remove and add the label again.
To run CI on an untrusted fork, a NeMo user with write access must first click "Approve and run".

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 add or update any necessary documentation?
  • Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
    • Reviewer: Does the PR have correct import guards for all optional libraries?

PR Type:

  • New Feature
  • Bugfix
  • Documentation

If you haven't finished some of the above items you can still open "Draft" PR.

Who can review?

Anyone in the community is free to review the PR once the checks have passed.
Contributor guidelines contains specific people who can review PRs to various areas.

Additional Information

  • Related to # (issue)

Signed-off-by: ashors1 <ashors@nvidia.com>
Signed-off-by: ashors1 <ashors@nvidia.com>
Signed-off-by: ashors1 <ashors@nvidia.com>
@ashors1 ashors1 added Run CICD and removed Run CICD labels Jul 30, 2024
nemo/lightning/nemo_logger.py Show resolved Hide resolved
Signed-off-by: ashors1 <ashors@nvidia.com>
@ashors1 ashors1 merged commit a78cc36 into r2.0.0rc1 Jul 31, 2024
223 checks passed
@ashors1 ashors1 deleted the ashors/nemo-ux-logger-dir branch July 31, 2024 15:53
github-actions bot pushed a commit that referenced this pull request Jul 31, 2024
* updat default PTL logging directories

Signed-off-by: ashors1 <ashors@nvidia.com>

* fix logger versions

Signed-off-by: ashors1 <ashors@nvidia.com>

* fix failed test

Signed-off-by: ashors1 <ashors@nvidia.com>

* add better documentation for 'update_logger_directory'

Signed-off-by: ashors1 <ashors@nvidia.com>

---------

Signed-off-by: ashors1 <ashors@nvidia.com>
ashors1 added a commit that referenced this pull request Aug 6, 2024
* updat default PTL logging directories



* fix logger versions



* fix failed test



* add better documentation for 'update_logger_directory'



---------

Signed-off-by: ashors1 <ashors@nvidia.com>
Co-authored-by: Anna Shors <71393111+ashors1@users.noreply.github.com>
adityavavre pushed a commit to adityavavre/NeMo that referenced this pull request Sep 15, 2024
…#9985)

* updat default PTL logging directories

* fix logger versions

* fix failed test

* add better documentation for 'update_logger_directory'

---------

Signed-off-by: ashors1 <ashors@nvidia.com>
Co-authored-by: Anna Shors <71393111+ashors1@users.noreply.github.com>
Signed-off-by: adityavavre <aditya.vavre@gmail.com>
monica-sekoyan pushed a commit that referenced this pull request Oct 14, 2024
* updat default PTL logging directories



* fix logger versions



* fix failed test



* add better documentation for 'update_logger_directory'



---------

Signed-off-by: ashors1 <ashors@nvidia.com>
Co-authored-by: Anna Shors <71393111+ashors1@users.noreply.github.com>
hainan-xv pushed a commit to hainan-xv/NeMo that referenced this pull request Nov 5, 2024
…#9985)

* updat default PTL logging directories



* fix logger versions



* fix failed test



* add better documentation for 'update_logger_directory'



---------

Signed-off-by: ashors1 <ashors@nvidia.com>
Co-authored-by: Anna Shors <71393111+ashors1@users.noreply.github.com>
Signed-off-by: Hainan Xu <hainanx@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants