AQIT
0.1.0
Toggle main menu visibility
Loading...
Searching...
No Matches
__init__.py
Go to the documentation of this file.
1
# Copyright (c) 2025-present Aquin Labs Private Limited. All Rights Reserved.
2
# This file is part of the Aquin Engine. Unauthorized copying, modification,
3
# distribution, or use of this file, via any medium, is strictly prohibited.
4
# Proprietary and confidential. See LICENSE for terms.
5
6
"""Aquin Python package — SDK + CLI.
7
8
Import stays light so ``python -m aquin`` / install probes do not pull torch.
9
10
Training recorder::
11
12
from aquin import init, Run
13
14
Full framework SDK (same capabilities as the CLI)::
15
16
from aquin import sdk
17
sdk.session.load_model("meta-llama/Llama-3.2-1B-Instruct")
18
sdk.eval.custom(...)
19
sdk.inspect.trace(prompt="...", layer=8)
20
"""
21
22
from
__future__
import
annotations
23
24
from
typing
import
Any
25
26
__all__ = [
27
"Run"
,
28
"init"
,
29
"AccessDeniedError"
,
30
"sdk"
,
31
"AquinError"
,
32
]
33
34
35
class
AccessDeniedError
(Exception):
36
pass
37
38
39
def
__getattr__
(name: str) -> Any:
40
if
name
in
(
"Run"
,
"init"
):
41
from
aquin.run
import
Run, init
42
43
return
Run
if
name ==
"Run"
else
init
44
if
name ==
"sdk"
:
45
import
aquin.sdk
as
sdk_pkg
46
47
return
sdk_pkg
48
if
name ==
"AquinError"
:
49
from
aquin.sdk._runtime
import
AquinError
50
51
return
AquinError
52
raise
AttributeError(f
"module {__name__!r} has no attribute {name!r}"
)
aquin.AccessDeniedError
Definition
__init__.py:39
aquin.run
Definition
run.py:1
aquin.sdk._runtime
Definition
_runtime.py:1
aquin.sdk
Definition
__init__.py:1
aquin.__getattr__
Any __getattr__(str name)
Definition
__init__.py:43
aquin
__init__.py
AQIT · Aquin Labs Private Limited · Apache 2.0 · Generated by
1.18.0