Skip to content

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

Merged
ashors1 merged 4 commits intor2.0.0rc1from
ashors/nemo-ux-logger-dir
Jul 31, 2024
Merged

[NeMo-UX] Update default PTL logging save_dir#9954
ashors1 merged 4 commits intor2.0.0rc1from
ashors/nemo-ux-logger-dir

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)

ashors1 added 2 commits July 29, 2024 13:08
Signed-off-by: ashors1 <ashors@nvidia.com>
Signed-off-by: ashors1 <ashors@nvidia.com>
@ashors1 ashors1 requested a review from ShriyaRishab July 29, 2024 20:19
Signed-off-by: ashors1 <ashors@nvidia.com>
@ashors1 ashors1 added Run CICD and removed Run CICD labels Jul 30, 2024
ShriyaRishab
ShriyaRishab previously approved these changes Jul 30, 2024
Signed-off-by: ashors1 <ashors@nvidia.com>
@ashors1 ashors1 merged commit a78cc36 into r2.0.0rc1 Jul 31, 2024
@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
…VIDIA-NeMo#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
…VIDIA-NeMo#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>
XuesongYang pushed a commit to paarthneekhara/NeMo that referenced this pull request Jan 18, 2025
…VIDIA-NeMo#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>
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