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