Skip to content

sweepx.tasks

The typed YAML task layer for sweep — the front door for CLI- and LLM-driven FWI / LSRTM / RTM / forward / wavefield runs.

If you just want a Python loop around the wave solver, use sweep directly. sweepx.tasks (the sweep-tasks command) is for when you want to describe a job in YAML (or JSON, from an LLM) and have it executed reproducibly — one process or torchrun multi-rank, shot-parallel by default, with status.json + checkpoint.pt + figures written per run.

Part of sweepx (pip install sweepx) → import sweepx.tasks.

Marmousi FWI

Marmousi-II, 200 epochs of FWI from a smoothed start — one YAML, one command (example 02).

  • Getting started


    Install, then run a Marmousi FWI with one command — nothing to download.

  • User guide


    Task types, the YAML schema, ModelRef, the CLI, and distributed runs.

  • Examples


    One page per task — forward, FWI, iFWI, RTM/LSRTM, frequency selection, elastic — plus a field (SEG-Y) walkthrough.

  • API reference


    TaskRunner, load_task, and the Pydantic task schemas.