after each chunk of prefill(): the rows read so far at most `rows` prompt rows to a pass (0: the engine's own, FNX_PF_PASS chunks). The server asks for 8192 while other requests decode: they run a window between two passes, so a pass is how long they wait
| 72 | // at most `rows` prompt rows to a pass (0: the engine's own, FNX_PF_PASS chunks). The server asks for 8192 while other requests decode: they run a window between |
| 73 | // two passes, so a pass is how long they wait |
| 74 | void set_pass_rows(int rows) { pass_rows_ = rows; } // 0: no limit |
| 75 | // images. Token ids at or above IMAGE_TOK are image cells: the caller gives each picture's cells ids made from its |
| 76 | // hash, so a prefix match tells pictures apart. The PLE n-grams read them as the model's image token |
| 77 | static constexpr int IMAGE_TOK = 1 << 30; |