-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gemini] fix tensor storage cleaning in state dict collection
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
from .chunk import Chunk, ChunkFullError, TensorInfo, TensorState | ||
from .chunk import Chunk, ChunkFullError, TensorInfo, TensorState, free_storage | ||
from .manager import ChunkManager | ||
from .search_utils import classify_params_by_dp_degree, search_chunk_configuration | ||
from .utils import init_chunk_manager | ||
|
||
__all__ = ['Chunk', 'ChunkManager', 'classify_params_by_dp_degree', 'search_chunk_configuration', 'init_chunk_manager'] | ||
__all__ = [ | ||
'Chunk', 'ChunkManager', 'classify_params_by_dp_degree', 'search_chunk_configuration', 'init_chunk_manager', | ||
'free_storage' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters