avengeryt22 commited on
Commit
dfcb692
·
verified ·
1 Parent(s): 6278552

reference the complete single-script run

Browse files
Files changed (1) hide show
  1. index.html +7 -4
index.html CHANGED
@@ -58,7 +58,7 @@
58
  <thead><tr><th>Quantity</th><th>Paper (Sec. 5 / 6.1, Figs. 3–4)</th><th>This reproduction</th></tr></thead>
59
  <tbody>
60
  <tr><td class="l">Fused vs non-fused 1D error curves</td><td class="l">"the fused Flash-Laplace-KDE curve overlaps the non-fused implementation" — figure only, no numbers</td><td class="l">max |Δdensity| 6.0e-8…8.9e-8 (float32, Triton); 1.1e-16 (float64); 0 sign disagreements; ΔMISE &lt; 1e-9</td></tr>
61
- <tr><td class="l">1D fused speedup</td><td class="l">Fig. 4 right panel, ≈2–8× band; <strong>not tabulated</strong></td><td class="l">1.93× (n=128) → 2.42× (1024) → 6.20× (4096) on A10G</td></tr>
62
  <tr><td class="l">1D MISE / MIAE</td><td class="l">Fig. 3, log-log curves only, no table</td><td class="l">table below; e.g. n=4096 LC 1.1142e-3 / 6.5009e-2 vs emp SD-KDE 2.8013e-3 / 9.7414e-2</td></tr>
63
  <tr><td class="l">Integrated negative mass</td><td class="l">"logged as a diagnostic", no value reported</td><td class="l">1.0205e-2 (n=128) → 1.6873e-3 (n=4096); empirical SD-KDE exactly 0</td></tr>
64
  <tr><td class="l">Kernel identity</td><td class="l">K<sub>LC</sub> = K<sub>h</sub>(1 + d/2 − ‖x‖²/2h²), stated analytically</td><td class="l">equals K<sub>h</sub> − (h²/2)ΔK<sub>h</sub> to 4.4e-16; ∫K<sub>LC</sub> = 1, 2nd moment 0, 4th moment −3h⁴, sign flip at √3·h</td></tr>
@@ -90,7 +90,7 @@
90
  <thead><tr><th>n<sub>train</sub></th><th>KDE ms</th><th>fused ms</th><th>non-fused ms</th><th>non-fused / fused</th><th>max |fused − non-fused|</th></tr></thead>
91
  <tbody></tbody>
92
  </table>
93
- <p class="note">The fused kernel is flat at ~0.19 ms (launch-bound over this range) while the non-fused path pays a second pass that scales with n — so the ratio is a function of n, not a constant. On CPU in NumPy the fused form is <em>slower</em> (0.1137 s vs 0.1013 s at n=4096): the throughput claim is about the fused GPU kernel, not the algebra.</p>
94
 
95
  <h2>Environment</h2>
96
  <pre>python 3.12.16
@@ -106,6 +106,8 @@ repo github.com/Elliotepsteino/Flash-SD-KDE @ acaf8712f8c146c837e1d1dcccb56ce
106
  <div class="files">
107
  <a href="https://huggingface.co/spaces/avengeryt22/flash-sd-kde-section5/blob/main/run.py">run.py</a>
108
  <a href="https://huggingface.co/spaces/avengeryt22/flash-sd-kde-section5/blob/main/requirements.txt">requirements.txt</a>
 
 
109
  <a href="https://huggingface.co/spaces/avengeryt22/flash-sd-kde-section5/blob/main/logs/run_cpu.log">logs/run_cpu.log</a>
110
  <a href="https://huggingface.co/spaces/avengeryt22/flash-sd-kde-section5/blob/main/logs/gpu_a10g.log">logs/gpu_a10g.log</a>
111
  <a href="https://huggingface.co/spaces/avengeryt22/flash-sd-kde-section5/blob/main/results/run_cpu.json">results/run_cpu.json</a>
@@ -116,8 +118,9 @@ repo github.com/Elliotepsteino/Flash-SD-KDE @ acaf8712f8c146c837e1d1dcccb56ce
116
 
117
  <h2>Logs, including failures</h2>
118
  <ul>
119
- <li><code>logs/run_cpu.log</code> — full stdout of <code>python run.py --skip-gpu</code> (exit 0, 24.4 s, all 9 checks PASS).</li>
120
- <li><code>logs/gpu_a10g.log</code> — full stdout of the GPU arm with the authors' Triton kernels (exit 0).</li>
 
121
  <li><strong>No experiment run failed.</strong> The only failure in the session was a sandbox RPC <code>503</code> while the GPU sandbox was still booting; it was retried once after a 45 s wait and succeeded. Nothing was lost, and it is recorded in <code>logs/agent_trace.md</code>.</li>
122
  </ul>
123
 
 
58
  <thead><tr><th>Quantity</th><th>Paper (Sec. 5 / 6.1, Figs. 3–4)</th><th>This reproduction</th></tr></thead>
59
  <tbody>
60
  <tr><td class="l">Fused vs non-fused 1D error curves</td><td class="l">"the fused Flash-Laplace-KDE curve overlaps the non-fused implementation" — figure only, no numbers</td><td class="l">max |Δdensity| 6.0e-8…8.9e-8 (float32, Triton); 1.1e-16 (float64); 0 sign disagreements; ΔMISE &lt; 1e-9</td></tr>
61
+ <tr><td class="l">1D fused speedup</td><td class="l">Fig. 4 right panel, ≈2–8× band; <strong>not tabulated</strong></td><td class="l">1.93× (n=128) → 2.42× (1024) → 6.20× (4096) on A10G; second run 1.99×–6.47×</td></tr>
62
  <tr><td class="l">1D MISE / MIAE</td><td class="l">Fig. 3, log-log curves only, no table</td><td class="l">table below; e.g. n=4096 LC 1.1142e-3 / 6.5009e-2 vs emp SD-KDE 2.8013e-3 / 9.7414e-2</td></tr>
63
  <tr><td class="l">Integrated negative mass</td><td class="l">"logged as a diagnostic", no value reported</td><td class="l">1.0205e-2 (n=128) → 1.6873e-3 (n=4096); empirical SD-KDE exactly 0</td></tr>
64
  <tr><td class="l">Kernel identity</td><td class="l">K<sub>LC</sub> = K<sub>h</sub>(1 + d/2 − ‖x‖²/2h²), stated analytically</td><td class="l">equals K<sub>h</sub> − (h²/2)ΔK<sub>h</sub> to 4.4e-16; ∫K<sub>LC</sub> = 1, 2nd moment 0, 4th moment −3h⁴, sign flip at √3·h</td></tr>
 
90
  <thead><tr><th>n<sub>train</sub></th><th>KDE ms</th><th>fused ms</th><th>non-fused ms</th><th>non-fused / fused</th><th>max |fused − non-fused|</th></tr></thead>
91
  <tbody></tbody>
92
  </table>
93
+ <p class="note">The fused kernel is flat at ~0.19 ms (launch-bound over this range) while the non-fused path pays a second pass that scales with n — so the ratio is a function of n, not a constant. On CPU in NumPy the fused form is <em>slower</em> (0.1137 s vs 0.1013 s at n=4096): the throughput claim is about the fused GPU kernel, not the algebra. A second complete run of <code>run.py</code> on the same flavor gave fused 0.1838–0.1857 ms and ratios 1.99×–6.47× — run-to-run variation of a few percent, so what reproduces is the <em>shape</em> of the ratio, not its exact value.</p>
94
 
95
  <h2>Environment</h2>
96
  <pre>python 3.12.16
 
106
  <div class="files">
107
  <a href="https://huggingface.co/spaces/avengeryt22/flash-sd-kde-section5/blob/main/run.py">run.py</a>
108
  <a href="https://huggingface.co/spaces/avengeryt22/flash-sd-kde-section5/blob/main/requirements.txt">requirements.txt</a>
109
+ <a href="https://huggingface.co/spaces/avengeryt22/flash-sd-kde-section5/blob/main/logs/run_full.log">logs/run_full.log</a>
110
+ <a href="https://huggingface.co/spaces/avengeryt22/flash-sd-kde-section5/blob/main/results/run_full.json">results/run_full.json</a>
111
  <a href="https://huggingface.co/spaces/avengeryt22/flash-sd-kde-section5/blob/main/logs/run_cpu.log">logs/run_cpu.log</a>
112
  <a href="https://huggingface.co/spaces/avengeryt22/flash-sd-kde-section5/blob/main/logs/gpu_a10g.log">logs/gpu_a10g.log</a>
113
  <a href="https://huggingface.co/spaces/avengeryt22/flash-sd-kde-section5/blob/main/results/run_cpu.json">results/run_cpu.json</a>
 
118
 
119
  <h2>Logs, including failures</h2>
120
  <ul>
121
+ <li><code>logs/run_full.log</code> — complete stdout of <code>python run.py</code> on an A10G: kernel checks, CPU statistics and the GPU timing arm in one run (exit 0, 36.3 s, all 10 checks PASS).</li>
122
+ <li><code>logs/run_cpu.log</code> — stdout of <code>python run.py --skip-gpu</code> on cpu-basic (exit 0, 24.4 s, all 9 CPU checks PASS).</li>
123
+ <li><code>logs/gpu_a10g.log</code> — the earlier two-script GPU arm, kept for comparison (exit 0).</li>
124
  <li><strong>No experiment run failed.</strong> The only failure in the session was a sandbox RPC <code>503</code> while the GPU sandbox was still booting; it was retried once after a 45 s wait and succeeded. Nothing was lost, and it is recorded in <code>logs/agent_trace.md</code>.</li>
125
  </ul>
126