# Example: Deploy Multi-node SGLang with Dynamo on SLURM
This folder implements the example of [SGLang DeepSeek-R1 Disaggregated with WideEP](../dsr1-wideep.md) on a SLURM cluster.
## Overview
The scripts in this folder set up multiple cluster nodes to run the [SGLang DeepSeek-R1 Disaggregated with WideEP](../dsr1-wideep.md) example, with separate nodes handling prefill and decode.
The node setup is done using Python job submission scripts with Jinja2 templates for flexible configuration. The setup also includes GPU utilization monitoring capabilities to track performance during benchmarks.
## Scripts
-**`submit_job_script.py`**: Main script for generating and submitting SLURM job scripts from templates
-**`job_script_template.j2`**: Jinja2 template for generating SLURM job scripts
-**`scripts/worker_setup.py`**: Worker script that handles the setup on each node
-**`scripts/monitor_gpu_utilization.sh`**: Script for monitoring GPU utilization during benchmarks
## Logs Folder Structure
Each SLURM job creates a unique log directory under `logs/` using the job ID. For example, job ID `3062824` creates the directory `logs/3062824/`.
### Log File Structure
```
logs/
├── 3062824/ # Job ID directory
│ ├── log.out # Main job output (node allocation, IP addresses, launch commands)