{"slug": "reproducing-qwen3-8-27b-nvfp4-decoding-on-a-32-gb-rtx-5090", "title": "Reproducing Qwen3.8-27B NVFP4 decoding on a 32 GB RTX 5090", "summary": "A Hugging Face forum write-up on reduced-depth inference warns that prefix caching can change model outputs between warm and cold runs, so anyone reproducing Qwen3.8-27B NVFP4 decoding on a 32 GB RTX 5090 should clear the cache before each of the four planned runs or warm it identically every time. The author also recommends adding a random-skip control that skips the same number of layers at random, to separate the effect of which layers are skipped from simply doing less work, and reporting work saved (layers skipped, memory) alongside clock time. On Qwen3.x's hybrid layers, the author flags the recurrent state as where drift would appear first, making the first greedy mismatch the best early warning.", "body_md": "Thanks, that four-run plan is the right one. Two things from my layer-skip runs that bear on it:\n\n1. **Cache state is the trap.** With reduced depth plus prefix caching, the same prompt gave different outputs warm versus cold. So for your four runs, I’d clear the cache before every run, or warm it the same way each time. Otherwise “acceptance moved” could just be cache state. Write-up:[When a Warm Cache Changes the Answer in Reduced-Depth Inference](https://discuss.huggingface.co/t/192335)\n2. **Add a random-skip control.** Skip the same number of layers, but pick them at random, so you see how much the choice of what to skip matters versus just doing less work. Also report work saved (layers skipped, memory) next to clock time. They don’t always move together.\n\nOn Qwen3.x’s hybrid layers, my worry matches yours: the recurrent state is where drift would show first. That makes the first greedy mismatch the best early warning.", "url": "https://wpnews.pro/news/reproducing-qwen3-8-27b-nvfp4-decoding-on-a-32-gb-rtx-5090", "canonical_source": "https://discuss.huggingface.co/t/reproducing-qwen3-8-27b-nvfp4-decoding-on-a-32-gb-rtx-5090/192902#post_4", "published_at": "2026-12-04 06:32:37+00:00", "updated_at": "2026-12-04 06:43:41.544131+00:00", "lang": "en", "topics": ["large-language-models", "ai-infrastructure", "ai-research"], "entities": ["Qwen3.8-27B", "RTX 5090", "Hugging Face", "Qwen3.x"], "also_reported_by": [], "takeaway": "Clear the prefix cache before every benchmark run or warm it identically each time, since the same prompt produced different outputs warm versus cold under reduced-depth inference.", "recommendation": {"advice": "Reset the prefix cache before each reduced-depth benchmark run, or warm it identically every time, and pair layer-skip results with a random-skip control plus work-saved metrics.", "playbook": "inference-serving", "playbook_url": "https://wpnews.pro/playbooks/inference-serving"}, "alternates": {"html": "https://wpnews.pro/news/reproducing-qwen3-8-27b-nvfp4-decoding-on-a-32-gb-rtx-5090", "markdown": "https://wpnews.pro/news/reproducing-qwen3-8-27b-nvfp4-decoding-on-a-32-gb-rtx-5090.md", "text": "https://wpnews.pro/news/reproducing-qwen3-8-27b-nvfp4-decoding-on-a-32-gb-rtx-5090.txt", "jsonld": "https://wpnews.pro/news/reproducing-qwen3-8-27b-nvfp4-decoding-on-a-32-gb-rtx-5090.jsonld"}}