Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace() [function.preg-replace]: Compilation failed: invalid range in character class at offset 4 in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340
LLM | solutions; not code

LLM

My new image compression algorithm achieves rates of up to 632:1

Written by  on September 4, 2026

๐ญ๐ฅ;๐๐ซ ๐ฅ๐ฅ๐ฆ๐๐„๐† ๐œ๐จ๐ฆ๐ฉ๐ซ๐ž๐ฌ๐ฌ๐ž๐ฌ ๐ข๐ฆ๐š๐ ๐ž๐ฌ ๐ข๐ง๐ญ๐จ ๐ฅ๐š๐ง๐ ๐ฎ๐š๐ ๐ž, ๐ง๐จ๐ญ ๐ฉ๐ข๐ฑ๐ž๐ฅ๐ฌ. ๐€ ๐ฏ๐ข๐ฌ๐ข๐จ๐ง ๐ฆ๐จ๐๐ž๐ฅ ๐ญ๐ฎ๐ซ๐ง๐ฌ ๐ญ๐ก๐ž ๐ข๐ฆ๐š๐ ๐ž ๐ข๐ง๐ญ๐จ ๐š ๐œ๐จ๐ฆ๐ฉ๐š๐œ๐ญ ๐‰๐’๐Ž๐ ๐๐ž๐ฌ๐œ๐ซ๐ข๐ฉ๐ญ๐ข๐จ๐ง.

This week, a meme made the rounds about a young prodigy inventing a new way to compress photos. The idea behind it: derive the content of the image with a multimodal #vision-language model, then store this instead of the image. And when you want to view it, an #image-generation model recreates the content.
Simple. ๐€๐ง๐ ๐ญ๐จ๐ญ๐š๐ฅ๐ฅ๐ฒ ๐‹๐Ž๐’๐’๐˜.
Running #JPEG with a quality setting 10 looks like archival preservation in comparison.

I saw the meme several times in my stream. Instead of laughing and getting back to work, I did the obvious thing: I built it.

Meet #llmPEG.

You get a tool for compression (driven by #Qwen-VL inside #ollama) and decompression (either #ComfyUI or the image-gen skill from #codex).
After the initial prototype was working, I did some refinement of the prompts with a GAN-ish style of loop: until we had – with the given metric – a sufficiently fitting reproduction.

Please don’t ask about wall-clock performance.
Compression: ~20 seconds.
Decompression: ~30 seconds.

But the compression rate! Always at least 100:1, if not better: check this page with examples: https://marcelpetrick.github.io/llmPEG/expanded.html

๐€๐ญ ๐Ÿ๐ข๐ซ๐ฌ๐ญ ๐ข๐ญ ๐ฐ๐š๐ฌ ๐š ๐ฆ๐ž๐ฆ๐ž, ๐ง๐จ๐ฐ ๐ข๐ญ ๐ข๐ฌ ๐š ๐ญ๐จ๐จ๐ฅ ๐Ÿ˜‰

Source code, if you want to run it yourself and/or contribute: https://github.com/marcelpetrick/llmPEG/

Video:

๐Ÿฆ™ Release: ๐Ž๐ฅ๐ฅ๐š๐ฆ๐š๐…๐š๐ซ๐ฆ โœจ

Written by  on August 7, 2026

Recently I had the need to monitor all the locally available #Ollama instances. Of course, you can ๐˜ค๐˜ถ๐˜ณ๐˜ญ yourself, but why not have a tool in the history of btop/abtop ..

Only one ๐˜ด๐˜ฉ๐˜ฆ๐˜ญ๐˜ญ script utilizing ๐˜ค๐˜ถ๐˜ณ๐˜ญ, ๐˜ข๐˜ธ๐˜ฌ and ๐˜ซ๐˜ฒ. The name is the architecture: one llama is a pet, several across machines is a farm.

Tons of hotkeys to change update frequency, re-discovery of servers, probing their VRAM, cycling color themes. GitHub Actions ensure high quality code.
So give it a try and/or write a better version, #GPLv3 allows it: https://github.com/marcelpetrick/ollamaFarm/

Ollama Farmer out ๐Ÿง‘๐Ÿปโ€๐ŸŒพ๐Ÿฆ™

๐—œ ๐—ฅ๐—ฎ๐—ป ๐—ฎ ๐Ÿฎ๐Ÿณ๐—• ๐— ๐—ผ๐—ฑ๐—ฒ๐—น ๐—ผ๐—ป ๐—ฎ๐—ป ๐Ÿด๐—š๐—• ๐—š๐—ฃ๐—จ.

Written by  on July 15, 2026

๐Ÿฐ๐Ÿฌ ๐—บ๐—ถ๐—ป๐˜‚๐˜๐—ฒ๐˜€. That’s all it took me to get Bonsai 27B running locally on an RTX A2000 Laptop GPU with just 8GB of VRAM.

Bonsai 27B is based on Qwen 3.6, but uses PrismML’s custom native ๐Ÿ-๐›๐ข๐ญ ๐๐จ๐ง๐ฌ๐š๐ข format, reducing the model to just 3.9GB. A specialized ๐ฅ๐ฅ๐š๐ฆ๐š.๐œ๐ฉ๐ฉ fork implements custom CUDA kernels for the 1-bit inference path, making it possible to run the model directly on an 8GB GPU. The runtime exposes an OpenAI-compatible API, so existing tools and agents work without modification.
Performance is a different topic: 15 down to 9 tokens/s.

If you want to give it a try: find my notes and setup-scripts at GitHub: https://github.com/marcelpetrick/codingWithGPT/tree/master/bonsaiTestrun