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-r2\\src\\soup_cli\\__init__.py",
"driver": "616.92",
"pcie_gen": "5",
"pcie_width": "8",
"label": "R2 batch control build arm STRIPED",
"weights": "D:/synth/llama-70b-shape-v32k-f4",
"weights_dir": "D:\\synth\\llama-70b-shape-v32k-f4",
"shard_dir": "C:/Users/user/.soup/layer-stream-striped/D___synth__llama-70b-shape-v32k-f4",
"quant": "nf4",
"dtype": "bfloat16",
"tier": "disk",
"pinned": true,
"source_class": "AsyncDiskSource",
"control_sync_source": false,
"read_ahead": 3,
"stripe_dirs": [
"D:/soup-stripe"
],
"stripe_roots": [
"D:\\soup-stripe"
],
"layer_roots": [
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1
],
"direct_io": true,
"open_per_root": {
"0": "open_direct",
"1": "open_direct"
},
"store_gb": 2.398031956,
"disk_gb": 36.388145344,
"buffers": 2,
"buffer_bytes": 1419731000,
"large_buffer_bytes": 536870912,
"n_layers": 80,
"total_params": 68989231104,
"shapes": {
"hidden": 8192,
"intermediate": 28672,
"layers": 80,
"kv_out": 1024,
"q_out": 8192,
"vocab": 32768,
"decoder_params": 68451041280,
"lm_head_params": 268435456,
"flop_per_token": 411779989504,
"tied": false
},
"lora_r": 8,
"lora_targets": "q_proj,k_proj,v_proj,o_proj",
"batch": 1,
"seq": 512,
"steps": 1,
"warmup": 0,
"shard_seconds": 0.02495330001693219,
"build_seconds": 4.905022800085135,
"evict_gb": 0.0,
"started": "2026-10-07T15:16:05"
},
"records": [
{
"kind": "step",
"label": "step_plain",
"tokens_per_step": 512,
"steps": 1,
"warmup": 0,
"events_on": false,
"nocopy": false,
"nodequant": false,
"step_s_mean": 26.94882259995211,
"step_s_min": 26.94882259995211,
"step_s_max": 26.94882259995211,
"tok_per_s": 18.998974745594634,
"layer_loads_per_step": 158.0,
"large_loads_per_step": 3.0,
"bytes_moved_per_step": 71356559688.0,
"implied_h2d_gb_per_s": 2.6478544442281793,
"copy_s_per_step": 0.0,
"copy_stream_gb_per_s": null,
"stall_s_per_step": 0.0,
"stall_share": 0.0,
"peak_alloc_gb": 4.311154176,
"peak_reserved_gb": 4.794089472,
"sm_clock_mhz_start": 180,
"sm_clock_mhz_end": 2220,
"records": [
{
"step_s": 26.94882259995211,
"started_unix": 1791368165.342479,
"loss": 11.977725982666016,
"layer_loads": 158,
"large_loads": 3,
"copy_s": 0.0,
"stall_s": 0.0,
"copy_events": 0
}
],
"ids": {
"shape": [
1,
512
],
"dtype": "int64",
"row_sha256": [
"01a8953cd89bfb3fe6e003606e1e10d7643bbc1c319458eb59ac53c5e0212b9b"
]
},
"memory": {
"num_alloc_retries": 0,
"num_ooms": 0,
"free_gb": 2.496659456,
"total_gb": 8.5180416
}
}
]
}