-
Notifications
You must be signed in to change notification settings - Fork 1
basic log streaming #49
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
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
e47c02d
basic log streaming
pmcurtin ce8480c
change logging structure
pmcurtin 9c5e804
improvements to worker logging
pmcurtin c794bbd
hostnames instead of agent-i
pmcurtin 6f109ed
types and formatting
pmcurtin 5bb1933
format, again...
pmcurtin 930dfa2
fix ci test
pmcurtin 46e93cf
format
pmcurtin c466254
refactoring
pmcurtin b366b32
stdout logging
pmcurtin 1c3f8f9
create log directory, fix CI test
pmcurtin 5c84428
docstring, switch log naming
pmcurtin 621c116
fix docstring
pmcurtin 777917e
docstrings and docs
pmcurtin 83231b6
use autodoc
pmcurtin d2aec56
final docs fix for logging
pmcurtin 7b6da6a
Merge branch 'main' into logging
pmcurtin acef4fb
logging cosmetics
apoorvkh 444b461
refactoring
apoorvkh 707c3e4
fix test
pmcurtin ce1c067
LogSpec -> LogMap
pmcurtin ee8e6e8
switch to LogMap in CI test
pmcurtin ce11416
updates to LogMap api
apoorvkh 5e973d9
adding mapping to logmap
apoorvkh 2e4fd71
LogMap implements __and__
apoorvkh 752598f
environment.Auto class
apoorvkh ab79473
changes to streamed log record handling
apoorvkh c7532e1
dummy auto builder for logging handlers
apoorvkh aefdd4d
Update logging_utils.py
apoorvkh 9ed5e68
Merge branch 'main' of github.com:apoorvkh/torchrunx into logging
apoorvkh bea3276
ignore vscode configs
pmcurtin 2e4b3be
fix CI test. make default handlers
pmcurtin 5ed20b6
fix formatting and typing
pmcurtin e99c91a
removed "Auto" class, just using Literal["auto"]
apoorvkh b8b5445
adjustments to logging
apoorvkh 66cea38
add agent stream capture, flushing
pmcurtin 5397fd6
StreamLogger to LoggingStream(StringIO)
apoorvkh 4baa151
use default ruff lint rules
apoorvkh 1c5e86e
extend-select import linting rules
apoorvkh 92fe35c
linting
apoorvkh 5cd1385
added log level for std streams
apoorvkh a640c2a
ThreadingTCPServer to TCPServer
apoorvkh 805a285
refactoring handler build functions
apoorvkh 61451c3
switch to Filter class
apoorvkh a13f23a
more refactoring for logging utils
apoorvkh abc7267
env variables in launcher for controlling logging
apoorvkh 90e032e
using pathlib
apoorvkh f744391
overriding shutdown() with timeout
apoorvkh a0f106c
Merge branch 'main' of github.com:apoorvkh/torchrunx into logging
apoorvkh ad7456b
linting and typing
apoorvkh 1d42ccd
fix CI test
pmcurtin 7df0948
DEBUG -> NOTSET
pmcurtin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
from .environment import auto_hosts, auto_workers, slurm_hosts, slurm_workers | ||
from .launcher import Launcher, launch | ||
|
||
__all__ = ["Launcher", "launch", "slurm_hosts", "slurm_workers", "auto_hosts", "auto_workers"] | ||
__all__ = [ | ||
"Launcher", | ||
"launch", | ||
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.