.. _uses: Use Cases +++++++++ Examples By Category ==================== .. raw:: html

Multiprocessing

Distributed Python examples for queues, pools, pipelines, and shared state

Data

Distributed data sharing with a DDict-focused walkthrough

Telemetry

Collect and inspect Dragon runtime and application metrics

Workflow

Workflow patterns for AI loops, MPI orchestration, Parsl, and Batch DAGs

AI

AI examples for data loading, agents, and inference-oriented workflows

.. toctree:: :maxdepth: 2 :hidden: cbook/multiprocessing.rst cbook/data.rst cbook/telemetry.rst cbook/workflows.rst cbook/ai.rst cbook/core.rst | Tutorials ========= .. raw:: html

Data processing

Process a large dataset in parallel

Orchestrating processes

Orchestrate executing a serial executable with many different arguments

Orchestrating MPI applications

Orchestrate a parameter sweep for an MPI application

Distributed PyTorch

Set up PyTorch distributed launch, rank info, and data loading on GPUs

Resiliency with DDict Checkpointing

Track application state to enable fault tolerance and recovery

Running across nodes

Run on a collection of servers or a supercomputer

Jupyter

Use a Jupyter notebook with Dragon

Controlling GPU Affinity

Running functions and processes that use specific GPUs

Telemetry with Grafana

Visualize and analyze system and custom metrics

Workflows

Build a simple end-to-end workflow with Batch, DDict, and external jobs

Running multi-system workflows

Connect and run workflows across multiple systems

Building AI Agents

Multi-agent LLM pipelines with tools, HITL, and tracing

Inference Service

Serve shared vLLM backends with Dragon queues and GPUs

Batch

Schedule parallel tasks and DAG-shaped dependencies with the Batch API

Debugging

Use Dragon logging to inspect runtime behavior and application issues

Python/C++ Integration

Write Code in C++ that shares Data and Objects with Python

.. toctree:: :maxdepth: 2 :hidden: uses/data_processing.rst uses/orchestrate_procs.rst uses/orchestrate_mpi.rst uses/distributed_training.rst uses/ddict_checkpoint.rst uses/batch.rst uses/multinode.rst uses/jupyter.rst uses/gpus.rst uses/grafana.rst uses/workflow.rst uses/proxy.rst uses/agent.rst uses/inference.rst uses/debugging.rst