Skip to content

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.

@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.

@FindHao FindHao force-pushed the cherry-pick-tensor-blob-manager branch 2 times, most recently from d44ff77 to b8e94a2 Compare September 17, 2025 22:05
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.
@FindHao FindHao force-pushed the cherry-pick-tensor-blob-manager branch from b8e94a2 to 1d22961 Compare September 17, 2025 22:17
@FindHao FindHao marked this pull request as draft September 17, 2025 22:30
@facebook-github-bot
Copy link
Contributor

@FindHao has imported this pull request. If you are a Meta employee, you can view this in D77232871.

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