Skip to content

Fix C/Python serialization for FP16. Add python tests#1429

Merged
rapids-bot[bot] merged 1 commit intorapidsai:branch-25.12from
lowener:25.12-serialize-fp16
Oct 15, 2025
Merged

Fix C/Python serialization for FP16. Add python tests#1429
rapids-bot[bot] merged 1 commit intorapidsai:branch-25.12from
lowener:25.12-serialize-fp16

Conversation

@lowener
Copy link
Copy Markdown
Contributor

@lowener lowener commented Oct 14, 2025

Signed-off-by: Mickael Ide <mide@nvidia.com>
@lowener lowener requested a review from a team as a code owner October 14, 2025 20:59
@lowener lowener added bug Something isn't working non-breaking Introduces a non-breaking change labels Oct 14, 2025
Copy link
Copy Markdown
Contributor

@benfred benfred left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch - we should definitely be using 'e' for the char code for float16 to align with numpy/raft https://numpy.org/doc/stable/reference/arrays.scalars.html#numpy.half

Thanks for updating the unittests to test this out too!

@benfred
Copy link
Copy Markdown
Contributor

benfred commented Oct 15, 2025

/merge

@rapids-bot rapids-bot Bot merged commit 40c5340 into rapidsai:branch-25.12 Oct 15, 2025
86 checks passed
@lowener lowener deleted the 25.12-serialize-fp16 branch October 21, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Introduces a non-breaking change

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[BUG] CAGRA fails to load float16 cache.

2 participants