Better HN
topnewbestaskshowjobs
Log inSign up

luxiedge

2 karma · joined Dec 8, 2025 (12mo ago) · 28 submissions

Submissions

comment 5d ago · link · parent

In North Texas we stopped thinking of fire ants as something you get rid of and started treating them like weeds. A broadcast bait over the whole yard in spring and fall, then treating single mounds when they pop up after a rain, keeps them down. Kicking a mound or flooding it mostly just makes them move a few feet. Australia still has a real shot at eradication, which we gave up on decades ago, so I hope they keep the funding going.

2.

The answer shouldn't depend on which GPU you rented(regularjoeceo.substack.com ↗)

2 points · by luxiedge · 3w ago · discuss

comment 10mo ago · link · parent

I've developed an attention mechanism called the Waller Operator that maintains constant ~14ms latency regardless of sequence length, compared to FlashAttention's O(N²) scaling.

Benchmarks on NVIDIA H100 with Mistral-7B:

• Constant latency: 14.168-14.305ms across 512 → 524,288 tokens (0.96% variance) • 24.5x faster than FlashAttention v2.8.3 at 32K tokens • O(N log N) memory complexity vs O(N²) • Zero throughput degradation (FlashAttention shows 76% loss from 4K→32K) • Successfully executes at 524K tokens (FlashAttention OOMs beyond 32K)

Full benchmark data: https://github.com/RegularJoe-CEO/vllm/blob/waller-operator-...

FlashAttention baseline for comparison: https://github.com/vllm-project/vllm/pull/33860

The kernel achieves ~492-496 TFLOPS consistently across all sequence lengths.

Looking for feedback on the approach and additional validation suggestions.

4.

Constant 14ms attention: 512→524K tokens (24.5x faster than FlashAttention)(github.com ↗)

1 points · by luxiedge · 10mo ago · 1 comment

5.

Show HN: O(1) memory attention – 512K tokens in 3.85 GB (eval binary)(github.com ↗)

1 points · by luxiedge · 10mo ago · discuss

comment 10mo ago · link · parent

I've been working on a problem in quantitative finance where we need reproducible results for audit trails. Simple stuff like sin(0.5) returns different bits on ARM vs x86, or CPU vs GPU.

Traced it down to libm implementations using different polynomial approximations, FMA instructions, and compiler optimizations. Even the same binary can produce different results depending on CPU microarchitecture.

Ended up building a REST API that forces determinism by using fixed Remez polynomial coefficients, disabling FMA, and enforcing strict evaluation order. Every response includes a SHA256 hash of the output bytes.

Just shipped an update with 19 validated unary functions (trig, hyperbolic, exp, log, roots) plus support for compound expressions. Tested across M1 Mac, x86 Linux, and H100 GPU. Same inputs produce identical hashes on all three.

Curious if others have hit this problem. How do you handle determinism in distributed systems where floating point consistency matters? Is there interest in a tool like this or are people just accepting the drift?

Demo binary: https://github.com/RegularJoe-CEO/LuxiDemo/releases/tag/v2.0...

7.

Why do math libraries produce different results across platforms?(github.com ↗)

3 points · by luxiedge · 10mo ago · 3 comments

comment 12mo ago · link · parent

Love seeing more Rust-based edge AI tooling. The 100% offline constraint is underrated – too many "edge" solutions quietly phone home.

Question: how are you handling numerical precision for the geo-spatial queries? I've been working on deterministic math for similar use cases (autonomous systems, orbital mechanics) and the edge hardware constraints are fascinating.