Repository navigation
Release workflow: manual release with a version; Windows llama.cpp fixed - #4
Merged
Merged
Conversation
…out OpenMP - workflow_dispatch version=x.y.z builds, smoke-tests and publishes, creating the tag vx.y.z on the commit it built (tag pushes still work as before) - llama.cpp release builds without OpenMP: no vcomp140.dll on Windows, no libgomp on Linux (LLAMA_PORTABLE=1 now implies it); measured cost ~0 - Windows smoke test prints the exit code and llama.log when memagent fails (the first run died right after the GGUF download with no output) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NPVFJHeBeotAKkU7EPbTgn
…Ls in CI The Windows smoke test dies right after the GGUF download (exit 127, no output). Each load step now prints a flushed line with MEMAGENT_DEBUG=1, and CI loads each DLL on its own so a missing dependency is named. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NPVFJHeBeotAKkU7EPbTgn
…cpp's own stderr log memagent dies inside llama_model_load_from_file on Windows before llama.cpp logs anything; this run shows the NTSTATUS and llama.cpp's unbuffered log. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NPVFJHeBeotAKkU7EPbTgn
memagent dies inside llama_model_load_from_file with 0xC0000409 (fast fail) and no llama.cpp output. A C program built with MSVC against the same build shows whether the library or the Pascal call is at fault. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NPVFJHeBeotAKkU7EPbTgn
The C reference program crashed exactly like memagent (0xC0000409 in llama_model_load_from_file, same struct sizes as Mem.Llama), so the Pascal binding is right and the build was wrong: with /MT every DLL has its own CRT heap, and llama.cpp passes C++ objects between ggml and llama. The package already ships vcruntime140/msvcp140 for /MD. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NPVFJHeBeotAKkU7EPbTgn
Keeps the DLL probe and the MEMAGENT_DEBUG trace in the smoke test. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NPVFJHeBeotAKkU7EPbTgn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #3, needed to ship the first release. With these changes the Windows package passes its smoke test, so the release can be built.
Changes
releaseby hand withversion=0.1.0(workflow_dispatch). It builds and smoke-tests both platforms, then publishes, creating the tagv0.1.0on the commit it built. Pushing av*tag still works./MD). The Windows package died insidellama_model_load_from_filewith0xC0000409and no llama.cpp output.Mem.Llama(80/168/56/16). So the binding is right./MTflag I had added. With/MT, every DLL gets its own C runtime heap, and llama.cpp passes C++ objects betweenggml-base,ggmlandllama. The package already shipsvcruntime140/msvcp140, which/MDneeds.LLAMA_PORTABLE=1now impliesGGML_OPENMP=OFF). This removes thevcomp140.dlldependency on Windows and thelibgompdependency on Linux. On 4 cores the speed difference is within noise.MEMAGENT_DEBUG=1prints one flushed stderr line per llama.cpp load step and leaves llama.cpp's own stderr log on. The Windows CI uses it in the smoke test, together with a probe that loads each DLL and names any missing dependency.CI (this PR)
🤖 Generated with Claude Code
https://claude.ai/code/session_01NPVFJHeBeotAKkU7EPbTgn