Skip to content
Back to skills

Serial Pipelines

ASecurity

"Routes legacy DI-engine serial, offline, evaluation, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
toolsdebuggingperformance

Works with

  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill serial-pipelines --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Serial Pipelines?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Serial Pipelines
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-serial-pipelines/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-serial-pipelines)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: serial-pipelines
description: "Routes legacy DI-engine serial, offline, evaluation, and
  data-collection pipelines."
metadata:
  disco-role: operating
  disable-model-invocation: true
license: Apache 2.0
disable-model-invocation: true
---

# Serial pipelines

Use this sub-skill for the legacy pipeline family built around
`ding.entry.serial_pipeline` and its related helpers.
These workflows are still the quickest path for many CartPole, Pendulum, and
reward-model recipes.

## Owns

- `serial_pipeline`, `serial_pipeline_onpolicy`, and `serial_pipeline_offline`
- `eval`, `collect_demo_data`, `collect_episodic_demo_data`,
  `episode_to_transitions`, and `episode_to_transitions_filter`
- special serial modes such as SQIL, GAIL, DQFD, TREX, NGU, and reward-model
  flows
- direct training entry scripts that manually wire configs, env managers,
  policies, collectors, learners, and evaluators
- environment-specific demo scripts under `dizoo/classic_control/`, `bitflip/`,
  `frozen_lake/`, and `league_demo/` when they are using the legacy loop style

## Does not own

- Framework/middleware examples such as `ding/example/*.py`; those belong to
  `framework-runtime`
- CLI parsing and config compilation details; those belong to `cli-config`
- Env-wrapper debugging and shape mismatches; those belong to `env-integration`

## Read this first when the user asks

- how to train or evaluate with a legacy DI-engine config file
- how to collect expert demonstrations or convert episodic data to transitions
- how the special SQIL/GAIL/DQFD/TREX/NGU launch paths differ from plain
  off-policy or on-policy training
- how to turn a CartPole or Pendulum config into a runnable single-process loop
- why a serial entry script hangs, exits early, or never reaches the stop value

## Workflow

1. Use `references/workflows.md` to match the request to the right pipeline
   family.
2. Use `references/troubleshooting.md` when the user hits a runtime failure or
   an expert-data/checkpoint mismatch.
3. Use `scripts/run_serial.sh` from the repo root when you simply want a thin
   wrapper over `ding -m serial`.
4. If the request actually wants the task/middleware runtime, move to
   `framework-runtime` instead of expanding this one.

## Common decision points

- Use `serial_pipeline` for the standard off-policy training loop.
- Use `serial_pipeline_onpolicy` for PPO/A2C/PG-style recipes.
- Use `serial_pipeline_offline` when the policy learns only from offline data.
- Use `eval` when the user already has a checkpoint and only needs performance
  or replay output.
- Use the collect-demo helpers when imitation-learning or offline-RL data must
  be written out before training.

## Helpful bundle links

- `references/workflows.md` for the pipeline family map and example entry
  scripts.
- `references/troubleshooting.md` for checkpoint, expert-data, and stop-value
  failures.
- `scripts/run_serial.sh` at the repo root for a generic launch wrapper.

Files in this skill

  • SKILL.md2.9 KB
  • references/troubleshooting.md1.6 KB
  • references/workflows.md2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.