Running Models YourselfLesson 16 of 82

Module 2 · The memory arithmetic

More than one GPU

In this lesson

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

This chapter’s goalCompute, for any model and any context length, whether it fits on a stated machine and roughly how fast it will run: naming which of weights, KV cache, bandwidth or interconnect is the binding constraint, and choosing the remedy that costs the least quality when it does not fit.

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

A little at a time

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

Step 1 of 7Free · no account needed
Lesson steps

Two ways to use two cards

Adding a second card can double your memory, double your throughput, or do neither, depending entirely on which strategy the engine uses and how the cards are connected.

Layer split (pipeline). Layers 0 to 19 on card A, 20 to 39 on card B. A token flows through A, its activation crosses to B, and B finishes. This is llama.cpp’s default and vLLM’s --pipeline-parallel-size.

  • What crosses between cards is one small activation tensor per layer boundary: kilobytes. PCIe handles it comfortably.
  • Memory is the sum of both cards, so a 70B fits across two 24 GB cards.
  • Speed for a single user is not doubled. Card A works while B waits, then B works while A waits. Only one card is busy at a time. Expect the speed of one card, sometimes slightly less.
  • Throughput does improve with several concurrent requests, because the pipeline can be kept full.

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) ‘More than one GPU’, in Running Models Yourself. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/running-models-yourself/more-than-one-gpu (Accessed: 29 November 2026).