Jabara
Theme

Updates

What changed in Jabara, newest first. Each entry links the pull requests that made the change and is dated by the day the last of them merged, in UTC.

Follow the RSS feed to get new entries in a feed reader.

  1. The site has a new address

    The project page, the demo, the results viewer, and both documentation sites are now at jabara.iamtatsuki05.com. The old address, iamtatsuki05.github.io/jabara, redirects each page to the same page at the new one. Links, bookmarks, and the RSS feed that name the old address keep working. Point a feed reader at https://jabara.iamtatsuki05.com/rss.xml to follow the site from its new address.

  2. Run your own codec in the demo

    The demo says which device computed its result: the browser, the operating system, and the processor count that the browser reports (#69, #70).

    You can also write a codec in the page. The demo runs it in your browser beside the built-in codecs on the same checkpoint, and the library’s own check decides whether it decodes bit for bit. Nothing is uploaded, and the code runs only when you press the button (#68).

  3. Measured results, with the machine of each report

    The results viewer shows measured reports: the checkpoints of language-model training runs, coded by every codec. Each report lists the machine and software that measured it, such as the CPU model, the thread count, and the versions of Python and the libraries. One synthetic report is listed last and says so (#65, #66).

  4. A new look, a theme switch, and pages about the project

    The site is set in BIZ UDPGothic (#56) with an indigo and vermilion palette, a switch between the light, dark, and system themes, highlighted code with a copy button, and one set of icons. Links that leave a page open in a new tab (#58).

    An About page says what Jabara does and does not do. This Updates page has an RSS feed, and the site publishes a sitemap, llms.txt, and llms-full.txt (#59).

  5. One design for the whole site

    The pages share one layout and one set of design tokens, built with Astro into static files. The site has an icon, and every page has a description and a preview card for social sites (#53).

  6. The demo runs with one press

    One press loads the runtime and the library and runs the codecs on the bundled checkpoint. The result is drawn as bars, one per codec, with a verdict on whether every lossless codec decoded bit for bit. Each failure has a message that says what to do next (#47).

  7. One thread budget for all the tensors of a call

    threads used to code the chunks of one tensor in parallel and the tensors one after another. Now the chunks of all the tensors of a call share one pool, so a checkpoint made of many small tensors is no longer coded on one thread. The archive holds the same bytes for every value of threads.

    A source passed to write_archive must not change the bytes of a record until the call returns (#43).

  8. The site is published on GitHub Pages

    From this change on, the project page, the demo, the results viewer, and both documentation sites were published from main to GitHub Pages. A push deployed only after the tests and the documentation build had passed (#26).

  9. Documentation in English and Japanese

    The documentation is a Sphinx site with an installation page, a tutorial and the reference (#22), nine how-to guides and four explanation pages (#27). The Japanese site mirrors every page (#30).

  10. The project page, the results viewer, and a demo in the browser

    The project page shows the install steps, the built-in codecs, and three extension samples, all generated from the code. The results viewer reads the reports of jabara.bench (#15).

    The demo runs the library in the browser through Pyodide, on a bundled checkpoint or on a safetensors file you choose. Nothing is uploaded (#21).

  11. The jabara command

    jabara compress, decompress, ls, verify, export-weights, and bench work on checkpoint files and directories without any Python code, and jabara codecs lists the codecs. The command reads and checks its whole argument list before it runs, so an argument list that it refuses changes no file (#14).

  12. PyTorch state, codec comparison, and the Trainer and Lightning adapters

    jabara.torch.save_state and load_state store a PyTorch state, such as an optimizer’s state_dict(), and restore it bit for bit. jabara.files compresses .safetensors and .pt files and checkpoint directories next to themselves (#7).

    jabara.bench.compare runs a set of codecs on the same tensors and reports, for each one, the stored size and the encode and decode time (#8).

    JabaraCheckpointIO makes PyTorch Lightning write each checkpoint as an archive (#10), and jabara.hf.attach compresses every checkpoint that a Hugging Face Trainer saves and restores it on resume (#11).

  13. The archive format and eight codecs

    Jabara writes a checkpoint into one .jbr archive. Each tensor is split into chunks, each chunk is coded on its own and carries a CRC-32, and a JSON index after the chunks lists them all.

    The first codecs: raw/1, zstd/1, and bytegroup-zstd/1 (#2); xor-delta/1 and sub-delta/1, which code a tensor as its difference from the same tensor of an earlier checkpoint (#3); quant8-linear/1 and quant8-log/1, which are lossy, so that writing them into an archive requires allow_lossy=True (#4); and zipnn/1, which needs the zipnn extra (#6).