How do you run two models on one GPU?

Add both models’ memory footprint and room for live requests. If they do not fit together, load them sequentially or reserve the GPU for the more latency-sensitive model.

Plan a two-model setup

What to check

  • Peak memory

    Measure both models on long requests separately, then test overlapping requests.

  • Switching

    Compare weight reload time with the delay of a shared queue.

Tell us what you’re working on

Email Retrivium

golubev.cto@gmail.com

What to include in your email

  • Models and weight formats
  • GPU and VRAM
  • Request frequency and duration
All consultations