CESARops× Lemonade

← CESARops × Lemonade: the challenge entry and what else we run on Lemonade

Lemonade PR #4004 on a five-card host

PR #4004 by fl0rianr adds GPU selection per backend, picked in the app. The author asked for testers with several GPUs. We ran it on a search-and-rescue lab machine with five NVIDIA cards, four of them the same model, and on a second machine with two.

Short version: selection works and lands on the card you pick. Tested at commit 860279342 on 14–15 November 2026.

Hardware

MachineCardsDriverOS
First4 × Tesla P100 16 GB, 1 × RTX 2060 12 GB580.178.04, CUDA 13.0Arch-based Linux
Second1 × Tesla P100 16 GB, 1 × Quadro P1000 4 GB580.178.04Ubuntu 24.04

Two of the five cards were ours to load for this test; the other three were busy with other work and only had to appear in the list correctly.

Results

TestResultEvidence
The PR's own unit testsPass42 and 133 checks, 0 failures
Device list matches the driverPass5 cards; count, order, UUID and memory match nvidia-smi
Vulkan: pick a card, work lands therePassVulkan3 and Vulkan4 each landed on their own card only; no build changes needed
CUDA: pick a card, work lands therePass *CUDA3 and CUDA4 mapped by UUID, from the app and from the CLI
Choice survives unload and server restartPassSaved on the server
Saved card that does not existPassClear error, nothing starts
Two backends on two cards at oncePassCUDA on one card, Vulkan on another, both generating
CLI and RESTPass--sdcpp-device CUDA3, --save-options, and the load body
Text model with no device optionPassllama.cpp on CPU loads and answers
App on one machine, server on anotherFound a bugSee below; fix offered
Chosen card is fullFails without saying why"sd-server failed to start"; no mention of memory or the card
TheNoise, ACE-Step, ThinkSound, TRELLIS, OpenMOSSNot runTheir builds start at a newer card generation than the ones we could load
ROCm, Windows, macOSNot runNo such hardware in this test

* The stock CUDA build of stable-diffusion.cpp does not cover Tesla P100 cards, so for the CUDA rows we pointed Lemonade at our own build of it and used a small wrapper so the server would offer CUDA on these cards. Card indexes, names, order and UUIDs were untouched. The Vulkan rows used nothing of the kind.

Device selector listing Vulkan0 to Vulkan4 on the five-card machine
Five cards under Vulkan.
Device selector listing CUDA0 to CUDA4, with CUDA4 shown twice
Five cards under CUDA. CUDA4 appears twice here: finding 2 below.

What worked well

Two things we found, with a fix

  1. Changing the server in Settings keeps the old machine's cards. With the app pointed at a second server, the Device list still showed the first machine's cards and its saved card, and Load sent that card name to the second machine, where the same name is a different card. Steps: save a card for a model on server A, change Settings → Server URL to server B, open the same model, press Load.
  2. A card saved from the CLI is listed twice in the app. The CLI and docs write CUDA4, the app writes cuda4, and the selector treats them as two entries.
After switching to the five-card server the selector still lists the two cards of the first machine
Before: connected to the five-card machine, still listing the other machine's two cards.
With the fix the selector lists the five cards of the connected server, names the server, and shows a notice that the saved card is not available
After: the connected machine's five cards, a line saying whose cards they are, and a notice when the saved card is not there. The address is covered.

The fix is four small commits on top of the PR, app code only: festeraeb/lemonade, branch cesarops/4004-multi-machine (diff against the PR). The app's runtime tests pass with it, 47 of 47, with one new test file. It is offered to the author to take, change or ignore.

Smaller notes for the author

What this test does not show

← Back to CESARops × Lemonade: what we build on Lemonade for search and rescue, the adapter plane, and the collaboration board.