spatial-computing 0.26.0__tar.gz → 0.27.0__tar.gz

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.
Files changed (127) hide show
  1. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/PKG-INFO +1 -1
  2. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/pyproject.toml +1 -1
  3. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/__init__.py +1 -1
  4. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/compute/workloads.py +78 -0
  5. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/service.py +6 -0
  6. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/unified/providers.py +7 -1
  7. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial_computing.egg-info/PKG-INFO +1 -1
  8. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_kernel.py +1 -1
  9. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/LICENSE +0 -0
  10. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/README.md +0 -0
  11. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/setup.cfg +0 -0
  12. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/ai/__init__.py +0 -0
  13. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/ai/kvcache.py +0 -0
  14. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/ai/llm.py +0 -0
  15. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/cli.py +0 -0
  16. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/compute/__init__.py +0 -0
  17. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/compute/cost.py +0 -0
  18. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/compute/detect.py +0 -0
  19. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/compute/monitor.py +0 -0
  20. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/compute/scheduler.py +0 -0
  21. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/compute/taskqueue.py +0 -0
  22. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/compute/worker.py +0 -0
  23. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/core/__init__.py +0 -0
  24. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/core/auth.py +0 -0
  25. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/core/energy.py +0 -0
  26. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/core/ledger.py +0 -0
  27. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/core/model.py +0 -0
  28. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/core/protocol.py +0 -0
  29. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/core/registry.py +0 -0
  30. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/fabric/__init__.py +0 -0
  31. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/fabric/cuda.py +0 -0
  32. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/fabric/devices.py +0 -0
  33. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/fabric/metal.py +0 -0
  34. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/fabric/metal_mandel.swift +0 -0
  35. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/fabric/metal_run.swift +0 -0
  36. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/fleet/__init__.py +0 -0
  37. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/fleet/agent.py +0 -0
  38. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/fleet/alerts.py +0 -0
  39. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/fleet/dashboard.py +0 -0
  40. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/fleet/ha.py +0 -0
  41. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/fleet/hub.py +0 -0
  42. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/intelligence/__init__.py +0 -0
  43. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/intelligence/predictor.py +0 -0
  44. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/interconnect/__init__.py +0 -0
  45. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/interconnect/collectives.py +0 -0
  46. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/interconnect/comm.py +0 -0
  47. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/interconnect/model.py +0 -0
  48. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/interconnect/tasks.py +0 -0
  49. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/kernel/__init__.py +0 -0
  50. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/kernel/dsl.py +0 -0
  51. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/kernel/library.py +0 -0
  52. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/market/__init__.py +0 -0
  53. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/market/vast.py +0 -0
  54. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/memory/__init__.py +0 -0
  55. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/memory/fararray.py +0 -0
  56. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/memory/pageserver.py +0 -0
  57. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/memory/secure.py +0 -0
  58. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/memory/shared.py +0 -0
  59. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/memory/tiered.py +0 -0
  60. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/__init__.py +0 -0
  61. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/billing.py +0 -0
  62. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/db.py +0 -0
  63. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/invoice_rules.py +0 -0
  64. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/mailer.py +0 -0
  65. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/oidc.py +0 -0
  66. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/pdf.py +0 -0
  67. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/qr.py +0 -0
  68. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/security.py +0 -0
  69. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/server.py +0 -0
  70. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/static/app.js +0 -0
  71. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/static/fonts/DMMono-normal-400.woff2 +0 -0
  72. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/static/fonts/DMMono-normal-500.woff2 +0 -0
  73. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/static/fonts/InstrumentSerif-italic-400.woff2 +0 -0
  74. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/static/fonts/InstrumentSerif-normal-400.woff2 +0 -0
  75. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/static/fonts/Inter-normal-400.woff2 +0 -0
  76. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/static/fonts/Inter-normal-500.woff2 +0 -0
  77. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/static/fonts/Inter-normal-600.woff2 +0 -0
  78. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/static/fonts.css +0 -0
  79. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/static/index.html +0 -0
  80. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/static/logo.svg +0 -0
  81. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/static/style.css +0 -0
  82. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/totp.py +0 -0
  83. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/ubl.py +0 -0
  84. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/platform/vat.py +0 -0
  85. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/runtime/__init__.py +0 -0
  86. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/runtime/arch.py +0 -0
  87. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/runtime/desktop/Dockerfile +0 -0
  88. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/runtime/desktop/__init__.py +0 -0
  89. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/runtime/desktop/start.sh +0 -0
  90. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/runtime/envs.py +0 -0
  91. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/runtime/inspect.py +0 -0
  92. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/runtime/microvm.py +0 -0
  93. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/runtime/planner.py +0 -0
  94. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/runtime/runner.py +0 -0
  95. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/runtime/toolchain.py +0 -0
  96. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/unified/__init__.py +0 -0
  97. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/unified/model.py +0 -0
  98. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial/unified/planner.py +0 -0
  99. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial_computing.egg-info/SOURCES.txt +0 -0
  100. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial_computing.egg-info/dependency_links.txt +0 -0
  101. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial_computing.egg-info/entry_points.txt +0 -0
  102. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial_computing.egg-info/requires.txt +0 -0
  103. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/spatial_computing.egg-info/top_level.txt +0 -0
  104. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_auth.py +0 -0
  105. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_compute.py +0 -0
  106. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_core.py +0 -0
  107. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_dashboard.py +0 -0
  108. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_domains.py +0 -0
  109. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_engines.py +0 -0
  110. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_fabric.py +0 -0
  111. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_fleet.py +0 -0
  112. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_ha.py +0 -0
  113. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_hardening.py +0 -0
  114. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_interconnect.py +0 -0
  115. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_market.py +0 -0
  116. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_memory.py +0 -0
  117. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_platform.py +0 -0
  118. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_platform2.py +0 -0
  119. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_qr.py +0 -0
  120. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_quorum.py +0 -0
  121. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_real_servers.py +0 -0
  122. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_runtime.py +0 -0
  123. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_sso.py +0 -0
  124. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_unified.py +0 -0
  125. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_v02.py +0 -0
  126. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_v03.py +0 -0
  127. {spatial_computing-0.26.0 → spatial_computing-0.27.0}/tests/test_v05.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: spatial-computing
3
- Version: 0.26.0
3
+ Version: 0.27.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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "spatial-computing"
7
- version = "0.26.0"
7
+ version = "0.27.0"
8
8
  description = "Spatial Computing: open-source infrastructure efficiency toolkit. Measure, decide, prove (compute, tiered memory, runtime routing, fleet)"
9
9
  readme = "README.md"
10
10
  license = "Apache-2.0"
@@ -3,4 +3,4 @@
3
3
  Status of every engine is declared in spatial.core.registry and must be backed
4
4
  by a test or benchmark before being set to OPERATIONAL.
5
5
  """
6
- __version__ = "0.26.0"
6
+ __version__ = "0.27.0"
@@ -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
@@ -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
  }
@@ -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.26.0
3
+ Version: 0.27.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
@@ -124,7 +124,7 @@ def test_planner_offers_portable_kernel_families():
124
124
  assert ex.result == int(collatz.run("cpu", 64, limit=100).astype("uint64").sum())
125
125
 
126
126
 
127
- @pytest.mark.parametrize("vertical", ["rtb", "credit", "claims", "alerts", "moderation", "telecom"])
127
+ @pytest.mark.parametrize("vertical", ["rtb", "credit", "claims", "alerts", "moderation", "telecom", "health", "supplychain", "maintenance", "recommendation", "recruiting", "grid"])
128
128
  def test_vertical_families_are_the_same_kernel_as_batch_score_under_a_market_name(vertical):
129
129
  """rtb/credit/claims/alerts/moderation/telecom are presentation names for ONE kernel (batch_score):
130
130
  same math, same code, no per-vertical model. A result that differs would mean someone duplicated and