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

feat(compression): extend interpreter to handle compressed tensors #3002

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

rkuester
Copy link
Contributor

Add methods and data structures to handle compressed tensors in
the core allocator, context, and interpreter. Extend the
interpreter unit test. Add test helpers to build models with
compressed tensors and compression metadata.

BUG=part of #2636

Add methods and data structures to handle compressed tensors in
the core allocator, context, and interpreter. Extend the
interpreter unit test. Add test helpers to build models with
compressed tensors and compression metadata.

BUG=part of tensorflow#2636
@rkuester rkuester requested a review from a team as a code owner December 10, 2024 02:15
@rkuester rkuester requested a review from suleshahid December 10, 2024 02:16
@@ -172,6 +177,7 @@ tflm_cc_library(
tflm_cc_library(
name = "micro_allocator",
srcs = [
"compression.h",
Copy link
Collaborator

Choose a reason for hiding this comment

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

.h should go in hdrs.
also isn't adding it to the deps enough?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed. Fixed in 99fc059.

Copy link
Contributor

mergify bot commented Dec 10, 2024

This pull request has been removed from the queue for the following reason: pull request dequeued.

Pull request #3002 has been dequeued. The pull request could not be merged. This could be related to an activated branch protection or ruleset rule that prevents us from merging. (detail: 19 of 20 required status checks have not succeeded: 16 expected.).

You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it.

If you want to requeue this pull request, you need to post a comment with the text: @mergifyio requeue

@mergify mergify bot merged commit 112d7a6 into tensorflow:main Dec 10, 2024
98 of 99 checks passed
@rkuester rkuester deleted the feat-compression branch December 10, 2024 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants