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
{
"meta": {
"gpu": "NVIDIA GeForce RTX 5070 Laptop GPU",
"torch": "2.14.0+cu130",
"vram_total_gb": 8.518,
"soup_cli_file": "C:\\Users\\user\\projects\\Soup-l2l\\src\\soup_cli\\__init__.py",
"driver": "616.92",
"pcie_gen": "5",
"pcie_width": "8",
"mode": "correctness",
"weights": "unsloth/mistral-7b-instruct-v0.3",
"shards": null,
"quant": "nf4",
"tier": "ram",
"buffers": 2,
"read_ahead": null,
"seq": 512,
"lora_r": 8,
"lora_targets": "q_proj,k_proj,v_proj,o_proj",
"seed": 3,
"input_seed": 17,
"k": 4,
"ks": "1,2,3,4,8,16",
"cd_k": 4,
"steps": 3,
"warmup": 1,
"rounds": 2,
"spill_k": 16,
"spill_budget_k": 8,
"spill_dir": "D:/soup-l2l-spill",
"deterministic": true,
"dry_run": false,
"allow_invalid": false,
"out": "benchmarks/results/probe-rtx5070/l2l/correctness_f1_det.json",
"label": "F1",
"lazy_shard_handles": false,
"control_sync_source": false,
"no_pin": false,
"weights_dir": "C:\\Users\\user\\.soup\\spectrum\\weights\\unsloth__mistral-7b-instruct-v0.3",
"shard_dir": "C:\\Users\\user\\.soup\\layer-stream\\unsloth__mistral-7b-instruct-v0.3",
"dtype": "bfloat16",
"arch": "mistral",
"n_layers": 32,
"hidden": 4096,
"pinned": true,
"source_class": "RamSource",
"direct_io": null,
"store_gb": 4.137812864,
"shard_seconds": 0.0015360999386757612,
"build_seconds": 3.18058749998454,
"chunk_bytes": 4194304,
"v3": {
"free_gb": 13.150769152,
"commit_avail_gb": 25.098878976,
"need_gb": 0.536870912,
"margin_gb": 4.0,
"gpu_used_before_build_mib": 0,
"gpu_pids": [
33748
],
"foreign_gpu_pids": [],
"ram_ok": true,
"gpu_ok": true,
"ok": true
},
"box": {
"unix": 1791372575.8040285,
"total_phys_gb": 34.070192128,
"avail_phys_gb": 13.155151872,
"commit_limit_gb": 60.913737728,
"commit_avail_gb": 25.096065024,
"ac": true,
"gpu_pids": [
33748
],
"gpu_mem_used_mib": 652,
"python_processes": 6
},
"started": "2026-10-07T16:29:36"
},
"records": [
{
"kind": "correctness",
"fixture": "F1",
"k": 4,
"deterministic": true,
"a_vs_a": {
"tensors": 256,
"unequal": [],
"max_abs": 0.0,
"worst": [],
"all_zero": [],
"equal": true
},
"a_vs_a_losses_equal": true,
"l2l": {
"tensors": 256,
"unequal": [],
"max_abs": 0.0,
"worst": [],
"all_zero": [],
"equal": true
},
"l2l_losses_equal": true,
"losses_ga": [
3.257612705230713,
3.1054952144622803,
3.2198948860168457,
3.1346428394317627
],
"losses_l2l": [
3.257612705230713,
3.1054952144622803,
3.2198948860168457,
3.1346428394317627
]
}
]
}