Files
wehub-resource-sync a203934033
Lint test / lint (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:34:58 +08:00

27 lines
742 B
Python

# Copyright (c) ModelScope Contributors. All rights reserved.
from typing import TYPE_CHECKING
from swift.utils.import_utils import _LazyModule
if TYPE_CHECKING:
from .deploy import SwiftDeploy, deploy_main, run_deploy
from .infer import SwiftInfer, infer_main
from .rollout import rollout_main
else:
_import_structure = {
'rollout': ['rollout_main'],
'infer': ['infer_main', 'SwiftInfer'],
'deploy': ['deploy_main', 'SwiftDeploy', 'run_deploy'],
'protocol': ['RequestConfig', 'Function'],
}
import sys
sys.modules[__name__] = _LazyModule(
__name__,
globals()['__file__'],
_import_structure,
module_spec=__spec__,
extra_objects={},
)