File size: 579 Bytes
cd26350
 
 
 
6d70778
 
 
cd26350
 
6d70778
 
115794d
cd26350
 
115794d
 
cd26350
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""Configuration package for Necthrall Lite.

This package re-exports the policy/configuration from :mod:`config.config`
so that `import config` exposes the expected configuration variables.

CRITICAL: Threading optimization (_threading.py) is imported FIRST to ensure
multi-core mode is enabled before numpy/torch/onnxruntime are imported anywhere.
"""

# CRITICAL: Import threading config before anything else
from . import _threading  # noqa: F401 (sets env vars, has side effects)
from .config import Settings, get_settings

__all__ = [
    "get_settings",
    "Settings",
]