You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
## Overview
This PR enhances the `TritonParseManager` context manager by adding support for tensor blob storage configuration.
## Changes
- **New Parameters Added to `TritonParseManager.__init__`**:
- `enable_tensor_blob_storage` (bool, default: `False`): Enables tensor blob storage when set to `True`
- `tensor_storage_quota` (int, optional, default: `None`): Sets storage quota in bytes for tensor blobs (default quota is 100GB when enabled)
- **Implementation Details**:
- The new parameters are properly stored as instance attributes
- Parameters are passed through to the `init()` function in the `__enter__` method
- Uses conditional inclusion: `tensor_storage_quota` is only passed to `init()` when explicitly set (not `None`)
## Impact
- Backward compatible: All new parameters have default values
- Provides users with fine-grained control over tensor blob storage behavior
- Maintains clean API design by conditionally passing parameters only when needed
Pull Request resolved: #159
Reviewed By: sfzhu93
Differential Revision: D84107701
Pulled By: FindHao
fbshipit-source-id: d8918a948f7c14a820e5a701c1ef15079e30583d
0 commit comments