Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.
Python cliconsumer-gpudpofine-tuningggufhuggingfacellmllmopslocal-ailocal-llmloralow-vrammachine-learningollamapeftpythonpytorchqlorasfttransformers
{
"label": "random weights, shape only; routing forced uniform (token t -> experts kt..kt+k-1 mod E)",
"args": {
"store": "D:/soup-bench/moe-k2-synth",
"weights": null,
"model": null,
"expert_layout": "per_expert",
"out": "C:\\Users\\user\\projects\\soup-wt\\moe-seq-scaling\\benchmarks\\results\\probe-rtx5070\\giant-moe\\seq-scaling\\b2\\step.json",
"seq": 2048,
"batch": 1,
"steps": 1,
"loss_tokens": 512,
"lora_r": 8,
"buffers": 2,
"tier": "disk",
"no_pin": true,
"seed": 3,
"label": "random weights, shape only",
"route": "uniform"
},
"steps": [
{
"step": 0,
"seconds": 1120.52,
"tokens_per_second": 1.828,
"loss": 13.491609573364258,
"loss_positions": 512,
"loss_finite": true,
"grads_finite": true,
"grads_present": 610,
"expert_fetches": 69120,
"expert_bytes_read": 1570336174080,
"layer_loads": 120,
"os_io": {
"process_read_bytes": 1587653703774,
"disk_read_bytes": {
"PhysicalDrive0": 8110742528,
"PhysicalDrive1": 1586785978368
}
},
"peak_vram_mib": 6091,
"peak_reserved_mib": 7176,
"peak_host_bytes_so_far": 7757692928
}
],
"store_bytes": 533242299230,
"store_expert_layout": "per_expert",
"store_quant": "nf4",
"store_double_quant": true,
"build_seconds": 6.25,
"routers_overridden": 60,
"trainable_params": 30513664,
"stats": {
"n_layers": 61,
"buffers": 2,
"buffer_bytes": 2918596920,
"large_buffer_bytes": 2348810240,
"store_bytes": 5115134896,
"pinned": false,
"pinned_bytes": 0,
"tier": "disk",
"read_ahead": 2,
"disk_bytes": 9779642448,
"drive_count": 1,
"direct_io_drives": 1,
"direct_io_roots": {
"D:/soup-bench/moe-k2-synth": true
},
"layer_loads": 120,
"large_loads": 3,
"device": "cuda",
"total_params": 1026408232448,
"nf4_scale_cache_bytes": 0,
"expert_fetches": 69120,
"expert_bytes_read": 1570336174080
}
}