Better HN
topnewbestaskshowjobs
Log inSign up

vrm

79 karma · joined Jun 4, 2016 (10y ago) · 40 submissions

CTO @ TensorZero, previously worked on RL, fusion, and robotics at Carnegie Mellon, data & analytics at KKR, and robot learning at Stanford

virajm.com

Submissions

comment 4mo ago · link · parent

good luck running a 2.4T model on any local hardware. it’s not gonna happen. the arrow is to specialized hardware at least for the smartest models

comment 6mo ago · link · parent

TBH it's intended only for internal use (we don't even publish it as a crate at this point) so I don't particularly mind it being low-key. But I appreciate it!

comment 6mo ago · link · parent

If you don't need a ton of throughput I think `absurd` (and our Rust derivative `durable`) are very nice options that keep the client side extremely simple. It's also lightweight enough that a coding agent can keep the entire thing in its head easily and just run queries to look up state as needed.

comment 6mo ago · link · parent

Since DBOS doesn't support Rust, we implemented a very minimal Rust version of this at https://github.com/tensorzero/durable. It has been quite stable and extensible but of course you need to be very careful with the SQL implementations. Hope this is interesting to readers here.

5.

ATLAS: Autoformalized Textbook Library At Scale(github.com ↗)

32 points · by vrm · 6mo ago · 4 comments

comment 6mo ago · link · parent

It’s really not a concept you can express in idiomatic Python very easily. This comes from the actual generated assembly involving copies from global GPU memory into registers (slow, bandwidth saturates quickly) and back in between the cosines. If you can avoid the intermediate roundtrip that cuts the cost approximately in half.

comment 6mo ago · link · parent

One question I have here: I think this type of thing would be trivial to do in Rust with constructors, private fields, and newtypes. What am I getting on top of it?

8.

Stop comparing price per million tokens: the hidden LLM API costs(tensorzero.com ↗)

3 points · by vrm · 7mo ago · 2 comments

9.

Ask HN: What do you recommend for test observability?

3 points · by vrm · 1y ago · discuss

10.

Improving Cursor Tab with RL(cursor.com ↗)

6 points · by vrm · 1y ago · discuss

comment 1y ago · link · parent

that is earnings (net income) not revenue (top line) so these are wildly different and incomparable numbers

comment 1y ago · link · parent

a 6:1 parameter ratio is too small for specdec to have that much of an effect. You'd really want to see 10:1 or even more for this to start to matter

comment 1y ago · link · parent

This is neat! I think in general there are really deep connections between semantically meaningful diffs (across modalities) and supervision of AI models. You might imagine a human-in-the-loop workflow where the human makes edits to a particular generation and then those edits are used as supervision for a future implementation of that thing. We did some related work here: https://www.tensorzero.com/blog/automatically-evaluating-ai-... on the coding use case but I'm interested in all the different approaches to the problem and especially on less structured domains.

14.

Automatically Evaluating AI Coding Assistants with Each Git Commit(tensorzero.com ↗)

3 points · by vrm · 1y ago · discuss

15.

Wider or Deeper? Scaling LLM Inference-Time Compute with Adaptive Tree Search(arxiv.org ↗)

3 points · by vrm · 1y ago · discuss

comment 1y ago · link · parent

if you haven't check out our repo -- it's free, fully self-hosted, production-grade, and designed for precisely this application :)

https://github.com/TensorZero/tensorzero

comment 1y ago · link · parent

I definitely see different prompts based on what I'm doing in the app. As we mentioned there are different prompts for if you're asking questions, doing Cmd-K edits, working in the shell, etc. I'd also imagine that they customize the prompt by model (unobserved here, but we can also customize per-model using TensorZero and A/B test).

comment 1y ago · link · parent

we're doing the latter! Cursor lets you configure the OpenAI base URL so we were able to have Cursor call Ngrok -> Nginx (for auth) -> TensorZero -> LLMs. We explain in detail in the blog post.

comment 1y ago · link · parent

wireshark would work for seeing the requests from the desktop app to Cursor’s servers (which make the actual LLM requests). But if you’re interested in what the actual requests to LLMs look like from Cursor’s servers you have to set something like this up. Plus, this lets us modify the request and A/B test variations!

comment 1y ago · link · parent

We're working on an OSS industrial-grade version of this at TensorZero but there's a long way to go. I think the easiest out of the box solution today is probably OpenAI RFT but that's a partial solve with substantial vendor lock-in.

comment 1y ago · link · parent

This is very neat work! Will be interested in how they make this sort of thing available to the public but it is clear from some of the results they mention that search + LLM is one path to the production of net-new knowledge from AI systems.

comment 1y ago · link · parent

would it be possible to fuzz an arbitrary JSON schema with this? I’ve been looking for such a lib for a while now

23.

Think of LLM Applications as POMDPs – Not Agents(tensorzero.com ↗)

2 points · by vrm · 1y ago · discuss

24.

An experimental design perspective on model-based reinforcement learning(blog.ml.cmu.edu ↗)

3 points · by vrm · 4y ago · discuss

comment 5y ago · link · parent

OP here: I saw the spinlaunch video and got really excited that this was completely tractable in simplified form with basic physics. So I did the math expecting to see a huge savings in fuel mass and....it was basically negligible. I'm curious if anyone on HN (maybe even from Spinlaunch!) could explain where I go wrong. Otherwise you might find it interesting to read. Thanks!

26.

Spinlaunch with Basic Physics [pdf](virajrmehta.com ↗)

2 points · by vrm · 5y ago · 2 comments

comment 5y ago · link · parent

Yeah so the paper I linked on contextual bayesian optimization (https://papers.nips.cc/paper/2019/hash/7876acb66640bad41f1e1...) does a combination of controlling for beta and optimizing linear MHD stability --- which is part of the problem. One of our collaborators has been working precisely on disruption prediction and mitigation but it's on most of our minds: https://www.pppl.gov/news/2021/artificial-intelligence-helps....

comment 5y ago · link · parent

will repost my comment from the other one:

Papers I would recommend from our collaboration on control of normalized plasma pressure: https://papers.nips.cc/paper/2019/hash/7876acb66640bad41f1e1...

plasma profile transport modeling: https://iopscience.iop.org/article/10.1088/1741-4326/abe08d/...

hybrid dynamical modeling of gross plasma quantities: https://arxiv.org/abs/2006.12682

uncertainty quantification for plasma dynamics: https://arxiv.org/abs/2011.09588

It's still early days for this work and for us but we're looking at pushing reinforcement learning in methods and engineering to solve this problem.

comment 5y ago · link · parent

I need to redo my website, just getting into the more public part of my PhD. Papers I would recommend from our collaboration on

control of normalized plasma pressure: https://papers.nips.cc/paper/2019/hash/7876acb66640bad41f1e1...

plasma profile transport modeling: https://iopscience.iop.org/article/10.1088/1741-4326/abe08d/...

hybrid dynamical modeling of gross plasma quantities: https://arxiv.org/abs/2006.12682

uncertainty quantification for plasma dynamics: https://arxiv.org/abs/2011.09588

It's still early days for this work and for us but we're looking at pushing reinforcement learning in methods and engineering to solve this problem

12