Repository navigation
pr-set : repin #268 (WSL2 fix for the MoE cache with mmap load) - #482
Merged
Merged
Conversation
…ce address with cudaMemcpyAsync)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Repins #268 from
85ca63fd41fto its new head1d1e4f54979, on top of master8adea977c54. Only the #268 URL inscripts/unsloth/pr-set.jsonchanges.What the new #268 commit changes
One commit,
ggml/src/ggml-cuda/ggml-cuda.cu+21/-2. It fixes an illegal memory access in CUDA that only shows up on WSL2 when the MoE expert cache is combined with an mmap model load. Some copy sources are registered host memory that the device reads at a different address from the host pointer. Those regions are now copied withcudaMemcpyAsyncinstead of being batched throughcudaMemcpyBatchAsync. On native Linux the path is unchanged.The #268 evidence:
Gate
The same gate as the previous pin-set change, run on a CPU VM. It runs the nightly's merge loop with
additive_merge.py, thenreconcile_op_count.py,merge_checks.pyandpin_contract.pyfrom this branch. On the aged and newest tags it also builds with the Linux CPU leg's exact configure under gcc 11 (LLAMA_FATAL_WARNINGS=ON, every CPU variant, tools and server) and runs a clang-Werror -Wdeprecated-declarationspass over the pin-changed C/C++ files.As before, clang also reports the six atomics lines in
ggml/src/ggml-cpu/ggml-cpu.cthat come from the harness pointing clang at gcc 11's include directory foromp.h; nothing else.The CUDA file this commit touches is not compiled by the CPU gate. The commit only adds a branch around existing CUDA runtime calls, and the nightly's CUDA legs build it.