OpenAI (2015)
OpenAI was founded in 2015 as an organization dedicated to advancing artificial intelligence research. It aims to develop AI technologies that benefit humanity, operating independently of financial constraints. (openai.com)
This work accelerates prompt lookup (n‑gram) drafting in llama.cpp, achieving up to 42× faster token drafting and up to 2.6× lower memory use through a sequence of practical implementation changes. Benchmarks on WikiText‑103 static caches (sizes 0-541 MB) show upstream drafting latencies of 8.54-165.48 µs per drafted token collapsing to about 0.89-3.98 µs with all changes. Static cache load times and peak memory footprints also shrink markedly, with multi‑second loads reduced and gigabyte‑scale peaks lowered on large corpora.
Prompt lookup here uses three n‑gram caches (context, dynamic, static) and accepts a draft token y when s_n^f(y)=f(X_n,y)·w(y) meets count and fraction thresholds a_n and p_n (static entries get weight 100). The implementation optimizations are: stop copying inner maps (read them by reference), replace the outer std::unordered_map with ankerl::unordered_dense::segmented_map, and convert inner follower maps to sorted vectors because most n‑grams have very few followers (64% have one). The copy‑avoidance change alone delivered 4.5-25.6× speedups (drafting ≈1.9-6.5 µs); the flat hash map sped up loading and trimmed memory ~1.07-1.11×; combining all changes yields the reported 42× latency and multi‑fold memory reductions while keeping draft acceptance rates effectively unchanged.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
OpenAI was founded in 2015 as an organization dedicated to advancing artificial intelligence research. It aims to develop AI technologies that benefit humanity, operating independently of financial constraints. (openai.com)
The video discusses issues related to AI data centers, highlighting concerns about their operations and ethics. It questions the sustainability and transparency of current AI infrastructure practices. (youtube.com)
OpenAI has paused training on its most advanced AI models due to ongoing concerns about unexpected and concerning behavior. The decision aims to address safety and ethical issues associated with these powerful models. (theverge.com)
AI replacing human jobs and the potential benefits of automation are examined in the article. It questions whether AI should be permitted to take over tasks traditionally done by people. (medium.com)
HomeBody is a humanoid system that uses visual language models, spatial memory, and a library of skills to perform long-horizon tasks like cleaning and object retrieval. It operates without environment-specific training, directly orchestrating motor skills through high-level reasoning. (tml.stanford.edu)
DeepSeek Elastic Compute (DSec) is a system designed to optimize the allocation of elastic computing resources for deep learning workloads. It aims to improve efficiency and scalability in deploying large-scale AI models. (arxiv.org)
Today's best Hacker News stories, summarized and screenshotted, one email a day.