spatial-computing 0.26.0__py3-none-any.whl → 0.28.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.
- spatial/__init__.py +1 -1
- spatial/automotive/__init__.py +5 -0
- spatial/automotive/placement.py +101 -0
- spatial/cli.py +21 -0
- spatial/compute/workloads.py +78 -0
- spatial/platform/service.py +6 -0
- spatial/unified/providers.py +7 -1
- {spatial_computing-0.26.0.dist-info → spatial_computing-0.28.0.dist-info}/METADATA +2 -1
- {spatial_computing-0.26.0.dist-info → spatial_computing-0.28.0.dist-info}/RECORD +13 -11
- {spatial_computing-0.26.0.dist-info → spatial_computing-0.28.0.dist-info}/WHEEL +0 -0
- {spatial_computing-0.26.0.dist-info → spatial_computing-0.28.0.dist-info}/entry_points.txt +0 -0
- {spatial_computing-0.26.0.dist-info → spatial_computing-0.28.0.dist-info}/licenses/LICENSE +0 -0
- {spatial_computing-0.26.0.dist-info → spatial_computing-0.28.0.dist-info}/top_level.txt +0 -0
spatial/__init__.py
CHANGED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"""In-vehicle multi-chip workload placement. See spatial.automotive.placement."""
|
|
2
|
+
|
|
3
|
+
from .placement import Chip, Placement, PlacementError, Task, makespan_s, place, total_energy_j
|
|
4
|
+
|
|
5
|
+
__all__ = ["Chip", "Placement", "PlacementError", "Task", "makespan_s", "place", "total_energy_j"]
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"""In-vehicle multi-chip workload placement.
|
|
2
|
+
|
|
3
|
+
Real, documented gap (not invented): a modern vehicle runs several heterogeneous
|
|
4
|
+
chips (a perception SoC, a separate NPU, a general MCU...) and, per published
|
|
5
|
+
research (DAVOS, arXiv 2601.05072, 2026), "resource management, data movement,
|
|
6
|
+
and scheduling decisions are made independently across stacks" today -- no
|
|
7
|
+
joint placement. This module applies the project's placement idea -- one task,
|
|
8
|
+
several devices, lowest finish time -- to that gap: given a task graph and a
|
|
9
|
+
declared chip catalogue, place each task on the chip that finishes it earliest
|
|
10
|
+
without violating dependency order.
|
|
11
|
+
|
|
12
|
+
Software only. There is no automotive silicon here to run anything on, same
|
|
13
|
+
honesty as the generated-only CUDA/HIP/Triton kernel back ends: chip throughput
|
|
14
|
+
and power numbers are declared inputs you supply (a datasheet, or your own
|
|
15
|
+
bench), never measured by this module and never presented as real-vehicle
|
|
16
|
+
results. No ISO 26262 or other safety certification claim is made.
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
from dataclasses import dataclass
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class PlacementError(Exception):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
@dataclass(frozen=True)
|
|
27
|
+
class Chip:
|
|
28
|
+
name: str
|
|
29
|
+
flops_per_s: float
|
|
30
|
+
power_w: float
|
|
31
|
+
supports_npu: bool = False
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
@dataclass(frozen=True)
|
|
35
|
+
class Task:
|
|
36
|
+
name: str
|
|
37
|
+
flops: float
|
|
38
|
+
needs_npu: bool = False
|
|
39
|
+
after: tuple[str, ...] = ()
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
@dataclass(frozen=True)
|
|
43
|
+
class Placement:
|
|
44
|
+
task: str
|
|
45
|
+
chip: str
|
|
46
|
+
start_s: float
|
|
47
|
+
finish_s: float
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def _eligible(task: Task, chips: tuple[Chip, ...]) -> tuple[Chip, ...]:
|
|
51
|
+
out = tuple(c for c in chips if not task.needs_npu or c.supports_npu)
|
|
52
|
+
if not out:
|
|
53
|
+
raise PlacementError(f"no chip in the catalogue supports task {task.name!r} (needs_npu=True)")
|
|
54
|
+
return out
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def place(tasks: tuple[Task, ...], chips: tuple[Chip, ...]) -> tuple[Placement, ...]:
|
|
58
|
+
"""Topological placement: each ready task goes on the eligible chip that
|
|
59
|
+
finishes it earliest, given its dependencies' finish times and when that
|
|
60
|
+
chip is next free. Raises PlacementError on an unknown dependency, a cycle,
|
|
61
|
+
an empty chip catalogue, or a task no chip in the catalogue can run."""
|
|
62
|
+
if not chips:
|
|
63
|
+
raise PlacementError("empty chip catalogue")
|
|
64
|
+
by_name = {t.name: t for t in tasks}
|
|
65
|
+
if len(by_name) != len(tasks):
|
|
66
|
+
raise PlacementError("duplicate task name")
|
|
67
|
+
for t in tasks:
|
|
68
|
+
for dep in t.after:
|
|
69
|
+
if dep not in by_name:
|
|
70
|
+
raise PlacementError(f"task {t.name!r} depends on unknown task {dep!r}")
|
|
71
|
+
free_at = {c.name: 0.0 for c in chips}
|
|
72
|
+
finish_of: dict[str, float] = {}
|
|
73
|
+
placed: dict[str, Placement] = {}
|
|
74
|
+
remaining = dict(by_name)
|
|
75
|
+
while remaining:
|
|
76
|
+
ready = [t for t in remaining.values() if all(d in finish_of for d in t.after)]
|
|
77
|
+
if not ready:
|
|
78
|
+
raise PlacementError("dependency cycle among: " + ", ".join(sorted(remaining)))
|
|
79
|
+
for t in ready:
|
|
80
|
+
best = None
|
|
81
|
+
for c in _eligible(t, chips):
|
|
82
|
+
ready_at = max(free_at[c.name], max((finish_of[d] for d in t.after), default=0.0))
|
|
83
|
+
finish = ready_at + t.flops / c.flops_per_s
|
|
84
|
+
if best is None or finish < best[1]:
|
|
85
|
+
best = (c, finish, ready_at)
|
|
86
|
+
chip, finish, start = best
|
|
87
|
+
placed[t.name] = Placement(t.name, chip.name, start, finish)
|
|
88
|
+
free_at[chip.name] = finish
|
|
89
|
+
finish_of[t.name] = finish
|
|
90
|
+
del remaining[t.name]
|
|
91
|
+
return tuple(placed[t.name] for t in tasks)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
def total_energy_j(placements: tuple[Placement, ...], chips: tuple[Chip, ...]) -> float:
|
|
95
|
+
"""Sum of power x busy-time per chip -- declared power, not measured."""
|
|
96
|
+
power = {c.name: c.power_w for c in chips}
|
|
97
|
+
return sum((p.finish_s - p.start_s) * power[p.chip] for p in placements)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
def makespan_s(placements: tuple[Placement, ...]) -> float:
|
|
101
|
+
return max((p.finish_s for p in placements), default=0.0)
|
spatial/cli.py
CHANGED
|
@@ -275,6 +275,24 @@ def cmd_market(a):
|
|
|
275
275
|
return 0
|
|
276
276
|
|
|
277
277
|
|
|
278
|
+
def cmd_automotive(a):
|
|
279
|
+
from .automotive import Chip, PlacementError, Task, makespan_s, place, total_energy_j
|
|
280
|
+
with open(a.file) as f:
|
|
281
|
+
cat = json.load(f)
|
|
282
|
+
try:
|
|
283
|
+
chips = tuple(Chip(c["name"], c["flops_per_s"], c["power_w"], c.get("supports_npu", False)) for c in cat["chips"])
|
|
284
|
+
tasks = tuple(Task(t["name"], t["flops"], t.get("needs_npu", False), tuple(t.get("after", []))) for t in cat["tasks"])
|
|
285
|
+
placements = place(tasks, chips)
|
|
286
|
+
except (PlacementError, KeyError) as e:
|
|
287
|
+
print(f"spatial: {type(e).__name__}: {e}", file=sys.stderr)
|
|
288
|
+
return 1
|
|
289
|
+
for p in placements:
|
|
290
|
+
print(f"{p.task} -> {p.chip} [{p.start_s:.4f}s .. {p.finish_s:.4f}s]")
|
|
291
|
+
print(f"makespan: {makespan_s(placements):.4f}s, energy: {total_energy_j(placements, chips):.4f}J "
|
|
292
|
+
f"(declared chip specs, not measured on real automotive silicon)")
|
|
293
|
+
return 0
|
|
294
|
+
|
|
295
|
+
|
|
278
296
|
def cmd_token(a):
|
|
279
297
|
from .core import auth
|
|
280
298
|
if a.action == "init":
|
|
@@ -355,6 +373,9 @@ def main(argv=None):
|
|
|
355
373
|
p.add_argument("--min-reliability", type=float, default=0.5, help="Vast.ai's own 0..1 host score; a low-reliability offer is excluded by default")
|
|
356
374
|
p.add_argument("--neocloud-usd-per-hour", type=float, default=None, help="your reference 'neocloud' price for this GPU: if given, prints the arbitrage spread instead of just the price")
|
|
357
375
|
p.set_defaults(fn=cmd_market)
|
|
376
|
+
p = sub.add_parser("automotive", help="place a task graph on a declared in-vehicle chip catalogue (software only, no real automotive silicon here)")
|
|
377
|
+
p.add_argument("--file", required=True, help="JSON: {\"chips\":[{\"name\",\"flops_per_s\",\"power_w\",\"supports_npu\"}], \"tasks\":[{\"name\",\"flops\",\"needs_npu\",\"after\"}]}")
|
|
378
|
+
p.set_defaults(fn=cmd_automotive)
|
|
358
379
|
p = sub.add_parser("agent", help="run a fleet agent: measure this machine, report to a hub, run allow-listed tasks")
|
|
359
380
|
p.add_argument("--hub", required=True, help="host:port of the hub")
|
|
360
381
|
p.add_argument("--token-file", required=True, help="shared secret file, or a scoped token with fleet:report,fleet:work")
|
spatial/compute/workloads.py
CHANGED
|
@@ -233,6 +233,72 @@ def pk_telecom_metal(n: int, signals: int) -> int:
|
|
|
233
233
|
return _pk("batch_score", "metal", n, signals=signals)
|
|
234
234
|
|
|
235
235
|
|
|
236
|
+
def pk_health_cpu(n: int, signals: int) -> int:
|
|
237
|
+
"""Portable kernel (spatial.kernel): a healthcare claims/diagnostics triage score, on the CPU. SAME kernel as pk_batch_score (`batch_score`
|
|
238
|
+
in spatial.kernel.library), only the name and docs differ: synthetic signals, no trained model,
|
|
239
|
+
no real data for this vertical. See docs/KERNELS.md."""
|
|
240
|
+
return _pk("batch_score", "cpu", n, signals=signals)
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
def pk_health_metal(n: int, signals: int) -> int:
|
|
244
|
+
return _pk("batch_score", "metal", n, signals=signals)
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
def pk_supplychain_cpu(n: int, signals: int) -> int:
|
|
248
|
+
"""Portable kernel (spatial.kernel): a supply-chain demand-forecast/logistics-risk score, on the CPU. SAME kernel as pk_batch_score (`batch_score`
|
|
249
|
+
in spatial.kernel.library), only the name and docs differ: synthetic signals, no trained model,
|
|
250
|
+
no real data for this vertical. See docs/KERNELS.md."""
|
|
251
|
+
return _pk("batch_score", "cpu", n, signals=signals)
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
def pk_supplychain_metal(n: int, signals: int) -> int:
|
|
255
|
+
return _pk("batch_score", "metal", n, signals=signals)
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
def pk_maintenance_cpu(n: int, signals: int) -> int:
|
|
259
|
+
"""Portable kernel (spatial.kernel): a predictive-maintenance sensor anomaly score, on the CPU. SAME kernel as pk_batch_score (`batch_score`
|
|
260
|
+
in spatial.kernel.library), only the name and docs differ: synthetic signals, no trained model,
|
|
261
|
+
no real data for this vertical. See docs/KERNELS.md."""
|
|
262
|
+
return _pk("batch_score", "cpu", n, signals=signals)
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
def pk_maintenance_metal(n: int, signals: int) -> int:
|
|
266
|
+
return _pk("batch_score", "metal", n, signals=signals)
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
def pk_recommendation_cpu(n: int, signals: int) -> int:
|
|
270
|
+
"""Portable kernel (spatial.kernel): an e-commerce recommendation relevance score, on the CPU. SAME kernel as pk_batch_score (`batch_score`
|
|
271
|
+
in spatial.kernel.library), only the name and docs differ: synthetic signals, no trained model,
|
|
272
|
+
no real data for this vertical. See docs/KERNELS.md."""
|
|
273
|
+
return _pk("batch_score", "cpu", n, signals=signals)
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
def pk_recommendation_metal(n: int, signals: int) -> int:
|
|
277
|
+
return _pk("batch_score", "metal", n, signals=signals)
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
def pk_recruiting_cpu(n: int, signals: int) -> int:
|
|
281
|
+
"""Portable kernel (spatial.kernel): an HR resume/candidate screening score, on the CPU. SAME kernel as pk_batch_score (`batch_score`
|
|
282
|
+
in spatial.kernel.library), only the name and docs differ: synthetic signals, no trained model,
|
|
283
|
+
no real data for this vertical. See docs/KERNELS.md."""
|
|
284
|
+
return _pk("batch_score", "cpu", n, signals=signals)
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
def pk_recruiting_metal(n: int, signals: int) -> int:
|
|
288
|
+
return _pk("batch_score", "metal", n, signals=signals)
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
def pk_grid_cpu(n: int, signals: int) -> int:
|
|
292
|
+
"""Portable kernel (spatial.kernel): an energy-grid load/anomaly score, on the CPU. SAME kernel as pk_batch_score (`batch_score`
|
|
293
|
+
in spatial.kernel.library), only the name and docs differ: synthetic signals, no trained model,
|
|
294
|
+
no real data for this vertical. See docs/KERNELS.md."""
|
|
295
|
+
return _pk("batch_score", "cpu", n, signals=signals)
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
def pk_grid_metal(n: int, signals: int) -> int:
|
|
299
|
+
return _pk("batch_score", "metal", n, signals=signals)
|
|
300
|
+
|
|
301
|
+
|
|
236
302
|
def montecarlo_pi(samples: int, seed: int = 0) -> float:
|
|
237
303
|
rng = np.random.default_rng(seed)
|
|
238
304
|
inside = 0
|
|
@@ -288,6 +354,18 @@ REGISTRY = {
|
|
|
288
354
|
"pk_moderation_metal": pk_moderation_metal,
|
|
289
355
|
"pk_telecom_cpu": pk_telecom_cpu,
|
|
290
356
|
"pk_telecom_metal": pk_telecom_metal,
|
|
357
|
+
"pk_health_cpu": pk_health_cpu,
|
|
358
|
+
"pk_health_metal": pk_health_metal,
|
|
359
|
+
"pk_supplychain_cpu": pk_supplychain_cpu,
|
|
360
|
+
"pk_supplychain_metal": pk_supplychain_metal,
|
|
361
|
+
"pk_maintenance_cpu": pk_maintenance_cpu,
|
|
362
|
+
"pk_maintenance_metal": pk_maintenance_metal,
|
|
363
|
+
"pk_recommendation_cpu": pk_recommendation_cpu,
|
|
364
|
+
"pk_recommendation_metal": pk_recommendation_metal,
|
|
365
|
+
"pk_recruiting_cpu": pk_recruiting_cpu,
|
|
366
|
+
"pk_recruiting_metal": pk_recruiting_metal,
|
|
367
|
+
"pk_grid_cpu": pk_grid_cpu,
|
|
368
|
+
"pk_grid_metal": pk_grid_metal,
|
|
291
369
|
}
|
|
292
370
|
if HAVE_NUMBA:
|
|
293
371
|
REGISTRY["mandel_numba"] = mandel_numba
|
spatial/platform/service.py
CHANGED
|
@@ -38,6 +38,12 @@ CATALOG = {
|
|
|
38
38
|
"pk_alerts_cpu": dict(title="Portable kernel: Security alert score", doc="SIEM-alert-shaped batch scoring (synthetic signals, no real model) on the CPU.", params={"n": (512, 16, 2048), "signals": (16, 1, 200)}),
|
|
39
39
|
"pk_moderation_cpu": dict(title="Portable kernel: Content moderation score", doc="Content-moderation-shaped batch scoring (synthetic signals, no real model) on the CPU.", params={"n": (512, 16, 2048), "signals": (16, 1, 200)}),
|
|
40
40
|
"pk_telecom_cpu": dict(title="Portable kernel: Telecom fraud/billing score", doc="Telecom-fraud/billing-shaped batch scoring (synthetic signals, no real model) on the CPU.", params={"n": (512, 16, 2048), "signals": (16, 1, 200)}),
|
|
41
|
+
"pk_health_cpu": dict(title="Portable kernel: Healthcare claims/diagnostics score", doc="Healthcare-claims/diagnostics-triage-shaped batch scoring (synthetic signals, no real model) on the CPU.", params={"n": (512, 16, 2048), "signals": (16, 1, 200)}),
|
|
42
|
+
"pk_supplychain_cpu": dict(title="Portable kernel: Supply-chain risk score", doc="Supply-chain demand-forecast/logistics-risk-shaped batch scoring (synthetic signals, no real model) on the CPU.", params={"n": (512, 16, 2048), "signals": (16, 1, 200)}),
|
|
43
|
+
"pk_maintenance_cpu": dict(title="Portable kernel: Predictive maintenance score", doc="Sensor-anomaly/predictive-maintenance-shaped batch scoring (synthetic signals, no real model) on the CPU.", params={"n": (512, 16, 2048), "signals": (16, 1, 200)}),
|
|
44
|
+
"pk_recommendation_cpu": dict(title="Portable kernel: E-commerce recommendation score", doc="Recommendation-relevance-shaped batch scoring (synthetic signals, no real model) on the CPU.", params={"n": (512, 16, 2048), "signals": (16, 1, 200)}),
|
|
45
|
+
"pk_recruiting_cpu": dict(title="Portable kernel: Candidate screening score", doc="HR resume/candidate-screening-shaped batch scoring (synthetic signals, no real model) on the CPU.", params={"n": (512, 16, 2048), "signals": (16, 1, 200)}),
|
|
46
|
+
"pk_grid_cpu": dict(title="Portable kernel: Energy grid anomaly score", doc="Energy-grid load/anomaly-shaped batch scoring (synthetic signals, no real model) on the CPU.", params={"n": (512, 16, 2048), "signals": (16, 1, 200)}),
|
|
41
47
|
"matmul": dict(title="Matrix multiply", doc="Dense float64 matrix product of size n.", params={"n": (600, 16, 1500)}),
|
|
42
48
|
"sha256_chain": dict(title="SHA-256 chain", doc="Hash-bound workload: memory bandwidth and SHA throughput.", params={"rounds": (200, 1, 2000)}),
|
|
43
49
|
}
|
spatial/unified/providers.py
CHANGED
|
@@ -42,6 +42,12 @@ FAMILIES = {
|
|
|
42
42
|
"pk_alerts": dict(variants={"cpu": "pk_alerts_cpu", "gpu_metal": "pk_alerts_metal"}, scale="n", exp=2.0, min=8, exact=False, tol=1e-3),
|
|
43
43
|
"pk_moderation": dict(variants={"cpu": "pk_moderation_cpu", "gpu_metal": "pk_moderation_metal"}, scale="n", exp=2.0, min=8, exact=False, tol=1e-3),
|
|
44
44
|
"pk_telecom": dict(variants={"cpu": "pk_telecom_cpu", "gpu_metal": "pk_telecom_metal"}, scale="n", exp=2.0, min=8, exact=False, tol=1e-3),
|
|
45
|
+
"pk_health": dict(variants={"cpu": "pk_health_cpu", "gpu_metal": "pk_health_metal"}, scale="n", exp=2.0, min=8, exact=False, tol=1e-3),
|
|
46
|
+
"pk_supplychain": dict(variants={"cpu": "pk_supplychain_cpu", "gpu_metal": "pk_supplychain_metal"}, scale="n", exp=2.0, min=8, exact=False, tol=1e-3),
|
|
47
|
+
"pk_maintenance": dict(variants={"cpu": "pk_maintenance_cpu", "gpu_metal": "pk_maintenance_metal"}, scale="n", exp=2.0, min=8, exact=False, tol=1e-3),
|
|
48
|
+
"pk_recommendation": dict(variants={"cpu": "pk_recommendation_cpu", "gpu_metal": "pk_recommendation_metal"}, scale="n", exp=2.0, min=8, exact=False, tol=1e-3),
|
|
49
|
+
"pk_recruiting": dict(variants={"cpu": "pk_recruiting_cpu", "gpu_metal": "pk_recruiting_metal"}, scale="n", exp=2.0, min=8, exact=False, tol=1e-3),
|
|
50
|
+
"pk_grid": dict(variants={"cpu": "pk_grid_cpu", "gpu_metal": "pk_grid_metal"}, scale="n", exp=2.0, min=8, exact=False, tol=1e-3),
|
|
45
51
|
}
|
|
46
52
|
|
|
47
53
|
|
|
@@ -51,7 +57,7 @@ def _same(a, b, exact: bool, tol: float = 1e-6) -> bool:
|
|
|
51
57
|
|
|
52
58
|
def _variant_available(workload: str) -> str | None:
|
|
53
59
|
"""None if the variant can run here, else why not."""
|
|
54
|
-
if workload in ("mandel_f32_metal", "pk_mandel_metal", "pk_collatz_metal", "pk_batch_score_metal", "pk_rtb_metal", "pk_credit_metal", "pk_claims_metal", "pk_alerts_metal", "pk_moderation_metal", "pk_telecom_metal"):
|
|
60
|
+
if workload in ("mandel_f32_metal", "pk_mandel_metal", "pk_collatz_metal", "pk_batch_score_metal", "pk_rtb_metal", "pk_credit_metal", "pk_claims_metal", "pk_alerts_metal", "pk_moderation_metal", "pk_telecom_metal", "pk_health_metal", "pk_supplychain_metal", "pk_maintenance_metal", "pk_recommendation_metal", "pk_recruiting_metal", "pk_grid_metal"):
|
|
55
61
|
from ..fabric import metal
|
|
56
62
|
return None if metal.available() else "no Metal GPU (macOS with swiftc is required)"
|
|
57
63
|
if workload == "mandel_f32_cuda":
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: spatial-computing
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.28.0
|
|
4
4
|
Summary: Spatial Computing: open-source infrastructure efficiency toolkit. Measure, decide, prove (compute, tiered memory, runtime routing, fleet)
|
|
5
5
|
Author: Spatial Computing contributors
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -102,6 +102,7 @@ st.put(0, b"..." * 1000); st.get(0); print(st.stats())
|
|
|
102
102
|
| Runtime Engine (inspect binaries, route, micro-VM, WASI, containers incl. ARM64 via emulation) | operational prototype | `tests/test_runtime.py`, `benchmarks/bench_runtime.py` |
|
|
103
103
|
| Portable kernels (one source, CPU/Metal/CUDA/HIP/Triton; market-vertical presets) | first components | `tests/test_kernel.py`, `benchmarks/bench_kernel.py` |
|
|
104
104
|
| Live GPU market prices (`spatial market`, read-only, no account) | first components | `tests/test_market.py`, [docs/MARKET.md](docs/MARKET.md) |
|
|
105
|
+
| In-vehicle multi-chip placement (`spatial automotive`, declared chip specs, no real silicon) | first components | `tests/test_automotive.py`, [docs/AUTOMOTIVE.md](docs/AUTOMOTIVE.md) |
|
|
105
106
|
| AI, Intelligence | first components (toy model) | `tests/test_engines.py`, `tests/test_domains.py` |
|
|
106
107
|
|
|
107
108
|
Measured on the reference machine (AC power): Numba JIT ×31.6 over pure Python with an identical result; 0.88 s to boot an isolated Linux micro-VM on macOS; −75 % local RAM for a skewed-access dataset at 107× the mean access latency. Full table and conditions: [docs/RESULTATS.fr.md](docs/RESULTATS.fr.md).
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
spatial/__init__.py,sha256=
|
|
2
|
-
spatial/cli.py,sha256=
|
|
1
|
+
spatial/__init__.py,sha256=5MiKi5WHuF0szxJzhJMtA02suPdCaOOLnKHmHo3tHSE,208
|
|
2
|
+
spatial/cli.py,sha256=fHQCKRMnsm58Dcx8NDBrH6TQF2SNLHA-CPf01bYN2Hc,23627
|
|
3
3
|
spatial/ai/__init__.py,sha256=qrQZBRNCGwnMp_Rx7HNblvGfgmLApVrdIAPcYVmZdCg,926
|
|
4
4
|
spatial/ai/kvcache.py,sha256=7xrNI3zBKSoLA9ZjI1U2TZQ7GdXMZDzZq50qBrbWAWY,4054
|
|
5
5
|
spatial/ai/llm.py,sha256=-e_F4giPVlc_R9AiDX0LT4LFf-gmnAIhlfNZDW07Sig,2292
|
|
6
|
+
spatial/automotive/__init__.py,sha256=R0LISvQReNuTyv7aFQMB9vIBmboruwERfcjuROCbsKc,279
|
|
7
|
+
spatial/automotive/placement.py,sha256=cysdPkapwBuaMWhqfqZG7fndrNBJ2Dtt9Tch06r8eMs,3912
|
|
6
8
|
spatial/compute/__init__.py,sha256=VKrQED3KJOTve1dVS25AC0nPRTTcfQokXJYpPUngXMs,194
|
|
7
9
|
spatial/compute/cost.py,sha256=S9F4NzkPtVW8jxoxzWOSbh9EYhdaSDAX6Ve0v80lAjE,3628
|
|
8
10
|
spatial/compute/detect.py,sha256=audAi9PSYbvrGNpSjz8oWIs34SXtMCjX95Q-wIk8f5k,6365
|
|
@@ -10,7 +12,7 @@ spatial/compute/monitor.py,sha256=YrgWY9HcGzel8Vv9LiqTLNPoQTmjRNkuLV88jWJT9UM,42
|
|
|
10
12
|
spatial/compute/scheduler.py,sha256=FXsdmP2kcwRSECF_RM0DRdkCiLSSbDa2KMnLwTb2lw4,7315
|
|
11
13
|
spatial/compute/taskqueue.py,sha256=vbaHFvLy3FyezIHtfsU91m4873b5vv8mrUjTi1Iw6Qo,4334
|
|
12
14
|
spatial/compute/worker.py,sha256=E5MD7wKmdr9Gy8XpN_vtthZm0FL3NvFMUtGojKmlY-s,3662
|
|
13
|
-
spatial/compute/workloads.py,sha256=
|
|
15
|
+
spatial/compute/workloads.py,sha256=5XeyXc1blClB5ENuD3iGaY-59CO2bb7xtw-EmvLJAkQ,14513
|
|
14
16
|
spatial/core/__init__.py,sha256=rZAEaJb9mVnKa4e8tu1tjRQ2bMz34H3JHz08IzAt4Ys,81
|
|
15
17
|
spatial/core/auth.py,sha256=L3GbtNMY_1Mv8xBRQugG5jtdl24k8p8D4s-jVZ_4iSU,7015
|
|
16
18
|
spatial/core/energy.py,sha256=w8dfk2F3RdmJBi0u3iNZzktDWSG-BdLozp8uFqAKTD8,3471
|
|
@@ -58,7 +60,7 @@ spatial/platform/pdf.py,sha256=kCPnW0VdX70G3Xk074KifS4T9RcxJ1kWl5Il4xhe8_w,5295
|
|
|
58
60
|
spatial/platform/qr.py,sha256=xNCHNwZO-PaSRLFI3KZ_FsD9I1suHt_3Ily4p5kXuZk,7706
|
|
59
61
|
spatial/platform/security.py,sha256=q1mDlFsNt8y2hs71C4KMZoY4lcE2QYgivsmn--Ba-q8,2666
|
|
60
62
|
spatial/platform/server.py,sha256=wB8HXtjeIllki9yCdb7648UYTCsJOrRNMt13vo-9IiQ,31887
|
|
61
|
-
spatial/platform/service.py,sha256=
|
|
63
|
+
spatial/platform/service.py,sha256=BI4Ko30nbojwOyBBe4Q1sI825VPv2wPogdUas1CXWlM,94468
|
|
62
64
|
spatial/platform/totp.py,sha256=cTSgwjhSAv_YhLzaatySycIEVmgXAzAH5MhBtZxrxD8,1821
|
|
63
65
|
spatial/platform/ubl.py,sha256=Vm0BJfCoOxEzY_MbpbEkHV84tNgAAPTtL-DxhTnVm7c,7254
|
|
64
66
|
spatial/platform/vat.py,sha256=eS8NSGXF2w72FXfhTVfNFCNxtYtPyrMdSM3U4cz44gw,4287
|
|
@@ -88,10 +90,10 @@ spatial/runtime/desktop/start.sh,sha256=EjHt9V4NxjFlRtC1jSmIohzX_O4VRm71eMu3EeTB
|
|
|
88
90
|
spatial/unified/__init__.py,sha256=-pRHK15GyeXStIKLHLxDQMN72pelTaBHJMaPpT-MODI,652
|
|
89
91
|
spatial/unified/model.py,sha256=Glban2XOL48_262IKtBR2ESMrFrvImHDHbDo2B8GK8I,6336
|
|
90
92
|
spatial/unified/planner.py,sha256=kdpzCpZJ-RdjCj8MNaES4TPdSug0skSQ53pKUi2Q-Bo,5429
|
|
91
|
-
spatial/unified/providers.py,sha256=
|
|
92
|
-
spatial_computing-0.
|
|
93
|
-
spatial_computing-0.
|
|
94
|
-
spatial_computing-0.
|
|
95
|
-
spatial_computing-0.
|
|
96
|
-
spatial_computing-0.
|
|
97
|
-
spatial_computing-0.
|
|
93
|
+
spatial/unified/providers.py,sha256=36GMPSdyu8xuNtzlkWJ2XNOj8fZntJJlrO63gcWjXHA,21010
|
|
94
|
+
spatial_computing-0.28.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
95
|
+
spatial_computing-0.28.0.dist-info/METADATA,sha256=91DD4Y80yfiaR96FxK3hcIFQw53CpmmuAA2t9KCrjS8,6967
|
|
96
|
+
spatial_computing-0.28.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
97
|
+
spatial_computing-0.28.0.dist-info/entry_points.txt,sha256=2o6Kjkd0lkEd-qQgFuW-ptYOh4RmnHFPyvwzP2KiMS0,45
|
|
98
|
+
spatial_computing-0.28.0.dist-info/top_level.txt,sha256=ZHke8hWgy4qIqEGq7omus3O-T7AhmPoc-cqr7JdGGxQ,8
|
|
99
|
+
spatial_computing-0.28.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|