firstlight 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- firstlight/__init__.py +24 -0
- firstlight/__main__.py +870 -0
- firstlight/aihub.py +456 -0
- firstlight/bench.py +127 -0
- firstlight/check.py +224 -0
- firstlight/contract.py +187 -0
- firstlight/data/build_census.json +4326 -0
- firstlight/data/gpu_builds.json +3933 -0
- firstlight/data/host_simulation.json +110 -0
- firstlight/data/paper_graphs.json +9 -0
- firstlight/data/phone_first_set.json +5702 -0
- firstlight/data/phone_held_out.json +1487 -0
- firstlight/data/pricing.json +2743 -0
- firstlight/host.py +314 -0
- firstlight/model.py +198 -0
- firstlight/price.py +160 -0
- firstlight/replay.py +104 -0
- firstlight/trt.py +668 -0
- firstlight-0.1.0.dist-info/METADATA +62 -0
- firstlight-0.1.0.dist-info/RECORD +25 -0
- firstlight-0.1.0.dist-info/WHEEL +5 -0
- firstlight-0.1.0.dist-info/entry_points.txt +2 -0
- firstlight-0.1.0.dist-info/licenses/LICENSE +202 -0
- firstlight-0.1.0.dist-info/licenses/LICENSE-data +7 -0
- firstlight-0.1.0.dist-info/top_level.txt +1 -0
firstlight/__init__.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Check whether a compiled looped model computes the right answer on a device."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from .check import DEFAULTS, DefaultThreshold, Verdict, calibrate, check, cosine, default_threshold
|
|
6
|
+
from .contract import export
|
|
7
|
+
from .host import Reference, Repair, host_run, repair
|
|
8
|
+
from .model import Spec
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"DEFAULTS",
|
|
12
|
+
"DefaultThreshold",
|
|
13
|
+
"Reference",
|
|
14
|
+
"Repair",
|
|
15
|
+
"Spec",
|
|
16
|
+
"Verdict",
|
|
17
|
+
"calibrate",
|
|
18
|
+
"check",
|
|
19
|
+
"cosine",
|
|
20
|
+
"default_threshold",
|
|
21
|
+
"export",
|
|
22
|
+
"host_run",
|
|
23
|
+
"repair",
|
|
24
|
+
]
|