Commit a8c8b2e
fix: address fourth round of PR review comments
- Fix misleading log messages after early stop (now distinguishes
"aborted early" from "all samples issued")
- Fix monkeypatch raising=False for cross-platform sched_getaffinity
- Fix docstring: 2 CPUs → 4 CPUs to match actual test setup
- Add thread-safety note to _parallel_batch_tokenize docstring
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 93627da commit a8c8b2e
File tree
3 files changed
+14
-4
lines changed- src/inference_endpoint
- load_generator
- metrics
- tests/unit/metrics
3 files changed
+14
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
110 | 113 | | |
111 | 114 | | |
112 | 115 | | |
| |||
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
119 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
120 | 126 | | |
121 | 127 | | |
122 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1186 | 1186 | | |
1187 | 1187 | | |
1188 | 1188 | | |
1189 | | - | |
| 1189 | + | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | 1192 | | |
1193 | 1193 | | |
1194 | | - | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
1195 | 1197 | | |
1196 | 1198 | | |
1197 | 1199 | | |
| |||
0 commit comments