Repository navigation
llama.cpp v0.9.0 に更新 - #22
Merged
Merged
Conversation
vendor/llama.cpp を v0.8.0 (8642541) から v0.9.0 (cd959ba) へ更新する。 v0.8.0..v0.9.0 では windows-setup-cuda action、ggml-cuda / ggml-hip の CMake 設定、およびこのリポジトリが指定する CMake オプション (GGML_CUDA_NO_PEER_COPY / GGML_CUDA_CCCL_VERSION / GGML_BACKEND_DL / GGML_NATIVE / LLAMA_BUILD_BORINGSSL) に変更がないため、ワークフローは変更しない。 上流で Windows の全 exe にアプリケーションマニフェスト (UTF-8 コードページ、 longPathAware) を埋め込む処理が追加された (#31329)。ROCm ビルドと同じ 「ROCm clang.exe + Unix Makefiles」構成は上流の build-cuda-windows.yml でも ビルドされており、マニフェストは exe に埋め込まれるためパッケージ処理の 変更も不要。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vazb8knSXCxaEyp4yoA94Y
llama.cpp v0.9.0 で全 exe にアプリケーションマニフェストを埋め込む処理が 入った (ggml-org/llama.cpp#31329)。ROCm ビルドは VS 開発者シェルを通さずに ROCm clang + lld-link でリンクするため、マニフェストのマージで "lld-link: error: unable to find mt.exe in PATH" となり失敗していた。 scripts/Find-WindowsSdkMt.ps1 で最新の Windows SDK の mt.exe を探し、 ワークフローの Build ROCm ステップと Build-Rocm.ps1 で PATH の先頭に追加する。 ビルド環境が変わるため、ROCm ビルドキャッシュのキーにも新スクリプトを含める。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vazb8knSXCxaEyp4yoA94Y
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.
概要
vendor/llama.cppを v0.8.0 (8642541) から v0.9.0 (cd959ba) へ更新v0.9.0に更新mt.exeを PATH に追加(scripts/Find-WindowsSdkMt.ps1を新設)ワークフローを変更しない理由
v0.8.0..v0.9.0 の差分で、このリポジトリが依存する以下の箇所には変更がありません。
.github/actions/windows-setup-cudaggml/src/ggml-cuda/CMakeLists.txt/ggml/src/ggml-hipGGML_CUDA_NO_PEER_COPY/GGML_CUDA_CCCL_VERSION/GGML_BACKEND_DL/GGML_NATIVE/LLAMA_BUILD_BORINGSSL)ROCm ビルドの修正
上流で Windows の全 exe にアプリケーションマニフェスト(UTF-8 コードページ、longPathAware)を埋め込む処理が追加されました (ggml-org/llama.cpp#31329)。ROCm ジョブは VS 開発者シェルを通さずに ROCm clang + lld-link でリンクするため、
lld-link: error: unable to find mt.exe in PATHで失敗していました。Find-WindowsSdkMt.ps1で最新の Windows SDK のmt.exeを探し、ワークフローのBuild ROCmステップとBuild-Rocm.ps1で PATH の先頭に追加します。ROCm ビルドキャッシュのキーにも新スクリプトを含めました。CUDA / Vulkan は vcvarsall 経由なので影響ありません。確認事項
windows-smokeが通ることBuild Windows GPU binariesを ROCm で手動実行して成功することggml_backend_cuda_buffer_cpy_tensor_nが追加され、GGML_CUDA_NO_PEER_COPYの分岐を含むため、peer-copy / no-peer-copy の両方を可能ならBuild Windows GPU binariesで手動実行して確認https://claude.ai/code/session_01Vazb8knSXCxaEyp4yoA94Y
Generated by Claude Code