Skip to content
Agentmart
Submit a tool

ffcv

Use FFCV to convert datasets into .beton files, build fast PyTorch loader pipelines, handle image and custom fields/transforms, and tune cache, traversal, and…

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Chalk Labs

Need help deploying ffcv?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-ffcv

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use FFCV to convert datasets into .beton files, build fast PyTorch loader pipelines, handle image and custom fields/transforms, and tune cache, traversal, and throughput behavior.

Use cases: ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ffcv

What's inside

Skill name
ffcv
Description
Use FFCV to convert datasets into .beton files, build fast PyTorch loader pipelines, handle image and custom fields/transforms, and tune cache, traversal, and throughput behavior.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
62 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (21)

  • SKILL.md
  • api-reference.md · references/
  • installation.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • ffcv_smoke.py · scripts/
  • SKILL.md · sub-skills/dataset-writing/
  • fields-and-formats.md · sub-skills/dataset-writing/references/
  • troubleshooting.md · sub-skills/dataset-writing/references/
  • workflows.md · sub-skills/dataset-writing/references/
  • SKILL.md · sub-skills/loader-pipelines/
  • custom-operations.md · sub-skills/loader-pipelines/references/
  • image-pipelines.md · sub-skills/loader-pipelines/references/
  • pipelines.md · sub-skills/loader-pipelines/references/
  • training-integration.md · sub-skills/loader-pipelines/references/
  • troubleshooting.md · sub-skills/loader-pipelines/references/
  • SKILL.md · sub-skills/performance-tuning/
  • benchmarking.md · sub-skills/performance-tuning/references/
  • troubleshooting.md · sub-skills/performance-tuning/references/
  • tuning.md · sub-skills/performance-tuning/references/

SKILL.md (first lines)

# FFCV operating router

Use this skill when a task names **FFCV**, `.beton`, `DatasetWriter`, `Loader`,
`OrderOption`, FFCV fields/decoders/transforms, or an FFCV cache/throughput
problem. FFCV is a compiled, PyTorch-oriented data storage and loading system;
it replaces the data input path, not the model or optimizer.

## Choose a route

- **Convert or inspect a dataset** — read
  [dataset-writing](sub-skills/dataset-writing/SKILL.md). It covers indexable
  datasets, local WebDataset shards, field schemas, custom fields, `.beton`
  read-back, and writer resource controls.
- **Build or debug a loader/pipeline** — read
  [loader-pipelines](sub-skills/loader-pipelines/SKILL.md). It covers decoder
  selection, operation order, images, CPU/GPU boundaries, custom operations,
  subsets, partial batches, and training integration.
- **Diagnose speed, memory, or distributed behavior** — read
  [performance-tuning](sub-skills/performance-tuning/SKILL.md). It covers OS
  versus process cache, sequential/random/quasi-random traversal, concurrency,
  compilation, measurement, and distributed constraints.

For a task spanning routes, write the dataset first, validate it structurally,
then construct the loader, then tune one resource variable at a time. Do not
start with benchmark numbers or a full training run when a tiny `.beton` fixture
can expose the same correctness issue.

## Minimal operating contract

1. Install FFCV with a compatible PyTorch, NumPy/Numba, OpenCV, and TurboJPEG
   runtime. The package includes a native extension; verify both `import ffcv`
   and `import ffcv._libffcv`. Read [installation](references/installation.md)
   before diagnosing compiled-install failures.
2. A writer mapping's insertion order is the sample tuple order. Declare short,
   unique ASCII field names and adapt mapping-shaped samples to an explicit
   tuple before multiprocessing.
3. A loader pipeline starts with the field decoder. Keep native NumPy/JIT
   transforms before `ToTensor`; put `ToDevice` before GPU work and
   `ToTorchImage` where the model needs BCHW layout.
4. Make shape, dtype, device, field names, order, seed, cache mode, batch size,
   and `drop_last` explicit. Validate a complete batch and a one-row tail when
   partial batches are allowed.
5. Treat CUDA as additive runtime coverage unless the downstream task truly
   requires it. A CPU import or smoke test does not prove GPU transfer,
   normalization, or multi-GPU correctness.

Use [api-reference](references/api-reference.md) for verified signatures and
object relationships, and [troubleshooting](references/troubleshooting.md) for
cross-cutting install, schema, pipeline, cache, and device failures. The small
helper [scripts/ffcv_smoke.py](scripts/ffcv_smoke.py) creates a temporary
integer `.beton` file and checks a sequential loader; pass `--cuda` only on a
reserved compatible GPU.

## Scope boundary

This graph is self-contained operating knowledge for package users. It does not
require the original checkout, source examples, downloaded datasets, benchmark-
scale matrices, ImageNet/CIFAR training, release automation, Docker files, or
binary documentation assets. Those are evidence behind the distilled guidance,
not runtime dependencies.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get ffcv running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying ffcv?

CallGet help
Cite this page

ffcv skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-ffcv (last updated 2026-10-24)