atlas

Research map / Large language models / Instruction and fine-tuning

Skrull: Towards Efficient Long Context Fine-tuning through Dynamic Data Scheduling

NeurIPS 2025 · Large language models › Instruction and fine-tuning · approach: Efficient LLM fine-tuning systems · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Skrull is a dynamic data scheduler for long-context SFT that combines per-micro-batch context-parallel sharding decisions (DACP) with global batch scheduling (GDS) and a lightweight heuristic, implemented on DeepSpeed, yielding 3.76x average speedup over DeepSpeed.

Problem

Long-context SFT trains on mixed long and short sequences, and existing training systems cannot be efficient for both at once: context parallelism and memory-saving settings sized for the longest sequence hurt short sequences, and attention's quadratic compute creates load imbalance across workers.

Approach

Treat parallelism and batching as a per-iteration scheduling problem: shard only sequences that need it (DACP), keep short sequences local within a shared CP group, and globally pack sequences into micro-batches (GDS), solved online by a lightweight heuristic with roll-back to avoid OOM rather than an exact solver.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Skrull's dynamic data scheduling instead of DeepSpeedLong-SFT training · Real-world Long-SFT scenariosspeedup: 3.76x on average; up to 7.54xHelped
Use Skrull instead of sorted batchingLong-SFT training · Real-world Long-SFT scenariosspeedup: 3.45x on average; peak improvement of 6.85xHelped
Enable DACP (ablation)Skrull · Long-SFT trainingend-to-end training performanceHelped
Enable GDS (ablation)Skrull · Long-SFT trainingend-to-end training performanceHelped
Increase BatchSize (ablation)Skrull on Qwen2.5-0.5B · ChatQA2-Long-SFTspeedup: from 8 to 54Helped
Increase BucketSize (ablation)Skrull on Qwen2.5-0.5B · ChatQA2-Long-SFTspeedup: from 8K to 32KHelped
Add the roll-back mechanism to RR scheduling (ablation)RR on Qwen2.5-0.5B · ChatQA2-Long-SFTOOM: OOM -> 1.17$\times$ speedupHelped
Add the roll-back mechanism to Skrull (ablation)Skrull on Qwen2.5-0.5B · ChatQA2-Long-SFTOOM: OOM -> 1.40$\times$ speedupHelped

Limitations

Experimental setup

Datasets: Wikipedia LMsysChat1M ChatQA2-Long-SFT

Benchmarks: Wikipedia LMsysChat1M ChatQA2-Long-SFT

Metrics: average iteration time end-to-end speedup peak memory

Baselines: DeepSpeed (ZeRO-2) sorted batching (LongAlign) round-robin scheduling

Builds on: DeepSpeed FlashAttention LongAlign sorted batching

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy