From 40a8c6cf94c0cfcac24911f93d04cdc0a3222d95 Mon Sep 17 00:00:00 2001 From: m0nsky Date: Fri, 17 Jan 2025 23:38:24 +0100 Subject: [PATCH] Restore original comment --- LLama/Native/Load/NativeLibraryUtils.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LLama/Native/Load/NativeLibraryUtils.cs b/LLama/Native/Load/NativeLibraryUtils.cs index 8227e8cc..0414e1fd 100644 --- a/LLama/Native/Load/NativeLibraryUtils.cs +++ b/LLama/Native/Load/NativeLibraryUtils.cs @@ -43,6 +43,8 @@ internal static IntPtr TryLoadLibrary(NativeLibraryConfig config, out INativeLib foreach (var path in paths) { + Log($"Got relative library path '{path}' from local with {library.Metadata}, trying to load it...", LLamaLogLevel.Debug, config.LogCallback); + // After the llama.cpp binaries have been split up (PR #10256), we need to load the dependencies manually. // It can't be done automatically on Windows, because the dependencies can be in different folders (for example, ggml-cuda.dll from the cuda12 folder, and ggml-cpu.dll from the avx2 folder) // It can't be done automatically on Linux, because Linux uses the environment variable "LD_LIBRARY_PATH" to automatically load dependencies, and LD_LIBRARY_PATH can only be