garykwh
Member
OP
Inference on a Budget
- Joined:
- Jun 2024
- Posts:
- 173
- From:
- San Jose, US
Flask app that returns 200 with "OK" only if nvidia-smi shows all four GPUs
This is actually pretty close to what I need. How do you secure the endpoint? Just IP whitelist UptimeRobot's probes? I can think of five ways to fake that if someone cared to try.
Also, nvidia-smi parsing is brittle. I switched to pynvml after the 535 driver changed the text output format and broke my old shell script.
CUDA cores are my love language
garykwh
Member
OP
Inference on a Budget
- Joined:
- Jun 2024
- Posts:
- 173
- From:
- San Jose, US
VLLM with tensor parallelism across the four cards. It does expose /metrics but I hadn't thought about proxying that out. Currently firewall'd to localhost because I assumed OVHcloud's "managed" nonsense meant they'd complain about anything exotic on 443.
Actually they probably wouldn't notice. Their "management" is automated reboots and late-night emails about "abuse" that are just my training jobs saturating the NIC.
I'll test this. Telegraf for system metrics, nginx location block for /metrics, both on 443 with different paths.
CUDA cores are my love language