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
{
"weights": "D:/soup-bench/models/Moonlight-16B-A3B-fp8block",
"out": "D:/soup-bench/fp8-shard-27L-nf4",
"arguments": {
"dtype": "bfloat16",
"arch": "deepseek_v3",
"quant": "nf4",
"quant_suffixes": [
"mlp.down_proj.weight",
"mlp.gate_proj.weight",
"mlp.shared_experts.down_proj.weight",
"mlp.shared_experts.gate_proj.weight",
"mlp.shared_experts.up_proj.weight",
"mlp.up_proj.weight",
"self_attn.kv_a_proj_with_mqa.weight",
"self_attn.kv_b_proj.weight",
"self_attn.o_proj.weight",
"self_attn.q_proj.weight"
],
"double_quant": true,
"expert_layout": "",
"num_hidden_layers": 27,
"quant_device": "cpu"
},
"box": {
"utc": "2026-10-19T19:06:45Z",
"python": "3.12.10",
"platform": "Windows-11-10.0.26200-SP0",
"torch": "2.14.0+cu130",
"cuda_visible_devices": "-1",
"cuda_available": false,
"cpu_count": 32,
"available_ram_bytes": 10440273920,
"total_ram_bytes": 34070192128,
"disk_free_bytes": {
"D:\\soup-bench": 168437407744
}
},
"shard_wall_seconds": 93.3806519000209,
"memory": {
"peak_rss_bytes": 4633575424,
"min_available_ram_bytes": 5346910208,
"ram_samples": 47,
"sample_period_s": 2.0
},
"n_layers": 27,
"total_params": 15960111936,
"notes": [
"[yellow]Re-sharding layer cache:[/] cache index is missing or unreadable."
],
"size": {
"estimate_total_bytes": 30598555900,
"cache_bytes_on_disk": 30598520564,
"ratio_estimate_to_disk": 1.0000011548270749,
"layer_payload_exact": true,
"layer_payload_mismatches": [],
"other_payload_exact": true,
"estimate_other_bytes": 1342182464,
"cache_other_payload_bytes": 1342182464,
"pass": true
},
"real_data_checks": [
{
"layer": 1,
"fp8_derived_tensors_checked": 135,
"nf4_tensors_checked": 7,
"mismatches": []
},
{
"layer": 13,
"fp8_derived_tensors_checked": 135,
"nf4_tensors_checked": 7,
"mismatches": []
},
{
"layer": 26,
"fp8_derived_tensors_checked": 135,
"nf4_tensors_checked": 7,
"mismatches": []
}
],
"real_data_check_seconds": 23.283533700043336,
"real_data_exact": true,
"disk_free_after_bytes": 137838829568,
"verdict": "PASS"
}