Skip to content

crit-eval 0.6.1

Choose a tag to compare

@yafitzdev yafitzdev released this 09 Nov 09:02
· 5 commits to main since this release
3b3a1a7

Changed

  • The machine's settings (settings.toml: the headroom, context_reserve_gib, context_tokens and eval_packages)
    come from the crit project crit names in CRIT_PROJECT when it names one: crit run's --project, and for
    crit eval crit's checkout or, for a crit installed without a checkout, the folder it runs in. A crit run's Eval
    thereby reads the settings its run reads, also from an installed crit, where crit-eval found no checkout and used
    the defaults. A named project without settings.toml has none; without a named project crit-eval reads its own
    checkout's, else the crit checkout's, as before. The protocol and suite are unchanged.

Fixed

  • The reference's PyTorch state-dict checkpoint keeps no file mapped. It kept each file's torch.load(mmap=True)
    state dict for as long as the object lived, and a dropped reference waits for garbage collection, so Windows could
    not delete or move the model's files meanwhile. It reads each tensor from the bytes Core located, mapping the file
    for that read alone, and a lookup reads only its rows. The GGUF and ONNX checkpoints already kept no file mapped or
    open between reads.