• Samuel GIFFARD's avatar
    Enhance GPU detection logic to support WSL2 environments · 2cb41121
    Samuel GIFFARD authored
    This commit updates the GPU detection logic in the setup script to accommodate environments where NVIDIA GPUs might not be directly listed by `lspci`, such as in Windows Subsystem for Linux 2 (WSL2). The revised logic now attempts to identify NVIDIA GPUs using both `lspci` and `nvidia-smi`, ensuring broader compatibility and recognizing GPUs that are accessible in WSL2. This change allows the script to correctly detect NVIDIA GPUs in a wider range of setups, improving user experience and script robustness in diverse environments.
    2cb41121
run-compose.sh 7.1 KB