Downloads · 30 days
32
18% of all-time downloads
mohith-das/jetson-hybrid-flat-cache-0.5b
jetson-hybrid-flat-cache-0.5b is a text generation model from mohith-das. Use it when you need the model to write or continue text. It is set up for transformers.
Phase 2 of the llmdistillery project: an architecture-surgery experiment exploring O(1)-memory KV-cache alternatives to standard softmax attention, trained entirely on a Jetson Orin Nano Super (8GB unified memory).
Downloads · 30 days
32
18% of all-time downloads
All-time downloads
173
Public
Parameters
494M
1.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors988 MB · 65%
How the weights are stored.
F16494M · 100%
From the Hugging Face model README
Phase 2 of the llm_distillery project: an architecture-surgery experiment exploring O(1)-memory KV-cache alternatives to standard softmax attention, trained entirely on a Jetson Orin Nano Super (8GB unified memory).
Starting from
jetson-assistant-0.5b
(Phase 1's finished assistant model), every other attention layer was
surgically replaced with one of two mechanisms, alternating layer-by-layer:
After the attention surgery, the model went through a short Continual
Pre-Training (CPT) stabilization pass (200 steps, LoRA r=8/alpha=16 on
q/k/v/o projections plus the new GLA decay parameters unfrozen) on a small
synthetic corpus, letting the model adapt to its new attention mechanism
before the LoRA was merged back in. See
jetson-flat-cache-cpt-adapter
for that adapter standalone.
This repo contains:
model.safetensors + config — the full FP16 hybrid model, loads directly
with AutoModelForCausalLM.from_pretrained.hybrid_flat_cache.gguf (Q8_0) — for llama.cpp inference. Note:
llama.cpp has no native GLA kernel yet, so the GGUF's GLA layers fall back
to standard sliding-window softmax attention at inference time — the GGUF
is structurally valid and runs, but doesn't yet realize the O(1)-cache
benefit of the GLA layers. The log_decay GLA gate parameters (no GGUF
equivalent) were stripped during conversion.This is a research/learning artifact exploring the architecture, not a production-optimized model — the CPT pass used a tiny synthetic corpus (200 rows) purely to stabilize the new attention layers, not to teach new capabilities.