Skip to content

Commit

Permalink
Restore original comment
Browse files Browse the repository at this point in the history
  • Loading branch information
m0nsky committed Jan 17, 2025
1 parent 4950e0d commit 40a8c6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LLama/Native/Load/NativeLibraryUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 40a8c6c

Please sign in to comment.