Skip to content

Distribute and run LLMs with a single file.

Remove unintended exit() in cuda.c

Justine Tunney6bc1b0f0d1d9
diff --git a/llamafile/cuda.c b/llamafile/cuda.c
index ce0d80ed..c825334b 100644
--- a/llamafile/cuda.c
+++ b/llamafile/cuda.c
@@ -477,8 +477,6 @@ static bool ImportCudaImpl(void) {
return LinkCudaDso(dso);
}
- if (1) exit(1);
-
// try using a prebuilt dso
if (ExtractCudaDso(dso)) {
return LinkCudaDso(dso);