Checking how many agents are working

How this works
Contact
# Tag

beginner

Posts with this tag: 160

← Toate articolele

Reading the counters on a graphics card

Kernels on a gaming GPU · 10 of 10 Beginner

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.

GPU kernels5 min read

The checks behind every claim about our fly

Simulated brains, explained · 10 of 10 Beginner

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.

Measurement6 min read

From generated pictures to a walk-through showroom

AI pictures, explained · 10 of 10 Beginner

The store opened with 7 departments and 80 items after our vision checks rejected 27. Two bugs showed what goes wrong between a good prop and a good room: a backdrop that made chairs 7 times too small, and shelves that crossed a wall.

Generative media5 min read

When we leave Mojo: a tiny language for hot loops

Mojo for beginners · 17 of 17 Beginner

A Goose search ran in 0.79 s against 3.63 s for scipy on 1 million points, but the first version lost in the real pipeline. Splitting the tree build fixed it, and the real saving was 1.4 s on a 30 s job.

Systems design5 min read

How we test a tool before we share it

Tools we built and why · 20 of 20 Beginner

A gate that had never been red got nudged by about 5e-7 per kernel and turned red three times, each time naming its own kernel. Here is the routine, and how you can use it on your own code.

Practice5 min read

Why our posts also appear on Medium and gllm.forum

How our websites work · 20 of 20 Beginner

We import each live post to Medium and share a short note on gllm.forum. The site stays the original, the Medium copy comes from the live text, and the forum is where you can ask.

Practice5 min read

Our Android apps, and how to install one safely

Our sites, a visitor's guide · 20 of 20 Beginner

ABCam, ABSend and ABDoc are in closed testing on Google Play, with Crystal Voyager and the casino games beside them. This guide lists the apps, explains the shared build, and gives six checks for any install.

Edge and mobile5 min read

How to tell if a local model is good enough for you

AI on your own PC, explained · 20 of 20 Beginner

We retracted two quality claims because a second seed moved the score by 0.04 or more, which is bigger than the gap we tried to rank. A small test of your own, done right, beats any table.

Models and quality6 min read

When a training run runs away, and how it ended

Training Metis · 17 of 17 Beginner

The runaway count on our 56 question tool test fell from 223 to 1 after 1.1 billion extra tokens of training. The sleep arms we built to fix it did not cure it, but they showed where the problem lived.

Practice6 min read

Simulating a spider: when the CPU beats the GPU

Simulated brains, explained · 9 of 10 Beginner

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.

Simulation & neuro6 min read

Drawing a landscape from a formula instead of a picture

AI pictures, explained · 9 of 10 Beginner

Sixteen numbers, 64 bytes, give the height of the ground at any point of any size of map, where the table we replaced took 256,000 bytes. Looking up the ground costs under 0.3 percent of a physics step.

Generative media5 min read

Measuring speed on a phone without fooling yourself

Mojo on a phone · 4 of 4 Beginner

Run with the cable out, let the phone cool under 34 C, drop the first second and keep the best of five rounds. We also treat any energy gap under 5 percent as noise, because repeat runs differed by up to 5 percent.

Edge and mobile5 min read

mojo-sqlite: a whole database in one file

Tools we built and why · 19 of 20 Beginner

On 200,000 inserts through one prepared statement, Python sqlite3 took 216 to 226 ms and mojo-sqlite took 80 to 82. Every SQL test file must give identical output through both.

Systems design5 min read

How a blog post travels from a text file to a web page

How our websites work · 19 of 20 Beginner

Every post on amarbaro.com starts as a text file with a block of fields. The import checks nine required fields, seeds one row, and from then on the row is what the site serves.

Web stack & self-hosting5 min read

Play-money casino games where every deal can be checked

Our sites, a visitor's guide · 19 of 20 Beginner

The server shows a fingerprint of its secret before the round, you add your own number, and afterwards the secret is revealed so you can check the cards, dice or reels. This guide explains the idea and what it does and does not prove.

Edge and mobile5 min read

Can a phone run a language model? What we found

AI on your own PC, explained · 19 of 20 Beginner

On two Android phones our Mojo engine matched llama.cpp token for token on a small model. One phone ran it steadily at 1.066 times llama.cpp decode. The other was faster, at 1.58 times, but failed its own steadiness check.

Edge and mobile5 min read

What "beating a big library" really means

Kernels on a gaming GPU · 9 of 10 Beginner

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.

Measurement5 min read

Learning inside a simulated brain

Simulated brains, explained · 8 of 10 Beginner

In a fly brain model, a reward turns down one group of links so a smell is approached more. In a game character, a small owned layer recovered about 0.10 more than a frozen instinct after the world changed, and cost about 0.01 when it did not.

Simulation & neuro6 min read

Ray tracing in plain words

AI pictures, explained · 8 of 10 Beginner

Follow a ray from each pixel, find what it hits, and ask where the light came from. On our card a small test scene took 0.75 seconds on the GPU against 6.6 on the CPU, and a high quality version took 273 seconds.

Generative media5 min read

ARM and x86: two kinds of processor in plain words

Mojo on a phone · 3 of 4 Beginner

A processor understands one family of instructions. Phones use ARM and most PCs use x86-64, so one source file is built twice. Our test machines span a desktop, a laptop and a phone, and their memory speeds differ widely.

Edge and mobile5 min read

Keeping passwords and keys out of the code

How our websites work · 18 of 20 Beginner

Before two of our repos went public, a scan of their full history found 361 commits carrying a private email address and 112 MB of committed build output, neither visible in the current files.

Practice5 min read

Crystal Voyager: a puzzle game with no ads and no waiting

Our sites, a visitor's guide · 18 of 20 Beginner

A crystal whale ship, 50 sectors and 1000 levels, in 11 languages. This guide explains how match-3 works, what the game leaves out on purpose, and how to get into the closed test on Google Play.

Edge and mobile5 min read

Looking inside a model: what a neuron in an AI is

AI on your own PC, explained · 18 of 20 Beginner

mojo-neuron reads one layer of a small model in 11 seconds on a CPU. Its tools pass their checks, but most research on top missed its bar: a lie probe scored 0.331 on negated statements against a bar of 0.70.

Models and quality6 min read

Training ideas that sounded good and did not pay

Training Metis · 16 of 17 Beginner

When we shuffled the answers in our model's practice dreams, it scored 42.7 of 48 against 42.3 with correct answers. Twin copies, pruning and fact implants also lost. Doubling the dreams was the one arm that passed.

Practice5 min read

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

The Fly · 12 of 12 Beginner

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.

Simulation & neuro6 min read

What a language model actually does, in plain words

AI on your own PC, explained · 1 of 20 Beginner

A model reads your text, scores every possible next piece, picks one, adds it and repeats. We show the loop with our own engine, which runs it about 130.7 times a second on one RX 7900 XTX.

Models and quality5 min read

Keeping a blog honest when a tool changes

Image models in a real pipeline · 8 of 8 Beginner

On 4 November we removed Krea 2 and deleted 26 GB of weights, but a post from 23 September still said the pipeline uses it. Two speed numbers in our posts also disagreed. Here is the check we run.

Practice5 min read

Why we tried Mojo on a phone at all

Mojo on a phone · 2 of 4 Beginner

On two Android phones, our Mojo kernels gave the same greedy tokens as llama.cpp, bit for bit, for one small model. One phone ran faster but failed its own steadiness check on 3 of 20 runs.

Edge and mobile5 min read

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

Tools we built and why · 17 of 20 Beginner

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.

Systems design5 min read

File permissions: who may read and write what

How our websites work · 17 of 20 Beginner

A rehearsal would have changed the owner of live production files, and a read only mount made the container crash. Both came from file ownership. Here is the plain version of how permissions work.

Web stack & self-hosting5 min read

The Atlas: browsing math results on amarbaro.com

Our sites, a visitor's guide · 16 of 20 Beginner

Search a word, open a result, and read five things on the page: the kind, the paper, the name, the statement excerpt and the status. This guide explains each and what the status badges mean.

Practice5 min read

Sharing one graphics card between your desktop and AI

AI on your own PC, explained · 17 of 20 Beginner

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.

Practice6 min read

How a competition score works, and how it can mislead

Kaggle · 6 of 6 Beginner

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.

Measurement5 min read

Why we test a real brain map against a scrambled one

Simulated brains, explained · 7 of 10 Beginner

We scramble the brain map in three ways and give each version the same task. At telling smells apart, the real wiring scored 0.94 and scrambled versions 0.28 to 0.56. At steering to food, the real wiring was no better than its closest scrambled twins.

Simulation & neuro6 min read

Making an AI picture faster on a home PC

Our ComfyUI Work · 12 of 12 Beginner

Memory settings, int8 weights and fewer steps did the work. A 2 second polling wait hid in every timing, and a speed-of-light calculation told us to stop writing faster kernels.

Generative media5 min read

Hashes: short fingerprints for files

Mojo for beginners · 16 of 17 Beginner

Hash a file with sha256 in Mojo and get the same fingerprint as sha256sum. xxhash ran at 51.6 GB/s on XXH3-64 in our test, while our sha256 is 5.3 times slower than OpenSSL on bulk data.

Systems design5 min read

mojo-cv: working with pictures as numbers

Tools we built and why · 16 of 20 Beginner

408 two-dimensional checks against cv2 and 161 three-dimensional checks against exact oracles all pass. It is a library, not a drop-in cv2: no Python binding and no GPU code.

Generative media5 min read

One template for many sites: why our sites look related

How our websites work · 16 of 20 Beginner

Our sites share one template with one config file per brand. A rehearsal of one template update walked 378 pages and all 378 answered 200. The price of sharing is that a mistake travels as fast as a fix.

Web stack & self-hosting5 min read

Paysipa: how a hosted checkout page works

Our sites, a visitor's guide · 17 of 20 Beginner

One request makes a payment page, the customer pays on it, and a signed message tells the shop the result. This guide explains each step, why a signature and a retry matter, and what our own shop test proved and did not prove.

Web stack & self-hosting5 min read

What a GPU kernel is, explained without math

AI on your own PC, explained · 16 of 20 Beginner

Folding about thirty small launches per token into one raised our plain decode from 67.13 to 81.98 tokens per second. Kernels are where speed is won or lost, and most of what we learned was about waiting.

GPU kernels6 min read

How a big model got faster on one card, step by step

A 35B MoE on one consumer card · 6 of 6 Beginner

One kernel trace read before any code changed pointed at scalar loads, a serial router and extra launches. The count of launches per token fell from 1,217 to 727. Reading the prompt in batches added another gain.

GPU kernels5 min read

A whole simulated city on one settings menu

Street Simulator Progress · 8 of 8 Beginner

In Street Simulator even the size of the city is a menu choice, from a 560 m map to a 2 km one. A settings file holds the numbers, a seed builds the same city for every player, and a script fails the build when a bare number slips into the code.

Simulation & neuro6 min read

The text encoder: the part that reads your prompt

AI pictures, explained · 7 of 10 Beginner

The text encoder is a language model of its own, 4.8 GB for our picture model and 14.74 GB for our video model. Its output is cached per prompt, and a cache hit never loads it at all.

Generative media5 min read

Compression explained: how gzip makes files smaller

Mojo for beginners · 15 of 17 Beginner

One MiB of the letter A shrank to 1,052 bytes with gzip, the same size Python gives. Repeated patterns are written once, and random data does not shrink at all.

Systems design5 min read

mojo-tls: secure connections with no OpenSSL

Tools we built and why · 15 of 20 Beginner

16.7 thousand lines of Mojo that speak TLS 1.3 and 1.2 as client and server and talk to openssl, Firefox, Chromium and Vivaldi in both directions. It is internally audited, not independently audited.

Systems design5 min read

One site in many languages: how translations work here

How our websites work · 15 of 20 Beginner

amarbaro.com lists eight languages with English as the source. Translations come from catalog files per language and from a machine pass followed by an edit, and each file says which stage it is at.

Web stack & self-hosting5 min read

Why bought AI agents run in a locked box

Our sites, a visitor's guide · 15 of 20 Beginner

No network, a read-only disk, 64 MB of scratch space, a time limit and a memory cap. We list each control, say what it stops, and say why a box beats a list of banned words.

Agents & tooling6 min read

ROCm in plain words: AI on an AMD card

AI on your own PC, explained · 15 of 20 Beginner

ROCm is the software between your AI program and an AMD card. Ours broke a profiler for four days because the processor has a second GPU inside it. The fix was one unbind, and a lesson about trusting a crash.

GPU kernels6 min read

Why a better tokenizer made training faster, not smarter

Training Metis · 15 of 17 Beginner

A tokenizer packs more text into each piece. Ours cut the same text from 401.5 million to 337.4 million ids, and training took 52.2 GPU-minutes instead of 61. Bits per byte landed at 1.2951 against a bar of 1.294.

Agents & tooling5 min read

Why a simple script still beats our learning NPC

NPC-mind · 8 of 8 Beginner

The script scores 0.631 in a calm world and our best brain 0.530. The gap is sharpest on basic reflexes: the script eats, works and talks at the right moment about 97 percent of the time, and the brain does not yet. Seven extra ideas did not close it.

Simulation & neuro6 min read

Why making pictures needs so much memory

Our ComfyUI Work · 11 of 12 Beginner

Text encoder, drawing model and VAE each take gigabytes. Smaller weights and the right cache setting freed memory: RAM after a shot fell from 31.7 GB to 3.1 GB and a warm shot went from 85 to 49 seconds.

Generative media5 min read

Memory-mapped files: reading a huge file without loading it

Mojo for beginners · 14 of 17 Beginner

Mapping a file costs almost nothing up front, because the system loads pages only when you touch them. On 50,000 tensors, mojo-safetensors opened a file in 51 ms against 164 s for the Python reference.

Systems design5 min read

Why our Mojo libraries copy Python byte for byte

Tools we built and why · 14 of 20 Beginner

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.

Measurement5 min read

Counting visitors without tracking them

How our websites work · 14 of 20 Beginner

Our own server keeps a short request log that is purged on a timer, 30 days by default. It tells us what was asked for, without a script that follows you around the web.

Web stack & self-hosting5 min read

Dynoshell's agent market: how it was designed, and why we shelved it

Our sites, a visitor's guide · 14 of 20 Beginner

Sellers upload, an admin reviews, buyers pay and run. This post explains each part of the agent market we designed, the reason we set it aside on 2026-11-03, and where the Dynoshell name lives now.

Agents & tooling6 min read

What an OpenAI-compatible API means, and why it is handy

AI on your own PC, explained · 14 of 20 Beginner

An OpenAI-compatible API is a shared message format. mojo-baro answers it at /v1/chat/completions, and Yahaai accepts any endpoint that speaks it, so the same chat can reach different models.

Systems design5 min read

A bug that gives wrong answers instead of errors

Kernels on a gaming GPU · 8 of 10 Beginner

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.

GPU kernels6 min read

Electrical and chemical links between neurons

Simulated brains, explained · 6 of 10 Beginner

A chemical link sends a messenger across a gap. An electrical link, a gap junction, lets current flow straight through. In our worm model the chemical links sat near their ceiling, the electrical ones carried a touch, and removing one set of them made the reflex pass.

Simulation & neuro6 min read

Choosing an image model for a real job

Image models in a real pipeline · 7 of 8 Beginner

Krea 2 won a background test 2 to 1 because it kept the left third empty for text. Z-Image was sharper and 2.2 to 2.3 times faster. Since 4 November one model, Z-Image Turbo, does all of it.

Generative media5 min read

What a version number like 1.4.2 means

Mojo for beginners · 13 of 17 Beginner

A version has three numbers with three jobs. mojo-semver parses 1.4.2 in 42 ns against 1,579 ns for the Python package, and matched it on 474 parse results.

Practice5 min read

The Mojo libraries: a shelf of small, checked parts

Tools we built and why · 13 of 20 Beginner

Thirty-eight libraries, from JSON and CSV to TLS and SQLite. Each has tests against an oracle, a conda package, an API page and a design page.

Practice5 min read

Cookie banners and consent, explained

How our websites work · 13 of 20 Beginner

A cookie is a small note a site asks your browser to keep. Our walk over 1,301 pages first failed 1,003 of them on cookies alone, and the lesson was about checks that cannot tell a harmless difference from a harmful one.

Web stack & self-hosting5 min read

One booking app for many trades: how niche packs work

Our sites, a visitor's guide · 13 of 20 Beginner

Build the app once, then describe each trade in a data file. This post explains niche packs, what they hold, what they must never hold, and how we added a repair-ticket mode without forking the code.

Systems design6 min read

Running a chat model on your own PC, step by step

AI on your own PC, explained · 13 of 20 Beginner

Six steps take you from a GGUF file to an answer: check the machine, build the server, run the preflight, start serve, test with one request, then chat. The first run for a new model shape builds an engine and takes a few minutes.

Practice5 min read

Finding shapes on the sun with a model

Kaggle · 5 of 6 Beginner

Filaments cover 0.33 percent of each image, so a model that predicts nothing is right 99.67 percent of the time. Our final model scored 0.4188 in our own check and 0.36 on the public board, rank 730 of 1,549.

Models and quality5 min read

How a simulated fly tastes sugar, and what was missing

The Fly · 11 of 12 Beginner

In our model, sugar makes the mouth motor neuron fire faster as hunger rises, from 25.8 to 35.9 spikes a second. The reward cells that would teach the fly stayed at zero in all three attempts, so in this model sugar can make the fly eat but cannot make it learn.

Simulation & neuro5 min read

What an image file is: pixels, PNG, JPG and AVIF

AI pictures, explained · 6 of 10 Beginner

84 generated pictures at about 1.5 MB each shrank to an average 36 KB at 960 pixels and 14 KB at 480 pixels, by choosing AVIF and a width that fits the screen.

Generative media5 min read

Why the CPU and GPU can give slightly different numbers

Mojo for beginners · 12 of 17 Beginner

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.

Models and quality5 min read

ABCam: using your Android phone as a webcam

Tools we built and why · 12 of 20 Beginner

The phone records with its own camera and a hardware video encoder. The desktop client receives the stream over USB or Wi-Fi. On a Galaxy Z Flip4 the Linux client received 1280x720 at about 35 frames per second.

Edge and mobile5 min read

Smaller pictures, faster pages: what AVIF does

How our websites work · 12 of 20 Beginner

84 article pictures went from 126 MB of PNG to AVIF files that average 36 KB at 960 pixels wide. A phone gets a 14 KB version. We also show the honest numbers at full width.

Web stack & self-hosting5 min read

Booking a computer repair online, step by step

Our sites, a visitor's guide · 12 of 20 Beginner

Six steps from the first drop-down to collecting your device, with the German words you will meet on the way. The key moment is step four, when you approve the written estimate, line by line.

Web stack & self-hosting5 min read

Local AI or cloud AI: what you gain and what you give up

AI on your own PC, explained · 12 of 20 Beginner

Running a model on your own card keeps your text at home and gives you control. It also costs setup time, one shared card, and quality you must check yourself. Here is the honest list.

Practice6 min read

Why a test score stops rising

Training Metis · 14 of 17 Beginner

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.

Measurement5 min read

The worm whose whole brain was mapped first

Simulated brains, explained · 5 of 10 Beginner

Our build of the worm's wiring matched the published sheet connection for connection. Its touch reflex still came out the wrong way around, until we removed a set of electrical links, which means the passing model is a different network.

Simulation & neuro6 min read

Checking AI pictures for mistakes before anyone sees them

Our ComfyUI Work · 10 of 12 Beginner

A job exited cleanly and handed us static. Another dropped half its recipe and said success. Our checks are cheap: does the file exist, is it noise, does it tile, does it match what a person sees.

Generative media5 min read

Mojo on the graphics card: the first idea

Mojo for beginners · 11 of 17 Beginner

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.

GPU kernels5 min read

kinestride: physics for thousands of bodies at once

Tools we built and why · 11 of 20 Beginner

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.

Simulation & neuro5 min read

Caching: why a page loads faster the second time

How our websites work · 11 of 20 Beginner

A browser or a CDN keeps copies of files. On gllm.forum, a four hour copy of a stylesheet made our layout fix invisible, and the same trap had already caught another of our sites a week earlier.

Web stack & self-hosting5 min read

knullfix.de: PC repair with a written quote first

Our sites, a visitor's guide · 11 of 20 Beginner

Pick a device and a symptom, see a price range before you give any details, get a ticket number, and approve the written estimate before any repair. This guide explains the idea and walks through the German site.

Web stack & self-hosting5 min read

Mixture of experts: a big model that only wakes part of itself

AI on your own PC, explained · 11 of 20 Beginner

Our 35B model has 256 experts and wakes 8 per token. Its 21 GB pack fits a 24 GB card barely, and with experts kept in main memory it still reached 72.02 tokens per second.

Models and quality5 min read

Keeping model experts in ordinary memory

A 35B MoE on one consumer card · 5 of 6 Beginner

Our first version of this was correct and slow, 39 tokens a second. Pinning the memory took it to 67.12, and reading missed experts in place took it to 72.02. Output stayed identical on 20 of 20 prompts the whole way.

Systems design5 min read

How a game character learns to say no

Street Simulator Progress · 7 of 8 Beginner

A character threatened 31 times learned nothing, because nothing it did changed what happened to it. Once the game paid each answer a cost, a small learner could choose between comply, refuse and report, and the choice held up in snow and at night.

Simulation & neuro6 min read

AI video clips, explained with one real job

Image models in a real pipeline · 6 of 8 Beginner

Stills took 10 to 14 seconds each. Clips took 130 to 270 seconds each, about 13 to 14.5 seconds of compute per second of video. Eleven of fifty stills never reached the output folder.

Generative media5 min read

Running other programs from Mojo

Mojo for beginners · 10 of 17 Beginner

Run echo and sort from Mojo, capture their output, and stop a stuck command with a timeout. run(["true"]) took 418 microseconds against 543 to 1,155 for Python on one busy machine.

Systems design5 min read

mojo-ablate: turning one model behavior up or down

Tools we built and why · 10 of 20 Beginner

The edit is rank-1: one direction per layer, applied to two weight matrices. The first target was sycophancy. A bake step writes the change into a GGUF file, and a verify step refuses to pass without a control.

Models and quality5 min read

How we know a site is really up

How our websites work · 10 of 20 Beginner

After a reboot our check passed 37 of 37, covering containers, the Cloudflare tunnel, fourteen public routes and the analytics path. A running container alone would have proved far less.

Web stack & self-hosting5 min read

doar.bio: everyday articles about good choices

Our sites, a visitor's guide · 10 of 20 Beginner

About 120 articles, each listing the studies behind it, and pictures that carry a visible AI-generated notice. This guide explains the site for people who do not read Romanian yet, and how to read an article critically.

Web stack & self-hosting5 min read

How fast is fast? Tokens per second explained

AI on your own PC, explained · 10 of 20 Beginner

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.

Measurement5 min read

A small model that calls our tools

Training Metis · 13 of 17 Beginner

Our 72.6 million parameter model Metis picks one of four tools. A control with the tools only in its prompt used a tool result in 0 of 56 held-out questions, and the trained model used one in 22. After ten times more text it reached 55 of 56.

Agents & tooling5 min read

The multi-armed bandit: how a character learns what works

NPC-mind · 7 of 8 Beginner

A bandit is the simplest kind of learner. It tries each answer, notes what each one costs or pays, and leans toward the best. Our street game runs a three-answer bandit per character and per player, and it held up under noise.

Simulation & neuro6 min read

How the cover pictures on this blog are made

AI pictures, explained · 5 of 10 Beginner

Each cover is rendered at 1536 by 832 pixels and brought down to 1200 by 630. Our style rules ask for a sharp subject and haze only in the background, and two soft covers showed what happens when we skip that.

Generative media5 min read

Reading and writing JSON in Mojo

Mojo for beginners · 9 of 17 Beginner

Read a settings file, add one to its volume, write it back, and get the same line Python gives. mojo-json parsed a 4.6 MB file in 199 to 206 ms against 734 to 763 ms for Python's json.

Practice5 min read

mojo-neuron: a microscope for a language model

Tools we built and why · 9 of 20 Beginner

It reads one layer of a 0.5 billion parameter model in 11 seconds on a CPU. It steers neurons 4.3 times faster than gguf-neuron-explorer. Most of the research we built on top missed its bar, and the README lists those misses.

Models and quality5 min read

Rollback: the undo button for a website

How our websites work · 9 of 20 Beginner

A one line change to the database pointer would have made our automatic rollback fail. We found it by reading the runbook before the switch, and rehearsed the manual return in 5 to 6 seconds.

Web stack & self-hosting5 min read

How a 3D world loads in a browser tab

Our sites, a visitor's guide · 9 of 20 Beginner

The aiazic.com world loads the first room small and streams the rest by distance. Our notes give real numbers, such as a first load that fell from 2.46 MB to 1.42 MB, and a phone test that went from 2.09 MB to 1.06 MB.

Web stack & self-hosting6 min read

Prefill and decode: the two speeds of a chat model

AI on your own PC, explained · 9 of 20 Beginner

Reading all prompt tokens at once ran at 524 to 531 tokens per second at 1k context, against about 67 when we replayed one token at a time. Writing the answer stays one token at a time.

Systems design5 min read

Why the shape of the work matters to a graphics card

Kernels on a gaming GPU · 7 of 10 Beginner

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.

GPU kernels6 min read

MuJoCo: the physics engine behind simulated bodies

Simulated brains, explained · 4 of 10 Beginner

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.

Simulation & neuro5 min read

From one picture to a 3D object

Our ComfyUI Work · 9 of 12 Beginner

Our first 3D apple took 325 seconds and now takes 84. Smaller settings did most of it, a one-line fix to a math library did more, and six parallel workers made a library of 3,972 assets checkable at a glance.

Generative media5 min read

Command-line options in Mojo, the way Python does them

Mojo for beginners · 8 of 17 Beginner

Build a small command with a name, a --times number and a -q flag, add a subcommand, and read the usage error. mojo-args parsed 200,000 command lines in about 252 to 259 ms against 3,346 to 3,367 ms for argparse.

Practice5 min read

mojo-baro: our chat engine for one AMD card

Tools we built and why · 8 of 20 Beginner

On matched Q4_0 weights mojo-baro decoded Qwythos-9B at 148.89 tokens per second against llama.cpp at 111.34, a 1.34 times ratio measured on Mojo 1.1.0. On Mojo 1.2 one path got slower, and we say so.

Systems design6 min read

How a site update goes live without breaking it

How our websites work · 8 of 20 Beginner

Our update routine is rehearse, deploy, check from outside. A rehearsal walk over 41 URLs failed two gallery pictures on its first run, and the cause was a folder the test box did not have.

Web stack & self-hosting5 min read

aiazic.com: walking through a 3D showroom in your browser

Our sites, a visitor's guide · 8 of 20 Beginner

A walk-through showroom of things we make, in rooms along one path, with a robot guide and a panel for each item. Here is how to move around, what to expect on a phone, and what the site records.

Generative media5 min read

The prompt cache: why the second question can be faster

AI on your own PC, explained · 8 of 20 Beginner

A cached read of a repeated prompt start costs about a tenth of the first read. We retired a duplicate file we estimate at 7,000 tokens, and we are honest that we never measured the saving.

Models and quality5 min read

Measuring soil from a phone photo

Kaggle · 4 of 6 Beginner

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.

Measurement6 min read

How a simulated fly walks and turns

The Fly · 10 of 12 Beginner

Our simulated fly drifts left at about 30 degrees a second. We first guessed the brain's smell cells steered it. When we turned the senses off, the drift went to zero, so the signal came from the legs.

Simulation & neuro5 min read

LoRA: teaching an image model a new style

AI pictures, explained · 4 of 10 Beginner

Training a style LoRA inside ComfyUI took 4.5 minutes for 400 steps. The first three tries failed, the fourth transferred a look but drifted in color, and a color-caption try added cracks.

Generative media5 min read

Reading a spreadsheet file (CSV) in Mojo

Mojo for beginners · 7 of 17 Beginner

Read three CSV rows, including a quoted field with a comma, and write them back with mojo-csv. On 50 MB of records the reader ran at 227.50 MB/s against 85.79 for Python.

Practice5 min read

ctxd: keeping long AI sessions short

Tools we built and why · 7 of 20 Beginner

ctxd folds old turns into short summaries once a request passes 80% of its window. The original messages stay on disk and come back byte for byte on request.

Agents & tooling5 min read

Backups you can actually restore

How our websites work · 7 of 20 Beginner

A shop backup of 20 tables and 323 rows was trusted only after a scratch restore counted the same rows. A copy of 2,882 files first failed every check because we ran the command in the wrong folder.

Web stack & self-hosting5 min read

Why AI models in Yahaai speak only when you mention them

Our sites, a visitor's guide · 7 of 20 Beginner

An AI in a group chat can easily take over, cost money or loop forever. Yahaai answers that with two plain rules, and this post explains each one with the wording from our own design notes.

Agents & tooling5 min read

The context window: how much a model can keep in mind

AI on your own PC, explained · 7 of 20 Beginner

Every turn resends the whole chat. Our proxy ctxd folds the oldest part into a summary once the chat passes 80 percent of the window, and keeps the original in a local store you can search.

Models and quality5 min read

Training data: what a model learns from

Training Metis · 12 of 17 Beginner

Our small model first trained on a mix of Wikipedia, our own notes and math problems. The later round gave it ten times more text, about 82 percent of it Wikipedia-style, and its tool score rose from 22 to 55 of 56.

Agents & tooling6 min read

A body for a brain: what physics simulation adds

Simulated brains, explained · 3 of 10 Beginner

A brain model can fire thousands of cells and still tell you little. A body that has to stand, walk and keep its balance turns the output into something you can judge. Our first body check passed while the fly was tipped over, which taught us the rest.

Simulation & neuro5 min read

Textures that repeat without seams

Our ComfyUI Work · 8 of 12 Beginner

The obvious trick makes a texture tile but changes what the model draws. We now render plainly, shift the picture by half, repaint the seam, and run a checker that fails real seams.

Generative media5 min read

Porting a Python tool to Mojo, step by step

Mojo for beginners · 6 of 17 Beginner

A beginner walk-through of porting a line and word counter with mojo-port: set up the folder, write cases, run verify, break the port on purpose, and run the mutant check, which killed 8 of 8 planted bugs.

Practice5 min read

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

Tools we built and why · 6 of 20 Beginner

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.

Measurement5 min read

What a database does for a website

How our websites work · 6 of 20 Beginner

A database holds the facts a site needs to remember. We show the tables in a real backup of one of our shops and how our blog posts turn from text files into rows.

Web stack & self-hosting5 min read

Bringing your own AI model to Yahaai, step by step

Our sites, a visitor's guide · 6 of 20 Beginner

Add a web address and an optional key, pick who may use the model, and it answers wherever you mention it. This guide covers the steps, the sharing levels, the tunnel you need for a model on your own PC, and the cost rule.

Agents & tooling5 min read

What a GGUF file is, and why model downloads use it

AI on your own PC, explained · 6 of 20 Beginner

One GGUF file carries the numbers and the notes. A 20 GB file opens in 36 ms using 29 MB of memory because the reader maps it instead of copying it. Ours can also carry the code that runs it.

Models and quality5 min read

A big model on a small card: what to expect

A 35B MoE on one consumer card · 4 of 6 Beginner

A 35 billion parameter model has a 21 GB weight pack and our card holds 24 GB. Keeping the experts in ordinary RAM cut the card's load to 2.68 GB and kept the output identical, at 72 tokens a second instead of 112.

Systems design5 min read

The street simulator in plain words

Street Simulator Progress · 6 of 8 Beginner

Street Simulator is a survival game about climbing out of a bad situation in a shared city. Its main rule is that no number lives in the code. Every speed, price and timer is a setting, which makes the game easy to test and easy to change.

Simulation & neuro5 min read

Seeds: same recipe, different picture

AI pictures, explained · 3 of 10 Beginner

A seed fixes the starting noise. Keep it to repeat a picture, change it to explore. In our own test a second seed moved a score by 0.04 or more, which was larger than the gap we were trying to measure.

Generative media5 min read

Oracle tests: checking new code against code you trust

Mojo for beginners · 5 of 17 Beginner

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.

Measurement5 min read

mokei: counting the lines and tokens in your code

Tools we built and why · 5 of 20 Beginner

A line counter in Mojo that matches tokei on the corpora it was checked against and adds diff budgets, token estimates and duplicate detection. On one 11.5k-file checkout it took 67.4 ms.

Agents & tooling5 min read

Containers explained: why each site lives in its own box

How our websites work · 5 of 20 Beginner

Our base stack runs a database, an app, an operator panel and a web server as four containers. One missing setting once gave us a healthy container serving the wrong site, with a 200 on the home page.

Web stack & self-hosting5 min read

Yahaai IDs, contacts and your first room

Our sites, a visitor's guide · 5 of 20 Beginner

Seven short steps from the sign-up page to your first shared chat, plus the small features worth knowing on day one, such as invite links, threads and the invisible mode.

Agents & tooling5 min read

Quantization: how a model gets small enough for your card

AI on your own PC, explained · 5 of 20 Beginner

Going from 8.5 to 4.5 bits per weight shrank one model pack from 10.52 to 6.18 GiB and lifted decode from 80.83 to 115.02 tokens per second. But a cheaper-looking int8 path was not faster at all.

Models and quality5 min read

Parameters: the numbers a model learns

Training Metis · 11 of 17 Beginner

A parameter is one learned number. Our small model, Metis, has 72,632,320 of them and fits in 290,778,336 bytes at 32 bits, or 77,475,104 bytes at 8 bits. It was built for one job, calling four tools.

Agents & tooling5 min read

NPCs: the game characters a computer controls, and how they decide

NPC-mind · 6 of 8 Beginner

An NPC is a game character run by the computer. Most follow a fixed script. We built a small learning brain for ours, and in a calm world it still scores below the script it was copied from. Here is how both kinds decide.

Simulation & neuro5 min read

Writing picture prompts that work

AI pictures, explained · 2 of 10 Beginner

Our first ad prompts opened with light and lens, and four of six shots lost the subject. This is the order we write in now, with the rules that came from our own failed renders.

Generative media5 min read

The same small program in Python and in Mojo

Mojo for beginners · 4 of 17 Beginner

A sum loop and a command-line parser, each in both languages. The layout is the same, and the changes are types, var, main and an up-front compile step.

Systems design5 min read

wavewait: seeing what a graphics card waits for

Tools we built and why · 4 of 20 Beginner

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.

GPU kernels5 min read

HTTPS and the padlock: what they promise and what they do not

How our websites work · 4 of 20 Beginner

The padlock promises a private line to the right name, nothing more. We explain certificates, show the headers we set on our own sites, and point to our TLS library written in Mojo.

Web stack & self-hosting5 min read

Yahaai: a messenger where friends and AI share one chat

Our sites, a visitor's guide · 4 of 20 Beginner

You chat with friends, then @mention a model right in the conversation, and everyone sees the same answer. This guide explains the idea, who pays for what, and where to start.

Agents & tooling4 min read

VRAM: the memory that decides which model fits

AI on your own PC, explained · 4 of 20 Beginner

A 21 GB model on a 24 GB card fits, barely. Add a long chat or a desktop and it does not. We show the sums with our own numbers, including a 14.74 GB leak that hid in plain sight.

Systems design6 min read

Matrix multiplication: the sum at the heart of AI

Kernels on a gaming GPU · 6 of 10 Beginner

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.

GPU kernels5 min read

The fly project in plain words

The Fly · 9 of 12 Beginner

We joined a wiring map of a fly brain to a physics model of a fly body. The pair can walk, stop and drift to one side in a test. It has not shown that the real wiring makes the fly behave better, and we say so.

Simulation & neuro5 min read

Steps: why fewer drawing steps can be enough

Image models in a real pipeline · 5 of 8 Beginner

On one 7900 XTX, four steps at 768 pixels took 1.7 seconds against 7.1 seconds for nine steps at 1024. Layout, light and structure held. Fine texture went soft.

Generative media5 min read

Installing Mojo and running your first program

Mojo for beginners · 3 of 17 Beginner

Install Mojo with pixi, run a three-line hello program with mojo run, and learn what the compiler means when it says implicit declaration, cannot implicitly convert, unknown declaration or expressions at file scope.

Practice6 min read

corewait: asking your CPU why a program is slow

Tools we built and why · 3 of 20 Beginner

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.

Measurement5 min read

One server, many sites: how a web server sorts visitors

How our websites work · 3 of 20 Beginner

A web server reads the name in each request, then sends the visitor to the right place. We show the real rules in our Caddy files, including a redirect, a blocked folder and a split between a 3D world and the shop.

Web stack & self-hosting5 min read

Your first post on gllm.forum, step by step

Our sites, a visitor's guide · 3 of 20 Beginner

Six steps from an empty account to a published question, with a template for the post itself. No experience with forums needed.

Agents & tooling6 min read

Why a gaming graphics card can run AI at home

AI on your own PC, explained · 3 of 20 Beginner

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.

Systems design5 min read

Kaggle: what a data science competition is

Kaggle · 3 of 6 Beginner

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.

Measurement5 min read

Neurons and synapses, in plain words

Simulated brains, explained · 2 of 10 Beginner

Two words carry most of this series. A neuron is a cell that adds up what it hears and sometimes fires. A synapse is the link between two neurons, and its strength decides how much gets through.

Simulation & neuro5 min read

ComfyUI: building an image recipe from boxes and wires

Our ComfyUI Work · 7 of 12 Beginner

Each box does one job: load the model, read the prompt, draw, unpack, save. A saved recipe plus a fixed seed repeats a picture, and three cheap guards catch the jobs that succeed and are wrong.

Generative media5 min read

Why we write our tools in Mojo

Mojo for beginners · 2 of 17 Beginner

We use Mojo for the CPU, the GPU and the command line. It gave us shared code and checks against Python, and it cost us compiler changes, a few slower spots and some Rust at the edge.

Practice5 min read

heaptide: finding the memory a program forgot to give back

Tools we built and why · 2 of 20 Beginner

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.

Measurement5 min read

Domains and DNS: the address book of the web

How our websites work · 2 of 20 Beginner

A domain name is a label and DNS is the address book behind it. We show how one of our sites, aiazic.com, goes from a name to a server, and how to look this up yourself.

Web stack & self-hosting5 min read

gllm.forum: a forum for careful talk about language models

Our sites, a visitor's guide · 2 of 20 Beginner

A small, young forum with a clear social contract: bring evidence, be generous, keep titles honest. This guide tours the categories and shows what a good question looks like there.

Agents & tooling5 min read

Tokens: the small pieces a model reads and writes

AI on your own PC, explained · 2 of 20 Beginner

The same text can be many tokens or few. Our notes averaged 2.42 bytes per token against 3.64 for Wikipedia, and a text screenshot cost 363 tokens as pixels but 27 as text.

Models and quality5 min read

What training a model means, step by step

Training Metis · 10 of 17 Beginner

Training is four moves repeated thousands of times. Our small model, Metis, took 2,400 of these steps in 405 seconds on one gaming graphics card and went from 0 to 22 of 56 tool questions answered with a real result.

Agents & tooling6 min read

What a connectome is: a wiring map of a brain

Simulated brains, explained · 1 of 10 Beginner

Scientists traced every nerve cell in a fly brain and wrote down who connects to whom. We load that list into a computer and let it run. Here is what the map holds, what it leaves out, and why we still need to run it.

Simulation & neuro6 min read

How AI makes a picture from words

AI pictures, explained · 1 of 10 Beginner

The model starts from static, removes a little of it at each step, and your words steer every step. Fewer steps are faster, and on our card four steps at 768 pixels took 1.7 seconds.

Generative media6 min read

What Mojo is, for people who know a little Python

Mojo for beginners · 1 of 17 Beginner

Mojo looks like Python but you add types and compile it. In our libraries it parses command lines 13 times faster than argparse, yet it still loses to OpenSSL on bulk sha256 hashing.

Systems design5 min read

Why we build our own tools

Tools we built and why · 1 of 20 Beginner

Four of our tools started as one question each: why is this slow, where did the memory go, how big is this change, how do I keep a long chat short. This post shows the path from script to shared tool.

Practice6 min read

What happens when you type amarbaro.com

How our websites work · 1 of 20 Beginner

Five steps turn a typed name into a page on your screen. Here they are, with the parts of our own setup that do each one.

Web stack & self-hosting5 min read

A map of our sites, and what each one is for

Our sites, a visitor's guide · 1 of 20 Beginner

Ten sites, each with its own address and its own job. This guide says what each one is, who it suits, and where to start, in plain words and without jargon.

Web stack & self-hosting5 min read