The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
config: struct<seed: int64, n_train: list<item: int64>, n_repeats_total: int64, n_repeats_declared: int64, n (... 155 chars omitted)
child 0, seed: int64
child 1, n_train: list<item: int64>
child 0, item: int64
child 2, n_repeats_total: int64
child 3, n_repeats_declared: int64
child 4, n_grid: int64
child 5, domain: list<item: double>
child 0, item: double
child 6, weights: list<item: double>
child 0, item: double
child 7, means: list<item: double>
child 0, item: double
child 8, stds: list<item: double>
child 0, item: double
child 9, bandwidth: string
child 10, eps: double
kernel_checks: struct<identity_max_abs_err: double, identity_max_rel_err: double, fd_laplacian_max_abs_err: double, (... 401 chars omitted)
child 0, identity_max_abs_err: double
child 1, identity_max_rel_err: double
child 2, fd_laplacian_max_abs_err: double
child 3, fd_vs_closedform_after_h2_scaling: double
child 4, corrected_kernel_mass: double
child 5, corrected_kernel_second_moment_over_h2: double
child 6, corrected_kernel_fourth_moment_over_h4: double
child 7, root_r_over_h: double
child 8, value_at_root: double
child 9, min_value_over_h_minus1: double
child 10, negative_fraction_of_support: double
child 11, LC_at_r_over_h_1.5: double
child 12, LC_at_r_over_h_1.732: double
child 13, LC_at_r_over_h_2.0: double
child 14, LC_at_r_over_h_3.0: double
mise_definition_check: struct<all10: struct<mean_of_replicate_ise: double, ise
...
child 14, laplace_fused_iae_mean: double
child 15, laplace_fused_iae_std: double
child 16, laplace_fused_neg_mass_mean: double
child 17, laplace_fused_neg_mass_std: double
child 18, laplace_fused_max_abs_mean: double
child 19, laplace_fused_max_abs_std: double
child 20, laplace_fused_mass_mean: double
child 21, laplace_fused_mass_std: double
child 22, laplace_nonfused_ise_mean: double
child 23, laplace_nonfused_ise_std: double
child 24, laplace_nonfused_iae_mean: double
child 25, laplace_nonfused_iae_std: double
child 26, laplace_nonfused_neg_mass_mean: double
child 27, laplace_nonfused_neg_mass_std: double
child 28, laplace_nonfused_max_abs_mean: double
child 29, laplace_nonfused_max_abs_std: double
child 30, laplace_nonfused_mass_mean: double
child 31, laplace_nonfused_mass_std: double
child 32, fused_vs_nonfused_max_abs: double
child 33, fused_vs_nonfused_max_rel: double
child 34, fused_vs_f64_definition_max_abs: double
child 35, fused_vs_f64_definition_max_rel: double
child 36, runtime_kde_mean: double
child 37, runtime_kde_std: double
child 38, runtime_laplace_fused_mean: double
child 39, runtime_laplace_fused_std: double
child 40, runtime_laplace_nonfused_mean: double
child 41, runtime_laplace_nonfused_std: double
child 42, speedup_nonfused_over_fused: double
child 43, all_runs_shape_ok: bool
to
{'meta': {'device_name': Value('string'), 'sm_count': Value('int64'), 'total_memory_gb': Value('float64'), 'capability': Value('string'), 'torch': Value('string'), 'triton': Value('string'), 'cuda': Value('string'), 'tf32_matmul_allowed': Value('bool'), 'commit': Value('string'), 'precision_mode': Value('string'), 'kde_backend': Value('string'), 'timing': Value('string')}, 'per_run': {'128': List({'rep': Value('int64'), 'n': Value('int64'), 'h': Value('float64'), 'shape_and_dtype_match': Value('bool'), 'fused_vs_nonfused_max_abs': Value('float64'), 'fused_vs_nonfused_max_rel': Value('float64'), 'fused_vs_nonfused_max_rel_pointwise': Value('float64'), 'sign_disagreements': Value('int64'), 'fused_vs_f64_definition_max_abs': Value('float64'), 'fused_vs_f64_definition_max_rel': Value('float64'), 'nonfused_vs_f64_definition_max_abs': Value('float64'), 'metrics': {'kde': {'ise': Value('float64'), 'iae': Value('float64'), 'max_abs': Value('float64'), 'neg_mass': Value('float64'), 'mass': Value('float64'), 'min': Value('float64')}, 'laplace_fused': {'ise': Value('float64'), 'iae': Value('float64'), 'max_abs': Value('float64'), 'neg_mass': Value('float64'), 'mass': Value('float64'), 'min': Value('float64')}, 'laplace_nonfused': {'ise': Value('float64'), 'iae': Value('float64'), 'max_abs': Value('float64'), 'neg_mass': Value('float64'), 'mass': Value('float64'), 'min': Value('float64')}}, 'runtime_sec': {'kde': List(Value('float64')), 'laplace_fused': List(Value('float64')), 'laplace_n
...
), 'laplace_fused_ise_mean': Value('float64'), 'laplace_fused_ise_std': Value('float64'), 'laplace_fused_iae_mean': Value('float64'), 'laplace_fused_iae_std': Value('float64'), 'laplace_fused_neg_mass_mean': Value('float64'), 'laplace_fused_neg_mass_std': Value('float64'), 'laplace_fused_max_abs_mean': Value('float64'), 'laplace_fused_max_abs_std': Value('float64'), 'laplace_fused_mass_mean': Value('float64'), 'laplace_fused_mass_std': Value('float64'), 'laplace_nonfused_ise_mean': Value('float64'), 'laplace_nonfused_ise_std': Value('float64'), 'laplace_nonfused_iae_mean': Value('float64'), 'laplace_nonfused_iae_std': Value('float64'), 'laplace_nonfused_neg_mass_mean': Value('float64'), 'laplace_nonfused_neg_mass_std': Value('float64'), 'laplace_nonfused_max_abs_mean': Value('float64'), 'laplace_nonfused_max_abs_std': Value('float64'), 'laplace_nonfused_mass_mean': Value('float64'), 'laplace_nonfused_mass_std': Value('float64'), 'fused_vs_nonfused_max_abs': Value('float64'), 'fused_vs_nonfused_max_rel': Value('float64'), 'fused_vs_f64_definition_max_abs': Value('float64'), 'fused_vs_f64_definition_max_rel': Value('float64'), 'runtime_kde_mean': Value('float64'), 'runtime_kde_std': Value('float64'), 'runtime_laplace_fused_mean': Value('float64'), 'runtime_laplace_fused_std': Value('float64'), 'runtime_laplace_nonfused_mean': Value('float64'), 'runtime_laplace_nonfused_std': Value('float64'), 'speedup_nonfused_over_fused': Value('float64'), 'all_runs_shape_ok': Value('bool')}}}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 151, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 131, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 574, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 373, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
config: struct<seed: int64, n_train: list<item: int64>, n_repeats_total: int64, n_repeats_declared: int64, n (... 155 chars omitted)
child 0, seed: int64
child 1, n_train: list<item: int64>
child 0, item: int64
child 2, n_repeats_total: int64
child 3, n_repeats_declared: int64
child 4, n_grid: int64
child 5, domain: list<item: double>
child 0, item: double
child 6, weights: list<item: double>
child 0, item: double
child 7, means: list<item: double>
child 0, item: double
child 8, stds: list<item: double>
child 0, item: double
child 9, bandwidth: string
child 10, eps: double
kernel_checks: struct<identity_max_abs_err: double, identity_max_rel_err: double, fd_laplacian_max_abs_err: double, (... 401 chars omitted)
child 0, identity_max_abs_err: double
child 1, identity_max_rel_err: double
child 2, fd_laplacian_max_abs_err: double
child 3, fd_vs_closedform_after_h2_scaling: double
child 4, corrected_kernel_mass: double
child 5, corrected_kernel_second_moment_over_h2: double
child 6, corrected_kernel_fourth_moment_over_h4: double
child 7, root_r_over_h: double
child 8, value_at_root: double
child 9, min_value_over_h_minus1: double
child 10, negative_fraction_of_support: double
child 11, LC_at_r_over_h_1.5: double
child 12, LC_at_r_over_h_1.732: double
child 13, LC_at_r_over_h_2.0: double
child 14, LC_at_r_over_h_3.0: double
mise_definition_check: struct<all10: struct<mean_of_replicate_ise: double, ise
...
child 14, laplace_fused_iae_mean: double
child 15, laplace_fused_iae_std: double
child 16, laplace_fused_neg_mass_mean: double
child 17, laplace_fused_neg_mass_std: double
child 18, laplace_fused_max_abs_mean: double
child 19, laplace_fused_max_abs_std: double
child 20, laplace_fused_mass_mean: double
child 21, laplace_fused_mass_std: double
child 22, laplace_nonfused_ise_mean: double
child 23, laplace_nonfused_ise_std: double
child 24, laplace_nonfused_iae_mean: double
child 25, laplace_nonfused_iae_std: double
child 26, laplace_nonfused_neg_mass_mean: double
child 27, laplace_nonfused_neg_mass_std: double
child 28, laplace_nonfused_max_abs_mean: double
child 29, laplace_nonfused_max_abs_std: double
child 30, laplace_nonfused_mass_mean: double
child 31, laplace_nonfused_mass_std: double
child 32, fused_vs_nonfused_max_abs: double
child 33, fused_vs_nonfused_max_rel: double
child 34, fused_vs_f64_definition_max_abs: double
child 35, fused_vs_f64_definition_max_rel: double
child 36, runtime_kde_mean: double
child 37, runtime_kde_std: double
child 38, runtime_laplace_fused_mean: double
child 39, runtime_laplace_fused_std: double
child 40, runtime_laplace_nonfused_mean: double
child 41, runtime_laplace_nonfused_std: double
child 42, speedup_nonfused_over_fused: double
child 43, all_runs_shape_ok: bool
to
{'meta': {'device_name': Value('string'), 'sm_count': Value('int64'), 'total_memory_gb': Value('float64'), 'capability': Value('string'), 'torch': Value('string'), 'triton': Value('string'), 'cuda': Value('string'), 'tf32_matmul_allowed': Value('bool'), 'commit': Value('string'), 'precision_mode': Value('string'), 'kde_backend': Value('string'), 'timing': Value('string')}, 'per_run': {'128': List({'rep': Value('int64'), 'n': Value('int64'), 'h': Value('float64'), 'shape_and_dtype_match': Value('bool'), 'fused_vs_nonfused_max_abs': Value('float64'), 'fused_vs_nonfused_max_rel': Value('float64'), 'fused_vs_nonfused_max_rel_pointwise': Value('float64'), 'sign_disagreements': Value('int64'), 'fused_vs_f64_definition_max_abs': Value('float64'), 'fused_vs_f64_definition_max_rel': Value('float64'), 'nonfused_vs_f64_definition_max_abs': Value('float64'), 'metrics': {'kde': {'ise': Value('float64'), 'iae': Value('float64'), 'max_abs': Value('float64'), 'neg_mass': Value('float64'), 'mass': Value('float64'), 'min': Value('float64')}, 'laplace_fused': {'ise': Value('float64'), 'iae': Value('float64'), 'max_abs': Value('float64'), 'neg_mass': Value('float64'), 'mass': Value('float64'), 'min': Value('float64')}, 'laplace_nonfused': {'ise': Value('float64'), 'iae': Value('float64'), 'max_abs': Value('float64'), 'neg_mass': Value('float64'), 'mass': Value('float64'), 'min': Value('float64')}}, 'runtime_sec': {'kde': List(Value('float64')), 'laplace_fused': List(Value('float64')), 'laplace_n
...
), 'laplace_fused_ise_mean': Value('float64'), 'laplace_fused_ise_std': Value('float64'), 'laplace_fused_iae_mean': Value('float64'), 'laplace_fused_iae_std': Value('float64'), 'laplace_fused_neg_mass_mean': Value('float64'), 'laplace_fused_neg_mass_std': Value('float64'), 'laplace_fused_max_abs_mean': Value('float64'), 'laplace_fused_max_abs_std': Value('float64'), 'laplace_fused_mass_mean': Value('float64'), 'laplace_fused_mass_std': Value('float64'), 'laplace_nonfused_ise_mean': Value('float64'), 'laplace_nonfused_ise_std': Value('float64'), 'laplace_nonfused_iae_mean': Value('float64'), 'laplace_nonfused_iae_std': Value('float64'), 'laplace_nonfused_neg_mass_mean': Value('float64'), 'laplace_nonfused_neg_mass_std': Value('float64'), 'laplace_nonfused_max_abs_mean': Value('float64'), 'laplace_nonfused_max_abs_std': Value('float64'), 'laplace_nonfused_mass_mean': Value('float64'), 'laplace_nonfused_mass_std': Value('float64'), 'fused_vs_nonfused_max_abs': Value('float64'), 'fused_vs_nonfused_max_rel': Value('float64'), 'fused_vs_f64_definition_max_abs': Value('float64'), 'fused_vs_f64_definition_max_rel': Value('float64'), 'runtime_kde_mean': Value('float64'), 'runtime_kde_std': Value('float64'), 'runtime_laplace_fused_mean': Value('float64'), 'runtime_laplace_fused_std': Value('float64'), 'runtime_laplace_nonfused_mean': Value('float64'), 'runtime_laplace_nonfused_std': Value('float64'), 'speedup_nonfused_over_fused': Value('float64'), 'all_runs_shape_ok': Value('bool')}}}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Submission Space: avengeryt22/flash-sd-kde-section5 — report, single end-to-end run.py, pinned environment, logs and verdict.
Flash-SD-KDE §5 claim: signed fused/non-fused equivalence and scoped error/cost
Reproduction / falsification attempt for the claim in Section 5 of
Flash-SD-KDE: Accelerating SD-KDE with Tensor Cores
(Epstein, Dwaraknath, Winnicki; arXiv:2602.10378v1), tested against the authors'
code at commit acaf8712f8c146c837e1d1dcccb56ce6322962bc.
Claim under test. Fusing the Laplace-corrected Gaussian kernel improves implementation throughput without changing its signed estimator, whose statistical behaviour remains distinct from empirical SD-KDE.
Verdict: verified, with three scope conditions (no universal speedup, no nonnegative-density claim, no A6000 digit match — see What this does not establish).
| Part | Test | Result |
|---|---|---|
Kernel is K_h(r)(1.5 − 0.5 r²/h²) and equals K_h − (h²/2)ΔK_h |
float64 identity + finite-difference Laplacian, independently coded | max abs error 4.4e-16; FD check 4.4e-7 |
| Signed, negative tails retained | mass / moments / sign root | ∫K_LC = 1.0000000000000002, ∫r²K_LC = −1e-17, ∫r⁴K_LC = −3.0000 h⁴, sign flips at r/h = 1.7320508 = √3 |
| Fusion does not change the estimator | fused vs non-fused raw signed densities | 1.1e-16 (float64), 6.0e-8…8.9e-8 max abs / 1.6e-7…2.8e-7 rel (float32 and GPU Triton); 0 sign disagreements in 18 runs |
| Fusion improves throughput | authors' Triton kernels, their timing protocol, A10G | 1.93× → 6.20× (n = 128 → 4096); fused 0.19–0.20 ms flat, non-fused 0.387 → 1.199 ms |
| Statistics distinct from empirical SD-KDE | MISE / MIAE / integrated negative mass | empirical SD-KDE worse on both metrics at every n; negative mass 1.69e-3 vs exactly 0 at n = 4096 |
1. Kernel mathematics, checked independently
All three paths are separately coded in code/independent_1d.py: (A) the
definition p − (h²/2)Δp with the analytic 1D Laplacian, (B) the fused factor
form used by the kernel, (C) the non-fused two-pass form.
| check (h = 0.37, float64) | value |
|---|---|
maxabs(K_h(1.5−0.5s²) − [K_h − (h²/2)K_h'']) |
4.44e-16 (4.12e-16 relative) |
central-difference Laplacian vs analytic K_h'' |
4.41e-07 |
| FD-Laplacian corrected kernel vs closed form | 3.02e-08 |
| ∫ K_LC dr over ±40h | 1.0000000000000002 |
| ∫ r² K_LC dr / h² | −1.04e-17 |
| ∫ r⁴ K_LC dr / h⁴ | −3.0000 |
| sign-change radius r/h | 1.7320508075688772 (√3) |
K_LC·h at r/h = 1.5, √3, 2.0, 3.0: +0.04857, +7.8e-06, −0.02700, −0.01330.
The kernel integrates to one and has zero second moment but a negative
fourth moment — a fourth-order kernel that is not a probability density.
2. Signed error and negative mass (declared config)
Released settings: weights (.3,.4,.3), means (−2,0,2), σ (.4,.7,.3), n_train 128…4096, 2048 grid points on [−6,6], Silverman bandwidth per n, seed 0, one 4096-draw per replicate with prefix subsets. MISE/MIAE are the mean of the three per-replicate ISE/IAE (trapezoid, signed density, no clipping).
| n | KDE MISE | fused LC MISE | non-fused MISE | emp SD-KDE MISE | KDE MIAE | fused LC MIAE | emp MIAE | LC neg. mass |
|---|---|---|---|---|---|---|---|---|
| 128 | 3.4435e-2 | 1.8034e-2 | 1.8034e-2 | 3.0365e-2 | 4.0125e-1 | 2.8664e-1 | 3.6990e-1 | 1.021e-2 |
| 256 | 2.7163e-2 | 1.1633e-2 | 1.1633e-2 | 2.1592e-2 | 3.5296e-1 | 2.1593e-1 | 3.0521e-1 | 8.478e-3 |
| 512 | 2.1044e-2 | 7.1874e-3 | 7.1874e-3 | 1.4884e-2 | 3.0239e-1 | 1.6925e-1 | 2.4657e-1 | 5.699e-3 |
| 1024 | 1.4812e-2 | 3.8112e-3 | 3.8112e-3 | 8.7519e-3 | 2.4841e-1 | 1.1892e-1 | 1.8130e-1 | 4.389e-3 |
| 2048 | 1.0311e-2 | 1.7946e-3 | 1.7946e-3 | 4.9426e-3 | 2.0356e-1 | 8.0977e-2 | 1.3261e-1 | 2.642e-3 |
| 4096 | 7.2109e-3 | 1.1142e-3 | 1.1142e-3 | 2.8013e-3 | 1.6325e-1 | 6.5009e-2 | 9.7414e-2 | 1.687e-3 |
At n = 4096 the corrected estimator has mass 1.0000, ∫|p̂| = 1.00337, minimum −0.00419; empirical SD-KDE has ∫|p̂| = 1.0, minimum 0.0 and negative mass exactly 0. The two estimators are different objects: the Laplace estimator is linear in the empirical measure and signed, the empirical SD-KDE is not linear and nonnegative.
Definition check. Computing ISE of the replicate-averaged density instead of averaging per-replicate ISE gives 0.710× the reported MISE (10 replicates) and 0.799× (declared 3) — a 20–29% error, which is why the averaging order is stated explicitly above.
3. Fused vs non-fused: identical estimator, different cost
Output agreement (raw signed densities, per (n, replicate)):
| path | max abs diff | max rel diff |
|---|---|---|
| float64, fused vs non-fused | 1.11e-16 | 3.06e-16 |
| float32, fused vs non-fused | 5.96e-8 … 8.94e-8 | 1.6e-7 … 2.8e-7 |
| A10G Triton, fused vs non-fused | 5.96e-8 … 8.94e-8 | — |
| A10G fused vs independent float64 definition | — | 1.4e-7 … 2.3e-7 |
Zero sign disagreements between fused and non-fused in all 18 (n, replicate)
runs; both return (2048,) float32 tensors in every run. Induced change in
MISE between the two paths is < 1e-9 absolute (e.g. 3.811235e-3 vs 3.811236e-3
at n = 1024). The GPU statistics also match the CPU float32 statistics to six
digits (MISE at n = 4096: 1.114168e-3 both), so the Triton path is not silently
changing the estimator.
Runtime, authors' protocol (one warmup + one discarded pass, then 3 CUDA-event
repeats, mean of 3 data replicates; splitk_stream, fast_tf32, autotune on):
| n | KDE ms | fused ms | non-fused ms | non-fused / fused |
|---|---|---|---|---|
| 128 | 0.2025 | 0.2002 | 0.3870 | 1.93× |
| 256 | 0.1905 | 0.1926 | 0.3911 | 2.03× |
| 512 | 0.1958 | 0.1964 | 0.4030 | 2.05× |
| 1024 | 0.1939 | 0.1947 | 0.4716 | 2.42× |
| 2048 | 0.1943 | 0.1950 | 0.7218 | 3.70× |
| 4096 | 0.2037 | 0.1932 | 1.1986 | 6.20× |
Timing boundaries are identical for the two paths: same inputs, same output
shape/dtype, host transfer (.cpu()) outside the timed region, same warmup and
repeat count. 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.
What this does not establish
- No fixed speedup. 1.93×–6.20× is specific to n, to this A10G, and to the 1D launch-bound regime. The paper tabulates no 1D speedup; Figure 4 shows a ~2–8× band, which this reproduces in shape but cannot match digit-for-digit.
- No speedup on CPU. In NumPy float64 at n = 4096 the fused form is slower (0.1137 s vs 0.1013 s). The throughput claim is about the fused GPU kernel, not about the algebra.
- No nonnegative probability density. The estimator integrates to 1 but has negative mass (1.69e-3 at n = 4096) and negative values; it is not a density.
- No A6000 number. The A10G (80 SMs reported by torch) is a different Ampere part from the paper's RTX A6000 (84 SMs); absolute times and ratios will move with hardware.
- "Distinct" is an estimator-class statement, not a significance test. The ordering (LC < empirical SD-KDE in both MISE and MIAE) holds at all six n and across 10 replicates, but the declared config has 3 replicates, which is too few for a formal test. In 1D the Laplace estimator also wins MIAE, whereas the paper's 16-D text reports Flash-SD-KDE as best on MIAE; that is a dimension-dependent ordering, not a contradiction of the claim.
Deviations from the released setup
- GPU is an A10G (24 GB, 80 SMs as reported by torch), not the paper's RTX A6000.
- A float64 "gold" pass was added; the released code is float32 throughout.
- 10 replicates were run; the first 3 draws are exactly the declared config (RNG stream is replicate-outer), the other 7 are a labelled extension. Primary tables above use the declared 3.
- The authors'
gitbudrun-directory/Slack plumbing was bypassed; their_time_call/_time_repeatedand call sequence were copied verbatim. - Grid is float64 in the gold pass and float32 in the as-released pass.
densities_curves.npzis not archived here; the script regenerates it.
Files
code/run.py— the single end-to-end entry point (kernel checks → 1D statistics → GPU timing);code/independent_1d.pyandcode/gpu_a10g.pyare the two arms it merges.code/independent_1d.py— independent float64/float32 implementation, kernel checks, signed ISE/IAE/negative mass, fused/non-fused equivalence (CPU).code/gpu_a10g.py— authors' pinned Triton kernels: output identity vs the float64 definition, runtime with their protocol.results/independent_1d.json— all per-replicate metrics and checks.results/gpu_a10g.json— GPU metrics, equivalence and timings.results/gpu_run.log— raw stdout of the A10G run.results/run_full.json,results/run_full.log— one completerun.pyexecution (all three stages, exit 0, all 10 checks PASS).requirements.txt— python 3.12.16, numpy 2.5.5, torch 2.15.0+cu132, triton 3.9.0.
Reproduce: pip install torch triton numpy (resolved here to torch 2.15.0+cu132,
triton 3.9.0, numpy 2.5.5), then python code/independent_1d.py (~22 s CPU) and
python code/gpu_a10g.py (needs CUDA; clones the pinned commit itself).
Compute used: one A10G-small sandbox, ~14 min, ≈ $0.23.
Citation
@article{epstein2026flashsdkde,
title = {Flash-SD-KDE: Accelerating SD-KDE with Tensor Cores},
author = {Epstein, Elliot L. and Dwaraknath, Rajat Vadiraj and Winnicki, John},
journal= {arXiv preprint arXiv:2602.10378},
year = {2026},
url = {https://arxiv.org/abs/2602.10378}
}
- Downloads last month
- 30