[Performance] Add per-component DLO offload policy

Signed-off-by: hsliuustc0106 <liuhongsheng4@huawei.com>
This commit is contained in:
hsliuustc0106 committed 2026-08-26 07:23:36 +08:00
1 parent 780e8d40aa
commit 7db3a0cd5e
15 files changed
+324 -21

No files matched your search

@@ -1436,7 +1436,7 @@ class MiniMaxH3Pipeline(
with sequential_offload_component(component):
yield
return
staged = self._uses_manual_component_offload()
staged = self._uses_manual_component_offload() and getattr(component, "_omni_dlo_offload_enabled", True)
try:
if staged:
component.load_to_device()