HackerTrans
トップ新着トレンドコメント過去質問紹介求人

nsomani

no profile record

投稿

[untitled]

1 ポイント·投稿者 nsomani·2 か月前·0 コメント

Autoformalization and the Future of Math Research

neelsomaniblog.com
2 ポイント·投稿者 nsomani·5 か月前·0 コメント

Show HN: GPT-Erdos – the results of GPT 5.2 Pro on the Erdos problems

ocf.berkeley.edu
1 ポイント·投稿者 nsomani·6 か月前·0 コメント

Show HN: A website that auctions itself daily

thedailyauction.com
43 ポイント·投稿者 nsomani·6 か月前·19 コメント

Show HN: Symbolic Circuit Distillation: prove program to LLM circuit equivalence

github.com
16 ポイント·投稿者 nsomani·6 か月前·2 コメント

The endgame for mechanistic interpretability is formal methods

neelsomaniblog.com
2 ポイント·投稿者 nsomani·6 か月前·0 コメント

Show HN: Do Models Represent Epistemic Stance?

github.com
3 ポイント·投稿者 nsomani·7 か月前·0 コメント

Intro to Routing: Mixture-of-Experts and Expert Choice

neelsomaniblog.com
1 ポイント·投稿者 nsomani·8 か月前·0 コメント

Show HN: KV Marketplace – share LLM attention caches across GPUs like memcached

github.com
2 ポイント·投稿者 nsomani·8 か月前·1 コメント

A Minimal Route to Transformer Attention

neelsomaniblog.com
2 ポイント·投稿者 nsomani·9 か月前·0 コメント

Show HN: Cuq – Formal Verification of Rust GPU Kernels

github.com
94 ポイント·投稿者 nsomani·9 か月前·63 コメント

Killing the GIL: How to Use Python 3.14's Free-Threading Upgrade

neelsomaniblog.com
2 ポイント·投稿者 nsomani·9 か月前·0 コメント

Is GRPO Broken?

neelsomaniblog.com
2 ポイント·投稿者 nsomani·9 か月前·0 コメント

Intro to RL: Off-Policy Methods

neelsomaniblog.com
2 ポイント·投稿者 nsomani·9 か月前·0 コメント

What You Didn't Learn in Berkeley CS 188: Intro to RL

neelsomaniblog.com
2 ポイント·投稿者 nsomani·9 か月前·0 コメント

Show HN: Web2mcp – Auto-generate an MCP for any web app

github.com
2 ポイント·投稿者 nsomani·11 か月前·1 コメント

コメント

nsomani
·6 か月前·議論
Appreciate that. I didn't realize how derivative this was when I built it! I was just trying to build something cool with the Codex SDK.
nsomani
·6 か月前·議論
They cannot edit the iFrame itself. The user is allowed to edit the contents within the iFrame.
nsomani
·6 か月前·議論
The Codex agent is only given tools to edit the single HTML file that displays on the homepage. The page is on a separate domain, so there's no cookie sharing, and the iFrame is in a sandbox. That said, the biggest risk is social engineering attacks.
nsomani
·6 か月前·議論
There are two examples provided - quote matching and bracket closing.
nsomani
·8 か月前·議論
Hi all - this is a small research prototype I built to explore cross-GPU reuse of transformer attention states.

When inference engines like vLLM implement prefix/KV caching, it's local to each replica. LMCache recently generalized this idea to multi-tier storage.

KV Marketplace focuses narrowly on the GPU-to-GPU fast path: peer-to-peer prefix reuse over RDMA or NVLink. Each process exports completed prefix KV tensors (key/value attention states) into a registry keyed by a hash of the input tokens and model version. Other processes with the same prefix can import those tensors directly from a peer GPU, bypassing host memory and avoiding redundant prefill compute.

Under optimistic conditions (perfect prefix importing), the prototype shows about a 15% reduction in latency and throughput gains without heavy tuning. The code is intentionally minimal (no distributed registry, eviction, or CPU/disk tiers yet) but it's a prototype of "memcached for attention."

I thought others exploring distributed LLM inference, caching, or RDMA transports might find the repo useful or interesting.
nsomani
·9 か月前·議論
Oh really? I can't find anything about the memory model online. I'm not sure what's the best way to do this, but if there's a way for us to get in contact, I'd be interested in adjusting the project so it's developed in the most ergonomic way possible. I'm chatting with a couple of universities and I might issue a research grant for this project to be further fleshed out, so would be keen to hear your insights prior to kicking this off. My email is neel[at]berkeley.edu.
nsomani
·9 か月前·議論
I think I've just spent too much time reading the word "CUDA" that I read "cu" as "koo", lol.
nsomani
·9 か月前·議論
That instinct is right. cuTile would be easier to parse but harder to reason about formally.
nsomani
·9 か月前·議論
Oh wow, honestly this caught me off guard - I've been pronouncing it "kook" in my head the whole time.
nsomani
·9 か月前·議論
Hi all, this is a small research prototype I built that connects Rust's MIR (Mid-level IR) to Coq, the proof assistant used for formal verification.

cuq takes the MIR dump of a Rust CUDA kernel and translates it into a minimal Coq semantics that emits memory events, which are then lined up with the PTX memory model formalized by Lustig et al., ASPLOS 2019.

Right now it supports:

* a simple saxpy kernel (no atomics)

* an atomic flag kernel using acquire/release semantics

* a "negative" kernel that fails type/order checking

The goal isn't a full verified compiler yet. It's a first step toward formally checking the safety of GPU kernels written in Rust (e.g. correct use of atomics, barriers, and memory scopes).

Happy to hear thoughts from folks working in Rust verification, GPU compilers, or Coq tooling.
nsomani
·11 か月前·議論
I agree with you. I agree with OP in the following sentences:

>We have now landed on our final strategy: start by figuring out the number of possible secret codes n. For each guess, calculate the number n_i' of codes that will still be viable if the Code Master gives response i in return. Do this for all possible responses.

But then I don't agree with:

>Finally, calculate the entropy of each guess; pick the one with the highest.

Why wouldn't we just pick argmin_{guess} sum{i in possible responses}{Pr[i] * n'_i} = sum{i in possible responses}{n'_i/n * n'_i} = sum{i in possible responses}{n'_i^2}? This is the guess that minimizes the expected size of the resulting solution space.
nsomani
·11 か月前·議論
Hey friends, I was originally interested in a slightly adjacent space related to traversing a complex tree of actions in a web app: https://x.com/paulg/status/1897338753590653000?s=46

I open-sourced this repo to (1) identify all of the clickable components in a web app using `computer-use-preview`, (2) traverse the tree of actions using Browserbase/Stagehand, then (3) generate a reasonable MCP interface using GPT-5: https://github.com/neelsomani/web2mcp

Here's an example of it running on a demo app: https://drive.google.com/file/d/1dy5lllRKkc7_usiiwsdOEMQTbdq...

Less trivial example where it generates a video using Hedra Character 3: https://drive.google.com/file/d/1JeFidakOB8NYyB7LfrgPum40Pce...

You just need to set your login credentials in the .env file as specified in the README. Let me know if you have any questions - happy to share reasoning on the design!