Papers › Chronicals: A High-Performance Framework for LLM Fine-Tuning with 3.51x Speedup over Unsloth

Chronicals: A High-Performance Framework for LLM Fine-Tuning with 3.51x Speedup over Unsloth

6 Jan 2026arXiv:2601.02609added by Syntology

Arjun S. Nair

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Large language model fine-tuning is bottlenecked by memory: a 7B parameter model requires 84GB--14GB for weights, 14GB for gradients, and 56GB for FP32 optimizer states--exceeding even A100-40GB capacity. We present Chronicals, an open-source training framework achieving 3.51x speedup over Unsloth through four synergistic optimizations: (1) fused Triton kernels eliminating 75% of memory traffic via RMSNorm (7x), SwiGLU (5x), and QK-RoPE (2.3x) fusion; (2) Cut Cross-Entropy reducing logit memory from 5GB to 135MB through online softmax computation; (3) LoRA+ with theoretically-derived 16x differential learning rates between adapter matrices; and (4) Best-Fit Decreasing sequence packing recovering 60-75% of compute wasted on padding. On Qwen2.5-0.5B with A100-40GB, Chronicals achieves 41,184 tokens/second for full fine-tuning versus Unsloth's 11,736 tokens/second (3.51x). For LoRA at rank 32, we reach 11,699 tokens/second versus Unsloth MAX's 2,857 tokens/second (4.10x). Critically, we discovered that Unsloth's reported 46,000 tokens/second benchmark exhibited zero gradient norms--the model was not training. We provide complete mathematical foundations: online softmax correctness proofs, FlashAttention IO complexity bounds O(N^2 d^2 M^{-1}), LoRA+ learning rate derivations from gradient magnitude analysis, and bin-packing approximation guarantees. All implementations, benchmarks, and proofs are available at https://github.com/Ajwebdevs/Chronicals with pip installation via https://pypi.org/project/chronicals/.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2601.02609")

Code

Syntology Ran 0 of 33 code samples harvested from 1 repository linked to this paper; 33 have no recorded run.

By repository: found in paper text by Syntology: 33 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Ajwebdevs/Chronicals found in paper text by SyntologyNOASSERTION report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

33 samples harvested; 0 ran; 0 honoured the contract we drafted; 33 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

33unverified

Licence: 33 of the 33 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from Ajwebdevs/Chronicals. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

apply_dora_to_model Ajwebdevs/Chronicals/chronicals/lora/dora_adapter.py found in paper text by Syntology unverified licence not identified · pointer only · 3c9010c06cd4eafc · report
apply_lora_checkpointing Ajwebdevs/Chronicals/chronicals/lora/gradient_checkpointing_lora.py found in paper text by Syntology unverified licence not identified · pointer only · 37f4da134de23ea0 · report
apply_lora_to_model Ajwebdevs/Chronicals/chronicals/lora/lora_optimized.py found in paper text by Syntology unverified licence not identified · pointer only · def82cf7461704a9 · report
chunked_cross_entropy_loss Ajwebdevs/Chronicals/chronicals/kernels/cut_cross_entropy.py found in paper text by Syntology unverified licence not identified · pointer only · 549a700a723e8ef2 · report
compute_arithmetic_intensity Ajwebdevs/Chronicals/chronicals/kernels/flash_attention_optimizer.py found in paper text by Syntology unverified licence not identified · pointer only · abab4a1b18037b93 · report
convert_lora_to_dora Ajwebdevs/Chronicals/chronicals/lora/dora_adapter.py found in paper text by Syntology unverified licence not identified · pointer only · 125e8438c36c3122 · report
cut_cross_entropy Ajwebdevs/Chronicals/chronicals/kernels/cut_cross_entropy.py found in paper text by Syntology unverified licence not identified · pointer only · 022a2eebc3a6077f · report
estimate_checkpointing_savings Ajwebdevs/Chronicals/chronicals/lora/gradient_checkpointing_lora.py found in paper text by Syntology unverified licence not identified · pointer only · 39bad39ba513a138 · report
estimate_tokens_per_second Ajwebdevs/Chronicals/chronicals/kernels/flash_attention_optimizer.py found in paper text by Syntology unverified licence not identified · pointer only · 7b8b337acd50fdf4 · report
fused_cross_entropy_triton Ajwebdevs/Chronicals/chronicals/kernels/triton_kernels.py found in paper text by Syntology unverified licence not identified · pointer only · 754961defcfd7acd · report
fused_lora_down_dropout Ajwebdevs/Chronicals/chronicals/kernels/fused_lora_kernels.py found in paper text by Syntology unverified licence not identified · pointer only · 8e03397a90e03548 · report
fused_lora_linear Ajwebdevs/Chronicals/chronicals/kernels/fused_lora_kernels.py found in paper text by Syntology unverified licence not identified · pointer only · c90946ad3d56b68b · report
fused_lora_linear_with_grad Ajwebdevs/Chronicals/chronicals/kernels/fused_lora_kernels.py found in paper text by Syntology unverified licence not identified · pointer only · 86fb35acea6bf0e1 · report
fused_q_rope_inplace Ajwebdevs/Chronicals/chronicals/kernels/fused_rope.py found in paper text by Syntology unverified licence not identified · pointer only · 0776674b13b98da3 · report
fused_qk_rope Ajwebdevs/Chronicals/chronicals/kernels/fused_qk_rope.py found in paper text by Syntology unverified licence not identified · pointer only · a4924b02da2cb36b · report
fused_qk_rope_backward Ajwebdevs/Chronicals/chronicals/kernels/fused_qk_rope.py found in paper text by Syntology unverified licence not identified · pointer only · 38fc5ac3f8050ea8 · report
fused_qk_rope_forward Ajwebdevs/Chronicals/chronicals/kernels/fused_qk_rope.py found in paper text by Syntology unverified licence not identified · pointer only · 7fa6f1e0f24b4896 · report
fused_qk_rope_inplace Ajwebdevs/Chronicals/chronicals/kernels/fused_rope.py found in paper text by Syntology unverified licence not identified · pointer only · b6d424583f8275e7 · report
fused_qk_rope_inplace_backward Ajwebdevs/Chronicals/chronicals/kernels/fused_rope.py found in paper text by Syntology unverified licence not identified · pointer only · 9e1e207e9d289234 · report
get_dora_plus_param_groups Ajwebdevs/Chronicals/chronicals/lora/dora_adapter.py found in paper text by Syntology unverified licence not identified · pointer only · 55495c41526b01fb · report
get_gpu_specs Ajwebdevs/Chronicals/chronicals/kernels/flash_attention_optimizer.py found in paper text by Syntology unverified licence not identified · pointer only · e0fee5939a703ab5 · report
get_lora_optimizer_groups Ajwebdevs/Chronicals/chronicals/lora/lora_optimized.py found in paper text by Syntology unverified licence not identified · pointer only · 3b1cee1666f8fdb7 · report
get_model_config Ajwebdevs/Chronicals/chronicals/config/config.py found in paper text by Syntology unverified licence not identified · pointer only · b2d1236317b593ab · report
get_model_size Ajwebdevs/Chronicals/chronicals/lora/lora_presets.py found in paper text by Syntology unverified licence not identified · pointer only · c8e820f2fc086863 · report
get_optimal_chunk_size Ajwebdevs/Chronicals/chronicals/kernels/cut_cross_entropy.py found in paper text by Syntology unverified licence not identified · pointer only · c91de53c313dfbb4 · report
get_optimal_config_for_gpu Ajwebdevs/Chronicals/chronicals/config/config.py found in paper text by Syntology unverified licence not identified · pointer only · 18e9aa9520439eb6 · report
get_optimal_preset Ajwebdevs/Chronicals/chronicals/lora/lora_presets.py found in paper text by Syntology unverified licence not identified · pointer only · 2c25455de3cd069c · report
get_preset_for_hardware Ajwebdevs/Chronicals/chronicals/lora/lora_presets.py found in paper text by Syntology unverified licence not identified · pointer only · ff5237ff47007036 · report
get_sota_config_for_gpu Ajwebdevs/Chronicals/chronicals/config/sota_config.py found in paper text by Syntology unverified licence not identified · pointer only · 147e044504ca0fd5 · report
print_comprehensive_diagnostic Ajwebdevs/Chronicals/chronicals/config/sota_config.py found in paper text by Syntology unverified licence not identified · pointer only · b771b43e585c9731 · report
print_diagnostic_report Ajwebdevs/Chronicals/chronicals/config/sota_config.py found in paper text by Syntology unverified licence not identified · pointer only · 669f295dc42160cf · report
rmsnorm_backward Ajwebdevs/Chronicals/chronicals/kernels/triton_kernels.py found in paper text by Syntology unverified licence not identified · pointer only · 1be8da1291321955 · report
rmsnorm_forward Ajwebdevs/Chronicals/chronicals/kernels/triton_kernels.py found in paper text by Syntology unverified licence not identified · pointer only · f985053a65ebe136 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2601.02609, was issued in January 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections