Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,99 +10,58 @@ pinned: false
|
|
| 10 |
license: other
|
| 11 |
short_description: Live coherence + throughput benchmark (no precomputed result
|
| 12 |
thumbnail: >-
|
| 13 |
-
https://cdn-uploads.huggingface.co/production/uploads/685edcb04796127b024b4805/Sr9bUuYsRuDtVZnb-
|
| 14 |
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
# Coherent Compute Engine
|
| 18 |
|
| 19 |
-
|
| 20 |
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
---
|
| 28 |
|
| 29 |
-
|
| 30 |
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
-
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
-
|
| 38 |
-
-
|
| 39 |
-
|
| 40 |
-
Metrics reported:
|
| 41 |
-
- **Throughput** — coherent updates per second
|
| 42 |
-
- **Coherence** — stability between initial and final state
|
| 43 |
-
- **Mean Energy** — energy retention across the system
|
| 44 |
-
- **Elapsed Time** — real wall-clock time
|
| 45 |
-
|
| 46 |
-
---
|
| 47 |
-
|
| 48 |
-
## Why This Matters
|
| 49 |
-
|
| 50 |
-
Most benchmarks optimize for raw FLOPs.
|
| 51 |
-
This engine optimizes for **coherent progression under constraint**.
|
| 52 |
-
|
| 53 |
-
It shows that:
|
| 54 |
-
- High throughput does not require GPUs
|
| 55 |
-
- Stability can be preserved at scale
|
| 56 |
-
- Energy retention can remain high even under load
|
| 57 |
-
|
| 58 |
-
This is **architecture**, not a paper claim.
|
| 59 |
-
|
| 60 |
-
---
|
| 61 |
|
| 62 |
-
|
| 63 |
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
- Not a simulation with fixed outputs
|
| 67 |
-
- Not a GPU demo
|
| 68 |
|
| 69 |
-
|
| 70 |
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
You can:
|
| 76 |
-
- Change oscillator count
|
| 77 |
-
- Change step count
|
| 78 |
-
- Rerun at any time
|
| 79 |
-
|
| 80 |
-
Results will change depending on:
|
| 81 |
-
- Host CPU
|
| 82 |
-
- Available cores
|
| 83 |
-
- Runtime conditions
|
| 84 |
-
|
| 85 |
-
That is the point.
|
| 86 |
-
|
| 87 |
-
---
|
| 88 |
-
|
| 89 |
-
## Ethics & Transparency
|
| 90 |
-
|
| 91 |
-
No data is uploaded.
|
| 92 |
-
No background processes.
|
| 93 |
-
No hidden scaling.
|
| 94 |
-
|
| 95 |
-
What you see is what runs.
|
| 96 |
-
|
| 97 |
-
---
|
| 98 |
|
| 99 |
-
##
|
|
|
|
| 100 |
|
| 101 |
-
Built as part of the **Rendered Frame Theory (RFT)** engineering work.
|
| 102 |
|
| 103 |
-
|
| 104 |
-
- Truthful measurement
|
| 105 |
-
- Energy-aware compute
|
| 106 |
-
- Coherent system design
|
| 107 |
-
|
| 108 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 10 |
license: other
|
| 11 |
short_description: Live coherence + throughput benchmark (no precomputed result
|
| 12 |
thumbnail: >-
|
| 13 |
+
https://cdn-uploads.huggingface.co/production/uploads/685edcb04796127b024b4805/Sr9bUuYsRuDtVZnb-
|
| 14 |
|
| 15 |
+
<!-- README.md -->
|
| 16 |
+
# Coherent_Compute_Engine
|
|
|
|
| 17 |
|
| 18 |
+
A real-time, on-machine benchmark that measures coherent state-update throughput and produces a tamper-evident receipt for every run.
|
| 19 |
|
| 20 |
+
## What it does
|
| 21 |
+
- Runs a coherent update kernel over **N oscillators** for **S steps**
|
| 22 |
+
- Measures:
|
| 23 |
+
- **Throughput** (B/s = billions of items per second)
|
| 24 |
+
- **Coherence** (|C| stability proxy)
|
| 25 |
+
- **Mean Energy** (bounded mean of E)
|
| 26 |
+
- **Elapsed time**
|
| 27 |
+
- Produces a **downloadable receipt** (JSON) containing inputs, environment, outputs, and a **SHA-256** hash.
|
| 28 |
|
| 29 |
+
## What an “item” is
|
| 30 |
+
**1 item = one per-oscillator coherent state update of `[Psi, E, L]` per step**, as implemented in this Space.
|
|
|
|
| 31 |
|
| 32 |
+
This definition is explicit so the metric is reproducible.
|
| 33 |
|
| 34 |
+
## Verification / receipts
|
| 35 |
+
Each run writes a receipt JSON under `results/` and exposes it via the UI.
|
| 36 |
+
The receipt includes:
|
| 37 |
+
- timestamp (UTC)
|
| 38 |
+
- app version
|
| 39 |
+
- platform + python
|
| 40 |
+
- logical CPU count
|
| 41 |
+
- inputs (N, steps, seed, scale)
|
| 42 |
+
- measured outputs
|
| 43 |
+
- SHA-256 hash of the canonical receipt JSON
|
| 44 |
|
| 45 |
+
This makes runs easy to share and tamper-evident.
|
| 46 |
|
| 47 |
+
## Baselines (optional)
|
| 48 |
+
If enabled, the Space also measures:
|
| 49 |
+
- live **NumPy** baseline (vectorised)
|
| 50 |
+
- tiny **Python loop** baseline (hard safety caps)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
+
If `numba` is available, the primary engine automatically uses a Numba JIT kernel.
|
| 53 |
|
| 54 |
+
## Important note about “your CPU”
|
| 55 |
+
Hugging Face Spaces run on hosted hardware. The results reflect the **Space runtime**, not the visitor’s laptop CPU.
|
|
|
|
|
|
|
| 56 |
|
| 57 |
+
If you want your own machine’s numbers, run the repo locally.
|
| 58 |
|
| 59 |
+
## Files
|
| 60 |
+
- `app.py` — Gradio app + benchmark + receipt writer
|
| 61 |
+
- `results/` — receipts + `runs.csv` (created automatically)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
+
## Licence
|
| 64 |
+
Please read LICENCE, listed in repo
|
| 65 |
|
|
|
|
| 66 |
|
| 67 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|