M1: TARDITS -> GGUF converter (RAT first, hyper second) #2
Labels
No labels
NaNs
area/android
area/backup
area/build
area/docs
area/dsh
area/forgejo
area/gguf
area/host
area/kernel
area/runtime
area/security
bootcamp
needs-operator
note
priority/later
priority/next
priority/now
type/bug
type/experiment
type/task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ml-lab/llama.cpp#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Convert TARDITS checkpoints to GGUF. Done in
9edc028- see the progress comment for artifacts and verification.Delivered:
tardits2gguf/uv project,convert.py(archtardits, split real/imag planes, exact round-trip), convertedrat45m.gguf(44.43M floats, FineWeb ASCII-96) andhyper11m.gguf, and step-path goldens intardits2gguf/goldens/.Remaining follow-ups moved to #3/#4: tokenizer smoke test once the arch loads, level 2-4 conversion once
cd_mulexists.Converter MVP is in (
9edc028). Real artifacts, not sketches:tardits2gguf/- standalone uv project (Python 3.13):tardits 0.3.0(PyPI),torch 2.15.0,ggufeditable from./gguf-py. Kept separate from the upstream rootpyproject.tomlbecause that pinsrequires-python >=3.10,<3.15and tardits needs >=3.13.convert.py: one archtardits+ metadata, split.real/.imagf32 planes, flattened 2-D tensors, lm_head row permutation to plane-major, exact round-trip verification, YAML shape cross-check, arch inference (gamma->rat, rope.theta->hyper, c_attn->real).models/tardits/rat45m.gguf(388 tensors, 177.7 MB; LinA.cache/rat2/rat_l1_45m_22k.pt, 44.43M floats, 12L/512x64/b1024, FineWeb ASCII-96) andmodels/tardits/hyper11m.gguf(292 tensors, 44.8 MB;hyper_11m_h8_lr5e4_dofix).gguf_dump.pyshows 23 KV pairs; stockllama-gguf ... r nreads the file; stockllama-clifails withunknown model architecture: 'tardits'(expected until M2).tardits2gguf/goldens/{rat45m,hyper11m}.{npz,json}. RAT is the step recurrence (not the training scan): greedy 8 =[14, 0, 65, 78, 68, 0, 84, 72]; scan-vs-step abs drift 5.07e-3 at T=44 (LinA #23).Docs updated: scope is hyper + RAT,
realonly as optional smoke test; newdevops/lina.md+devops/research/lina-notes.md; corrections folded in (vocab order is file order - FineWeb\n=95; gamma cap is trainer-side, pre-cap checkpoints can be >1; RAT has no buffers/positions).Remaining for a later pass: tokenizer behaviour in llama.cpp (
tokenizer.ggml.model=rwkv) can only be smoke-tested once the arch loads (M2), and level 2-4 conversion waits for thecd_mulpath.M1: TARDITS -> GGUF converter (RealGPT first)to M1: TARDITS -> GGUF converter (RAT first, hyper second)