Skip to content

Add TensorBlobManager for efficient tensor storage #19

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FindHao
Copy link
Member

@FindHao FindHao commented Jun 24, 2025

Summary:

  • Introduced TensorBlobManager class to manage tensor data as content-addressed blobs using BLAKE2b hashing.
  • Implemented methods for saving tensors, computing hashes, and managing blob storage paths.
  • Added environment variables to enable tensor blob storage and set size limits.
  • Updated logging initialization to incorporate the tensor blob manager if enabled.
  • Enhanced argument extraction to include tensor blob metadata when applicable.

This update improves the handling of tensor data, allowing for efficient storage and retrieval while maintaining compatibility with existing logging mechanisms.

Summary:
- Introduced TensorBlobManager class to manage tensor data as content-addressed blobs using BLAKE2b hashing.
- Implemented methods for saving tensors, computing hashes, and managing blob storage paths.
- Added environment variables to enable tensor blob storage and set size limits.
- Updated logging initialization to incorporate the tensor blob manager if enabled.
- Enhanced argument extraction to include tensor blob metadata when applicable.

This update improves the handling of tensor data, allowing for efficient storage and retrieval while maintaining compatibility with existing logging mechanisms.
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 24, 2025
@facebook-github-bot
Copy link
Contributor

@FindHao has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants