Skip to content

Commit

Permalink
[feature] new zero implementation (#1623)
Browse files Browse the repository at this point in the history
  • Loading branch information
1SAA committed Sep 24, 2022
1 parent f921733 commit 5be118f
Show file tree
Hide file tree
Showing 29 changed files with 918 additions and 1,540 deletions.
8 changes: 2 additions & 6 deletions colossalai/gemini/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
from .chunk import TensorInfo, Chunk, TensorState
from .chunk_mgr import ChunkManager
from .chunk import TensorInfo, TensorState
from .stateful_tensor_mgr import StatefulTensorMgr
from .tensor_placement_policy import TensorPlacementPolicyFactory
from .gemini_mgr import GeminiManager

__all__ = [
'StatefulTensorMgr', 'TensorPlacementPolicyFactory', 'GeminiManager', 'ChunkManager', 'TensorInfo', 'Chunk',
'TensorState'
]
__all__ = ['StatefulTensorMgr', 'TensorPlacementPolicyFactory', 'GeminiManager', 'TensorInfo', 'TensorState']
316 changes: 0 additions & 316 deletions colossalai/gemini/chunk.py

This file was deleted.

3 changes: 3 additions & 0 deletions colossalai/gemini/chunk/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .chunk import TensorState, TensorInfo, ChunkFullError, Chunk
from .manager import ChunkManager
from .search_utils import clasify_params, search_chunk_configuration

0 comments on commit 5be118f

Please sign in to comment.