TGViewer
BenFeed BenFeed @benfeed · 89 subscribers
Post #604 9
‏42x faster prompt lookup drafting in llama.cpp
‏سرعت‌بخشی ۴۲ برابری به prompt lookup drafting در llama.cpp

‏چهار تغییر در n-gram cache های llama.cpp باعث شده drafting برای prompt lookup decoding تا ۴۱.۶ برابر سریع‌تر، بارگذاری static cache تا ۲۳.۵ برابر سریع‌تر، و peak memory تا ۲.۶۵ برابر کمتر بشه.

‏نظر هوش مصنوعی — ⭐ ۷/۱۰
‏🎯 چرا مهمه: بهینه‌سازی inference بدون تغییر مدل یا سخت‌افزار، مستقیماً روی latency و هزینه‌ی اجرای local LLM تأثیر می‌ذاره.
‏💡 نکته: بهبودهای این‌چنینی در لایه‌ی caching معمولاً در مقالات بزرگ دیده نمی‌شن ولی در عمل بیشترین تأثیر رو دارن.
‏👥 برای کی: کسانی که روی inference بهینه، edge deployment یا llama.cpp کار می‌کنن.

‏🔗 https://jadidbourbaki.github.io/blog/prompt-lookup-llama-cpp/
‏#ai #LLM

‏@BenFeed
jadidbourbaki.github.io 42x Faster Prompt Lookup Drafting in llama.cpp Four changes to the n-gram caches of llama.cpp make drafting up to 41.6x faster, load the static cache up to 23.5x faster, and lower peak memory up to 2.65x.
More from @benfeed
  1. Oct 17, 2026‏DeepSeek v4.1 flash on OpenCode pretty good ‏عملکرد DeepSeek v4.1 flash روی OpenC…
  2. Oct 17, 2026‏Show HN: Llmspeed – feel how fast a local LLM runs before you buy the hardware ‏پ…
  3. Oct 17, 2026‏Partnering with Accenture on embedded evaluation - Anthropic ‏همکاری Anthropic و…
  4. Oct 17, 2026‏Show HN: Which Mac runs which LLM, and how fast ‏کدام Mac کدام LLM را اجرا می‌کند…
  5. Oct 17, 2026‏Flux 3 Image Klein: open weights, 5.6B parameters ‏فلاکس ۳ ایمیج کلاین: وزن‌های ب…
  6. Oct 17, 2026‏The NIST Elliptic Curves Seeds Bounty Has Been Claimed ‏معمای بذرهای منحنی‌های بی…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →