[idea] Docker 13/14: Refuse a CUDA image with no GPU
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 76/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- docker, typescript
Línea de trabajo
Start with surfsense_local/electron/src/headless/gpu-check.ts and the linked GPU design section, then inspect how the headless app identifies CUDA images and how its tests run in CI. Implement the refusal and SURFSENSE_ALLOW_CPU=1 bypass, keeping CPU images out of the check. Done means CI verifies both startup outcomes on a runner without a GPU.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Which part? Desktop app
What would you like?
Step 13 of 14 of #2100: running SurfSense in Docker. Depends on #2112; start once it is merged.
Stop the most common GPU mistake: starting a CUDA image without giving it the card, which silently runs on the CPU.
Design: GPU images, A CUDA image with no GPU
What to change
surfsense_local/electron/src/headless/gpu-check.ts: on a CUDA image, runllama-server --list-devicesbefore boot; with no CUDA device, exit with a message naming the fix.SURFSENSE_ALLOW_CPU=1skips the refusal.
Done when
- A
-cudaimage started without--gpusexits with the message. - With
SURFSENSE_ALLOW_CPU=1it starts on the CPU. - The CPU image never runs the check.
- CI checks both cases on a runner without a GPU.
Scope: code and tests only. Don't edit docs/ or AGENTS.md, except to fix a link this change breaks; the maintainers update the docs when the Docker work ships.
Why would it help?
Each step leaves something that runs, so the Docker image is built and reviewed one piece at a time.
- Lenguaje dominante
- Python
- Estrellas
- 16.3k
- Forks
- 1.6k
- Merge medio
- 14 h 22 min
- PR fusionados (30 d)
- 175
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de MODSetter/SurfSense
-
Security Scan: stop flagging pinned hashes and test fixtures on release PRsPosiblemente ocupada @karthikeya1220 la tomó hace 22 días. Abiertocode quality security
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MODSetter/SurfSense#2225 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
[plugin submission] NeverApplyAbiertoplugin-submission
Dificultad 2/5 1-3 horas Aptitud para principiantes 50/100
MODSetter/SurfSense#2401 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[idea] suppport opencode go as a providerPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoenhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 40/100
MODSetter/SurfSense#2386 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Library Trash (the Trash part of phase 1 of 01-sources-and-folders): taking it, if it is freeAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
MODSetter/SurfSense#2375 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de MODSetter/SurfSense
Issues similares
-
follow-up needs-triage S3: minor
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
manaflow-ai/cmux#36856 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue help wanted
Dificultad 1/5 1-3 horas Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Shell framework build fails at "copy the shader libraries": the iOS shader libraries are now one file b-<chain>.imgPosiblemente ocupada @xiaofeng-han la tomó hoy. Abiertobuild ios
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día