zackangelo

Joined 14 years ago

Karma
375
Submissions
175
Member since
Jul 23
building mixlayer, zack at mixlayer.com
View on Hacker News

Recent submissions

Comment · 23 days ago
Comment · 1 month ago
I just finished overhauling our speculative decoding implementation for Mixlayer, so maybe I can help.

I think the piece of information that might make this click for you is the model outputs the probability distribution for all intermediate tokens even during prefill.

So for example, let's say you prefill the prompt "The quick brown fox" (and for the sake of simplicity, let's say each word is a single token). The model outputs a tensor that is [4, $vocabulary_size]. The first dimension is a token index into the input and the 2nd dimension assigns a probability to each token in the vocabulary. So even during prefill, we can look at the prediction logits for all of the intermediate tokens. That is, we can look at what the model would have predicted after "quick" and "brown", not just the tail token "fox".

In the single token autoregressive case, we just look at the next token prediction for "fox". But in the speculative decoding case we can use this information to compare the distribution of the draft model against the target model. In the greedy decoding case (ie, no sampling) we just make sure the highest probability token matches in draft and target. If we have sampling params like temperature and top-P, we have to apply something called Leviathan rejection sampling to the distribution. This basically allows us make sure the distribution is the same even if the exact probabilities are not and accept or reject draft tokens on that.

Comment · 1 month ago
Something a lot of model providers don't talk about: any time an engine uses speculative decoding the throughput will depend on how much your output token distribution matches what the draft model was trained on.

The DFlash2 draft model we're using was trained on a lot of code, so if you use it in a coding agent you'll probably notice it run a lot faster (we've seen it break 300 tok/s).

Comment · 1 month ago
just added 8 more H200s to the cluster, if you (or anyone else) runs into issues please feel free to drop me a message: zack at mixlayer.com
Comment · 1 month ago
apologies we just got a sudden burst of new users and traffic, it's scaling up now.
Comment · 1 month ago
Comment · 2 months ago
What was wrong with your R1S?

I had an R1T Launch Edition for a little over a year and it was hands down one of the best cars I’ve ever owned. The only issue I had was with the fob proximity sensor. The only reason I sold it was it was a bit too big for me.

Comment · 2 months ago
DFlash is lossless so this would be a bug in the implementation if it is indeed a regression against the target model.
Comment · 4 months ago
Blackwell supports nvfp4 natively.
Comment · 4 months ago
what was the concurrency limitation? that node should be able to support a lot more
Comment · 4 months ago
I don't believe safetensors has a native int4 dtype, so they packed 4 int4s into a bf16 in this checkpoint.
Comment · 5 months ago
If you're in SF and weighing this decision, it's easy to get tilted in the buy direction because the rental stock is so horrific. Landlords have very little incentive to update properties or provide basic amenities that people take for granted in other major cities (good luck getting a washer/dryer).
Comment · 5 months ago
With the 3.5 release, the Plus model was just a rebrand of the open weight 397B. But I suspect that will change going forward. They haven’t released the weights for 3.6 but they did make it available through a few US providers.
Comment · 5 months ago
absolutely not, take Kimi K2.6 for a spin

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton