Geoffrey Angus (@GeoffreyAngus) header
Geoffrey Angus (@GeoffreyAngus) profile picture

Building stuff. Formerly @Google, @Stanford.

San Francisco, CA
Joined November 2015
Photo by Geoffrey Angus (@GeoffreyAngus)Photo by Geoffrey Angus (@GeoffreyAngus)Photo by Geoffrey Angus (@GeoffreyAngus)
Calling Cartridge training “sleep-time compute” tracks reasonably well with a core mechanism underlying sleep– the transfer of recent experiences (context) into long-term memory (weights). You can imagine
1
2
160
a CI/CD pipeline that updates a repository-wide Cartridge on merges to some branch (e.g. main). Diffs in your working state could then be appended directly into the model’s context for vanilla In-Context Learning
1
107
Struggling with context management? Wish you could just stick it all in your model? We’ve integrated Cartridges, a new method of leveraging sleep-time compute for learning long contexts, into Tokasaurus, an inference engine optimized for high-throughput 🧵
1
11
2
44
7,097
A Cartridge is a fixed-length, trainable KV cache optimized offline, or at “sleep-time.” They retain much of the same information as KV caches computed on-the-fly at test time, but achieve 26x higher tokens/sec, lower TTFT, and 39x lower memory usage! xitter.cf/EyubogluSabri/status/1…
When we put lots of text (eg a code repo) into LLM context, cost soars b/c of the KV cache’s size. What if we trained a smaller KV cache for our documents offline? Using a test-time training recipe we call self-study, we find that this can reduce cache memory on avg 39x (enabling 26x higher tok/s and lower TTFT) while maintaining quality. These smaller KV caches, which we call cartridges, can be trained once and reused for different user requests! Github: HazyResearch/cartridges
1
1
5
2,020
Hey gang, I started a blog! It’ll probably be mostly AI infra + market dynamics essays, but we’ll see what I get into. Obligatory essay screenshot and link in the thread.
1
1
105
Apple's new AI stack significantly improves model reliability (LoRA fine-tuning) while maintaining high versatility (multi-LoRA serving) I think it's exactly this approach that gets us from chatbots to agents. Want to try it yourself today? Check out @w4nderlus7's thread below
Replying to @Apple
@Apple is using #LoRA #finetuning for making their on-device 3b small language model outperform competitors and hot-swap multiple LoRAs on the fly depending on the task. It's a great approach! You can do exactly the sme with @predibase leveraging your data and tasks! (1/4)
8
136
cool cool school school school school
1
Yesterday’s tomorrow is today’s today.
3
Justice League (Taylor’s Version)
5