Repository navigation
fix(jit): widen kernel IDs and preserve full cache hashes - #125
Merged
Merged
Conversation
Signed-off-by: jinzhen.ljz <jinzhen.ljz@antgroup.com> Co-authored-by: Codex (GPT-6) <codex@openai.com>
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.
Kernel registration can fail when distinct cubin paths share a CRC32 and the kernels have the same symbol name, as seen in Buildkite build 61. Compute a shared nonnegative 63-bit registration ID from CRC-64/ECMA-182 over the full cubin path, a null separator, and the kernel name. Apply this to both GEMM and process-input registration, retain collision checks, and initialize the lookup table safely under concurrent calls.
Return all 32 hexadecimal MD5 characters from
hash_to_hexinstead of truncating to 16. This changes cache keys, so affected JIT and native artifacts will be rebuilt.Validation:
python -m pytest tests/test_jit_infrastructure.py tests/kernels/process_input/test_scale.py -q— 107 passed on RTX PRO 6000 Blackwell GPUs.git diff --check.