Directory rename (git mv, history preserved) plus rewrite of all references: absolute imports in tests, the zero-dep runner, docstrings, comments, and the README. No behavior change. Run: python3 -m pytest v2/tests/ -q ; python3 v2/run_tests.py ; python3 -m v2.examples
30 lines
943 B
Python
30 lines
943 B
Python
"""Model Plane — the center (design_v3 §4). The (recipe, runtime) pair as a typed card."""
|
|
from __future__ import annotations
|
|
|
|
from .._enums import Capability, ConsistencyLevel, ExecutionProfile, LoopKind, WorkUnitKind
|
|
from .instance import ModelInstance, load_card
|
|
from .specs import (
|
|
CacheContract,
|
|
CapabilityMatrix,
|
|
CardValidationError,
|
|
CheckpointManifest,
|
|
ComponentSpec,
|
|
CostModel,
|
|
DataRef,
|
|
LoopSpec,
|
|
ModelCard,
|
|
ParallelismContract,
|
|
ParitySpec,
|
|
ParityTestSpec,
|
|
PrecisionContract,
|
|
RecipeSpec,
|
|
)
|
|
|
|
__all__ = [
|
|
"ModelCard", "ComponentSpec", "LoopSpec", "RecipeSpec", "ParitySpec", "ParityTestSpec",
|
|
"CheckpointManifest", "CapabilityMatrix", "CostModel", "CacheContract",
|
|
"ParallelismContract", "PrecisionContract", "DataRef", "CardValidationError",
|
|
"ModelInstance", "load_card",
|
|
"Capability", "ConsistencyLevel", "ExecutionProfile", "LoopKind", "WorkUnitKind",
|
|
]
|