Files
raea/tools
shinyobjectz d3ebd0baf8 A local model's download resumes where it stopped, instead of starting over
On Windows (11-18) SAO's setup failed 110 MB into the 1.4 GB DiT graph: curl's error 56 (schannel: server closed
abruptly), which --retry doesn't retry, and fetch() threw the .part away, so every rerun began again from zero. Now
the .part is kept across tries and runs and resumed (curl -C -, or a Range request in the urllib fallback), with up to
8 tries a run; a file already whole (416) counts as done, and the SHA-256 check still runs on the finished file.

Tested against Hugging Face with t5-base's tokenizer.json, on the Mac and on Windows, curl and urllib: a 300 KB head
resumed to the whole file (SHA-256 matching), and a second call on the whole file left it as it was.
2026-11-18 17:31:26 -08:00
..
2026-11-06 16:27:57 -08:00
2026-10-31 13:15:29 -07:00

tools

Build helpers shared by every crate.

  • link-jit.sh: the linker wrapper .cargo/config.toml sets for aarch64-apple-darwin. It links normally, then signs the binary with jit.entitlements, because JavaScriptCore keeps its JIT off in a binary without the JIT entitlement.
  • jit.entitlements: that entitlement.