Verificar quantos agentes estão a trabalhar

Como isto funciona
Contacto
▤ Category

Measurement

Posts in this category: 35

← Todos os artigos

The checks behind every claim about our fly

Simulated brains, explained · 10 de 10 Iniciante

Six results that looked like wins were not. Four habits caught them: a pass mark written before the run, a planted bug, two kinds of control, and a receipt for every number. Even those missed a defect that an outside review found.

Medição6 min leituras

The bottleneck is not always where you think

Measuring things honestly · 14 de 14

The slowest part of a system is the narrow point, and it is often not the part you suspect. A trace, a log line and a boot-to-boot table showed that a link had trained down to a tenth of its speed.

Medição5 min leituras

Measuring how much memory a program really uses

Measuring things honestly · 13 de 14

What the task manager shows versus what a program holds. A real case where a cache held a 14.74 GB model in memory between prompts, and how heaptide finds leaks, growth and holders in one run.

Medição5 min leituras

What "beating a big library" really means

Kernels on a gaming GPU · 9 de 10 Iniciante

With no speculation on either side, our engine decoded at 130.7 tokens a second against 110.0 for llama.cpp on the same weights and prompts, a ratio of 1.19. With speculation on, llama.cpp read 169.5 and we did not beat it.

Medição5 min leituras

Measuring token savings honestly

Token reduction · 8 de 8

Saying a change saves tokens is easy. Showing it is harder. This article explains the honest way to measure, and tells how our own panel of token cuts held guesses written as facts until we checked.

Medição5 min leituras

How a competition score works, and how it can mislead

Kaggle · 6 de 6 Iniciante

A public notebook advertised 0.70 on a solar task, but that was the old metric. Under the real one the same file scored 0.34. Our own validation read 0.42 and the board read 0.36. A score is only as good as what you know about it.

Medição5 min leituras

Planted bugs: testing your tests

Measuring things honestly · 11 de 14

Planting bugs shows that your checks catch the mistakes you thought of. An outside review of our physics engine found a real defect that none of our planted bugs could reveal. Here is what that taught us.

Medição5 min leituras

Waiting on memory or on math: the two reasons code is slow

Measuring things honestly · 10 de 14

The two reasons code is slow, waiting for memory and doing arithmetic, explained with real cases from a GPU physics engine and a phone GPU, including one counter that blamed the wrong thing.

Medição5 min leituras

A check the tested code can cheat

Gates that lie · 10 de 11

Our self-improving code loop had a gate that a candidate could fool by deleting one line, because the stopwatch lived in a file the candidate could edit. The fix was to put the stopwatch out of reach.

Medição6 min leituras

Why our Mojo libraries copy Python byte for byte

Tools we built and why · 14 de 20 Iniciante

mojo-json accepts 95 of 95 valid test files and rejects 188 of 188 invalid ones in JSONTestSuite. mojo-csv read 50 MB at 227.50 MB/s against CPython's 85.79. Same bytes first, then speed.

Medição5 min leituras

Finding the slow part of a program

Measuring things honestly · 9 de 14

A beginner's guide to profiling. Measure first, find the biggest share, test the cheapest fix, and only then build. A real case turned a six times slowdown into one small change.

Medição5 min leituras

Why a test score stops rising

Training Metis · 14 de 17 Iniciante

Four nights of the same training loop gave 45 of 48 on night 1, 2, 3 and 4. Some practice numbers rose, the pool of practice questions shrank, and our own note says the next lever is new tasks a checker can grade.

Medição5 min leituras

When the answer key itself is wrong

Gates that lie · 9 de 11

A patch looked broken because it scored 89.06 percent against a 90 percent bar. The original, unpatched code scored the same. The bar could not be reached by anything. Here is how to check the check.

Medição5 min leituras

Writing down a prediction before you measure

Measuring things honestly · 7 de 14

Why we write a number down before we run a test, what we do with it afterwards, and a real case in which the prediction was wrong because of one assumption we had not checked.

Medição5 min leituras

How fast is fast? Tokens per second explained

AI on your own PC, explained · 10 de 20 Iniciante

We measured 130.7 tokens per second as a median over twenty prompts, and llama.cpp's own number moved between 109.4 and 109.92 across two sessions. Here is how to read such a number.

Medição5 min leituras

Median and range: two numbers better than one average

Measuring things honestly · 6 de 14

A plain explanation of the median and the range, with a real set of five timings in which one slow run drags the average away from what a normal run looks like.

Medição5 min leituras

Comparing the right thing: bytes, not labels

Gates that lie · 8 de 11

A check that looks at labels or short summaries can say yes while the data is wrong. Comparing the real bytes found a bug where one conversation's saved state leaked into another's file.

Medição5 min leituras

Measuring soil from a phone photo

Kaggle · 4 de 6 Iniciante

From 24 labelled soil samples and 162 photos, two image features reached a score of 33.86 on a fair split, against 117 for guessing the typical curve. Our first public scores on the real test were 78.82 and 61.996, and we explain why they were worse.

Medição6 min leituras

Why every number needs something to compare to

Measuring things honestly · 5 de 14

A speed number only means something next to another number. We explain baselines, why they must be measured in the same session, and how our language-model engine went from 0.93 times to 1.34 times llama.cpp.

Medição5 min leituras

A/B tests in plain words: change one thing, compare two arms

Measuring things honestly · 4 de 14

How to compare two versions fairly. Change one thing, alternate the order, check the outputs match, and report the middle of the pairs. A real case from our fly simulation shows each step.

Medição5 min leituras

mojo-port: checking that a rewrite does the same thing

Tools we built and why · 6 de 20 Iniciante

In our wcl demo, 9 of 9 cases match. Break one line on purpose and it drops to 7 of 9. Then the mutant gate flips operators and expects every one to be caught: 8 of 8 were.

Medição5 min leituras

A test that cannot fail is not a test

Gates that lie · 7 de 11

A beginner's guide to planting a bug on purpose. If your tests stay green on broken code, they were not testing anything. We walk through a small example and our own tool for it.

Medição5 min leituras

Oracle tests: checking new code against code you trust

Mojo for beginners · 5 de 17 Iniciante

Run the old tool and the new tool on the same inputs and compare. Our semver library matched Python on 474 parse results, and a planted bug must make the test fail or the test is not trusted.

Medição5 min leituras

Noise: why the same test gives slightly different times

Measuring things honestly · 3 de 14

Why the same test gives different times on the same machine, how to see the noise, and the one trap a tight spread cannot catch, a setting that does nothing at all.

Medição5 min leituras

Why one run is not enough

Measuring things honestly · 2 de 14

One shot can mislead. We retracted two claims about video quality because a second random seed moved the score by more than the gap we were measuring. Here is what to do instead.

Medição5 min leituras

corewait: asking your CPU why a program is slow

Tools we built and why · 3 de 20 Iniciante

A function profile says which code is hot. corewait says why each instruction is slow, on a desktop and on Android phones, so you can pick the right fix.

Medição5 min leituras

Kaggle: what a data science competition is

Kaggle · 3 de 6 Iniciante

A shared problem, a hidden test set and one score. We joined two Kaggle competitions in November: a soil photo task with 24 labelled samples, and a sun filament task where our final model ranked 730 of 1,549 on the public board.

Medição5 min leituras

What a gate is: a check that can say no

Gates that lie · 6 de 11

A plain explanation of gates in software, why a gate that has only ever passed proves nothing, and how breaking your own code on purpose shows the gate works.

Medição5 min leituras

heaptide: finding the memory a program forgot to give back

Tools we built and why · 2 de 20 Iniciante

One heaptide run gives one report: what was never freed, whether memory keeps rising, and who holds it. In our benchmark it took 0.13 s where heaptrack took 1.65 s.

Medição5 min leituras

What a benchmark is, and what it is not

Measuring things honestly · 1 de 14

A beginner's guide to benchmarks. What the word means, why a single number never settles an argument, and the small rules we follow so our own numbers can be checked.

Medição5 min leituras

Reading Soil Grain Size From a Phone Photo

Kaggle · 1 de 6

Leave-site-out, two image features score 33.86 on 24 labelled soils, against 117 for the label prior on the same split. A phone shift, a wrong scale guess and a leaky first validation all moved the number before it held.

Medição10 min leituras

The Bottleneck Was the PCIe Link, Not the Code

GPU idle was 60 percent of decode wall time, and the largest share was host-to-device copies running at 3.1 to 3.4 GB/s against 28.5 GB/s on a healthy boot. The root port negotiated 2.5 GT/s. Several timed A/Bs from that boot are void, one fusion ratio survives, and the machine is still on the slow link.

Medição5 min leituras

A Gate You Have Never Seen Fail Is Not a Gate Yet

Gates that lie · 5 de 11

The fused q4x kernels cut 1244 dispatches per decode token to 992, behind a gate that had never been red. One nudge of about 5e-7 per kernel turned it red three times, each time naming its own kernel. The identity check beside it has still never been seen to fail.

Medição6 min leituras

The profiler crashed because the CPU has a GPU

Four days of a wrong verdict ("unusable with our Mojo kernels") ended when we unbound the integrated GPU. A plain kernel then read SQ_WAVES 32,768 exactly, and a second fault, counters reading zero, came out from behind the first.

Medição6 min leituras