File size: 840 Bytes
0190e6b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

from typing import TYPE_CHECKING

if TYPE_CHECKING:
    from alpamayo2_super.config import Alpamayo2SuperConfig
    from alpamayo2_super.models.alpamayo2_super import Alpamayo2Super

__all__ = ["Alpamayo2Super", "Alpamayo2SuperConfig"]


def __getattr__(name: str):
    """Lazily expose public classes without importing heavy model dependencies."""
    if name == "Alpamayo2SuperConfig":
        from alpamayo2_super.config import Alpamayo2SuperConfig

        return Alpamayo2SuperConfig
    if name == "Alpamayo2Super":
        from alpamayo2_super.models.alpamayo2_super import Alpamayo2Super

        return Alpamayo2Super
    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")