-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: emptyngton/llama-cpp-python
base: main
head repository: JamePeng/llama-cpp-python
compare: main
- 18 commits
- 27 files changed
- 2 contributors
Commits on Jul 26, 2026
-
fix(loader): guard HIP_PATH and VULKAN_SDK dirs with os.path.exists
os.add_dll_directory() raises FileNotFoundError [WinError 3] when the directory does not exist, so a stale HIP_PATH or VULKAN_SDK left behind by an uninstalled SDK makes "import llama_cpp" fail outright on Windows. The CUDA_PATH branch above already guards each candidate directory with os.path.exists(); this applies the same pattern to the HIP and Vulkan branches. Valid directories are still added individually, so a partially removed SDK contributes whichever of bin/lib remain instead of raising.
Configuration menu - View commit details
-
Copy full SHA for 866bed9 - Browse repository at this point
Copy the full SHA 866bed9View commit details
Commits on Jul 27, 2026
-
Merge pull request JamePeng#158 from emptyngton/fix-add-dll-directory…
…-missing-path fix: guard HIP_PATH and VULKAN_SDK dirs with os.path.exists before add_dll_directory
Configuration menu - View commit details
-
Copy full SHA for 734623d - Browse repository at this point
Copy the full SHA 734623dView commit details -
Update Submodule vendor/llama.cpp 8bb9093..b77d646
Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for 8e1ea5e - Browse repository at this point
Copy the full SHA 8e1ea5eView commit details -
fix(ctypes): support GCC/Clang mangled symbols for optional llama_ext…
… APIs - Add missing `_Z` Itanium C++ ABI symbol variants to ctypes function lookup lists. This improves compatibility with Linux and macOS builds where C++ symbols are exported using GCC/Clang name mangling. Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for 194dfb2 - Browse repository at this point
Copy the full SHA 194dfb2View commit details -
feat(tools): add cross-platform ABI inspection utility
Inspect PE, ELF, and Mach-O exports and normalize platform-specific symbol names. Validate optional llama_ext ctypes aliases across Windows, Linux, and macOS builds. Keep artifacts and timestamped privacy-safe reports local to the repository. Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for 1e49f9d - Browse repository at this point
Copy the full SHA 1e49f9dView commit details
Commits on Jul 28, 2026
-
Update Submodule vendor/llama.cpp b77d646..7e1e28c
Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for 7708b3d - Browse repository at this point
Copy the full SHA 7708b3dView commit details -
feat(llama): support llama_model_params load_mode
- Update model loading configuration to use the new `load_mode` field from llama_model_params and align with the latest llama.cpp API changes. - Remove deprecated internal handling of legacy loading flags and keep backward compatibility by warning users when `use_mmap`, `use_direct_io`, or `use_mlock` are still used. - This prepares the Python bindings for the updated llama.cpp model loading interface while providing a smoother migration path for existing users. Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for 00591a5 - Browse repository at this point
Copy the full SHA 00591a5View commit details -
docs: document
load_modemigration- Replace references to the legacy model loading flags with load_mode, document all supported loading modes for the Python API and server, and update the performance tuning example. Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for bab3061 - Browse repository at this point
Copy the full SHA bab3061View commit details
Commits on Jul 30, 2026
-
Update Submodule vendor/llama.cpp 7e1e28c..e1a1abb
Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for f8bc6b0 - Browse repository at this point
Copy the full SHA f8bc6b0View commit details
Commits on Jul 31, 2026
-
Update Submodule vendor/llama.cpp e1a1abb..876a432
Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for 9ac3f54 - Browse repository at this point
Copy the full SHA 9ac3f54View commit details -
feat(llama): expose additional model loading options
- add `no_alloc` and `load_mtp` parameters - enable `extra buffer types` by default Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for 6f60d03 - Browse repository at this point
Copy the full SHA 6f60d03View commit details -
fix(ctypes): correct llama-ext binding signatures
- use uint32_t for layer IDs - fix void return type for embedding extraction control - return target layer count as uint32_t Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for aafc6fb - Browse repository at this point
Copy the full SHA aafc6fbView commit details -
- This release focuses on reactivating and modernizing Llama’s built-in embedding capabilities, aligning the Python bindings with the latest llama.cpp APIs, and improving reliability across platforms. Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for d9d27a7 - Browse repository at this point
Copy the full SHA d9d27a7View commit details
Commits on Aug 2, 2026
-
Update Submodule vendor/llama.cpp 876a432..221f0f6
Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for 07c0425 - Browse repository at this point
Copy the full SHA 07c0425View commit details
Commits on Aug 3, 2026
-
Update Submodule vendor/llama.cpp 221f0f6..563dec8
Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for 88fce16 - Browse repository at this point
Copy the full SHA 88fce16View commit details -
fix(windows): handle conflicting OpenMP and ggml libraries
- Allow duplicate OpenMP runtimes in complex environments such as ComfyUI - Stop searching the deprecated /bin directory for ggml dynamic libraries Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for 62d3ae5 - Browse repository at this point
Copy the full SHA 62d3ae5View commit details -
feat(internals): expose NextN embedding APIs on
LlamaContext- Add accessors for NextN and layer input embeddings - Support selecting the NextN layer offset - Expose the auxiliary context handle - Validate layer IDs, offsets, and unavailable outputs Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for 9af4ec3 - Browse repository at this point
Copy the full SHA 9af4ec3View commit details
Commits on Aug 4, 2026
-
Update Submodule vendor/llama.cpp 563dec8..1c3c967
Signed-off-by: JamePeng <jame_peng@sina.com>
Configuration menu - View commit details
-
Copy full SHA for 00a8412 - Browse repository at this point
Copy the full SHA 00a8412View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main