Skip to content

armgit / Soup

Public Imported from GitHub
0

Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.

1.9 KB
Raw Blame
{
  "label": "random weights, shape only",
  "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.json",
    "seq": 512,
    "batch": 1,
    "steps": 2,
    "lora_r": 8,
    "buffers": 2,
    "tier": "disk",
    "no_pin": true,
    "seed": 3,
    "label": "random weights, shape only"
  },
  "steps": [
    {
      "step": 0,
      "seconds": 53.61,
      "tokens_per_second": 9.551,
      "loss": 13.478171348571777,
      "loss_finite": true,
      "grads_finite": true,
      "grads_present": 610,
      "expert_fetches": 1890,
      "expert_bytes_read": 42938879760,
      "layer_loads": 120,
      "peak_vram_mib": 4342,
      "peak_reserved_mib": 5052,
      "peak_host_bytes_so_far": 7671418880
    },
    {
      "step": 1,
      "seconds": 45.21,
      "tokens_per_second": 11.326,
      "loss": 13.472814559936523,
      "loss_finite": true,
      "grads_finite": true,
      "grads_present": 610,
      "expert_fetches": 1752,
      "expert_bytes_read": 39803659968,
      "layer_loads": 118,
      "peak_vram_mib": 4723,
      "peak_reserved_mib": 5068,
      "peak_host_bytes_so_far": 7682801664
    }
  ],
  "store_bytes": 533242299230,
  "store_expert_layout": "per_expert",
  "store_quant": "nf4",
  "store_double_quant": true,
  "build_seconds": 4.22,
  "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": 3642,
    "expert_bytes_read": 82742539728
  }
}