Skip to main content

Module mock

Module mock 

Source
Expand description

Mock backend: deterministic-ish simulation used for CI and demos (no GPU required).

Device 0 simulates a training run: high util with periodic idle gaps (dataloader / checkpoint pattern), VRAM climbing toward OOM, temperature chasing util until a thermal throttle cycle kicks in. Device 1 simulates a desktop/inference box: bursty util and an ollama process that periodically attaches with a large allocation, then exits.

Structsยง

MockBackend