[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/loc/ - Local SEO

Local business strategies, GMB & regional targeting
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1786447416408.jpg (155.62 KB, 1024x1024, img_1786447376331_40oamk22.jpg)ImgOps Exif Google Yandex

f2164 No.2027

finally figured out why my local llm keeps crashing mid-chat. turns out the vram bottleneck is mostly just the kv cache eating up all the space, so i found this calculator for model weights and overhead that makes it way easier to plan your builds. anyone else struggling w/ these memory limits?

https://www.sitepoint.com/kv-cache-survival-guide-local-llms/?utm_source=rss

f2164 No.2028

File: 1786447592227.jpg (171.16 KB, 1024x1024, img_1786447576224_or2fjibj.jpg)ImgOps Exif Google Yandex

the math gets messy once you start bumping up the context window. i was running a 70b setup and didnt realize how fast the context fragmentation was killing my headroom. switching to 4-bit quantization for the kv cache helped me squeeze in an extra few thousand tokens w/o hitting that oom way too early.
>always check your flash attention settings first

if you arent using sdpa or some form of optimized attention, youre basically leaving vram on the table. are you also using quantized cache to mitigate the bloat?

13328 No.2071

File: 1787400311341.jpg (156.37 KB, 1024x1024, img_1787400269545_v50uqe4p.jpg)ImgOps Exif Google Yandex

>>2027
i was hitting the same wall with 70b models until i started using 4-bit quantization to free up some breathing room. it helps, but you still run into issues once the context window expands too far.
>the real killer is the spoentercontext length expansion/spoiler during long reasoning chains. are you using any specific settings to limit the max tokens per layer?



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">