mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-04-05 08:16:16 +02:00
fix(install): correct nvidia runtime string evaluation
Removed quotes around the nvidia runtime string to properly match the unquoted output from docker info.
This commit is contained in:
parent
7b482d6123
commit
96e3a0cecd
|
|
@ -519,7 +519,7 @@ verify_gpu_setup() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if Docker has NVIDIA runtime
|
# Check if Docker has NVIDIA runtime
|
||||||
if docker info 2>/dev/null | grep -q \"nvidia\"; then
|
if docker info 2>/dev/null | grep -q "nvidia"; then
|
||||||
echo -e "${GREEN}✓${RESET} Docker NVIDIA runtime configured\\n"
|
echo -e "${GREEN}✓${RESET} Docker NVIDIA runtime configured\\n"
|
||||||
else
|
else
|
||||||
echo -e "${YELLOW}○${RESET} Docker NVIDIA runtime not detected\\n"
|
echo -e "${YELLOW}○${RESET} Docker NVIDIA runtime not detected\\n"
|
||||||
|
|
@ -535,7 +535,7 @@ verify_gpu_setup() {
|
||||||
echo -e "${YELLOW}===========================================${RESET}\\n"
|
echo -e "${YELLOW}===========================================${RESET}\\n"
|
||||||
|
|
||||||
# Summary
|
# Summary
|
||||||
if command -v nvidia-smi &> /dev/null && docker info 2>/dev/null | grep -q \"nvidia\"; then
|
if command -v nvidia-smi &> /dev/null && docker info 2>/dev/null | grep -q "nvidia"; then
|
||||||
echo -e "${GREEN}#${RESET} GPU acceleration is properly configured! The AI Assistant will use your GPU.\\n"
|
echo -e "${GREEN}#${RESET} GPU acceleration is properly configured! The AI Assistant will use your GPU.\\n"
|
||||||
else
|
else
|
||||||
echo -e "${YELLOW}#${RESET} GPU acceleration not detected. The AI Assistant will run in CPU-only mode.\\n"
|
echo -e "${YELLOW}#${RESET} GPU acceleration not detected. The AI Assistant will run in CPU-only mode.\\n"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user