Commit e940243
feat: Add placeholder _log() implementation for ServerlessBackend (#422)
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]>1 parent 41c48f8 commit e940243
1 file changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
103 | 123 | | |
104 | 124 | | |
105 | 125 | | |
| |||
0 commit comments