Skip to content

Distribute and run LLMs with a single file.

Make GGML DLL easier to bundle

Justine Tunney536125c64e35
diff --git a/llamafile/cuda.c b/llamafile/cuda.c
index c825334b..ab4b2757 100644
--- a/llamafile/cuda.c
+++ b/llamafile/cuda.c
@@ -394,9 +394,10 @@ static bool ExtractCudaDso(char dso[static PATH_MAX]) {
// see if prebuilt dso is bundled in zip assets
char zip[80];
- strlcpy(zip, "/zip/llama.cpp/ggml-cuda.", PATH_MAX);
+ strlcpy(zip, "/zip/ggml-cuda.", PATH_MAX);
strlcat(zip, GetDsoExtension(), PATH_MAX);
if (!FileExists(zip)) {
+ tinyprint(2, "prebuilt binary ", zip, " not found\n", NULL);
return false;
}