Running Models YourselfLesson 54 of 82

Module 6 · Getting good output

The diagnostic ladder for a bad output

In this lesson

  • 9 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 8 of 9 in this chapter

This chapter’s goalDiagnose a disappointing local output to its actual cause (sampler, template, prompt, context length, quantisation or the weights) in a defined order, and build a small evaluation harness that tells you whether any change you make is an improvement or noise.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
The ladder, in the order that finds it fastest1. Is it on the hardware you think?nvidia-smi during generation. Zero means the CPU2. Is the prompt what you think it is?Print the templated string and the token count3. Is it stopping in the right place?A missing end marker invents the next user turn4. Sampler off, temperature zeroIf it is good now, the sampler was the problem5. Is it the quantisation?The same prompt against a higher-bit copy6. Is it the prompt design?Too many instructions, format described not shown7. Only now, is it the model?Run it against the full-precision weightsEach step is minutes and most problems are resolved in the first three. Working the other way,starting with the weights and ending with the template, is how an afternoon disappears and a perfectlygood model gets blamed.
Each step is minutes and most problems are resolved in the first three. Working the other way, starting with the weights and ending with the template, is how an afternoon disappears and a perfectly good model gets blamed.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

The order matters because the cheap causes are the common ones

When a local model produces something poor, there are six possible causes and people almost always investigate them in the wrong order: starting with the model and ending with the template, when the reverse is correct.

Work down this list. Each step is minutes, and most problems are resolved in the first three.

1. Is it actually running on the hardware you think?

nvidia-smi during generation. If utilisation is zero, the model is on the CPU and everything else you observe is a symptom of that. Thirty seconds, and it explains a surprising share of “the model is bad” reports where the real complaint was speed.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Open Model Ecosystem exam.

Stuck on something?Ask Tri, your AI tutor

How to cite: Addaly (2026) ‘The diagnostic ladder for a bad output’, in Running Models Yourself. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/running-models-yourself/debugging-a-bad-output (Accessed: 29 November 2026).