[Model] Optimize MiniMax-H3 DLO component lifecycle (#6526)

Signed-off-by: hsliuustc0106 <liuhongsheng4@huawei.com>
This commit is contained in:
Hongsheng Liu authored and GitHub committed 2026-08-25 23:13:41 +08:00
1 parent dd527b4245
commit 5a8b81ebeb
9 files changed
+701 -75

No files matched your search

+2 -1
View File
@@ -17,7 +17,7 @@ from .distributed_layerwise_backend import (
remove_distributed_block_hook,
)
from .layerwise_backend import LayerWiseOffloadBackend
from .module_residency import PinnedModuleStager
from .module_residency import BoundedAllocatorCache, PinnedModuleStager
from .offload_plan import OffloadPlan, get_offload_plan
from .sequential_backend import (
ModelLevelOffloadBackend,
@@ -46,6 +46,7 @@ __all__ = [
"DistributedLayerwiseOffloadBackend",
"DistributedLayerwiseOffloadHook",
"ModelLevelOffloadBackend",
"BoundedAllocatorCache",
"PinnedModuleStager",
"apply_sequential_offload",
"remove_sequential_offload",