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

[SavedModelBundleLite] Avoid copying the GraphDef during the load path. #64858

Merged
merged 1 commit into from Apr 2, 2024

Conversation

copybara-service[bot]
Copy link

[SavedModelBundleLite] Avoid copying the GraphDef during the load path.

Previously, we reused the "legacy" SavedModelBundle loading path, then discarded the unused MetaGraphDef. An old TODO called out the opportunity to avoid copying the MetaGraphDef's GraphDef, and this change does that.

@copybara-service copybara-service bot force-pushed the exported_pr_620919317 branch 3 times, most recently from ffd701b to b095b27 Compare April 2, 2024 04:03
Previously, we reused the "legacy" SavedModelBundle loading path, then discarded the unused MetaGraphDef. An old TODO called out the opportunity to avoid copying the MetaGraphDef's GraphDef, and this change does that.

PiperOrigin-RevId: 621045248
@copybara-service copybara-service bot merged commit 3932830 into master Apr 2, 2024
@copybara-service copybara-service bot deleted the exported_pr_620919317 branch April 2, 2024 04:36
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.

None yet

1 participant