Beta

Sync to cloud

Uses your current signed-in YoolVi account. A Learn profile is not required.

Upload a snapshot of this browser’s saved lesson work across all subjects, including notes, experiments, journal and review history. Existing guest work is included only when you confirm below. This does not upload account credentials or award XP.

Sync uploads to your private account; it does not automatically merge or replace this device’s work. On another device, download the cloud copy and use My Learning’s backup import. The previous cloud snapshot is retained when a new one replaces it.

Export or import this device’s work

No background uploads. Edits made after a snapshot need another sync. On shared devices, work is bound to the first account observed by cloud sync; another account must use a separate browser profile. Keep your own downloaded backup too.

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Locate the timing boundaries

Back to Build the Loop, Measure the Wait

Optional arithmetic and percentage refresher — return to this activity

Elapsed time is a measured duration. Prefill processes the input; the first selection produces a token; decode processes newly appended tokens. Time to first token includes preparation, prefill and first selection here. Later-token rate uses only subsequent tokens and their measured decode duration.

Instrumented generator: local teaching model contract

All people, records and numbers in this pack are authored teaching examples. They are not records or performance claims about real organizations.

  • G1 · The downloadable Python generator uses four token IDs and fixed authored two-number embeddings with causal attention. It is untrained and is not a pretrained language model. It demonstrates execution and cache equivalence, not text quality.
  • G2 · Input is 1–16 token IDs; output limit is 0–16 tokens. EOS is token 3. Greedy selection chooses the lowest ID on a tie. Reaching a limit and emitting EOS are reported separately.
  • G3 · The clock starts after imports. Validation/token preparation, prefill, first-token selection, decode steps and total generation are timed with a monotonic high-resolution clock. Report serialization and disk writing are outside total generation. Loading/import/terminal display are not measured.
  • G4 · Cached attention retains projected keys and values for exactly the prior token prefix. Changed prefixes require a fresh cache or rejection. Every step’s scores, not just chosen IDs, must agree with uncached execution within 1e-12.
  • G5 · Timing varies by machine and run. Compare the same prompt, output limit and stopping behavior, repeat runs, report all outcomes and the measurement boundary. Projection and attention-term counts are not milliseconds.
Worked illustration · fixed teaching values

Which interval are you measuring?

0 ms10 ms16 msPreparePrefill1stLater decodeFirst token: 2 + 7 + 1 = 10 ms3 later tokens / 6 ms
  1. Prepare: 0–2 ms.
  2. Prefill: 2–9 ms.
  3. First selection: 9–10 ms. The first token is available at 10 ms.
  4. Three later tokens: 10–16 ms. Generation ends at 16 ms.

Four tokens total: one first token and three later tokens. Convert 6 milliseconds to 0.006 seconds; 3 ÷ 0.006 = 500 later tokens/second. This hypothetical timeline omits overhead. Real reports include orchestration in total time; imports and writing the report remain outside that interval.

Worked example

If a hypothetical run emits four tokens, first-token time is 10 ms and later decode takes 6 ms, its later rate is 3 ÷ 0.006 = 500 tokens/s. Four divided by total time is a different metric. With fewer than two tokens, later-token rate is unavailable.

Check the boundary

The 500 tokens/s calculation is illustrative. Use the local report for measured values, retain unavailable fields, and state that imports, environment inspection, serialization, storage and display fall outside its generation timer.