Same as process(), but called for every batch. **kwargs will have those items: - batch_number - index of current batch, from 0 to number of batches-1 - prompts - list of prompts for current batch; you can change contents of this list but changing the number
(self, p, *args, **kwargs)
| 195 | pass |
| 196 | |
| 197 | def process_batch(self, p, *args, **kwargs): |
| 198 | """ |
| 199 | Same as process(), but called for every batch. |
| 200 | |
| 201 | **kwargs will have those items: |
| 202 | - batch_number - index of current batch, from 0 to number of batches-1 |
| 203 | - prompts - list of prompts for current batch; you can change contents of this list but changing the number of entries will likely break things |
| 204 | - seeds - list of seeds for current batch |
| 205 | - subseeds - list of subseeds for current batch |
| 206 | """ |
| 207 | |
| 208 | pass |
| 209 | |
| 210 | def postprocess_batch(self, p, *args, **kwargs): |
| 211 | """ |
no outgoing calls
no test coverage detected