Repository navigation
PLI 4.1.2
Pre-release
Pre-release
pli setupturns A1 on. With them1-ultraprofile, the list shown before downloading has one more item: A1's
map (Latent Sparse Attention, released-lsa-weights-v1, 6 MB, Apache-2.0). On yes,pli setupdownloads it from
the GitHub release, checks its SHA-256 (nothing is kept if it differs), converts it to NumPy in<prefix>/models,
and writesPLI_A1_LSA_MAP,PLI_S3B_THRESHOLD=16384andPLI_S3B_ROWS=4096in the service. It is left out with
--no-a1, on other Macs, and when the model'sconfig.jsonis not Qwen3.8-27B's; a failed download leaves PLI
without A1 and the install goes on. Before, A1 had to be set by hand.- The map is converted without torch (
src/tensorfold/install/lsa_map.py, used bytools/convert_lsa_map.py
too): the PyTorch file is read as the zip of arrays it is, with a pickle reader that accepts only the names of a
tensor file and refuses any other, so no code from the file runs. On the release's file it writes the same .npz,
byte for byte, as the torch path of 4.1.1 and the map served in production.