← Questions

Why logits differ between batched and one-at-a-time inference

0
MetaAI/ML designLast asked Nov 2026

An AI/ML design interview question asked in Meta's technical phone screen, last asked Nov 2026. It tests floating point, inference and debugging.

A trained classifier scores the same inputs twice: once as a single batch, and once in a loop that feeds one input per forward pass. The logits from the two runs are not identical; they are off by roughly 1e-11.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Meta · Technical phone screen · Last asked Nov 202645 min · Two coding problems in CoderPad, about 20 minutes each · Usually no AI; some newer screens are AI-assisted

What it tests

floating point · inference · debugging · numerical stability

Your canvas and the AI tutor open when you unlock this question.