The node-agent image has no nvidia-smi binary, so the direct execFileSync detect always failed → fell back to 1 GPU → NVIDIA_VISIBLE_DEVICES=all (the exact bug we were fixing). Use the existing _gpuCache (populated at startup by probeGpusViaSmi via a throwaway GPU container) for the count instead. |
||
|---|---|---|
| .. | ||
| Dockerfile | ||
| index.js | ||
| package.json | ||