Loading...
Loading...
Contributors:
Dataset URI:
10.5281/zenodo.23615138Ready for the EBD2N revolution?EBD2N (Event-Based Distributed Deep Neural Networks) is a training and inference runtime for transformers that uses no collective operation. Every block of the model is split into units; a unit is a thread with its own CUDA stream that owns one slice of the weights and its own optimizer state, exchanges activations and gradients with its neighbours by point-to-point messages, and updates its weights as soon as its gradient arrives. Where each unit runs is a line in a configuration file, so placement, freezing and the number of batches in flight are settings rather than properties of a parallelism scheme. The records in this dataset show what follows from that: training and fine-tuning across GPUs of different generations in one job, a placement computed at start from the free memory of each node, checkpoints that load on any hardware without resharding, tolerance to slow devices, and the same accuracy as the monolithic model. The file ebd2n_moe_block_units.png shows one MoE block as EBD2N units. INFERENCE Inference in the EBD2N runtime qwen_sqlft_inference_4xA100.html: dashboard of an inference run. The text-to-SQL fine-tune of Qwen1.5-MoE-A2.7B (14.3 B parameters) decodes 1,024 held-out questions on four NVIDIA A100-SXM4-40GB cards across two nodes, greedy decoding, up to 128 new tokens per prompt. Nothing was exported or converted: the units that trained the model serve it, placed by free memory, with zero collective operations (no NCCL AllReduce). With 512 prompts in flight, decode execution captured into static CUDA graphs with intra-card chaining, and 4 steps grouped per barrier, the run produced 2,153 tokens per second (approx. 7.75 million tokens per hour; 25,155 newly generated tokens in 11.68 s generation wall time). Median time to first token was 0.91 s (1.99 s maximum, 0.52 s minimum), with peak memory on the busiest card at 23.1 GB of 39.5 GB (1.1× placement imbalance). It scores 79.5 % exact match (814/1,024) and 87.9 % execution match (900/1,024) on the held-out benchmark questions. At low concurrency (4 prompts in flight), single-stream decode latency is 69 ms per token, with the first token emitted after 0.15 s. Hybrid inference qwen_sqlft_hybrid_inference_H200-A100.out, .html and .jsonl are the log, the dashboard and the completions : the LoRA fine-tune of Qwen1.5-MoE-A2.7B on text-to-SQL (rank-16 adapters on blocks 12–23, validation token accuracy 99.1 %) decoding eight questions across one H200 and three A100-80GB on two nodes, in one job of two parts. The checkpoint is the delta the fine-tuning wrote, 132 units and 216 tensors completed from the base at load. The placement by free memory gave blocks 0–7 to the H200 (139 GB free) and blocks 8–23 with the head to the A100 node (236 GB), 13.2 GB resident on the H200 and 8.6, 6.4 and 6.4 GB on the three A100, with one network seam between the nodes and no collective operation. The eight answers are SQL, seven of them the expected queries. The run used the code of that day, one message per prompt and step, 159 tokens in 26.6 s with four prompts in flight; the batched steps and the fused expert path of the four-A100 run above came after it, and the hybrid placement is what this record documents. TRAINING Training logs — EBD2N scaling points Four complete training records, one per model size of the scaling table, each the concatenation of the SLURM job logs of the run in chronological order (a ########## job <id> ########## line opens each slice). Every slice resumes exactly where the previous one stopped, at the epoch boundary, with the optimizer and learning-rate schedule restored, so the files show the whole trajectory: configuration, placement, per-epoch throughput and memory, validation accuracy after each epoch, checkpoint writes. ebd2n_254M_training.out — 254 M, MiniPile, 4× H200, 5 epochs, jobs 2249572 + 2255117; validation 47.2 → 52.0 %. ebd2n_483M_training.out — 483 M, 4× H200, jobs 2649838 → 2649840 → 2649839 (two epochs per slice); 54.2 % after 6 epochs (the table stops at epoch 5, same budget as the other sizes). ebd2n_778M_training.out — 778 M, jobs 2656856, 2674201, 2708786, 2718872, 2723380, 2764684 (one epoch per slice); 54.9 % after 6 epochs. ebd2n_1410M_training.out — 1.41 B, 8× H200, pipeline depth 3, jobs 3132735, 3133145, 3133146, 3133147, 3133148 (one epoch per 24 h slice); 49.6 → 55.5 % over 5 epochs Hybrid fine-tuning qwen_sqlft_hybrid_fine_tuning_h200-A100.out — Qwen1.5-MoE-A2.7B fine-tuned on text-to-SQL across two nodes of different generations, one H200 and three A100-80GB, in a single SLURM job of two parts (hetjob, job 3225822). Blocks 0–11 frozen, twelve blocks trained at full rank, block ranges sized from each node's free memory, one epoch at batch 8. The log shows the placement derived at start, the network seam between the two nodes, per-epoch throughput and memory per device, validation accuracy and the exact-match score over the same 200 held-out prompts as the single-node runs. No collective operation is used; the two nodes exchange point-to-point messages only. One training across GPU generationsTwo jobs of 15 October 2026 train one 254 M model for two epochs of 5,000 batches (batch 64, MiniPile) under one two-epoch schedule. Epoch 0 runs on four H200 (job 3283924, 73 min, 37,400 tokens/s, validation 40.7 %) and stops at the epoch boundary, writing a checkpoint with weights, schedule position and optimizer moments. Epoch 1 runs on four A100-80GB (job 3285737, 182 min, 15,000 tokens/s, validation 45.4 %) from that checkpoint: the log shows the device model of every GPU, the placement recomputed for the new node, the 108 units and their optimizer states restored by name, and the schedule resumed at step 5,000. No tensor is re-cut and the configuration is unchanged between the jobs; the checkpoint is keyed by unit, not by device. File: ebd2n_254M_h200_to_a100.out. Automatic placement of the units The hybrid run has no hand-written placement. Launched with --auto-distribute --mem-balance, the runtime reads the processes and their GPUs from the job, measures the free memory of each device at start, and gives each process a contiguous band of blocks whose resident memory matches its share of the free memory, frozen blocks counted lighter and the first and last blocks weighted for the embedding and the head. Here the H200 node received blocks 0–13 and the A100 node blocks 14–23 with the head; within a node, the expert groups of a block are spread over its GPUs. The derived placement is printed at the top of the log in the usual [MAPPING] form, so the run can be reproduced from it. Only message-addressed units can follow a measured memory vector: tensor-parallel shards must be equal across a group, and data-parallel replicas each need the whole model. Straggler sweepebd2n_straggler_ebd2n.out and ebd2n_straggler_2d.out are the two records of the injected-straggler sweep of the TPDS paper (Table IX), run on 24 July 2026 on one A100 node of four GPUs of the CRIANN cluster: EBD2N (job 2710454) and the 2D baseline, tensor parallel over the four GPUs (job 2710455), same 254 M model, corpus and batch. A fixed delay of 0, 5, 10, 15, 20 or 25 ms is injected into one EBD2N unit before every message it receives, or into one rank of the baseline at every micro-batch, and the epoch time is measured at each delay. Each file is the sweep driver’s output followed by one slice per delay, opened by a ########## straggler delay <d> ########## line, and ends with the summary table of epoch time against delay. The EBD2N run at 25 ms was stopped before the end, so the paper’s table stops at 20 ms. The paper’s finding, that the event-driven pipeline absorbs the delay while the collective baseline slows with it, is read directly from the two tables. Databricks run qwen_sqlft_databricks_train_notebook.html and qwen_sqlft_databricks_score_notebook.html are the two notebooks of a fine-tune of Qwen1.5-MoE-A2.7B on text-to-SQL run on a Databricks cluster of two workers with two A100-40GB each. The EBD2N runtime is installed from a wheel (ebd2n-0.1.7) with a notebook-scoped %pip install, so that the driver and the executors share the same package, and launched on the Spark workers by TorchDistributor: rank-16 adapters on blocks 12–23, 19,200 training examples for two epochs, one shard per rank written to the Volume. The scoring notebook unions the shards, completes the frozen blocks from the base and gives 161/200 = 80.5 % exact match on the same 200 held-out prompts as the other runs. Both pages are self-contained; workspace identifiers are replaced by placeholders. Run dashboard — ebd2n_training_report.html Self-contained HTML report written by the EBD2N runtime at the end of a training run; opens in any browser offline. The file included is the page of one complete run on the CRIANN cluster (job 3242074, 25 September 2026, 4× H200): a one-epoch fine-tuning of Qwen1.5-MoE-A2.7B on text-to-SQL with the first twelve blocks frozen, rank-16 adapters on the trainable blocks, bf16 compute, pipeline depth 3, micro-batch 8 — 9,625 batches, 99.1 % validation token accuracy, 1.87 batches/s, 47.8 GB peak on the most loaded GPU, no skipped optimizer step. It is given as an example of what the runtime records; it is not one of the runs of the scaling table above, which are documented by their logs. The page records, from the training process itself: the run identity (purpose, configuration, host, GPUs, PyTorch/CUDA versions); the hyper-parameters (model, optimisation, numerics, pipeline depth, freeze and LoRA recipe); the metrics (validation accuracy, loss and token accuracy per batch, throughput, allocated and peak memory per GPU, trainable parameters); interactive curves with a table view; the placement of the 216 units over the four GPUs; and, for every unit, its state (frozen by the prefix, frozen as base under LoRA, LoRA, full rank), parameters, optimizer steps taken and skipped. Scores computed afterwards from the saved checkpoint appear in the job log, not on the page. Generated by ebd2n/report.py, included with its test in the code archive. Fine-tuning on MetaMathQA, scored on GSM8KQwen1.5-MoE-A2.7B with blocks 0–11 frozen and blocks 12–23 trained at full rank, three epochs on the GSM part of MetaMathQA (240,000 rephrased problems) on four H200 GPUs, batch 8, pipeline depth 2, 1.31 batches per second, peak 68 GB (job 3272271). Validation token accuracy after each epoch: 95.9 %, 96.3 %, 96.5 %. Exact match on 200 GSM8K test problems, zero-shot, greedy, 512 tokens: 67.5 % (135/200); the same recipe after one epoch scores 64.5 %, the base model’s published few-shot score is 61.5 %. Files: qwen_metamath_fine_tuning.out (log) and qwmm0_11_3272271.html (run dashboard). Configuration files of the training records One file per model size, the configuration the runtime was launched with: ebd2n_254M_minipile.conf, ebd2n_483M_minipile.conf, ebd2n_778M_minipile.conf, ebd2n_1410M_minipile.conf. Each holds the model dimensions (embedding width, number of blocks, heads, MLP width, vocabulary), the training recipe (batch 64, AdamW at 3·10⁻⁴ with cosine decay, weight decay 0.1, dropout 0.1, gradient clipping 1.0 per unit, 5 or 6 epochs) and the [MAPPING] section that assigns every unit to a GPU. A run is reproduced by passing the file to the launcher named in the README; the log of each run prints the same file in its header Distributed inference on the same units qwen_sqlft_inference_4xA100.html is the dashboard of an inference run : Qwen1.5-MoE-A2.7B, fine-tuned on text-to-SQL with blocks 0–19 frozen and blocks 20–23 trained at full rank (validation token accuracy 98.8 %), decoding twelve text-to-SQL prompts across four A100-40GB on two nodes. The EBD2N runtime serves inference with the units that train: the placement by free memory spreads the 24 blocks over the four processes, six blocks each, the prompt crosses every block once, and every following step carries one token through the pipeline. Each attention unit keeps the keys and values of its own block, so no device holds the model and no device holds the whole cache. Several prompts decode at once, each with its own session, and the blocks pipeline them. The page records, per prompt, the prompt length, the tokens generated, the time to the first token and the total time, and for the run the aggregate throughput, the checkpoint load time and the memory of every device. In this run 285 tokens were generated in 43.8 s with four prompts in flight, 6.5 tokens per second in aggregate against 2.0 for one prompt alone, with 14 to 15 GB resident per card and no collective operation. The two cosmetic tiles on trainable parameters reflect the runtime version of the run, which stored the weights in fp32: the version in the code archive stores them in bf16 at inference, halving the resident memory. The log of the run follows the same path as a training log: start-up rendezvous, placement, network seam, then the unit threads.
Keyword(s):
distributed training; model parallelism.
MeSH Term(s):
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
No Associated Publication Data Available
Supplementary Data:
No Supplementary Data Available
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)