brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
distributed-engines-backendsPlan and debug AReaL distributed engines, inference backends, allocation strings, weight sync, LoRA/FP8, and GPU/Ray/Slurm backend failures.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is about AReaL backend selection or backend failure modes: FSDP2, Megatron, Archon, SGLang, vLLM, backend strings, GPU allocation, parallelism dimensions, weight-update modes, LoRA, FP8, CUDA/NCCL hangs, OOM, Ray/Slurm placement, or backend install variants.
post-training-experiments and return here only for the backend fields.services-cli-operations; return here only for worker backend, allocation, and weight-sync constraints.RolloutWorkflow, or agent workflow code, route to sibling sub-skill custom-data-rewards-workflows.Establish the user's target roles (rollout, actor, optional critic, ref, teacher), cluster shape, backend strings, install variant, weight-update mode, LoRA/FP8 flags, and whether actor/rollout are separated or colocated.
Parse backend strings and compute GPU demand with scripts/check_backend_plan.py:
python scripts/check_backend_plan.py \
rollout.backend=sglang:d2t4 actor.backend=fsdp:d8 \
cluster.n_nodes=2 cluster.n_gpus_per_node=8 \
actor.weight_update_mode=xccl
Add --probe-env only for safe CUDA visibility/import facts; it is still not a backend runtime proof.
Use references/backend-planning.md for backend syntax, install variants, parallelism capability, Ray/Slurm placement, LoRA, and FP8 planning.
Use references/engine-api-and-weight-sync.md for train/inference engine contracts, generation request behavior, weight versioning, and disk/xccl/awex update modes.
Use references/troubleshooting.md to debug parse/config errors, optional dependency issues, CUDA/NCCL hangs, OOM, LoRA/FP8 failures, placement mistakes, and checkpoint/recovery mismatches.
rollout.backend=sglang:d2t4, actor.backend=megatron:(attn:d1p4t2c2|ffn:d1p4t1e4), actor.weight_update_mode=disk, or actor.megatron.bridge_type=megatron-bridge.Do not start training, launch SGLang/vLLM/Ray/Slurm services, download models/datasets, run native repo tests, mutate driver/CUDA stacks, or guess cluster-specific placement. Ask for cluster/model/runtime decisions when they are required to choose between incompatible backends or install variants.