Better HN
topnewbestaskshowjobs
Log inSign up

nserrino

393 karma · joined Dec 25, 2015 (10y ago) · 56 submissions

Submissions

1.

Why hardware specialization is back(twitter.com ↗)

2 points · by nserrino · 1mo ago · discuss

comment 4mo ago · link · parent

Voice is one of the most latency-sensitive modalities in AI. Moonshine is doing awesome stuff

3.

Formally verifying AI-generated GPU kernels(gimletlabs.ai ↗)

2 points · by nserrino · 4mo ago · discuss

4.

Formally Verifying AI-Generated GPU Kernels(gimletlabs.ai ↗)

1 points · by nserrino · 4mo ago · discuss

5.

Low-Latency Inference with Speculative Decoding on D-Matrix Corsair and GPU(gimletlabs.ai ↗)

1 points · by nserrino · 8mo ago · discuss

6.

The emerging role of SRAM-centric chips in AI inference(gimletlabs.ai ↗)

3 points · by nserrino · 9mo ago · discuss

comment 1y ago · link · parent

Hey, thanks for the thoughtful comments. A lot of big claims have been made in this area so skepticism is the right default reaction. tl;dr: agree that we should provide the kernels and benchmark suite so this can be evaluated by others, will follow up with that.

A few clarifications:

1. Baselines - We didn't compare to torch.compile because as of PyTorch 2.7, torch.compile doesn't support the MPS backend, and we ran into some issues on many of the problems when using it. GitHub issue: https://github.com/pytorch/pytorch/issues/150121. Once it's supported, it will be the obvious baseline.

2. Methodology - We followed KernelBench’s protocol to establish a baseline on Metal, adding more correctness checks. Warmup and synchronization were done. We recognize the limitations here and are expanding the validation suite.

3. Optimizations - Right now most of the optimizations are fusions, but there is some use of Metal-specific primitives/optimizations. We expect as we make the supervisor more sophisticated, the novelty of the optimized kernels will also increase.

Overall the goal here is to get some % of the benefit of a human expert in kernel engineering, without developer effort. Compiler-based optimizations are great, but hand-tuned implementations are still common for performance-critical models. The hope is that we can automate some of that process.

comment 1y ago · link · parent

PyTorch is the baseline because that's what people prototype in, and the most common reference point. The aim here is to show that you can start from prototype code and automatically produce lower-level kernels (in this case Metal) that are more usable in real deployments, without additional work from the developer. Frontier models are capable at generating efficient Metal kernels automatically/immediately, and will only get better. We expect to see significant improvements as we refine the approach, but it's enough to show this seems to be a tractable problem for AI.

9.

Speeding up PyTorch inference on Apple devices with AI-generated Metal kernels(gimletlabs.ai ↗)

187 points · by nserrino · 1y ago · 30 comments

comment 1y ago · link · parent

They are just incredible live ... Flood was the soundtrack of my childhood. It's great to see how many fans on HN they have. If you have a chance to check them out in concert, do it!

comment 1y ago · link · parent

What kind of models are you deploying and what type of problems are you having with deploying them?

comment 2y ago · link · parent

I've mostly switched over to Waymo, but had to take Ubers twice in the last month:

* The first one, the driver made multiple racist remarks about different groups he observed as we drove.

* The second one, the driver talked at length about UFOs and how they are real, for the entire 50 minute drive.

Most drivers are totally normal and don't do things like that, but the tail end of negative experiences can be quite bad. Dirty cars, loud radios, body odor, and unsafe driving are all relatively common with human drivers. A Lyft driver I was riding with a few years back almost ran over a man in a wheelchair who had the right of way.

Wait times are also more reliable so far with Waymo. It's not uncommon for an Uber/Lyft driver to accept a ride but then not drive toward you for 5+ minutes. Waymo has the advantage of predictability - both in terms of arrival time and overall travel time (whereas there is variance among human drivers).

Sometimes I've had Waymos get stuck, but it usually resolves within 10-15 seconds.

Given how smooth, predictable, and safe Waymos are, I don't see a strong reason to risk a negative experience with a human driver (beyond ideological reasons). However, I hope another strong provider comes on the market soon to give them some competition.

13.

Show HN: Pixie, open source observability for Kubernetes using eBPF(github.com ↗)

6 points · by nserrino · 4y ago · 3 comments

comment 4y ago · link · parent

The stories we often see about burnout in tech are interesting. There’s a lot about burning out of programming etc, the hours. Of course, long hours will eventually burn you out in most any profession. Less commonly discussed, it seems like most people I know actually burn out from bureaucracy. It’s far more exhausting and demotivating to not make forward progress and waste time in meetings all day. Of course, it should go without saying that some meetings are necessary.

15.

Dumpster diving the Go garbage collector(blog.px.dev ↗)

13 points · by nserrino · 4y ago · discuss

16.

Observing HTTP/2 Traffic Is Hard, but eBPF Can Help(blog.px.dev ↗)

91 points · by nserrino · 4y ago · 4 comments

17.

Did I get owned by Log4Shell?(blog.px.dev ↗)

3 points · by nserrino · 4y ago · discuss

18.

Distributed Bpftrace with Pixie(blog.px.dev ↗)

4 points · by nserrino · 5y ago · discuss

comment 5y ago · link · parent

For me, the issue was that the recipes took too long. The huge amounts of packaging didn’t help, either. It was way too much work overall.

comment 5y ago · link · parent

We use an operator to deploy Pixie: https://github.com/pixie-io/pixie/tree/main/src/operator https://github.com/pixie-io/pixie/tree/main/k8s/operator

21.

Horizontal Pod Autoscaling with Custom Metrics in Kubernetes(blog.px.dev ↗)

4 points · by nserrino · 5y ago · discuss

comment 5y ago · link · parent

Thanks for the guide. I don't love using Java, but I recall that Java IDEs from 2010 provided a smoother experience for this functionality than VSCode seems to for non-Java apps today. I wonder how long it will take to reach parity there, or if there is something fundamental to the problem for non-JVM languages?

comment 5y ago · link · parent

I guess this is like saying "A Joule is a Joule" regarding different types of energy (gravitational potential, nuclear, etc). It may be true in an abstract sense, but the conversion efficiency makes a large impact in a practical sense.

comment 5y ago · link · parent

Correct, this project is unaffiliated with that one.

comment 5y ago · link · parent

Pixie maintainer / OP here. There's a lot of debate right now about licensing in the open source community. We made the call to go with Apache 2.0, and the lead of our project wrote in the post about why we made that decision.

26.

Open sourcing Pixie under Apache 2.0 license(blog.px.dev ↗)

108 points · by nserrino · 5y ago · 18 comments

27.

Want to Debug Latency? (2018)(rakyll.medium.com ↗)

2 points · by nserrino · 5y ago · discuss

28.

A thorough introduction to eBPF (2017)(lwn.net ↗)

3 points · by nserrino · 5y ago · discuss

29.

How Etcd works and tips to keep in mind(blog.pixielabs.ai ↗)

7 points · by nserrino · 5y ago · discuss

12