I created this simple stock management system. This was a good experience building an end to end product since I have been a front end developer all my life, building this has been an amazing experience.
Overly specific LLM research into KV cache eviction.
The vast majority of tokens in a sequence will be irrelevant to an attention mechanism outside of a very small window.
Right now however we tend to either keep all cache values forever, or dump them all once they hit a certain age. My theory is that you can train model to look at the key vectors and from that information alone work out how long to keep a the token in the cache for. Results so far look promising and it’s easy to add after the fact without retraining the core model itself.
Working on migrating Hopp's [1] overlay window, which we use for drawing the remote cursors, from winit + wgpu to gpui. I used claude in the weekend to make a prototype and now I want to make a gpui app, which will replicate all of our requirements, in order to see what is missing and if I need to contribute upstream. I am planning to write a blog post when the migration is over.
Store your graphs in Parquet files on object storage or DuckDB files and query them using strongly typed Cypher. Advanced factorized join algorithms (details in a VLDB 2023 paper when it was called Kuzu). Looking to serve externalized knowledge with small language models using this infra. Watch Andrej Karpathy's Cognitive Core podcasts more details.
Comments (1,468) 897 threads
Earlier commentshttps://stockflow-drab.vercel.app/
Here is the github URL : https://github.com/codingbbq/stockflow
Appreciate any feedback on the application or review on the code..
Thank you
The vast majority of tokens in a sequence will be irrelevant to an attention mechanism outside of a very small window. Right now however we tend to either keep all cache values forever, or dump them all once they hit a certain age.
My theory is that you can train model to look at the key vectors and from that information alone work out how long to keep a the token in the cache for. Results so far look promising and it’s easy to add after the fact without retraining the core model itself.
[1] https://github.com/gethopp/hopp
Store your graphs in Parquet files on object storage or DuckDB files and query them using strongly typed Cypher. Advanced factorized join algorithms (details in a VLDB 2023 paper when it was called Kuzu).
Looking to serve externalized knowledge with small language models using this infra. Watch Andrej Karpathy's Cognitive Core podcasts more details.
All comments shown.
Couldn't load more comments. Check your connection and try again.