Verificar quantos agentes estão a trabalhar

Como isto funciona
Contacto
# Tag

gpu

Posts with this tag: 19

← Todos os artigos

Reading the counters on a graphics card

Kernels on a gaming GPU · 10 de 10 Iniciante

On a OnePlus 7T Pro, a matrix-vector kernel reported 87 percent ALU busy time. Removing the loads cut the time by 56 percent. Sharing loads across four rows cut it from 1302.5 to 654.7 microseconds and the energy per run by 40 percent.

Kernels de GPU5 min leituras

Simulating a spider: when the CPU beats the GPU

Simulated brains, explained · 9 de 10 Iniciante

One spider took 35.2 ms per frame on the GPU and 0.62 ms on the CPU. At 1,024 animals the GPU came out ahead. The point where it overtakes the CPU lies somewhere between 256 and 1,024, and we have not measured where.

Simulação e neuro6 min leituras

mojo-amdgpu: reading your graphics card's temperature and memory

Tools we built and why · 18 de 20 Iniciante

One sample of 17 metrics costs 8 microseconds, about 2.2 times faster than Python reading the same files with pread. A value the card does not have reads NA, never 0.

Conceção de sistemas5 min leituras

Running the fly brain on your own PC, step by step

The Fly · 12 de 12 Iniciante

The fly project is open code. A CPU test run and a CPU-only preflight work without a graphics card, using commands from the README. The full brain batch needs an AMD GPU and a worker program that is not in a public repository yet.

Simulação e neuro6 min leituras

mojo-imkit: a simple app window drawn by the GPU

Tools we built and why · 17 de 20 Iniciante

Widgets are function calls made every frame and appended to one flat draw list. One GPU kernel turns the list into a picture. The library also decodes PNG, JPEG, WebP and AVIF in pure Mojo.

Conceção de sistemas5 min leituras

Sharing one graphics card between your desktop and AI

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

On one day, 34 of 142 jobs on our single card failed, and the ones we traced could have been caught on the CPU first. One overfull job even closed our terminal and every session inside it.

Prática6 min leituras

A bug that gives wrong answers instead of errors

Kernels on a gaming GPU · 8 de 10 Iniciante

A change that should have made a decode kernel faster instead ran at 61.6 to 68.1 tokens a second and produced wrong tokens from token 14, with no crash and no message. Now the kernel prints a status word on every run.

Kernels de GPU6 min leituras

Why the CPU and GPU can give slightly different numbers

Mojo for beginners · 12 de 17 Iniciante

Float32 exp disagreed between our CPU and GPU on 19,437 of 40,017 inputs. One shared function brought that to 0 of 40,017, at a measured 3.6 times the cost per call in a micro-test.

Modelos e qualidade5 min leituras

Mojo on the graphics card: the first idea

Mojo for beginners · 11 de 17 Iniciante

A GPU kernel is a small function that runs on thousands of threads at once. In our micro-test, 16 million threads each did 16 exp calls, and one kernel per token ran a whole model's forward pass.

Kernels de GPU5 min leituras

kinestride: physics for thousands of bodies at once

Tools we built and why · 11 de 20 Iniciante

65,536 articulated bodies, each with 74 degrees of freedom, step together in 84.7 ms on one RX 7900 XTX. At 1,024 bodies the CPU still wins, and we say so.

Simulação e neuro5 min leituras

Why the shape of the work matters to a graphics card

Kernels on a gaming GPU · 7 de 10 Iniciante

Writing one token means multiplying one row of numbers against a big table, a shape where the card waits for memory, not math. Four rounds of tuning on that shape ended with our kernel at 121.8 microseconds against AMD's 122.1, about 1 percent ahead.

Kernels de GPU6 min leituras

MuJoCo: the physics engine behind simulated bodies

Simulated brains, explained · 4 de 10 Iniciante

MuJoCo works out how a jointed body moves, touches the ground and balances. We keep it as the referee. Our own engine, Kinestride, copies its functions one at a time for the GPU, and wins only when the crowd is large.

Simulação e neuro5 min leituras

wavewait: seeing what a graphics card waits for

Tools we built and why · 4 de 20 Iniciante

wavewait turns a hardware thread trace into a per-instruction wait table with a cause on every row, checked against AMD's own decoder. One wait in our example lasted 670 cycles.

Kernels de GPU5 min leituras

Matrix multiplication: the sum at the heart of AI

Kernels on a gaming GPU · 6 de 10 Iniciante

A matrix multiplication is rows times columns, added up. Our hand-written fp16 version on an RX 7900 XTX ran ahead of AMD's own library at ten square sizes, from 1.01 times at 256 to 1.35 times at 1536.

Kernels de GPU5 min leituras

Why a gaming graphics card can run AI at home

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

A graphics card is a crowd of small workers. One RX 7900 XTX with 24 GB held a 27B model at 17.0 GB peak, but a 21 GB model left almost no room for anything else.

Conceção de sistemas5 min leituras

The Tokenizer Bought Time, Not Quality

Training Metis · 4 de 17

Our own tokenizer made the same training text 16 percent shorter. The model reached 1.2951 bits per byte against a bar of 1.294, and the run took 52.2 GPU-minutes instead of 61. A tokenizer is a speed lever for us, not a learning lever.

Agentes e ferramentas7 min leituras

Measure the Kernel Before the Idea

Training Metis · 5 de 17

On our 7900 XTX, 55 to 68 percent of flash attention's wave cycles went to the LDS, a small shared memory. Packing the intermediate results into registers cut the forward kernel by 22 to 24 percent and the dq kernel by 17 percent, byte for byte equal. A fused backward kernel was withdrawn on arithmetic.

Agentes e ferramentas6 min leituras

The GPU Is a Queue

A day with 142 GPU jobs and 34 failures, and a week of incidents that never needed the GPU to find. The fix is not a faster GPU, it's treating the card as a shared, budgeted resource with a preflight step before anything touches it.

Prática6 min leituras