Skip to content

feat: send logs to a file specified in LOG_FILE environment variable#327

Draft
HarikrishnanBalagopal wants to merge 4 commits intofoundation-model-stack:wcafrom
HarikrishnanBalagopal:feat/logfile
Draft

feat: send logs to a file specified in LOG_FILE environment variable#327
HarikrishnanBalagopal wants to merge 4 commits intofoundation-model-stack:wcafrom
HarikrishnanBalagopal:feat/logfile

Conversation

@HarikrishnanBalagopal
Copy link
Copy Markdown
Contributor

Description of the change

Related issue number

How to verify the PR

Was the PR tested

  • I have added >=1 unit test(s) for every new method I have added.
  • I have ensured all unit tests pass

kmehant and others added 4 commits September 3, 2024 16:56
Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com>
Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com>
Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com>
Signed-off-by: Harikrishnan Balagopal <harikrishmenon@gmail.com>
@HarikrishnanBalagopal
Copy link
Copy Markdown
Contributor Author

Related

log_file = os.environ.get("TERMINATION_LOG_FILE", log_file)

@dataclass
class FileLoggingTrackerConfig:
training_logs_filename: str = "training_logs.jsonl"

@kmehant kmehant force-pushed the wca branch 2 times, most recently from f7fda2b to ef3191d Compare September 5, 2024 06:25
@kmehant kmehant force-pushed the wca branch 10 times, most recently from 0cf6821 to 2e10f28 Compare October 3, 2024 13:06
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.

2 participants