Skip to content

Conversation

@corbt
Copy link
Contributor

@corbt corbt commented Oct 2, 2025

Implements a local file-based placeholder for ServerlessBackend._log() to unblock usage of ServerlessBackend with code that calls model.log().

Changes:

  • Writes trajectory groups to local JSONL files using same format as LocalBackend
  • Uses /tmp/serverless-training-logs by default (configurable via ART_SERVERLESS_LOG_DIR)
  • Organizes logs by model name, split, and step number
  • Marked with TODO for future proper serverless API implementation

This allows ServerlessBackend to be used immediately while proper remote logging is being developed.

🤖 Generated with Claude Code

Implements a local file-based placeholder for ServerlessBackend._log() to
unblock usage of ServerlessBackend with code that calls model.log().

Changes:
- Writes trajectory groups to local JSONL files using same format as LocalBackend
- Uses /tmp/serverless-training-logs by default (configurable via ART_SERVERLESS_LOG_DIR)
- Organizes logs by model name, split, and step number
- Marked with TODO for future proper serverless API implementation

This allows ServerlessBackend to be used immediately while proper remote
logging is being developed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@corbt corbt requested a review from bradhilton October 2, 2025 07:02
@bradhilton bradhilton merged commit e940243 into main Oct 2, 2025
1 of 2 checks passed
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.

3 participants