<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>VLLM on InternetException</title><link>https://internetexception.com/tags/vllm/</link><description>Recent content in VLLM on InternetException</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 20 May 2026 20:13:55 +0200</lastBuildDate><atom:link href="https://internetexception.com/tags/vllm/index.xml" rel="self" type="application/rss+xml"/><item><title>Running Qwen 3.6 on vLLM with 6 draft tokens</title><link>https://internetexception.com/2026/05/20/running-qwen-3-6-on-vllm-with-6-draft-tokens/</link><pubDate>Wed, 20 May 2026 20:13:55 +0200</pubDate><guid>https://internetexception.com/2026/05/20/running-qwen-3-6-on-vllm-with-6-draft-tokens/</guid><description>&lt;p&gt;Just out of curiosity I tested Qwen3.6-27B model with MTP speculative decoding with 6 draft tokens. Whole script looked like this:&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;docker run --rm --name=&amp;#34;${2:-qwen3.6-medium-vllm}&amp;#34; \&#10; --group-add=video \&#10; --cap-add=SYS_PTRACE \&#10; --security-opt seccomp=unconfined \&#10; --device /dev/kfd \&#10; --device /dev/dri \&#10; -v /cache/huggingface:/root/.cache/huggingface \&#10; -v /cache/vllm:/root/.cache/vllm \&#10; --env &amp;#34;HF_TOKEN=$3&amp;#34; \&#10; -e TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1 \&#10; -e VLLM_ROCM_USE_AITER=1 \&#10; -e FLASH_ATTENTION_TRITON_AMD_ENABLE=TRUE \&#10; -p &amp;#34;${1:-8000}&amp;#34;:8000 \&#10; --ipc=host \&#10; --entrypoint &amp;#39;/bin/sh&amp;#39; \&#10; vllm/vllm-openai-rocm:nightly \&#10; -c &amp;#34;pip install fastokens; vllm serve Lorbus/Qwen3.6-27B-int4-AutoRound \&#10; --gpu-memory-utilization 0.48 \&#10; --dtype half \&#10; --optimization-level 1 \&#10; --enable-prefix-caching \&#10; --performance-mode interactivity \&#10; --kv-cache-dtype fp8_e4m3 \&#10; --language-model-only \&#10; --reasoning-parser qwen3 \&#10; --enable-auto-tool-choice \&#10; --tool-call-parser qwen3_coder \&#10; --speculative-config &amp;#39;{ \&amp;#34;method\&amp;#34;: \&amp;#34;mtp\&amp;#34;, \&amp;#34;num_speculative_tokens\&amp;#34;: 2}&amp;#39; \&#10; --max-num-seqs 1 \&#10; --tokenizer-mode fastokens \&#10; --max-num-batched-tokens 262144 \&#10; #--max-model-len 262144&amp;#34;&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Those are results with vLLM bench tool:&lt;/p&gt;</description></item><item><title>Lllama.cpp vs vLLM running Qwen 3.6 27B</title><link>https://internetexception.com/2026/05/20/lllama-cpp-vs-vllm-running-qwen-3-6-27b/</link><pubDate>Wed, 20 May 2026 17:27:57 +0200</pubDate><guid>https://internetexception.com/2026/05/20/lllama-cpp-vs-vllm-running-qwen-3-6-27b/</guid><description>&lt;p&gt;After optimizing lately my vllm startup I started optimizing performance of vLLM during inference. Thing it had abysmal performance spanning like 2-4ts. Or even 0.5ts with 180k context. That was really terrible and I started to think that I wont be able to get better performance out of Strix Halo inside my Desktop Framework.&lt;/p&gt;&#10;&lt;p&gt;But&amp;hellip; I remembered people praising it and its great usability with agents and Qwen models. How is that possible since it have so terrible performance.&lt;/p&gt;</description></item><item><title>Optimizing vLLM startup time</title><link>https://internetexception.com/2026/05/07/optimizing-vllm-startup-time/</link><pubDate>Thu, 07 May 2026 20:38:15 +0200</pubDate><guid>https://internetexception.com/2026/05/07/optimizing-vllm-startup-time/</guid><description>&lt;p&gt;vLLM has very slow time to first token (TTFT). On &lt;strong&gt;AMD Ryzen AI Max+ 395&lt;/strong&gt; it can take even 10 minutes depending on exact settings and model size.&lt;/p&gt;&#10;&lt;p&gt;To make my user experience of using those things myself I need to have comparison of llama.cpp and vLLM startup time and performance. But to do this I needed to perform optimizations of startup of vLLM since it is even slower to start then it was with v0.17.&lt;/p&gt;</description></item><item><title>Running Qwen 3.5 on Strix Halo using vLLM and Docker</title><link>https://internetexception.com/2026/04/26/running-qwen-3-5-on-strix-halo-using-vllm-and-docker/</link><pubDate>Sun, 26 Apr 2026 22:20:40 +0200</pubDate><guid>https://internetexception.com/2026/04/26/running-qwen-3-5-on-strix-halo-using-vllm-and-docker/</guid><description>&lt;p&gt;I have Desktop Framework for 2 months now. It is pretty capable for interefence with small contexts. With longer contexts it degrades quickly. It can for example can run 100k tokens contexts for 10minutes. Because of those limitations I decided to try vllm again - maybe it will be quicker. Two months is long time in LLM frameworks last time I was using vllm it has version 0.17. Now stable is 0.19.&lt;/p&gt;</description></item><item><title>Swapping vLLM to Llama.cpp</title><link>https://internetexception.com/2026/03/26/swapping-vllm-to-llama-cpp/</link><pubDate>Thu, 26 Mar 2026 20:04:51 +0100</pubDate><guid>https://internetexception.com/2026/03/26/swapping-vllm-to-llama-cpp/</guid><description>&lt;p&gt;Yesterday &lt;a href="https://internetexception.com/2026/03/25/vllm-is-fast-but-kind-of-slow/"&gt;I posted about vLLM being nice but optimized for different usage I am being really interested in&lt;/a&gt;&#10;. I commented on Llama Swap GH issue asking for help my problem of vLLM being shutdown before it actually started. During writing that comment I was thinking about Llama.cpp and it inability to run Qwen 3.5. It was at the beginning of March when I started (again) experimenting with LLMs. I tried to run Qwen models with release version of Llama.cpp and it was failing with &amp;lsquo;model architecture of Qwen3 is not found&amp;rsquo; (or something like that; I do not really remember). Because of that I switched to using vLLM, even if it could not run Qwen 3.5, it could run Qwen 3 just fine from the docker image. Sglang seemed like not a good choice for my needs.&lt;/p&gt;</description></item><item><title>vLLM is fast but kind of slow</title><link>https://internetexception.com/2026/03/25/vllm-is-fast-but-kind-of-slow/</link><pubDate>Wed, 25 Mar 2026 18:53:05 +0100</pubDate><guid>https://internetexception.com/2026/03/25/vllm-is-fast-but-kind-of-slow/</guid><description>&lt;p&gt;I was using vLLM to run my AI assistant models for few weeks now. It is quite nice, production ready framework &lt;a href="https://github.com/vllm-project/vllm/issues/27706" target="_blank" rel="noopener noreferrer"&gt;that have few bugs&lt;/a&gt;&#10;. ROCm support and by extent Strix Halo support is quite nice, even if AMD GPU docker image does not work on &lt;a href="https://internetexception.com/2026/03/14/running-qwen-3-5-on-amd-ryzen-ai-max-395/"&gt;Strix Halo without aiter&lt;/a&gt;&#10; in custom version.&lt;/p&gt;&#10;&lt;p&gt;Interference speeds are quite nice. You can get 20-30t/s out of new AMD APU. Which is totally usable. Here is sample test I done on this device via LLM API Throughput Benchmark:&lt;/p&gt;</description></item><item><title>Desktop Framework AI assitant part 3</title><link>https://internetexception.com/2026/03/16/desktop-framework-ai-assitant-part-3/</link><pubDate>Mon, 16 Mar 2026 21:31:03 +0100</pubDate><guid>https://internetexception.com/2026/03/16/desktop-framework-ai-assitant-part-3/</guid><description>&lt;p&gt;&lt;a href="https://internetexception.com/2026/02/26/running-my-own-ai-assistant/"&gt;Recently&lt;/a&gt;&#10; I started playing with &lt;a href="https://github.com/HKUDS/nanobot" target="_blank" rel="noopener noreferrer"&gt;Nanobot&lt;/a&gt;&#10; which is a bit like OpenClaw but, in my opinion much better since it is small and simple and have native integration with custom OpenAI APIs providers. I decided to use &lt;a href="https://vllm.ai/" target="_blank" rel="noopener noreferrer"&gt;vLLM&lt;/a&gt;&#10; because I wanted to use &lt;a href="https://huggingface.co/Qwen/Qwen3.5-35B-A3B" target="_blank" rel="noopener noreferrer"&gt;Qwen 3.5&lt;/a&gt;&#10; because according to my quick reaserach it is pretty good in such agentic usage and Qwen models are built with integration with SgLang and vLLM frameworks in mind. Also AMD is testing their own drivers and libraries, ROCm on docker images with SgLang and vLLM and Desktop Framework is AMD APU. So all of it since like a good idea since I decided to go with &lt;a href="https://internetexception.com/2026/03/01/self-hosting-your-ai-assistant-efficiently/"&gt;Strix Halo unifies memory architecture&lt;/a&gt;&#10; for my AI assistant. I &lt;a href="https://internetexception.com/2026/03/04/desktop-framework-ai-assistant-part-1/"&gt;bought&lt;/a&gt;&#10; Desktop Framework motherboard and &lt;a href="https://internetexception.com/2026/03/05/desktop-framework-ai-assistant-part-2/"&gt;played with it a little&lt;/a&gt;&#10; to test models performance on ROCm inside the docker. It was not blazing fast but enough to actually have working solution.&lt;/p&gt;</description></item><item><title>Adding voice recognition to my AI assistant</title><link>https://internetexception.com/2026/03/15/adding-voice-recognition-to-my-ai-assistant/</link><pubDate>Sun, 15 Mar 2026 23:43:00 +0100</pubDate><guid>https://internetexception.com/2026/03/15/adding-voice-recognition-to-my-ai-assistant/</guid><description>&lt;p&gt;It is amazing how time flies&amp;hellip; I am living at my current house already 9 years almost. I did put up a fence around the house in 2019. Next year I installed metal gate with automation and was working on a way to make it more &amp;lsquo;smart&amp;rsquo;. My first attempt was to have small raspberry Pi connected via some metal wires and solid relays to the gate electrical engine. It is working like that till now.&lt;/p&gt;</description></item><item><title>Running AI assistant on Qwen 3.5</title><link>https://internetexception.com/2026/03/15/running-ai-assistant-on-qwen-3-5/</link><pubDate>Sun, 15 Mar 2026 22:35:00 +0100</pubDate><guid>https://internetexception.com/2026/03/15/running-ai-assistant-on-qwen-3-5/</guid><description>&lt;p&gt;I did make mistake installing my favorite &lt;a href="https://internetexception.com/2026/03/13/switching-my-ai-assistant-os-to-ubuntu/"&gt;Debian Linux distribution on Desktop Framework&lt;/a&gt;&#10; PC I am using to run my LLM models. Probably some hacking during installing vLLM and all libraries and drivers and I would be able to make it work. But is it really worth it? I think it was not. So I switched to Ubuntu and I am &lt;a href="https://internetexception.com/2026/03/14/running-qwen-3-5-on-amd-ryzen-ai-max-395/"&gt;running Qwen 3.5&lt;/a&gt;&#10; second day now.&lt;/p&gt;&#10;&lt;p&gt;For now I can say that I am very happy. It seems to be able to reason much better than its predecessor Qwen 3. It have pretty good vision capabilities. It is able to fix its own mistakes, which makes its usage much easier.&lt;/p&gt;</description></item><item><title>Running Qwen 3.5 on AMD Ryzen AI Max+ 395</title><link>https://internetexception.com/2026/03/14/running-qwen-3-5-on-amd-ryzen-ai-max-395/</link><pubDate>Sat, 14 Mar 2026 15:09:00 +0100</pubDate><guid>https://internetexception.com/2026/03/14/running-qwen-3-5-on-amd-ryzen-ai-max-395/</guid><description>&lt;p&gt;I bough lately Desktop Framework with intention of running Qwen 3.5 as model for my AI assistant on &lt;a href="https://github.com/HKUDS/nanobot" target="_blank" rel="noopener noreferrer"&gt;Nanobot&lt;/a&gt;&#10;. At first I could not run this model on this hardware for some weird bug in one of the libraries. I explained why and how I fixed it &lt;a href="https://internetexception.com/2026/03/13/switching-my-ai-assistant-os-to-ubuntu/"&gt;here&lt;/a&gt;&#10;. In this post I will just put the list of packages that I used to run Qwen finally and vLLM command switches and parameters.&lt;/p&gt;</description></item><item><title>Switching my AI assistant OS to Ubuntu</title><link>https://internetexception.com/2026/03/13/switching-my-ai-assistant-os-to-ubuntu/</link><pubDate>Fri, 13 Mar 2026 20:38:31 +0100</pubDate><guid>https://internetexception.com/2026/03/13/switching-my-ai-assistant-os-to-ubuntu/</guid><description>&lt;p&gt;I did make a mistake trying to run a vLLM server on Debian. I theory everything should be OK: Debian is stable, have docker, docker have images for vLLM so I should be able to run all the models on docker on Debian. Also it should not really matter what distro is as long as it have new kernel and docker works. That in theory. I practice I could not force some models to run and Qwen 3 even if it was capable enough it felt limiting at times. For example I was unable to force it to work in agentic loops. I am not sure what was the problem, probably some configuration issue that I am still unable to understand and fix. Still that was just a simple problem that required me to give my assistant some nudge with another prompt. It was not as bad another issue though.&lt;/p&gt;</description></item><item><title>Desktop Framework AI assistant part 2</title><link>https://internetexception.com/2026/03/05/desktop-framework-ai-assistant-part-2/</link><pubDate>Thu, 05 Mar 2026 18:59:13 +0100</pubDate><guid>https://internetexception.com/2026/03/05/desktop-framework-ai-assistant-part-2/</guid><description>&lt;p&gt;Today my new NVMe disk arrived. I bought it for my new &lt;a href="https://internetexception.com/2026/03/04/desktop-framework-ai-assistant-part-1/"&gt;Desktop Framework mini PC&lt;/a&gt;&#10; on new AMD APU intended for AI workloads. Certainly &lt;a href="https://internetexception.com/2026/03/01/self-hosting-your-ai-assistant-efficiently/"&gt;it will be better suited&lt;/a&gt;&#10; for running my AI assistant then my daily working PC. Though performance will be a bit worse. But still better than CPU.&lt;/p&gt;&#10;&lt;p&gt;Anyway I decided to split my assistant into 2 parts. The nanobot part will be working on my main server and model (or models) that will be working on Desktop Framework. This way more powerful machine will be running AI assitant UI and operations and LLM capable device will do faster interference - that will be the Framework device. Nanobot communicate with model via OpenAI API anyway so it is not a problem. Maybe a bit of security in terms of HTTPS with some auth would not hurt. Or maybe I will put it in private subnetwork that can&amp;rsquo;t be accessed from outside and only have internet when necessary? Running dockers and all of those python AI firework is not exactly secure but maybe I will deal with that later.&lt;/p&gt;</description></item><item><title>Running AI assistant on Threadripper PRO</title><link>https://internetexception.com/2026/03/01/running-ai-assistant-on-threadripper-pro/</link><pubDate>Sun, 01 Mar 2026 13:57:00 +0100</pubDate><guid>https://internetexception.com/2026/03/01/running-ai-assistant-on-threadripper-pro/</guid><description>&lt;p&gt;The answer is: don&amp;rsquo;t do that to yourself.&lt;/p&gt;&#10;&lt;p&gt;Recently I started playing with &lt;a href="https://internetexception.com/2026/02/26/running-my-own-ai-assistant/"&gt;AI assistant using nanobot.&lt;/a&gt;&#10; It is good but so far I am running it on my daily working PC. &lt;a href="https://internetexception.com/2026/02/27/running-llm-on-your-daily-pc-and-why-it-is-not-good/"&gt;And it is not great experience so far&lt;/a&gt;&#10;. So I am exploring some other way that will allow me to do that, especially when I am not at home but still want to use my little helper to do stuff. Running big PC in your office next to your bedroom is not the best idea. And electricity bill would also not be that great.&lt;/p&gt;</description></item><item><title>Running my own AI assistant.</title><link>https://internetexception.com/2026/02/26/running-my-own-ai-assistant/</link><pubDate>Thu, 26 Feb 2026 10:32:00 +0100</pubDate><guid>https://internetexception.com/2026/02/26/running-my-own-ai-assistant/</guid><description>&lt;p&gt;I recently started experimenting with my own AI asisstant. I decided to skip on OpenClaw for being massive slop of 400k LOC of vibe coded monstrosity. Looking trough web I found that there is also NanoClaw which seems much better but looks like it is tied to Anthropic service and I like owning my own data and I self host what I can.&lt;/p&gt;&#10;&lt;p&gt;That left me with &lt;a href="https://github.com/HKUDS/nanobot" data-type="link" data-id="https://github.com/HKUDS/nanobot"&gt;Nanobot&lt;/a&gt; being my only option from bigger open source projects that are (relatively) known, are under active development and have big user base.&lt;/p&gt;</description></item></channel></rss>