Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gpu): fix compression #1485

Merged
merged 1 commit into from
Sep 10, 2024
Merged

fix(gpu): fix compression #1485

merged 1 commit into from
Sep 10, 2024

Conversation

pdroalves
Copy link
Contributor

@pdroalves pdroalves commented Aug 21, 2024

Fixes some edge cases, including booleans and multi-gpu.

closes: https://github.com/zama-ai/tfhe-rs-internal/issues/686

PR content/description

Check-list:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Relevant issues are marked as resolved/closed, related issues are linked in the description
  • Check for breaking changes (including serialization changes) and add them to commit message following the conventional commit specification

@cla-bot cla-bot bot added the cla-signed label Aug 21, 2024
@pdroalves pdroalves force-pushed the pa/fix/multigpu_compression branch 3 times, most recently from 63ffe07 to b555014 Compare August 21, 2024 15:07
@agnesLeroy agnesLeroy force-pushed the pa/fix/multigpu_compression branch from b555014 to 207f689 Compare September 3, 2024 07:14
@pdroalves pdroalves marked this pull request as ready for review September 5, 2024 12:12
@pdroalves pdroalves force-pushed the pa/fix/multigpu_compression branch 2 times, most recently from 9c18d2d to 6f9337e Compare September 5, 2024 18:02
@pdroalves pdroalves changed the title fix(gpu): fix compression on multi-gpu fix(gpu): fix compression Sep 5, 2024
@pdroalves pdroalves force-pushed the pa/fix/multigpu_compression branch 5 times, most recently from 5bf3a50 to 8333a66 Compare September 6, 2024 14:22
@pdroalves
Copy link
Contributor Author

Now we can run compression benchmarks using the target bench_integer_compression_gpu and tests using test_integer_compression_gpu.

@pdroalves pdroalves force-pushed the pa/fix/multigpu_compression branch 2 times, most recently from e525fae to 4611054 Compare September 6, 2024 16:03
@pdroalves pdroalves requested a review from agnesLeroy September 6, 2024 16:12
Copy link
Contributor

@agnesLeroy agnesLeroy left a comment

Choose a reason for hiding this comment

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

Hey @pdroalves! Thanks a lot for this fix: I just have one question, just to check the additional argument bodies_count is necessary 🙂

@pdroalves pdroalves force-pushed the pa/fix/multigpu_compression branch from 4611054 to 3d85789 Compare September 9, 2024 13:37
@pdroalves pdroalves force-pushed the pa/fix/multigpu_compression branch from 3d85789 to bc9d7a6 Compare September 9, 2024 13:38
Copy link
Contributor

@agnesLeroy agnesLeroy left a comment

Choose a reason for hiding this comment

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

We still have body on the c++ side vs bodies on the Rust side, but that's not really so much of an issue I'll merge it as it is I think.

@agnesLeroy agnesLeroy merged commit 2a4026c into main Sep 10, 2024
85 of 87 checks passed
@agnesLeroy agnesLeroy deleted the pa/fix/multigpu_compression branch September 10, 2024 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants