question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Train] Add flags to disable creating log directories

See original GitHub issue

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

In order to prototype tune/rllib integration and assess its performance, we would need to disable expensive file io operations that aren’t necessary during the training loop.

Right now, I can probably redirect training logs to /tmp directory, but I don’t know how expensive these file operations are. Perhaps they aren’t all that expensive if I don’t actually add any log data via train.report. @matthewdeng @amogkam wdyt?

Use case

RLlib/tune integration

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
matthewdengcommented, Feb 10, 2022

train.report() calls aren’t actually logged unless you pass in a logging Callback (e.g. JsonLoggerCallback).

0reactions
amogkamcommented, Jun 7, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Logging — PyTorch Lightning 1.8.5.post0 documentation
By default, Lightning logs every 50 steps. Use Trainer flags to Control Logging Frequency. Note. By default, all loggers log to os.getcwd() ...
Read more >
UserAccountControl property flags - Windows Server
Use the UserAccountControl flags to manipulate user account properties ... and then click Active Directory Users and Computers.
Read more >
Enable and disable GitLab features deployed behind feature ...
How to enable and disable features behind flags · Start the GitLab Rails console · Enable or disable the feature · Check if...
Read more >
add | Data Version Control - DVC
It creates a .dvc file to track the added data. This command can be used to track large files, models, dataset directories, etc....
Read more >
Command-line interface - Logging - Google Cloud
To list logs in a folder, add the --folder flag. That flag restricts the log entries ... Design your logs query carefully to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found