ckpt=0: still print STRATA_STATE_HASH for the request, so the parity gates see every request
This commit is contained in:
1 parent
5f317a3afc
commit
600c428821
1 file changed
+1
-1
@@ -7295,7 +7295,7 @@ int main(int argc, char** argv) {
|
||||
live_ok = o.prompt_cache > 0 && req_ckpt; // ckpt=0: nothing to continue or park (#830)
|
||||
}
|
||||
static const bool state_hash = std::getenv("STRATA_STATE_HASH") != nullptr;
|
||||
if (state_hash && live_ok) {
|
||||
if (state_hash && !cancelled && o.prompt_cache > 0) { // every finished request, ckpt=0 too (parity gates)
|
||||
// DEBUG: a fingerprint of every part of the session over the positions it holds ([0, L)), and
|
||||
// separately of what lies past them in the last KV page (stale cells, fine unless something reads them)
|
||||
if (cudaDeviceSynchronize() != cudaSuccess) {
|
||||
|
||||
Reference in new issue
Block a user