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-b1/benchmarks/results/probe-rtx5070/giant-moe/k2-step-uniform.json",
"seq": 512,
"batch": 1,
"steps": 2,
"lora_r": 8,
"buffers": 2,
"tier": "disk",
"no_pin": true,
"seed": 3,
"label": "random weights, shape only",
"route": "uniform"
},
"steps": [
{
"step": 0,
"seconds": 867.95,
"tokens_per_second": 0.59,
"loss": 13.47708511352539,
"loss_finite": true,
"grads_finite": true,
"grads_present": 610,
"expert_fetches": 69120,
"expert_bytes_read": 1570336174080,
"layer_loads": 120,
"peak_vram_mib": 4342,
"peak_reserved_mib": 5052,
"peak_host_bytes_so_far": 7749476352
},
{
"step": 1,
"seconds": 1108.77,
"tokens_per_second": 0.462,
"loss": 13.469831466674805,
"loss_finite": true,
"grads_finite": true,
"grads_present": 610,
"expert_fetches": 69120,
"expert_bytes_read": 1570336174080,
"layer_loads": 118,
"peak_vram_mib": 4723,
"peak_reserved_mib": 5170,
"peak_host_bytes_so_far": 7885430784
}
],
"store_bytes": 533242299230,
"store_expert_layout": "per_expert",
"store_quant": "nf4",
"store_double_quant": true,
"build_seconds": 4.38,
"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,
"layer_loads": 238,
"large_loads": 5,
"device": "cuda",
"total_params": 1026408232448,
"expert_fetches": 138240,
"expert_bytes_read": 3140672348160
}
}